git.delta.rocks / unique-network / refs/commits / 70abe578b643

difftreelog

tests(collator-selection): integration tests + types + minor refactor of thee pallet

Fahrrader2022-12-23parent: #d41364f.patch.diff
in: master

20 files changed

modifiednode/cli/src/chain_spec.rsdiffbeforeafterboth
196 .cloned()196 .cloned()
197 .map(|(acc, _)| acc)197 .map(|(acc, _)| acc)
198 .collect(),198 .collect(),
199 desired_collators: 10,
199 license_bond: GENESIS_LICENSE_BOND,200 license_bond: GENESIS_LICENSE_BOND,
200 kick_threshold: SESSION_LENGTH,201 kick_threshold: SESSION_LENGTH,
201 ..Default::default()
202 },202 },
203 session: SessionConfig {203 session: SessionConfig {
204 keys: $initial_invulnerables204 keys: $initial_invulnerables
modifiedpallets/collator-selection/src/lib.rsdiffbeforeafterboth
185 #[pallet::getter(fn candidates)]185 #[pallet::getter(fn candidates)]
186 pub type Candidates<T: Config> = StorageValue<186 pub type Candidates<T: Config> =
187 _,187 StorageValue<_, BoundedVec<T::AccountId, T::MaxCollators>, ValueQuery>;
188 BoundedVec<T::AccountId, T::MaxCollators>, //LicenseInfo<T::AccountId, BalanceOf<T>>, T::MaxCollators>, // license ID?
189 ValueQuery,
190 >;
191188
192 /// Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).189 /// Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
348 T::ValidatorRegistration::is_registered(&validator_key),345 T::ValidatorRegistration::is_registered(&validator_key),
349 Error::<T>::ValidatorNotRegistered346 Error::<T>::ValidatorNotRegistered
350 );347 );
351 // ensure!(!Self::invulnerables().contains(&new), Error::<T>::AlreadyInvulnerable);
352 if Self::invulnerables().contains(&new) {348 if Self::invulnerables().contains(&new) {
353 return Ok(().into());349 return Ok(().into());
354 }350 }
371 ) -> DispatchResultWithPostInfo {367 ) -> DispatchResultWithPostInfo {
372 T::UpdateOrigin::ensure_origin(origin)?;368 T::UpdateOrigin::ensure_origin(origin)?;
373369
374 // let index = Self::invulnerables().into_iter().position(|r| r == who).ok_or(Error::<T>::NotInvulnerable)?;
375 <Invulnerables<T>>::try_mutate(|invulnerables| -> DispatchResult {370 <Invulnerables<T>>::try_mutate(|invulnerables| -> DispatchResult {
376 if invulnerables.len() <= 1 {371 if invulnerables.len() <= 1 {
377 return Err(Error::<T>::TooFewInvulnerables.into());372 return Err(Error::<T>::TooFewInvulnerables.into());
384 invulnerables.remove(index);379 invulnerables.remove(index);
385 Ok(())380 Ok(())
386 })?;381 })?;
387 /*let bounded_invulnerables = BoundedVec::<_, T::MaxInvulnerables>::try_from(new)
388 .map_err(|_| Error::<T>::TooManyInvulnerables)?;
389
390 <Invulnerables<T>>::put(&bounded_invulnerables);*/
391 Self::deposit_event(Event::InvulnerableRemoved { invulnerable: who });382 Self::deposit_event(Event::InvulnerableRemoved { invulnerable: who });
392 Ok(().into())383 Ok(().into())
393 }384 }
451 return Err(Error::<T>::AlreadyHoldingLicense.into());442 return Err(Error::<T>::AlreadyHoldingLicense.into());
452 }443 }
453
454 /*ensure!(
455 !Self::invulnerables().contains(&who),
456 Error::<T>::AlreadyInvulnerable
457 );*/
458444
459 let validator_key = T::ValidatorIdOf::convert(who.clone())445 let validator_key = T::ValidatorIdOf::convert(who.clone())
460 .ok_or(Error::<T>::NoAssociatedValidatorId)?;446 .ok_or(Error::<T>::NoAssociatedValidatorId)?;
464 );450 );
465451
466 let deposit = Self::license_bond();452 let deposit = Self::license_bond();
467 // First authored block is current block plus kick threshold to handle session delay
468 /*let incoming = LicenseInfo {
469 who: who.clone(),
470 deposit,
471 };*/
472453
473 T::Currency::reserve(&who, deposit)?;454 T::Currency::reserve(&who, deposit)?;
474 Licenses::<T>::insert(who.clone(), deposit);455 Licenses::<T>::insert(who.clone(), deposit);
475
476 /*let current_count =
477 <Licenses<T>>::try_mutate(|licenses| -> Result<usize, DispatchError> {
478 if T::OriginPrivilegeCmp::cmp_privilege(&origin, &scheduled.origin) {
479 return Err(BadOrigin.into());
480 }
481 if candidates.iter().any(|candidate| *candidate == who) {
482 Err(Error::<T>::AlreadyHoldingLicense)?
483 } else {
484 T::Currency::reserve(&who, deposit)?;
485 candidates
486 .try_push(incoming)
487 .map_err(|_| Error::<T>::TooManyCandidates)?;
488 <LastAuthoredBlock<T>>::insert(
489 who.clone(),
490 frame_system::Pallet::<T>::block_number() + Self::kick_threshold(),
491 );
492 Ok(candidates.len())
493 }
494 })?;*/
495456
496 Self::deposit_event(Event::LicenseObtained {457 Self::deposit_event(Event::LicenseObtained {
497 account_id: who,458 account_id: who,
518 (length as u32) < Self::desired_collators(),479 (length as u32) < Self::desired_collators(),
519 Error::<T>::TooManyCandidates480 Error::<T>::TooManyCandidates
520 );481 );
521 // todo:collator really need it?
522 ensure!(482 ensure!(
523 !Self::invulnerables().contains(&who),483 !Self::invulnerables().contains(&who),
524 Error::<T>::AlreadyInvulnerable484 Error::<T>::AlreadyInvulnerable
525 );485 );
526
527 /*let incoming = LicenseInfo {
528 who: who.clone(),
529 deposit,
530 };*/
531486
532 let current_count =487 let current_count =
533 <Candidates<T>>::try_mutate(|candidates| -> Result<usize, DispatchError> {488 <Candidates<T>>::try_mutate(|candidates| -> Result<usize, DispatchError> {
552507
553 /// Deregister `origin` as a collator candidate. Note that the collator can only leave on508 /// Deregister `origin` as a collator candidate. Note that the collator can only leave on
554 /// session change. The license to `onboard` later at any other time will remain.509 /// session change. The license to `onboard` later at any other time will remain.
555 ///
556 /// This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not
557 #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight510 #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
558 pub fn offboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {511 pub fn offboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
559 // leave_intent512 // leave_intent
560 let who = ensure_signed(origin)?;513 let who = ensure_signed(origin)?;
561 /* todo:collator invulnerables and candidates should count against min candidates together
562 ensure!(
563 Self::candidates().len() as u32 > T::MinCandidates::get(),
564 Error::<T>::TooFewCandidates
565 );*/
566 let current_count = Self::try_remove_candidate(&who)?;514 let current_count = Self::try_remove_candidate(&who)?;
567515
568 Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight516 Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight
585 /// Note that the collator can only leave on session change.533 /// Note that the collator can only leave on session change.
586 /// The `LicenseBond` will be unreserved and returned immediately.534 /// The `LicenseBond` will be unreserved and returned immediately.
587 ///535 ///
588 /// This call is not available to `Invulnerable` collators.536 /// This call is, of course, not applicable to `Invulnerable` collators.
589 #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight537 #[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
590 pub fn force_revoke_license(538 pub fn force_revoke_license(
591 origin: OriginFor<T>,539 origin: OriginFor<T>,
606 T::PotId::get().into_account_truncating()554 T::PotId::get().into_account_truncating()
607 }555 }
608556
557 /// Removes a candidate and their license, optionally slashed and optionally ignoring,
558 /// whether or not they actually are a candidate.
609 fn try_remove_candidate_and_release_license(559 fn try_remove_candidate_and_release_license(
610 who: &T::AccountId,560 who: &T::AccountId,
611 should_slash: bool,561 should_slash: bool,
687 /// Kicks out candidates that did not produce a block in the kick threshold637 /// Kicks out candidates that did not produce a block in the kick threshold
688 /// and **confiscates** their deposits to the treasury.638 /// and **confiscates** their deposits to the treasury.
689 pub fn kick_stale_candidates(639 pub fn kick_stale_candidates(
690 candidates: BoundedVec<T::AccountId, T::MaxCollators>, //LicenseInfo<T::AccountId, BalanceOf<T>>640 candidates: BoundedVec<T::AccountId, T::MaxCollators>,
691 ) -> BoundedVec<T::AccountId, T::MaxCollators> {641 ) -> BoundedVec<T::AccountId, T::MaxCollators> {
692 let now = frame_system::Pallet::<T>::block_number();642 let now = frame_system::Pallet::<T>::block_number();
693 let kick_threshold = Self::kick_threshold();643 let kick_threshold = Self::kick_threshold();
modifiedpallets/collator-selection/src/mock.rsdiffbeforeafterboth
223}223}
224224
225impl Config for Test {225impl Config for Test {
226 // todo:collator mocks and stocks
227 type RuntimeEvent = RuntimeEvent;226 type RuntimeEvent = RuntimeEvent;
228 type Currency = Balances;227 type Currency = Balances;
229 type UpdateOrigin = EnsureSignedBy<RootAccount, u64>;228 type UpdateOrigin = EnsureSignedBy<RootAccount, u64>;
230 type PotId = PotId;229 type PotId = PotId;
231 type MaxCollators = MaxCollators;230 type MaxCollators = MaxCollators;
232 // type KickThreshold = Period;
233 type SlashRatio = SlashRatio;231 type SlashRatio = SlashRatio;
234 type TreasuryAccountId = ();232 type TreasuryAccountId = ();
235 type ValidatorId = <Self as frame_system::Config>::AccountId;233 type ValidatorId = <Self as frame_system::Config>::AccountId;
modifiedpallets/collator-selection/src/tests.rsdiffbeforeafterboth
59 });59 });
60}60}
61
62// todo:collator add more tests later
63// invulnerable after onboard + invulnerables can bypass desired_candidates
6461
65#[test]62#[test]
66fn it_should_add_invulnerables() {63fn it_should_add_invulnerables() {
modifiedruntime/common/mod.rsdiffbeforeafterboth
191 RuntimeAppPublic,191 RuntimeAppPublic,
192 };192 };
193 use pallet_session::SessionManager;193 use pallet_session::SessionManager;
194 use up_common::constants::GENESIS_LICENSE_BOND;194 use up_common::constants::{GENESIS_LICENSE_BOND, SESSION_LENGTH};
195 use crate::config::pallets::collator_selection::MaxCollators;195 use crate::config::pallets::collator_selection::MaxCollators;
196196
197 let mut weight = <Runtime as frame_system::Config>::DbWeight::get().reads(1);197 let mut weight = <Runtime as frame_system::Config>::DbWeight::get().reads(1);
241 .expect("Existing collators/invulnerables are more than MaxCollators");241 .expect("Existing collators/invulnerables are more than MaxCollators");
242242
243 <pallet_collator_selection::Invulnerables<Runtime>>::put(bounded_invulnerables);243 <pallet_collator_selection::Invulnerables<Runtime>>::put(bounded_invulnerables);
244 <pallet_collator_selection::KickThreshold<Runtime>>::put(SESSION_LENGTH);
244 <pallet_collator_selection::DesiredCollators<Runtime>>::put(MaxCollators::get());245 <pallet_collator_selection::DesiredCollators<Runtime>>::put(MaxCollators::get());
245 <pallet_collator_selection::LicenseBond<Runtime>>::put(GENESIS_LICENSE_BOND);246 <pallet_collator_selection::LicenseBond<Runtime>>::put(GENESIS_LICENSE_BOND);
246247
modifiedtests/src/collatorSelection.seqtest.tsdiffbeforeafterboth
17import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from './util';18import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from './util';
1919
20const MAX_INVULNERABLES = 10;
21
20async function resetInvulnerables() {22async function resetInvulnerables() {
21 await usingPlaygrounds(async (helper, privateKey) => {23 await usingPlaygrounds(async (helper, privateKey) => {
22 const superuser = await privateKey('//Alice');24 const superuser = await privateKey('//Alice');
28 + 'Current invulnerables\' size: ' + invulnerables.length);30 + 'Current invulnerables\' size: ' + invulnerables.length);
29 31
30 let nonce = await helper.chain.getNonce(alice.address);32 let nonce = await helper.chain.getNonce(alice.address);
33 // In case there are too many invulnerables already, remove some of them, leaving space for Alice and Bob.
34 if (invulnerables.length + 2 >= MAX_INVULNERABLES) {
35 await Promise.all([
36 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [invulnerables.pop()], true, {nonce: nonce++}),
37 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [invulnerables.pop()], true, {nonce: nonce++}),
38 ]);
39 }
40
41 nonce = await helper.chain.getNonce(alice.address);
31 await Promise.all([42 await Promise.all([
32 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [alice.address], true, {nonce: nonce++}),43 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [alice.address], true, {nonce: nonce++}),
33 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [bob.address], true, {nonce: nonce++}),44 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [bob.address], true, {nonce: nonce++}),
43}54}
4455
45// todo:collator Most preferable to launch this test in parallel somehow -- or change the session period (1 hr).56// todo:collator Most preferable to launch this test in parallel somehow -- or change the session period (1 hr).
46// + 18 tests: 5 (1+4) on session change
47describe('Integration Test: Collator Selection', () => {57describe('Integration Test: Collator Selection', () => {
48 let superuser: IKeyringPair;58 let superuser: IKeyringPair;
59 let previousLicenseBond = 0n;
60 let licenseBond = 0n;
4961
50 before(async function() { 62 before(async function() {
51 await usingPlaygrounds(async (helper, privateKey) => {63 await usingPlaygrounds(async (helper, privateKey) => {
52 requirePalletsOrSkip(this, helper, [Pallets.CollatorSelection]);64 requirePalletsOrSkip(this, helper, [Pallets.CollatorSelection]);
53 superuser = await privateKey('//Alice');65 superuser = await privateKey('//Alice');
66
67 previousLicenseBond = await helper.collatorSelection.getLicenseBond();
68 licenseBond = 10n * helper.balance.getOneTokenNominal();
69 await helper.getSudo().collatorSelection.setLicenseBond(superuser, licenseBond);
54 });70 });
55 });71 });
5672
73 charlie = await privateKey('//Charlie');89 charlie = await privateKey('//Charlie');
74 dave = await privateKey('//Dave');90 dave = await privateKey('//Dave');
7591
76 expect((await helper.collatorSelection.setOwnKeys(charlie))92 expect((await helper.session.setOwnKeysFromAddress(charlie))
77 .status.toLowerCase()).to.be.equal('success');93 .status.toLowerCase()).to.be.equal('success');
78 expect((await helper.collatorSelection.setOwnKeys(dave))94 expect((await helper.session.setOwnKeysFromAddress(dave))
79 .status.toLowerCase()).to.be.equal('success');95 .status.toLowerCase()).to.be.equal('success');
80 96
81 // todo:collator check necessity + add RPC for invulnerables / just improve in general
82 // validators = await helper.callRpc('api.query.session.validators');
83 const invulnerables = await helper.collatorSelection.getInvulnerables();97 const invulnerables = await helper.collatorSelection.getInvulnerables();
84 if (!invulnerables.includes(alice.address) || !invulnerables.includes(bob.address) || invulnerables.length != 2) {98 if (!invulnerables.includes(alice.address) || !invulnerables.includes(bob.address) || invulnerables.length != 2) {
85 console.warn('Alice and Bob are not the invulnerables! Reinstating them back. ' 99 console.warn('Alice and Bob are not the invulnerables! Reinstating them back. '
116 const newInvulnerables = await helper.collatorSelection.getInvulnerables();130 const newInvulnerables = await helper.collatorSelection.getInvulnerables();
117 expect(newInvulnerables).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);131 expect(newInvulnerables).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);
118 132
119 const expectedSessionIndex = (await helper.callRpc('api.query.session.currentIndex')).toNumber() + 2;133 await helper.wait.newSessions(2);
120 let currentSessionIndex = -1;
121 console.log('Waiting for the session after the next.'
122 + ' This might take a while -- check SessionPeriod in pallet_session::Config for session time.');
123 134
124 while (currentSessionIndex < expectedSessionIndex) {
125 // eslint-disable-next-line no-async-promise-executor
126 currentSessionIndex = await expect(helper.wait.withTimeout(new Promise(async (resolve) => {
127 await helper.wait.newBlocks(1);
128 const res = (await helper.callRpc('api.query.session.currentIndex')).toNumber();
129 resolve(res);
130 }), 24000, 'The chain has stopped producing blocks!')).to.be.fulfilled;
131 }
132
133 const newValidators = await helper.callRpc('api.query.session.validators');135 const newValidators = await helper.callRpc('api.query.session.validators');
134 expect(newValidators).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);136 expect(newValidators).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);
135 137
140 expect(lastCharlieBlock >= lastBlockNumber || lastDaveBlock >= lastBlockNumber).to.be.true;142 expect(lastCharlieBlock >= lastBlockNumber || lastDaveBlock >= lastBlockNumber).to.be.true;
141 });143 });
142 144
143 // todo:collator keyless invulnerables? will hang, so, a breaking test, eh
144 // register candidate without sudos and the like
145
146 after(async () => {145 after(async () => {
147 await usingPlaygrounds(async (helper) => {146 await usingPlaygrounds(async (helper) => {
148 if (await helper.arrange.isDevNode()) return;147 if (await helper.arrange.isDevNode()) return;
162 });161 });
163 });162 });
164163
165 // todo:collator make sure that there is enough session time for a set of tests164 describe('Getting and releasing licenses to collate', () => {
165 let charlie: IKeyringPair;
166 let dave: IKeyringPair;
167 let crowd: IKeyringPair[];
166 // 28 non-functioning collators, teehee.168
169 before(async function() {
170 await usingPlaygrounds(async (helper, privateKey) => {
171 charlie = await privateKey('//Charlie');
172 dave = await privateKey('//Dave');
173 crowd = await helper.arrange.createCrowd(20, 100n, superuser);
167174
175 // set session keys for everyone
176 expect((await helper.session.setOwnKeysFromAddress(charlie))
177 .status.toLowerCase()).to.be.equal('success');
178 expect((await helper.session.setOwnKeysFromAddress(dave))
179 .status.toLowerCase()).to.be.equal('success');
180 await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc)));
181 });
182 });
183
184 describe('Positive', () => {
185 itSub('Can lease and release a license', async ({helper}) => {
186 const account = crowd.pop()!;
187
188 // make sure it does not have any reserved funds
189 expect((await helper.balance.getSubstrateFull(account.address)).reserved).to.be.equal(0n);
190
191 // getting a license reserves a license bond cost
192 await helper.collatorSelection.obtainLicense(account);
193 expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(licenseBond);
194 expect((await helper.balance.getSubstrateFull(account.address)).reserved).to.be.equal(licenseBond);
195
196 // releasing a license un-reserves the license bond cost
197 await helper.collatorSelection.releaseLicense(account);
198 expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(0n);
199
200 const balance = await helper.balance.getSubstrateFull(account.address);
201 expect(balance.reserved).to.be.equal(0n);
202 expect(balance.free > 100n - licenseBond);
203 });
204
205 itSub('Can force revoke a license', async ({helper}) => {
206 const account = crowd.pop()!;
207
208 // getting a license reserves a license bond cost
209 const previousBalance = await helper.balance.getSubstrateFull(account.address);
210 await helper.collatorSelection.obtainLicense(account);
211 expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(licenseBond);
212
213 // force-releasing a license un-reserves the license bond cost as well
214 await helper.getSudo().collatorSelection.forceRevokeLicense(superuser, account.address);
215 expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(previousBalance.reserved);
216
217 const balance = await helper.balance.getSubstrateFull(account.address);
218 expect(balance.reserved).to.be.equal(previousBalance.reserved);
219 expect(balance.free > previousBalance.free - licenseBond);
220 });
221 });
222
223 describe('Negative', () => {
224 itSub('Cannot get a license without session keys set', async ({helper}) => {
225 const [account] = await helper.arrange.createAccounts([100n], superuser);
226 await expect(helper.collatorSelection.obtainLicense(account))
227 .to.be.rejectedWith(/collatorSelection.ValidatorNotRegistered/);
228 });
229
230 itSub('Cannot register a license twice', async ({helper}) => {
231 const account = crowd.pop()!;
232 await helper.collatorSelection.obtainLicense(account);
233 await expect(helper.collatorSelection.obtainLicense(account))
234 .to.be.rejectedWith(/collatorSelection.AlreadyHoldingLicense/);
235 });
236
237 itSub('Cannot release a license twice', async ({helper}) => {
238 const account = crowd.pop()!;
239 await helper.collatorSelection.obtainLicense(account);
240 await helper.collatorSelection.releaseLicense(account);
241 await expect(helper.collatorSelection.releaseLicense(account))
242 .to.be.rejectedWith(/collatorSelection.NoLicense/);
243 });
244
245 itSub('Cannot force revoke a license as non-sudo', async ({helper}) => {
246 const account = crowd.pop()!;
247 await helper.collatorSelection.obtainLicense(account);
248 await expect(helper.collatorSelection.forceRevokeLicense(superuser, account.address))
249 .to.be.rejectedWith(/BadOrigin/);
250 });
251 });
252 });
253
254 describe('Onboarding, collating, and offboarding as collator candidates', () => {
255 // These two are the default invulnerables, and should return to be invulnerables after this suite.
256 let charlie: IKeyringPair;
257 let dave: IKeyringPair;
258 let crowd: IKeyringPair[];
259
260 before(async function() {
261 await usingPlaygrounds(async (helper, privateKey) => {
262 charlie = await privateKey('//Charlie');
263 dave = await privateKey('//Dave');
264 crowd = await helper.arrange.createCrowd(20, 100n, superuser);
265
266 // set session keys for everyone
267 expect((await helper.session.setOwnKeysFromAddress(charlie))
268 .status.toLowerCase()).to.be.equal('success');
269 expect((await helper.session.setOwnKeysFromAddress(dave))
270 .status.toLowerCase()).to.be.equal('success');
271 await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc)));
272 });
273 });
274
275 describe('Positive', () => {
276 itSub('Can onboard and offboard repeatedly', async ({helper}) => {
277 const account = crowd.pop()!;
278 await helper.collatorSelection.obtainLicense(account);
279 await helper.collatorSelection.onboard(account);
280 expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([account.address]);
281
282 await helper.collatorSelection.offboard(account);
283 expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
284
285 await helper.collatorSelection.onboard(account);
286 expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([account.address]);
287
288 await helper.collatorSelection.offboard(account);
289 expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
290 });
291
292 itSub('Dithmarschen', async ({helper}) => {
293 // This one shouldn't even be able to produce blocks.
294 const account = crowd.pop()!;
295 await helper.collatorSelection.obtainLicense(account);
296 await helper.collatorSelection.onboard(account);
297 expect(await helper.collatorSelection.getCandidates()).to.contain(account.address);
298
299 // Wait for 3 new sessions before checking that the collator will be kicked:
300 // one to get collator onboarded, and another two for the collator to fail
301 await helper.wait.newSessions(3);
302
303 expect(await helper.collatorSelection.getCandidates()).to.not.contain(account.address);
304 expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(0n);
305
306 // The account's reserved funds get slashed as a penalty
307 const balance = await helper.balance.getSubstrateFull(account.address);
308 expect(balance.reserved).to.be.equal(0n);
309 expect(balance.free < 100n - licenseBond);
310 });
311 });
312
313 describe('Negative', () => {
314 itSub('Cannot onboard without a license', async ({helper}) => {
315 const account = crowd.pop()!;
316 await expect(helper.collatorSelection.onboard(account))
317 .to.be.rejectedWith(/collatorSelection.NoLicense/);
318 });
319
320 itSub('Cannot offboard without a license', async ({helper}) => {
321 const account = crowd.pop()!;
322 await expect(helper.collatorSelection.offboard(account))
323 .to.be.rejectedWith(/collatorSelection.NotCandidate/);
324 });
325
326 itSub('Cannot offboard while not onboarded', async ({helper}) => {
327 const account = crowd.pop()!;
328 await helper.collatorSelection.obtainLicense(account);
329 await expect(helper.collatorSelection.offboard(account))
330 .to.be.rejectedWith(/collatorSelection.NotCandidate/);
331 });
332
333 itSub('Cannot onboard while already onboarded', async ({helper}) => {
334 const account = crowd.pop()!;
335 await helper.collatorSelection.obtainLicense(account);
336 await helper.collatorSelection.onboard(account);
337 await expect(helper.collatorSelection.onboard(account))
338 .to.be.rejectedWith(/collatorSelection.AlreadyCandidate/);
339 });
340 });
341 });
342
168 describe('Addition and removal of invulnerables', () => {343 describe('Addition and removal of invulnerables', () => {
169 before(async function() {344 before(async function() {
175 const [account] = await helper.arrange.createAccounts([10n], superuser);350 const [account] = await helper.arrange.createAccounts([10n], superuser);
176 const invulnerables = await helper.collatorSelection.getInvulnerables();351 const invulnerables = await helper.collatorSelection.getInvulnerables();
177352
178 await helper.collatorSelection.setOwnKeys(account);353 await helper.session.setOwnKeysFromAddress(account);
179 await helper.getSudo().collatorSelection.addInvulnerable(superuser, account.address);354 await helper.getSudo().collatorSelection.addInvulnerable(superuser, account.address);
180 355
181 const newInvulnerables = await helper.collatorSelection.getInvulnerables();356 const newInvulnerables = await helper.collatorSelection.getInvulnerables();
184359
185 itSub('Removes an invulnerable', async ({helper}) => {360 itSub('Removes an invulnerable', async ({helper}) => {
186 const invulnerables = await helper.collatorSelection.getInvulnerables();361 const invulnerables = await helper.collatorSelection.getInvulnerables();
187 const lastInvulnerable = invulnerables.pop();362 const lastInvulnerable = invulnerables.pop()!;
188363
189 await helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable);364 await helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable);
190 const newInvulnerables = await helper.collatorSelection.getInvulnerables();365 const newInvulnerables = await helper.collatorSelection.getInvulnerables();
203 expect(newInvulnerables).to.have.all.members(invulnerables);378 expect(newInvulnerables).to.have.all.members(invulnerables);
204 });379 });
205380
381 itSub('Cannot remove a non-existent invulnerable', async ({helper}) => {
382 const [account] = await helper.arrange.createAccounts([0n], superuser);
383 await expect(helper.getSudo().collatorSelection.removeInvulnerable(superuser, account.address))
384 .to.be.rejectedWith(/collatorSelection.NotInvulnerable/);
385 });
386
206 itSub('Cannot allow invulnerables to be empty', async ({helper}) => {387 itSub('Cannot allow invulnerables to be empty', async ({helper}) => {
207 const invulnerables = await helper.collatorSelection.getInvulnerables();388 const invulnerables = await helper.collatorSelection.getInvulnerables();
208 const lastInvulnerable = invulnerables.pop();389 const lastInvulnerable = invulnerables.pop()!;
209390
210 let nonce = await helper.chain.getNonce(superuser.address);391 let nonce = await helper.chain.getNonce(superuser.address);
211 await Promise.all(invulnerables.map((i: any) => 392 await Promise.all(invulnerables.map((i: any) =>
212 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [i], true, {nonce: nonce++})));393 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [i], true, {nonce: nonce++})));
213394
214 await expect(helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable))395 await expect(helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable))
215 .to.be.rejected;//todo:collator With(/collatorSelection.TooFewInvulnerables/);396 .to.be.rejectedWith(/collatorSelection.TooFewInvulnerables/);
216397
217 const newInvulnerables = await helper.collatorSelection.getInvulnerables();398 const newInvulnerables = await helper.collatorSelection.getInvulnerables();
218 expect(newInvulnerables).to.be.deep.equal([lastInvulnerable]);399 expect(newInvulnerables).to.be.deep.equal([lastInvulnerable]);
224 });405 });
225406
226 itSub('Cannot have too many invulnerables', async ({helper}) => {407 itSub('Cannot have too many invulnerables', async ({helper}) => {
408 // todo:collator make sure that there is enough session time for a set of tests
409 // 28 non-functioning collators, teehee.
410
227 const invulnerablesLength = (await helper.collatorSelection.getInvulnerables()).length;411 const invulnerablesLength = (await helper.collatorSelection.getInvulnerables()).length;
228 const invulnerablesUntilLimit = 30 - invulnerablesLength;412 const invulnerablesUntilLimit = MAX_INVULNERABLES - invulnerablesLength;
229 const newInvulnerables = await helper.arrange.createAccounts(Array(invulnerablesUntilLimit).fill(10n), superuser);413 const newInvulnerables = await helper.arrange.createAccounts(Array(invulnerablesUntilLimit).fill(10n), superuser);
230 const [lastInvulnerable] = await helper.arrange.createAccounts([10n], superuser);414 const [lastInvulnerable] = await helper.arrange.createAccounts([10n], superuser);
231415
232 await Promise.all(newInvulnerables.map((i: IKeyringPair) => 416 await Promise.all(newInvulnerables.map((i: IKeyringPair) =>
233 helper.collatorSelection.setOwnKeys(i)));417 helper.session.setOwnKeysFromAddress(i)));
234 await helper.collatorSelection.setOwnKeys(lastInvulnerable);418 await helper.session.setOwnKeysFromAddress(lastInvulnerable);
235419
236 let nonce = await helper.chain.getNonce(superuser.address);420 let nonce = await helper.chain.getNonce(superuser.address);
237 await Promise.all(newInvulnerables.map((i: IKeyringPair) => 421 await Promise.all(newInvulnerables.map((i: IKeyringPair) =>
238 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [i.address], true, {nonce: nonce++})));422 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [i.address], true, {nonce: nonce++})));
239423
240 await expect(helper.getSudo().collatorSelection.addInvulnerable(superuser, lastInvulnerable.address))424 await expect(helper.getSudo().collatorSelection.addInvulnerable(superuser, lastInvulnerable.address))
241 .to.be.rejected; // todo:collator With(/collatorSelection.TooManyInvulnerables/);425 .to.be.rejectedWith(/collatorSelection.TooManyInvulnerables/);
242 426
243 // restore the invulnerables to the previous state427 // restore the invulnerables to the previous state
244 nonce = await helper.chain.getNonce(superuser.address);428 nonce = await helper.chain.getNonce(superuser.address);
250 const [account] = await helper.arrange.createAccounts([10n], superuser);434 const [account] = await helper.arrange.createAccounts([10n], superuser);
251 const invulnerables = await helper.collatorSelection.getInvulnerables();435 const invulnerables = await helper.collatorSelection.getInvulnerables();
252436
253 await helper.collatorSelection.setOwnKeys(account);437 await helper.session.setOwnKeysFromAddress(account);
254 await expect(helper.collatorSelection.addInvulnerable(superuser, account.address))438 await expect(helper.collatorSelection.addInvulnerable(superuser, account.address))
255 .to.be.rejectedWith(/BadOrigin/);439 .to.be.rejectedWith(/BadOrigin/);
256440
265 expect(await helper.collatorSelection.getInvulnerables()).to.have.all.members(invulnerables);449 expect(await helper.collatorSelection.getInvulnerables()).to.have.all.members(invulnerables);
266 });450 });
267 });451 });
452 });
268 453
269 after(async () => {454 after(async () => {
270 // eslint-disable-next-line require-await455 // eslint-disable-next-line require-await
271 await usingPlaygrounds(async (helper) => {456 await usingPlaygrounds(async (helper) => {
272 if (helper.fetchMissingPalletNames([Pallets.CollatorSelection]).length != 0) return;457 if (helper.fetchMissingPalletNames([Pallets.CollatorSelection]).length != 0) return;
273 458
459 await helper.getSudo().collatorSelection.setLicenseBond(superuser, previousLicenseBond);
274 // todo:collator after460
461 const candidates = await helper.collatorSelection.getCandidates();
275 });462 let nonce = await helper.chain.getNonce(superuser.address);
463 await Promise.all(candidates.map(candidate =>
464 helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [candidate], true, {nonce: nonce++})));
276 });465 });
277 });466 });
278});467});
modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
41 **/41 **/
42 [key: string]: Codec;42 [key: string]: Codec;
43 };43 };
44 authorship: {
45 /**
46 * The number of blocks back we should accept uncles.
47 * This means that we will deal with uncle-parents that are
48 * `UncleGenerations + 1` before `now`.
49 **/
50 uncleGenerations: u32 & AugmentedConst<ApiType>;
51 /**
52 * Generic const
53 **/
54 [key: string]: Codec;
55 };
44 balances: {56 balances: {
45 /**57 /**
46 * The minimum amount required to keep an account open.58 * The minimum amount required to keep an account open.
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
41 **/41 **/
42 [key: string]: AugmentedError<ApiType>;42 [key: string]: AugmentedError<ApiType>;
43 };43 };
44 authorship: {
45 /**
46 * The uncle is genesis.
47 **/
48 GenesisUncle: AugmentedError<ApiType>;
49 /**
50 * The uncle parent not in the chain.
51 **/
52 InvalidUncleParent: AugmentedError<ApiType>;
53 /**
54 * The uncle isn't recent enough to be included.
55 **/
56 OldUncle: AugmentedError<ApiType>;
57 /**
58 * The uncle is too high in chain.
59 **/
60 TooHighUncle: AugmentedError<ApiType>;
61 /**
62 * Too many uncles.
63 **/
64 TooManyUncles: AugmentedError<ApiType>;
65 /**
66 * The uncle is already included.
67 **/
68 UncleAlreadyIncluded: AugmentedError<ApiType>;
69 /**
70 * Uncles already set in the block.
71 **/
72 UnclesAlreadySet: AugmentedError<ApiType>;
73 /**
74 * Generic error
75 **/
76 [key: string]: AugmentedError<ApiType>;
77 };
44 balances: {78 balances: {
45 /**79 /**
46 * Beneficiary account must pre-exist80 * Beneficiary account must pre-exist
79 **/113 **/
80 [key: string]: AugmentedError<ApiType>;114 [key: string]: AugmentedError<ApiType>;
81 };115 };
116 collatorSelection: {
117 /**
118 * User is already a candidate
119 **/
120 AlreadyCandidate: AugmentedError<ApiType>;
121 /**
122 * User already holds license to collate
123 **/
124 AlreadyHoldingLicense: AugmentedError<ApiType>;
125 /**
126 * User is already an Invulnerable
127 **/
128 AlreadyInvulnerable: AugmentedError<ApiType>;
129 /**
130 * Account has no associated validator ID
131 **/
132 NoAssociatedValidatorId: AugmentedError<ApiType>;
133 /**
134 * User does not hold a license to collate
135 **/
136 NoLicense: AugmentedError<ApiType>;
137 /**
138 * User is not a candidate
139 **/
140 NotCandidate: AugmentedError<ApiType>;
141 /**
142 * User is not an Invulnerable
143 **/
144 NotInvulnerable: AugmentedError<ApiType>;
145 /**
146 * Permission issue
147 **/
148 Permission: AugmentedError<ApiType>;
149 /**
150 * Too few invulnerables
151 **/
152 TooFewInvulnerables: AugmentedError<ApiType>;
153 /**
154 * Too many candidates
155 **/
156 TooManyCandidates: AugmentedError<ApiType>;
157 /**
158 * Too many invulnerables
159 **/
160 TooManyInvulnerables: AugmentedError<ApiType>;
161 /**
162 * Unknown error
163 **/
164 Unknown: AugmentedError<ApiType>;
165 /**
166 * Validator ID is not yet registered
167 **/
168 ValidatorNotRegistered: AugmentedError<ApiType>;
169 /**
170 * Generic error
171 **/
172 [key: string]: AugmentedError<ApiType>;
173 };
82 common: {174 common: {
83 /**175 /**
84 * Account token limit exceeded per collection176 * Account token limit exceeded per collection
685 **/777 **/
686 [key: string]: AugmentedError<ApiType>;778 [key: string]: AugmentedError<ApiType>;
687 };779 };
780 session: {
781 /**
782 * Registered duplicate key.
783 **/
784 DuplicatedKey: AugmentedError<ApiType>;
785 /**
786 * Invalid ownership proof.
787 **/
788 InvalidProof: AugmentedError<ApiType>;
789 /**
790 * Key setting account is not live, so it's impossible to associate keys.
791 **/
792 NoAccount: AugmentedError<ApiType>;
793 /**
794 * No associated validator ID for account.
795 **/
796 NoAssociatedValidatorId: AugmentedError<ApiType>;
797 /**
798 * No keys are associated with this account.
799 **/
800 NoKeys: AugmentedError<ApiType>;
801 /**
802 * Generic error
803 **/
804 [key: string]: AugmentedError<ApiType>;
805 };
688 structure: {806 structure: {
689 /**807 /**
690 * While nesting, reached the breadth limit of nesting, exceeding the provided budget.808 * While nesting, reached the breadth limit of nesting, exceeding the provided budget.
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
100 **/100 **/
101 [key: string]: AugmentedEvent<ApiType>;101 [key: string]: AugmentedEvent<ApiType>;
102 };102 };
103 collatorSelection: {
104 CandidateAdded: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
105 CandidateRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
106 InvulnerableAdded: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
107 InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
108 LicenseForfeited: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
109 LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
110 NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: u32], { desiredCollators: u32 }>;
111 NewKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: u32], { lengthInBlocks: u32 }>;
112 NewLicenseBond: AugmentedEvent<ApiType, [bondAmount: u128], { bondAmount: u128 }>;
113 /**
114 * Generic event
115 **/
116 [key: string]: AugmentedEvent<ApiType>;
117 };
103 common: {118 common: {
104 /**119 /**
105 * Address was added to the allow list.120 * Address was added to the allow list.
526 **/541 **/
527 [key: string]: AugmentedEvent<ApiType>;542 [key: string]: AugmentedEvent<ApiType>;
528 };543 };
544 session: {
545 /**
546 * New session has happened. Note that the argument is the session index, not the
547 * block number as the type might suggest.
548 **/
549 NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
550 /**
551 * Generic event
552 **/
553 [key: string]: AugmentedEvent<ApiType>;
554 };
529 structure: {555 structure: {
530 /**556 /**
531 * Executed call on behalf of the token.557 * Executed call on behalf of the token.
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
9import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
12import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';12import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
13import type { Observable } from '@polkadot/types/types';13import type { Observable } from '@polkadot/types/types';
1414
15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
59 **/59 **/
60 [key: string]: QueryableStorageEntry<ApiType>;60 [key: string]: QueryableStorageEntry<ApiType>;
61 };61 };
62 authorship: {
63 /**
64 * Author of current block.
65 **/
66 author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
67 /**
68 * Whether uncles were already set in this block.
69 **/
70 didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
71 /**
72 * Uncles
73 **/
74 uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
75 /**
76 * Generic query
77 **/
78 [key: string]: QueryableStorageEntry<ApiType>;
79 };
62 balances: {80 balances: {
63 /**81 /**
64 * The Balances pallet example of storing the balance of an account.82 * The Balances pallet example of storing the balance of an account.
117 **/135 **/
118 [key: string]: QueryableStorageEntry<ApiType>;136 [key: string]: QueryableStorageEntry<ApiType>;
119 };137 };
138 collatorSelection: {
139 /**
140 * The (community, limited) collation candidates.
141 **/
142 candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
143 /**
144 * Desired number of candidates.
145 *
146 * This should ideally always be less than [`Config::MaxCollators`] for weights to be correct.
147 **/
148 desiredCollators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
149 /**
150 * The invulnerable, fixed collators.
151 **/
152 invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
153 /**
154 * Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
155 *
156 * Should be a multiple of session or things will get inconsistent. todo:collator reword?
157 **/
158 kickThreshold: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
159 /**
160 * Last block authored by collator.
161 **/
162 lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
163 /**
164 * Fixed amount to deposit to become a collator.
165 *
166 * When a collator calls `leave_intent` they immediately receive the deposit back.
167 **/
168 licenseBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
169 /**
170 * The (community) collation license holders.
171 **/
172 licenses: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
173 /**
174 * Generic query
175 **/
176 [key: string]: QueryableStorageEntry<ApiType>;
177 };
120 common: {178 common: {
121 /**179 /**
122 * Storage of the amount of collection admins.180 * Storage of the amount of collection admins.
687 **/745 **/
688 [key: string]: QueryableStorageEntry<ApiType>;746 [key: string]: QueryableStorageEntry<ApiType>;
689 };747 };
748 session: {
749 /**
750 * Current index of the session.
751 **/
752 currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
753 /**
754 * Indices of disabled validators.
755 *
756 * The vec is always kept sorted so that we can find whether a given validator is
757 * disabled using binary search. It gets cleared when `on_session_ending` returns
758 * a new set of identities.
759 **/
760 disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
761 /**
762 * The owner of a key. The key is the `KeyTypeId` + the encoded key.
763 **/
764 keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
765 /**
766 * The next session keys for a validator.
767 **/
768 nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
769 /**
770 * True if the underlying economic identities or weighting behind the validators
771 * has changed in the queued validator set.
772 **/
773 queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
774 /**
775 * The queued keys for the next session. When the next session begins, these keys
776 * will be used to determine the validator's session keys.
777 **/
778 queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
779 /**
780 * The current set of validators.
781 **/
782 validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
783 /**
784 * Generic query
785 **/
786 [key: string]: QueryableStorageEntry<ApiType>;
787 };
690 structure: {788 structure: {
691 /**789 /**
692 * Generic query790 * Generic query
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
16import type { BlockHash } from '@polkadot/types/interfaces/chain';16import type { BlockHash } from '@polkadot/types/interfaces/chain';
17import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';17import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
18import type { AuthorityId } from '@polkadot/types/interfaces/consensus';18import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
19import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';19import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
20import type { BlockStats } from '@polkadot/types/interfaces/dev';20import type { BlockStats } from '@polkadot/types/interfaces/dev';
21import type { CreatedBlock } from '@polkadot/types/interfaces/engine';21import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
22import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';22import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
23import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';23import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
24import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';24import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
25import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';25import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
26import type { StorageKind } from '@polkadot/types/interfaces/offchain';26import type { StorageKind } from '@polkadot/types/interfaces/offchain';
27import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';27import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
28import type { RpcMethods } from '@polkadot/types/interfaces/rpc';28import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
29import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';29import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
30import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';30import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
174 * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead174 * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead
175 * Instantiate a new contract175 * Instantiate a new contract
176 **/176 **/
177 instantiate: AugmentedRpc<(request: InstantiateRequest | { origin?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>;177 instantiate: AugmentedRpc<(request: InstantiateRequestV1 | { origin?: any; value?: any; gasLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>;
178 /**178 /**
179 * @deprecated Not available in newer versions of the contracts interfaces179 * @deprecated Not available in newer versions of the contracts interfaces
180 * Returns the projected time a given contract will be able to sustain paying its rent180 * Returns the projected time a given contract will be able to sustain paying its rent
425 localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>;425 localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>;
426 };426 };
427 payment: {427 payment: {
428 /**428 /**
429 * Query the detailed fee of a given encoded extrinsic429 * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
430 * Query the detailed fee of a given encoded extrinsic
430 **/431 **/
431 queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;432 queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
432 /**433 /**
433 * Retrieves the fee information for an encoded extrinsic434 * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
435 * Retrieves the fee information for an encoded extrinsic
434 **/436 **/
435 queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;437 queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
436 };438 };
437 rmrk: {439 rmrk: {
438 /**440 /**
modifiedtests/src/interfaces/augment-api-runtime.tsdiffbeforeafterboth
6import '@polkadot/api-base/types/calls';6import '@polkadot/api-base/types/calls';
77
8import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';8import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
9import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u64 } from '@polkadot/types-codec';9import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec';
10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
11import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';11import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
12import type { BlockHash } from '@polkadot/types/interfaces/chain';12import type { BlockHash } from '@polkadot/types/interfaces/chain';
16import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm';16import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm';
17import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';17import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
18import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';18import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
19import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
19import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime';20import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime';
20import type { RuntimeVersion } from '@polkadot/types/interfaces/state';21import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
21import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system';22import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system';
228 **/229 **/
229 [key: string]: DecoratedCallBase<ApiType>;230 [key: string]: DecoratedCallBase<ApiType>;
230 };231 };
232 /** 0x37c8bb1350a9a2a8/2 */
233 transactionPaymentApi: {
234 /**
235 * The transaction fee details
236 **/
237 queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
238 /**
239 * The transaction info
240 **/
241 queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
242 /**
243 * Generic call
244 **/
245 [key: string]: DecoratedCallBase<ApiType>;
246 };
231 } // AugmentedCalls247 } // AugmentedCalls
232} // declare module248} // declare module
233249
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
9import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
1313
14export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;14export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
15export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;15export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
119 **/119 **/
120 [key: string]: SubmittableExtrinsicFunction<ApiType>;120 [key: string]: SubmittableExtrinsicFunction<ApiType>;
121 };121 };
122 authorship: {
123 /**
124 * Provide a set of uncles.
125 **/
126 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;
127 /**
128 * Generic tx
129 **/
130 [key: string]: SubmittableExtrinsicFunction<ApiType>;
131 };
122 balances: {132 balances: {
123 /**133 /**
124 * Exactly as `transfer`, except the origin must be root and the source account may be134 * Exactly as `transfer`, except the origin must be root and the source account may be
214 **/224 **/
215 [key: string]: SubmittableExtrinsicFunction<ApiType>;225 [key: string]: SubmittableExtrinsicFunction<ApiType>;
216 };226 };
227 collatorSelection: {
228 /**
229 * Add a collator to the list of invulnerable (fixed) collators.
230 **/
231 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
232 /**
233 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.
234 * Note that the collator can only leave on session change.
235 * The `LicenseBond` will be unreserved and returned immediately.
236 *
237 * This call is not available to `Invulnerable` collators.
238 **/
239 forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
240 /**
241 * Purchase a license on block collation for this account.
242 * It does not make it a collator candidate, use `onboard` afterward. The account must
243 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.
244 *
245 * This call is not available to `Invulnerable` collators.
246 **/
247 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
248 /**
249 * Deregister `origin` as a collator candidate. Note that the collator can only leave on
250 * session change. The license to `onboard` later at any other time will remain.
251 *
252 * This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not
253 **/
254 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
255 /**
256 * Register this account as a candidate for collators for next sessions.
257 * The account must already hold a license, and cannot offboard immediately during a session.
258 *
259 * This call is not available to `Invulnerable` collators.
260 **/
261 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
262 /**
263 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.
264 *
265 * This call is not available to `Invulnerable` collators.
266 **/
267 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
268 /**
269 * Remove a collator from the list of invulnerable (fixed) collators.
270 **/
271 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
272 /**
273 * Set the ideal number of collators. If lowering this number,
274 * then the number of running collators could be higher than this figure.
275 * Aside from that edge case, there should be no other way to have more collators than the desired number.
276 **/
277 setDesiredCollators: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
278 /**
279 * Set the length of the kick threshold.
280 * Note that if the length is not a multiple of the session period, it might get inconsistent.
281 **/
282 setKickThreshold: AugmentedSubmittable<(kickThreshold: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
283 /**
284 * Set the candidacy bond amount.
285 **/
286 setLicenseBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
287 /**
288 * Generic tx
289 **/
290 [key: string]: SubmittableExtrinsicFunction<ApiType>;
291 };
217 configuration: {292 configuration: {
218 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;293 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
219 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;294 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
839 **/914 **/
840 [key: string]: SubmittableExtrinsicFunction<ApiType>;915 [key: string]: SubmittableExtrinsicFunction<ApiType>;
841 };916 };
917 session: {
918 /**
919 * Removes any session key(s) of the function caller.
920 *
921 * This doesn't take effect until the next session.
922 *
923 * The dispatch origin of this function must be Signed and the account must be either be
924 * convertible to a validator ID using the chain's typical addressing system (this usually
925 * means being a controller account) or directly convertible into a validator ID (which
926 * usually means being a stash account).
927 *
928 * # <weight>
929 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
930 * of `T::Keys::key_ids()` which is fixed.
931 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
932 * - DbWrites: `NextKeys`, `origin account`
933 * - DbWrites per key id: `KeyOwner`
934 * # </weight>
935 **/
936 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
937 /**
938 * Sets the session key(s) of the function caller to `keys`.
939 * Allows an account to set its session key prior to becoming a validator.
940 * This doesn't take effect until the next session.
941 *
942 * The dispatch origin of this function must be signed.
943 *
944 * # <weight>
945 * - Complexity: `O(1)`. Actual cost depends on the number of length of
946 * `T::Keys::key_ids()` which is fixed.
947 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
948 * - DbWrites: `origin account`, `NextKeys`
949 * - DbReads per key id: `KeyOwner`
950 * - DbWrites per key id: `KeyOwner`
951 * # </weight>
952 **/
953 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;
954 /**
955 * Generic tx
956 **/
957 [key: string]: SubmittableExtrinsicFunction<ApiType>;
958 };
842 structure: {959 structure: {
843 /**960 /**
844 * Generic tx961 * Generic tx
1431 * * `collection_id`: Collection to destroy.1548 * * `collection_id`: Collection to destroy.
1432 **/1549 **/
1433 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1550 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1551 /**
1552 * Repairs a collection if the data was somehow corrupted.
1553 *
1554 * # Arguments
1555 *
1556 * * `collection_id`: ID of the collection to repair.
1557 **/
1558 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1559 /**
1560 * Repairs a token if the data was somehow corrupted.
1561 *
1562 * # Arguments
1563 *
1564 * * `collection_id`: ID of the collection the item belongs to.
1565 * * `item_id`: ID of the item.
1566 **/
1567 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1434 /**1568 /**
1435 * Remove admin of a collection.1569 * Remove admin of a collection.
1436 * 1570 *
1474 * * `address`: ID of the address to be removed from the allowlist.1608 * * `address`: ID of the address to be removed from the allowlist.
1475 **/1609 **/
1476 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1610 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1477 /**
1478 * Repairs a broken item
1479 *
1480 * # Arguments
1481 *
1482 * * `collection_id`: ID of the collection the item belongs to.
1483 * * `item_id`: ID of the item.
1484 **/
1485 repairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1486 /**1611 /**
1487 * Re-partition a refungible token, while owning all of its parts/pieces.1612 * Re-partition a refungible token, while owning all of its parts/pieces.
1488 * 1613 *
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
9import type { Data, StorageKey } from '@polkadot/types';9import type { Data, StorageKey } from '@polkadot/types';
10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
24import type { StatementKind } from '@polkadot/types/interfaces/claims';24import type { StatementKind } from '@polkadot/types/interfaces/claims';
25import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';25import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
26import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';26import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
27import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';27import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
28import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';28import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
29import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';29import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
30import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';30import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
47import type { StorageKind } from '@polkadot/types/interfaces/offchain';47import type { StorageKind } from '@polkadot/types/interfaces/offchain';
48import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';48import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
49import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, 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';49import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, 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';
50import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';50import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
51import type { Approvals } from '@polkadot/types/interfaces/poll';51import type { Approvals } from '@polkadot/types/interfaces/poll';
52import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';52import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
53import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';53import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
273 ContractExecResultTo255: ContractExecResultTo255;273 ContractExecResultTo255: ContractExecResultTo255;
274 ContractExecResultTo260: ContractExecResultTo260;274 ContractExecResultTo260: ContractExecResultTo260;
275 ContractExecResultTo267: ContractExecResultTo267;275 ContractExecResultTo267: ContractExecResultTo267;
276 ContractExecResultU64: ContractExecResultU64;
276 ContractInfo: ContractInfo;277 ContractInfo: ContractInfo;
277 ContractInstantiateResult: ContractInstantiateResult;278 ContractInstantiateResult: ContractInstantiateResult;
278 ContractInstantiateResultTo267: ContractInstantiateResultTo267;279 ContractInstantiateResultTo267: ContractInstantiateResultTo267;
279 ContractInstantiateResultTo299: ContractInstantiateResultTo299;280 ContractInstantiateResultTo299: ContractInstantiateResultTo299;
281 ContractInstantiateResultU64: ContractInstantiateResultU64;
280 ContractLayoutArray: ContractLayoutArray;282 ContractLayoutArray: ContractLayoutArray;
281 ContractLayoutCell: ContractLayoutCell;283 ContractLayoutCell: ContractLayoutCell;
282 ContractLayoutEnum: ContractLayoutEnum;284 ContractLayoutEnum: ContractLayoutEnum;
771 OldV1SessionInfo: OldV1SessionInfo;773 OldV1SessionInfo: OldV1SessionInfo;
772 OpalRuntimeRuntime: OpalRuntimeRuntime;774 OpalRuntimeRuntime: OpalRuntimeRuntime;
773 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;775 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
776 OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
774 OpaqueCall: OpaqueCall;777 OpaqueCall: OpaqueCall;
775 OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;778 OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
776 OpaqueMetadata: OpaqueMetadata;779 OpaqueMetadata: OpaqueMetadata;
815 PalletAppPromotionCall: PalletAppPromotionCall;818 PalletAppPromotionCall: PalletAppPromotionCall;
816 PalletAppPromotionError: PalletAppPromotionError;819 PalletAppPromotionError: PalletAppPromotionError;
817 PalletAppPromotionEvent: PalletAppPromotionEvent;820 PalletAppPromotionEvent: PalletAppPromotionEvent;
821 PalletAuthorshipCall: PalletAuthorshipCall;
822 PalletAuthorshipError: PalletAuthorshipError;
823 PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
818 PalletBalancesAccountData: PalletBalancesAccountData;824 PalletBalancesAccountData: PalletBalancesAccountData;
819 PalletBalancesBalanceLock: PalletBalancesBalanceLock;825 PalletBalancesBalanceLock: PalletBalancesBalanceLock;
820 PalletBalancesCall: PalletBalancesCall;826 PalletBalancesCall: PalletBalancesCall;
825 PalletBalancesReserveData: PalletBalancesReserveData;831 PalletBalancesReserveData: PalletBalancesReserveData;
826 PalletCallMetadataLatest: PalletCallMetadataLatest;832 PalletCallMetadataLatest: PalletCallMetadataLatest;
827 PalletCallMetadataV14: PalletCallMetadataV14;833 PalletCallMetadataV14: PalletCallMetadataV14;
834 PalletCollatorSelectionCall: PalletCollatorSelectionCall;
835 PalletCollatorSelectionError: PalletCollatorSelectionError;
836 PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
828 PalletCommonError: PalletCommonError;837 PalletCommonError: PalletCommonError;
829 PalletCommonEvent: PalletCommonEvent;838 PalletCommonEvent: PalletCommonEvent;
830 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;839 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
875 PalletRmrkEquipCall: PalletRmrkEquipCall;884 PalletRmrkEquipCall: PalletRmrkEquipCall;
876 PalletRmrkEquipError: PalletRmrkEquipError;885 PalletRmrkEquipError: PalletRmrkEquipError;
877 PalletRmrkEquipEvent: PalletRmrkEquipEvent;886 PalletRmrkEquipEvent: PalletRmrkEquipEvent;
887 PalletSessionCall: PalletSessionCall;
888 PalletSessionError: PalletSessionError;
889 PalletSessionEvent: PalletSessionEvent;
878 PalletsOrigin: PalletsOrigin;890 PalletsOrigin: PalletsOrigin;
879 PalletStorageMetadataLatest: PalletStorageMetadataLatest;891 PalletStorageMetadataLatest: PalletStorageMetadataLatest;
880 PalletStorageMetadataV14: PalletStorageMetadataV14;892 PalletStorageMetadataV14: PalletStorageMetadataV14;
1057 RpcMethods: RpcMethods;1069 RpcMethods: RpcMethods;
1058 RuntimeDbWeight: RuntimeDbWeight;1070 RuntimeDbWeight: RuntimeDbWeight;
1059 RuntimeDispatchInfo: RuntimeDispatchInfo;1071 RuntimeDispatchInfo: RuntimeDispatchInfo;
1072 RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
1073 RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
1060 RuntimeVersion: RuntimeVersion;1074 RuntimeVersion: RuntimeVersion;
1061 RuntimeVersionApi: RuntimeVersionApi;1075 RuntimeVersionApi: RuntimeVersionApi;
1062 RuntimeVersionPartial: RuntimeVersionPartial;1076 RuntimeVersionPartial: RuntimeVersionPartial;
1172 SolutionSupports: SolutionSupports;1186 SolutionSupports: SolutionSupports;
1173 SpanIndex: SpanIndex;1187 SpanIndex: SpanIndex;
1174 SpanRecord: SpanRecord;1188 SpanRecord: SpanRecord;
1189 SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
1190 SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
1175 SpCoreEcdsaSignature: SpCoreEcdsaSignature;1191 SpCoreEcdsaSignature: SpCoreEcdsaSignature;
1176 SpCoreEd25519Signature: SpCoreEd25519Signature;1192 SpCoreEd25519Signature: SpCoreEd25519Signature;
1193 SpCoreSr25519Public: SpCoreSr25519Public;
1177 SpCoreSr25519Signature: SpCoreSr25519Signature;1194 SpCoreSr25519Signature: SpCoreSr25519Signature;
1178 SpecVersion: SpecVersion;1195 SpecVersion: SpecVersion;
1179 SpRuntimeArithmeticError: SpRuntimeArithmeticError;1196 SpRuntimeArithmeticError: SpRuntimeArithmeticError;
1197 SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
1180 SpRuntimeDigest: SpRuntimeDigest;1198 SpRuntimeDigest: SpRuntimeDigest;
1181 SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;1199 SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
1182 SpRuntimeDispatchError: SpRuntimeDispatchError;1200 SpRuntimeDispatchError: SpRuntimeDispatchError;
1201 SpRuntimeHeader: SpRuntimeHeader;
1183 SpRuntimeModuleError: SpRuntimeModuleError;1202 SpRuntimeModuleError: SpRuntimeModuleError;
1184 SpRuntimeMultiSignature: SpRuntimeMultiSignature;1203 SpRuntimeMultiSignature: SpRuntimeMultiSignature;
1185 SpRuntimeTokenError: SpRuntimeTokenError;1204 SpRuntimeTokenError: SpRuntimeTokenError;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
701
702/** @name OpalRuntimeRuntimeCommonSessionKeys */
703export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
704 readonly aura: SpConsensusAuraSr25519AppSr25519Public;
705}
701706
702/** @name OrmlTokensAccountData */707/** @name OrmlTokensAccountData */
703export interface OrmlTokensAccountData extends Struct {708export interface OrmlTokensAccountData extends Struct {
1056 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1061 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
1057}1062}
1063
1064/** @name PalletAuthorshipCall */
1065export interface PalletAuthorshipCall extends Enum {
1066 readonly isSetUncles: boolean;
1067 readonly asSetUncles: {
1068 readonly newUncles: Vec<SpRuntimeHeader>;
1069 } & Struct;
1070 readonly type: 'SetUncles';
1071}
1072
1073/** @name PalletAuthorshipError */
1074export interface PalletAuthorshipError extends Enum {
1075 readonly isInvalidUncleParent: boolean;
1076 readonly isUnclesAlreadySet: boolean;
1077 readonly isTooManyUncles: boolean;
1078 readonly isGenesisUncle: boolean;
1079 readonly isTooHighUncle: boolean;
1080 readonly isUncleAlreadyIncluded: boolean;
1081 readonly isOldUncle: boolean;
1082 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
1083}
1084
1085/** @name PalletAuthorshipUncleEntryItem */
1086export interface PalletAuthorshipUncleEntryItem extends Enum {
1087 readonly isInclusionHeight: boolean;
1088 readonly asInclusionHeight: u32;
1089 readonly isUncle: boolean;
1090 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
1091 readonly type: 'InclusionHeight' | 'Uncle';
1092}
10581093
1059/** @name PalletBalancesAccountData */1094/** @name PalletBalancesAccountData */
1060export interface PalletBalancesAccountData extends Struct {1095export interface PalletBalancesAccountData extends Struct {
1201 readonly amount: u128;1236 readonly amount: u128;
1202}1237}
1238
1239/** @name PalletCollatorSelectionCall */
1240export interface PalletCollatorSelectionCall extends Enum {
1241 readonly isAddInvulnerable: boolean;
1242 readonly asAddInvulnerable: {
1243 readonly new_: AccountId32;
1244 } & Struct;
1245 readonly isRemoveInvulnerable: boolean;
1246 readonly asRemoveInvulnerable: {
1247 readonly who: AccountId32;
1248 } & Struct;
1249 readonly isSetDesiredCollators: boolean;
1250 readonly asSetDesiredCollators: {
1251 readonly max: u32;
1252 } & Struct;
1253 readonly isSetLicenseBond: boolean;
1254 readonly asSetLicenseBond: {
1255 readonly bond: u128;
1256 } & Struct;
1257 readonly isSetKickThreshold: boolean;
1258 readonly asSetKickThreshold: {
1259 readonly kickThreshold: u32;
1260 } & Struct;
1261 readonly isGetLicense: boolean;
1262 readonly isOnboard: boolean;
1263 readonly isOffboard: boolean;
1264 readonly isReleaseLicense: boolean;
1265 readonly isForceRevokeLicense: boolean;
1266 readonly asForceRevokeLicense: {
1267 readonly who: AccountId32;
1268 } & Struct;
1269 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
1270}
1271
1272/** @name PalletCollatorSelectionError */
1273export interface PalletCollatorSelectionError extends Enum {
1274 readonly isTooManyCandidates: boolean;
1275 readonly isUnknown: boolean;
1276 readonly isPermission: boolean;
1277 readonly isAlreadyHoldingLicense: boolean;
1278 readonly isNoLicense: boolean;
1279 readonly isAlreadyCandidate: boolean;
1280 readonly isNotCandidate: boolean;
1281 readonly isTooManyInvulnerables: boolean;
1282 readonly isTooFewInvulnerables: boolean;
1283 readonly isAlreadyInvulnerable: boolean;
1284 readonly isNotInvulnerable: boolean;
1285 readonly isNoAssociatedValidatorId: boolean;
1286 readonly isValidatorNotRegistered: boolean;
1287 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
1288}
1289
1290/** @name PalletCollatorSelectionEvent */
1291export interface PalletCollatorSelectionEvent extends Enum {
1292 readonly isNewDesiredCollators: boolean;
1293 readonly asNewDesiredCollators: {
1294 readonly desiredCollators: u32;
1295 } & Struct;
1296 readonly isNewLicenseBond: boolean;
1297 readonly asNewLicenseBond: {
1298 readonly bondAmount: u128;
1299 } & Struct;
1300 readonly isNewKickThreshold: boolean;
1301 readonly asNewKickThreshold: {
1302 readonly lengthInBlocks: u32;
1303 } & Struct;
1304 readonly isInvulnerableAdded: boolean;
1305 readonly asInvulnerableAdded: {
1306 readonly invulnerable: AccountId32;
1307 } & Struct;
1308 readonly isInvulnerableRemoved: boolean;
1309 readonly asInvulnerableRemoved: {
1310 readonly invulnerable: AccountId32;
1311 } & Struct;
1312 readonly isLicenseObtained: boolean;
1313 readonly asLicenseObtained: {
1314 readonly accountId: AccountId32;
1315 readonly deposit: u128;
1316 } & Struct;
1317 readonly isLicenseForfeited: boolean;
1318 readonly asLicenseForfeited: {
1319 readonly accountId: AccountId32;
1320 readonly depositReturned: u128;
1321 } & Struct;
1322 readonly isCandidateAdded: boolean;
1323 readonly asCandidateAdded: {
1324 readonly accountId: AccountId32;
1325 } & Struct;
1326 readonly isCandidateRemoved: boolean;
1327 readonly asCandidateRemoved: {
1328 readonly accountId: AccountId32;
1329 } & Struct;
1330 readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
1331}
12031332
1204/** @name PalletCommonError */1333/** @name PalletCommonError */
1205export interface PalletCommonError extends Enum {1334export interface PalletCommonError extends Enum {
1938 readonly type: 'BaseCreated' | 'EquippablesUpdated';2067 readonly type: 'BaseCreated' | 'EquippablesUpdated';
1939}2068}
2069
2070/** @name PalletSessionCall */
2071export interface PalletSessionCall extends Enum {
2072 readonly isSetKeys: boolean;
2073 readonly asSetKeys: {
2074 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
2075 readonly proof: Bytes;
2076 } & Struct;
2077 readonly isPurgeKeys: boolean;
2078 readonly type: 'SetKeys' | 'PurgeKeys';
2079}
2080
2081/** @name PalletSessionError */
2082export interface PalletSessionError extends Enum {
2083 readonly isInvalidProof: boolean;
2084 readonly isNoAssociatedValidatorId: boolean;
2085 readonly isDuplicatedKey: boolean;
2086 readonly isNoKeys: boolean;
2087 readonly isNoAccount: boolean;
2088 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
2089}
2090
2091/** @name PalletSessionEvent */
2092export interface PalletSessionEvent extends Enum {
2093 readonly isNewSession: boolean;
2094 readonly asNewSession: {
2095 readonly sessionIndex: u32;
2096 } & Struct;
2097 readonly type: 'NewSession';
2098}
19402099
1941/** @name PalletStructureCall */2100/** @name PalletStructureCall */
1942export interface PalletStructureCall extends Null {}2101export interface PalletStructureCall extends Null {}
2319 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2478 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;
2320 readonly approve: bool;2479 readonly approve: bool;
2321 } & Struct;2480 } & Struct;
2322 readonly isRepairItem: boolean;2481 readonly isForceRepairCollection: boolean;
2482 readonly asForceRepairCollection: {
2483 readonly collectionId: u32;
2484 } & Struct;
2485 readonly isForceRepairItem: boolean;
2323 readonly asRepairItem: {2486 readonly asForceRepairItem: {
2324 readonly collectionId: u32;2487 readonly collectionId: u32;
2325 readonly itemId: u32;2488 readonly itemId: u32;
2326 } & Struct;2489 } & Struct;
2327 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'RepairItem';2490 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
2328}2491}
23292492
2330/** @name PalletUniqueError */2493/** @name PalletUniqueError */
2665 readonly value: Bytes;2828 readonly value: Bytes;
2666}2829}
2830
2831/** @name SpConsensusAuraSr25519AppSr25519Public */
2832export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
2833
2834/** @name SpCoreCryptoKeyTypeId */
2835export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
26672836
2668/** @name SpCoreEcdsaSignature */2837/** @name SpCoreEcdsaSignature */
2669export interface SpCoreEcdsaSignature extends U8aFixed {}2838export interface SpCoreEcdsaSignature extends U8aFixed {}
26702839
2671/** @name SpCoreEd25519Signature */2840/** @name SpCoreEd25519Signature */
2672export interface SpCoreEd25519Signature extends U8aFixed {}2841export interface SpCoreEd25519Signature extends U8aFixed {}
2842
2843/** @name SpCoreSr25519Public */
2844export interface SpCoreSr25519Public extends U8aFixed {}
26732845
2674/** @name SpCoreSr25519Signature */2846/** @name SpCoreSr25519Signature */
2675export interface SpCoreSr25519Signature extends U8aFixed {}2847export interface SpCoreSr25519Signature extends U8aFixed {}
2682 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2854 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
2683}2855}
2856
2857/** @name SpRuntimeBlakeTwo256 */
2858export interface SpRuntimeBlakeTwo256 extends Null {}
26842859
2685/** @name SpRuntimeDigest */2860/** @name SpRuntimeDigest */
2686export interface SpRuntimeDigest extends Struct {2861export interface SpRuntimeDigest extends Struct {
2723 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2898 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
2724}2899}
2900
2901/** @name SpRuntimeHeader */
2902export interface SpRuntimeHeader extends Struct {
2903 readonly parentHash: H256;
2904 readonly number: Compact<u32>;
2905 readonly stateRoot: H256;
2906 readonly extrinsicsRoot: H256;
2907 readonly digest: SpRuntimeDigest;
2908}
27252909
2726/** @name SpRuntimeModuleError */2910/** @name SpRuntimeModuleError */
2727export interface SpRuntimeModuleError extends Struct {2911export interface SpRuntimeModuleError extends Struct {
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
183 }183 }
184 }184 }
185 },185 },
186 /**
187 * Lookup30: pallet_collator_selection::pallet::Event<T>
188 **/
189 PalletCollatorSelectionEvent: {
190 _enum: {
191 NewDesiredCollators: {
192 desiredCollators: 'u32',
193 },
194 NewLicenseBond: {
195 bondAmount: 'u128',
196 },
197 NewKickThreshold: {
198 lengthInBlocks: 'u32',
199 },
200 InvulnerableAdded: {
201 invulnerable: 'AccountId32',
202 },
203 InvulnerableRemoved: {
204 invulnerable: 'AccountId32',
205 },
206 LicenseObtained: {
207 accountId: 'AccountId32',
208 deposit: 'u128',
209 },
210 LicenseForfeited: {
211 accountId: 'AccountId32',
212 depositReturned: 'u128',
213 },
214 CandidateAdded: {
215 accountId: 'AccountId32',
216 },
217 CandidateRemoved: {
218 accountId: 'AccountId32'
219 }
220 }
221 },
222 /**
223 * Lookup31: pallet_session::pallet::Event
224 **/
225 PalletSessionEvent: {
226 _enum: {
227 NewSession: {
228 sessionIndex: 'u32'
229 }
230 }
231 },
186 /**232 /**
187 * Lookup30: pallet_balances::pallet::Event<T, I>233 * Lookup32: pallet_balances::pallet::Event<T, I>
188 **/234 **/
189 PalletBalancesEvent: {235 PalletBalancesEvent: {
190 _enum: {236 _enum: {
191 Endowed: {237 Endowed: {
234 }280 }
235 }281 }
236 },282 },
237 /**283 /**
238 * Lookup31: frame_support::traits::tokens::misc::BalanceStatus284 * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
239 **/285 **/
240 FrameSupportTokensMiscBalanceStatus: {286 FrameSupportTokensMiscBalanceStatus: {
241 _enum: ['Free', 'Reserved']287 _enum: ['Free', 'Reserved']
242 },288 },
243 /**289 /**
244 * Lookup32: pallet_transaction_payment::pallet::Event<T>290 * Lookup34: pallet_transaction_payment::pallet::Event<T>
245 **/291 **/
246 PalletTransactionPaymentEvent: {292 PalletTransactionPaymentEvent: {
247 _enum: {293 _enum: {
248 TransactionFeePaid: {294 TransactionFeePaid: {
252 }298 }
253 }299 }
254 },300 },
255 /**301 /**
256 * Lookup33: pallet_treasury::pallet::Event<T, I>302 * Lookup35: pallet_treasury::pallet::Event<T, I>
257 **/303 **/
258 PalletTreasuryEvent: {304 PalletTreasuryEvent: {
259 _enum: {305 _enum: {
260 Proposed: {306 Proposed: {
288 }334 }
289 }335 }
290 },336 },
291 /**337 /**
292 * Lookup34: pallet_sudo::pallet::Event<T>338 * Lookup36: pallet_sudo::pallet::Event<T>
293 **/339 **/
294 PalletSudoEvent: {340 PalletSudoEvent: {
295 _enum: {341 _enum: {
296 Sudid: {342 Sudid: {
304 }350 }
305 }351 }
306 },352 },
307 /**353 /**
308 * Lookup38: orml_vesting::module::Event<T>354 * Lookup40: orml_vesting::module::Event<T>
309 **/355 **/
310 OrmlVestingModuleEvent: {356 OrmlVestingModuleEvent: {
311 _enum: {357 _enum: {
312 VestingScheduleAdded: {358 VestingScheduleAdded: {
323 }369 }
324 }370 }
325 },371 },
326 /**372 /**
327 * Lookup39: orml_vesting::VestingSchedule<BlockNumber, Balance>373 * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
328 **/374 **/
329 OrmlVestingVestingSchedule: {375 OrmlVestingVestingSchedule: {
330 start: 'u32',376 start: 'u32',
331 period: 'u32',377 period: 'u32',
332 periodCount: 'u32',378 periodCount: 'u32',
333 perPeriod: 'Compact<u128>'379 perPeriod: 'Compact<u128>'
334 },380 },
335 /**381 /**
336 * Lookup41: orml_xtokens::module::Event<T>382 * Lookup43: orml_xtokens::module::Event<T>
337 **/383 **/
338 OrmlXtokensModuleEvent: {384 OrmlXtokensModuleEvent: {
339 _enum: {385 _enum: {
340 TransferredMultiAssets: {386 TransferredMultiAssets: {
345 }391 }
346 }392 }
347 },393 },
348 /**394 /**
349 * Lookup42: xcm::v1::multiasset::MultiAssets395 * Lookup44: xcm::v1::multiasset::MultiAssets
350 **/396 **/
351 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',397 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
352 /**398 /**
353 * Lookup44: xcm::v1::multiasset::MultiAsset399 * Lookup46: xcm::v1::multiasset::MultiAsset
354 **/400 **/
355 XcmV1MultiAsset: {401 XcmV1MultiAsset: {
356 id: 'XcmV1MultiassetAssetId',402 id: 'XcmV1MultiassetAssetId',
357 fun: 'XcmV1MultiassetFungibility'403 fun: 'XcmV1MultiassetFungibility'
358 },404 },
359 /**405 /**
360 * Lookup45: xcm::v1::multiasset::AssetId406 * Lookup47: xcm::v1::multiasset::AssetId
361 **/407 **/
362 XcmV1MultiassetAssetId: {408 XcmV1MultiassetAssetId: {
363 _enum: {409 _enum: {
364 Concrete: 'XcmV1MultiLocation',410 Concrete: 'XcmV1MultiLocation',
365 Abstract: 'Bytes'411 Abstract: 'Bytes'
366 }412 }
367 },413 },
368 /**414 /**
369 * Lookup46: xcm::v1::multilocation::MultiLocation415 * Lookup48: xcm::v1::multilocation::MultiLocation
370 **/416 **/
371 XcmV1MultiLocation: {417 XcmV1MultiLocation: {
372 parents: 'u8',418 parents: 'u8',
373 interior: 'XcmV1MultilocationJunctions'419 interior: 'XcmV1MultilocationJunctions'
374 },420 },
375 /**421 /**
376 * Lookup47: xcm::v1::multilocation::Junctions422 * Lookup49: xcm::v1::multilocation::Junctions
377 **/423 **/
378 XcmV1MultilocationJunctions: {424 XcmV1MultilocationJunctions: {
379 _enum: {425 _enum: {
380 Here: 'Null',426 Here: 'Null',
388 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'434 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
389 }435 }
390 },436 },
391 /**437 /**
392 * Lookup48: xcm::v1::junction::Junction438 * Lookup50: xcm::v1::junction::Junction
393 **/439 **/
394 XcmV1Junction: {440 XcmV1Junction: {
395 _enum: {441 _enum: {
396 Parachain: 'Compact<u32>',442 Parachain: 'Compact<u32>',
416 }462 }
417 }463 }
418 },464 },
419 /**465 /**
420 * Lookup50: xcm::v0::junction::NetworkId466 * Lookup52: xcm::v0::junction::NetworkId
421 **/467 **/
422 XcmV0JunctionNetworkId: {468 XcmV0JunctionNetworkId: {
423 _enum: {469 _enum: {
424 Any: 'Null',470 Any: 'Null',
427 Kusama: 'Null'473 Kusama: 'Null'
428 }474 }
429 },475 },
430 /**476 /**
431 * Lookup53: xcm::v0::junction::BodyId477 * Lookup55: xcm::v0::junction::BodyId
432 **/478 **/
433 XcmV0JunctionBodyId: {479 XcmV0JunctionBodyId: {
434 _enum: {480 _enum: {
435 Unit: 'Null',481 Unit: 'Null',
441 Judicial: 'Null'487 Judicial: 'Null'
442 }488 }
443 },489 },
444 /**490 /**
445 * Lookup54: xcm::v0::junction::BodyPart491 * Lookup56: xcm::v0::junction::BodyPart
446 **/492 **/
447 XcmV0JunctionBodyPart: {493 XcmV0JunctionBodyPart: {
448 _enum: {494 _enum: {
449 Voice: 'Null',495 Voice: 'Null',
464 }510 }
465 }511 }
466 },512 },
467 /**513 /**
468 * Lookup55: xcm::v1::multiasset::Fungibility514 * Lookup57: xcm::v1::multiasset::Fungibility
469 **/515 **/
470 XcmV1MultiassetFungibility: {516 XcmV1MultiassetFungibility: {
471 _enum: {517 _enum: {
472 Fungible: 'Compact<u128>',518 Fungible: 'Compact<u128>',
473 NonFungible: 'XcmV1MultiassetAssetInstance'519 NonFungible: 'XcmV1MultiassetAssetInstance'
474 }520 }
475 },521 },
476 /**522 /**
477 * Lookup56: xcm::v1::multiasset::AssetInstance523 * Lookup58: xcm::v1::multiasset::AssetInstance
478 **/524 **/
479 XcmV1MultiassetAssetInstance: {525 XcmV1MultiassetAssetInstance: {
480 _enum: {526 _enum: {
481 Undefined: 'Null',527 Undefined: 'Null',
487 Blob: 'Bytes'533 Blob: 'Bytes'
488 }534 }
489 },535 },
490 /**536 /**
491 * Lookup59: orml_tokens::module::Event<T>537 * Lookup61: orml_tokens::module::Event<T>
492 **/538 **/
493 OrmlTokensModuleEvent: {539 OrmlTokensModuleEvent: {
494 _enum: {540 _enum: {
495 Endowed: {541 Endowed: {
564 }610 }
565 }611 }
566 },612 },
567 /**613 /**
568 * Lookup60: pallet_foreign_assets::AssetIds614 * Lookup62: pallet_foreign_assets::AssetIds
569 **/615 **/
570 PalletForeignAssetsAssetIds: {616 PalletForeignAssetsAssetIds: {
571 _enum: {617 _enum: {
572 ForeignAssetId: 'u32',618 ForeignAssetId: 'u32',
573 NativeAssetId: 'PalletForeignAssetsNativeCurrency'619 NativeAssetId: 'PalletForeignAssetsNativeCurrency'
574 }620 }
575 },621 },
576 /**622 /**
577 * Lookup61: pallet_foreign_assets::NativeCurrency623 * Lookup63: pallet_foreign_assets::NativeCurrency
578 **/624 **/
579 PalletForeignAssetsNativeCurrency: {625 PalletForeignAssetsNativeCurrency: {
580 _enum: ['Here', 'Parent']626 _enum: ['Here', 'Parent']
581 },627 },
582 /**628 /**
583 * Lookup62: cumulus_pallet_xcmp_queue::pallet::Event<T>629 * Lookup64: cumulus_pallet_xcmp_queue::pallet::Event<T>
584 **/630 **/
585 CumulusPalletXcmpQueueEvent: {631 CumulusPalletXcmpQueueEvent: {
586 _enum: {632 _enum: {
587 Success: {633 Success: {
617 }663 }
618 }664 }
619 },665 },
620 /**666 /**
621 * Lookup64: xcm::v2::traits::Error667 * Lookup66: xcm::v2::traits::Error
622 **/668 **/
623 XcmV2TraitsError: {669 XcmV2TraitsError: {
624 _enum: {670 _enum: {
625 Overflow: 'Null',671 Overflow: 'Null',
650 WeightNotComputable: 'Null'696 WeightNotComputable: 'Null'
651 }697 }
652 },698 },
653 /**699 /**
654 * Lookup66: pallet_xcm::pallet::Event<T>700 * Lookup68: pallet_xcm::pallet::Event<T>
655 **/701 **/
656 PalletXcmEvent: {702 PalletXcmEvent: {
657 _enum: {703 _enum: {
658 Attempted: 'XcmV2TraitsOutcome',704 Attempted: 'XcmV2TraitsOutcome',
674 AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'720 AssetsClaimed: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)'
675 }721 }
676 },722 },
677 /**723 /**
678 * Lookup67: xcm::v2::traits::Outcome724 * Lookup69: xcm::v2::traits::Outcome
679 **/725 **/
680 XcmV2TraitsOutcome: {726 XcmV2TraitsOutcome: {
681 _enum: {727 _enum: {
682 Complete: 'u64',728 Complete: 'u64',
683 Incomplete: '(u64,XcmV2TraitsError)',729 Incomplete: '(u64,XcmV2TraitsError)',
684 Error: 'XcmV2TraitsError'730 Error: 'XcmV2TraitsError'
685 }731 }
686 },732 },
687 /**733 /**
688 * Lookup68: xcm::v2::Xcm<RuntimeCall>734 * Lookup70: xcm::v2::Xcm<RuntimeCall>
689 **/735 **/
690 XcmV2Xcm: 'Vec<XcmV2Instruction>',736 XcmV2Xcm: 'Vec<XcmV2Instruction>',
691 /**737 /**
692 * Lookup70: xcm::v2::Instruction<RuntimeCall>738 * Lookup72: xcm::v2::Instruction<RuntimeCall>
693 **/739 **/
694 XcmV2Instruction: {740 XcmV2Instruction: {
695 _enum: {741 _enum: {
696 WithdrawAsset: 'XcmV1MultiassetMultiAssets',742 WithdrawAsset: 'XcmV1MultiassetMultiAssets',
786 UnsubscribeVersion: 'Null'832 UnsubscribeVersion: 'Null'
787 }833 }
788 },834 },
789 /**835 /**
790 * Lookup71: xcm::v2::Response836 * Lookup73: xcm::v2::Response
791 **/837 **/
792 XcmV2Response: {838 XcmV2Response: {
793 _enum: {839 _enum: {
794 Null: 'Null',840 Null: 'Null',
797 Version: 'u32'843 Version: 'u32'
798 }844 }
799 },845 },
800 /**846 /**
801 * Lookup74: xcm::v0::OriginKind847 * Lookup76: xcm::v0::OriginKind
802 **/848 **/
803 XcmV0OriginKind: {849 XcmV0OriginKind: {
804 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']850 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
805 },851 },
806 /**852 /**
807 * Lookup75: xcm::double_encoded::DoubleEncoded<T>853 * Lookup77: xcm::double_encoded::DoubleEncoded<T>
808 **/854 **/
809 XcmDoubleEncoded: {855 XcmDoubleEncoded: {
810 encoded: 'Bytes'856 encoded: 'Bytes'
811 },857 },
812 /**858 /**
813 * Lookup76: xcm::v1::multiasset::MultiAssetFilter859 * Lookup78: xcm::v1::multiasset::MultiAssetFilter
814 **/860 **/
815 XcmV1MultiassetMultiAssetFilter: {861 XcmV1MultiassetMultiAssetFilter: {
816 _enum: {862 _enum: {
817 Definite: 'XcmV1MultiassetMultiAssets',863 Definite: 'XcmV1MultiassetMultiAssets',
818 Wild: 'XcmV1MultiassetWildMultiAsset'864 Wild: 'XcmV1MultiassetWildMultiAsset'
819 }865 }
820 },866 },
821 /**867 /**
822 * Lookup77: xcm::v1::multiasset::WildMultiAsset868 * Lookup79: xcm::v1::multiasset::WildMultiAsset
823 **/869 **/
824 XcmV1MultiassetWildMultiAsset: {870 XcmV1MultiassetWildMultiAsset: {
825 _enum: {871 _enum: {
826 All: 'Null',872 All: 'Null',
830 }876 }
831 }877 }
832 },878 },
833 /**879 /**
834 * Lookup78: xcm::v1::multiasset::WildFungibility880 * Lookup80: xcm::v1::multiasset::WildFungibility
835 **/881 **/
836 XcmV1MultiassetWildFungibility: {882 XcmV1MultiassetWildFungibility: {
837 _enum: ['Fungible', 'NonFungible']883 _enum: ['Fungible', 'NonFungible']
838 },884 },
839 /**885 /**
840 * Lookup79: xcm::v2::WeightLimit886 * Lookup81: xcm::v2::WeightLimit
841 **/887 **/
842 XcmV2WeightLimit: {888 XcmV2WeightLimit: {
843 _enum: {889 _enum: {
844 Unlimited: 'Null',890 Unlimited: 'Null',
845 Limited: 'Compact<u64>'891 Limited: 'Compact<u64>'
846 }892 }
847 },893 },
848 /**894 /**
849 * Lookup81: xcm::VersionedMultiAssets895 * Lookup83: xcm::VersionedMultiAssets
850 **/896 **/
851 XcmVersionedMultiAssets: {897 XcmVersionedMultiAssets: {
852 _enum: {898 _enum: {
853 V0: 'Vec<XcmV0MultiAsset>',899 V0: 'Vec<XcmV0MultiAsset>',
854 V1: 'XcmV1MultiassetMultiAssets'900 V1: 'XcmV1MultiassetMultiAssets'
855 }901 }
856 },902 },
857 /**903 /**
858 * Lookup83: xcm::v0::multi_asset::MultiAsset904 * Lookup85: xcm::v0::multi_asset::MultiAsset
859 **/905 **/
860 XcmV0MultiAsset: {906 XcmV0MultiAsset: {
861 _enum: {907 _enum: {
862 None: 'Null',908 None: 'Null',
893 }939 }
894 }940 }
895 },941 },
896 /**942 /**
897 * Lookup84: xcm::v0::multi_location::MultiLocation943 * Lookup86: xcm::v0::multi_location::MultiLocation
898 **/944 **/
899 XcmV0MultiLocation: {945 XcmV0MultiLocation: {
900 _enum: {946 _enum: {
901 Null: 'Null',947 Null: 'Null',
909 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'955 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
910 }956 }
911 },957 },
912 /**958 /**
913 * Lookup85: xcm::v0::junction::Junction959 * Lookup87: xcm::v0::junction::Junction
914 **/960 **/
915 XcmV0Junction: {961 XcmV0Junction: {
916 _enum: {962 _enum: {
917 Parent: 'Null',963 Parent: 'Null',
938 }984 }
939 }985 }
940 },986 },
941 /**987 /**
942 * Lookup86: xcm::VersionedMultiLocation988 * Lookup88: xcm::VersionedMultiLocation
943 **/989 **/
944 XcmVersionedMultiLocation: {990 XcmVersionedMultiLocation: {
945 _enum: {991 _enum: {
946 V0: 'XcmV0MultiLocation',992 V0: 'XcmV0MultiLocation',
947 V1: 'XcmV1MultiLocation'993 V1: 'XcmV1MultiLocation'
948 }994 }
949 },995 },
950 /**996 /**
951 * Lookup87: cumulus_pallet_xcm::pallet::Event<T>997 * Lookup89: cumulus_pallet_xcm::pallet::Event<T>
952 **/998 **/
953 CumulusPalletXcmEvent: {999 CumulusPalletXcmEvent: {
954 _enum: {1000 _enum: {
955 InvalidFormat: '[u8;8]',1001 InvalidFormat: '[u8;8]',
956 UnsupportedVersion: '[u8;8]',1002 UnsupportedVersion: '[u8;8]',
957 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1003 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
958 }1004 }
959 },1005 },
960 /**1006 /**
961 * Lookup88: cumulus_pallet_dmp_queue::pallet::Event<T>1007 * Lookup90: cumulus_pallet_dmp_queue::pallet::Event<T>
962 **/1008 **/
963 CumulusPalletDmpQueueEvent: {1009 CumulusPalletDmpQueueEvent: {
964 _enum: {1010 _enum: {
965 InvalidFormat: {1011 InvalidFormat: {
988 }1034 }
989 }1035 }
990 },1036 },
991 /**1037 /**
992 * Lookup89: pallet_common::pallet::Event<T>1038 * Lookup91: pallet_common::pallet::Event<T>
993 **/1039 **/
994 PalletCommonEvent: {1040 PalletCommonEvent: {
995 _enum: {1041 _enum: {
996 CollectionCreated: '(u32,u8,AccountId32)',1042 CollectionCreated: '(u32,u8,AccountId32)',
1017 CollectionSponsorRemoved: 'u32'1063 CollectionSponsorRemoved: 'u32'
1018 }1064 }
1019 },1065 },
1020 /**1066 /**
1021 * Lookup92: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1067 * Lookup94: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
1022 **/1068 **/
1023 PalletEvmAccountBasicCrossAccountIdRepr: {1069 PalletEvmAccountBasicCrossAccountIdRepr: {
1024 _enum: {1070 _enum: {
1025 Substrate: 'AccountId32',1071 Substrate: 'AccountId32',
1026 Ethereum: 'H160'1072 Ethereum: 'H160'
1027 }1073 }
1028 },1074 },
1029 /**1075 /**
1030 * Lookup96: pallet_structure::pallet::Event<T>1076 * Lookup98: pallet_structure::pallet::Event<T>
1031 **/1077 **/
1032 PalletStructureEvent: {1078 PalletStructureEvent: {
1033 _enum: {1079 _enum: {
1034 Executed: 'Result<Null, SpRuntimeDispatchError>'1080 Executed: 'Result<Null, SpRuntimeDispatchError>'
1035 }1081 }
1036 },1082 },
1037 /**1083 /**
1038 * Lookup97: pallet_rmrk_core::pallet::Event<T>1084 * Lookup99: pallet_rmrk_core::pallet::Event<T>
1039 **/1085 **/
1040 PalletRmrkCoreEvent: {1086 PalletRmrkCoreEvent: {
1041 _enum: {1087 _enum: {
1042 CollectionCreated: {1088 CollectionCreated: {
1111 }1157 }
1112 }1158 }
1113 },1159 },
1114 /**1160 /**
1115 * Lookup98: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1161 * Lookup100: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
1116 **/1162 **/
1117 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1163 RmrkTraitsNftAccountIdOrCollectionNftTuple: {
1118 _enum: {1164 _enum: {
1119 AccountId: 'AccountId32',1165 AccountId: 'AccountId32',
1120 CollectionAndNftTuple: '(u32,u32)'1166 CollectionAndNftTuple: '(u32,u32)'
1121 }1167 }
1122 },1168 },
1123 /**1169 /**
1124 * Lookup102: pallet_rmrk_equip::pallet::Event<T>1170 * Lookup104: pallet_rmrk_equip::pallet::Event<T>
1125 **/1171 **/
1126 PalletRmrkEquipEvent: {1172 PalletRmrkEquipEvent: {
1127 _enum: {1173 _enum: {
1128 BaseCreated: {1174 BaseCreated: {
1135 }1181 }
1136 }1182 }
1137 },1183 },
1138 /**1184 /**
1139 * Lookup103: pallet_app_promotion::pallet::Event<T>1185 * Lookup105: pallet_app_promotion::pallet::Event<T>
1140 **/1186 **/
1141 PalletAppPromotionEvent: {1187 PalletAppPromotionEvent: {
1142 _enum: {1188 _enum: {
1143 StakingRecalculation: '(AccountId32,u128,u128)',1189 StakingRecalculation: '(AccountId32,u128,u128)',
1146 SetAdmin: 'AccountId32'1192 SetAdmin: 'AccountId32'
1147 }1193 }
1148 },1194 },
1149 /**1195 /**
1150 * Lookup104: pallet_foreign_assets::module::Event<T>1196 * Lookup106: pallet_foreign_assets::module::Event<T>
1151 **/1197 **/
1152 PalletForeignAssetsModuleEvent: {1198 PalletForeignAssetsModuleEvent: {
1153 _enum: {1199 _enum: {
1154 ForeignAssetRegistered: {1200 ForeignAssetRegistered: {
1171 }1217 }
1172 }1218 }
1173 },1219 },
1174 /**1220 /**
1175 * Lookup105: pallet_foreign_assets::module::AssetMetadata<Balance>1221 * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
1176 **/1222 **/
1177 PalletForeignAssetsModuleAssetMetadata: {1223 PalletForeignAssetsModuleAssetMetadata: {
1178 name: 'Bytes',1224 name: 'Bytes',
1179 symbol: 'Bytes',1225 symbol: 'Bytes',
1180 decimals: 'u8',1226 decimals: 'u8',
1181 minimalBalance: 'u128'1227 minimalBalance: 'u128'
1182 },1228 },
1183 /**1229 /**
1184 * Lookup106: pallet_evm::pallet::Event<T>1230 * Lookup108: pallet_evm::pallet::Event<T>
1185 **/1231 **/
1186 PalletEvmEvent: {1232 PalletEvmEvent: {
1187 _enum: {1233 _enum: {
1188 Log: {1234 Log: {
1202 }1248 }
1203 }1249 }
1204 },1250 },
1205 /**1251 /**
1206 * Lookup107: ethereum::log::Log1252 * Lookup109: ethereum::log::Log
1207 **/1253 **/
1208 EthereumLog: {1254 EthereumLog: {
1209 address: 'H160',1255 address: 'H160',
1210 topics: 'Vec<H256>',1256 topics: 'Vec<H256>',
1211 data: 'Bytes'1257 data: 'Bytes'
1212 },1258 },
1213 /**1259 /**
1214 * Lookup109: pallet_ethereum::pallet::Event1260 * Lookup111: pallet_ethereum::pallet::Event
1215 **/1261 **/
1216 PalletEthereumEvent: {1262 PalletEthereumEvent: {
1217 _enum: {1263 _enum: {
1218 Executed: {1264 Executed: {
1223 }1269 }
1224 }1270 }
1225 },1271 },
1226 /**1272 /**
1227 * Lookup110: evm_core::error::ExitReason1273 * Lookup112: evm_core::error::ExitReason
1228 **/1274 **/
1229 EvmCoreErrorExitReason: {1275 EvmCoreErrorExitReason: {
1230 _enum: {1276 _enum: {
1231 Succeed: 'EvmCoreErrorExitSucceed',1277 Succeed: 'EvmCoreErrorExitSucceed',
1234 Fatal: 'EvmCoreErrorExitFatal'1280 Fatal: 'EvmCoreErrorExitFatal'
1235 }1281 }
1236 },1282 },
1237 /**1283 /**
1238 * Lookup111: evm_core::error::ExitSucceed1284 * Lookup113: evm_core::error::ExitSucceed
1239 **/1285 **/
1240 EvmCoreErrorExitSucceed: {1286 EvmCoreErrorExitSucceed: {
1241 _enum: ['Stopped', 'Returned', 'Suicided']1287 _enum: ['Stopped', 'Returned', 'Suicided']
1242 },1288 },
1243 /**1289 /**
1244 * Lookup112: evm_core::error::ExitError1290 * Lookup114: evm_core::error::ExitError
1245 **/1291 **/
1246 EvmCoreErrorExitError: {1292 EvmCoreErrorExitError: {
1247 _enum: {1293 _enum: {
1248 StackUnderflow: 'Null',1294 StackUnderflow: 'Null',
1262 InvalidCode: 'Null'1308 InvalidCode: 'Null'
1263 }1309 }
1264 },1310 },
1265 /**1311 /**
1266 * Lookup115: evm_core::error::ExitRevert1312 * Lookup117: evm_core::error::ExitRevert
1267 **/1313 **/
1268 EvmCoreErrorExitRevert: {1314 EvmCoreErrorExitRevert: {
1269 _enum: ['Reverted']1315 _enum: ['Reverted']
1270 },1316 },
1271 /**1317 /**
1272 * Lookup116: evm_core::error::ExitFatal1318 * Lookup118: evm_core::error::ExitFatal
1273 **/1319 **/
1274 EvmCoreErrorExitFatal: {1320 EvmCoreErrorExitFatal: {
1275 _enum: {1321 _enum: {
1276 NotSupported: 'Null',1322 NotSupported: 'Null',
1279 Other: 'Text'1325 Other: 'Text'
1280 }1326 }
1281 },1327 },
1282 /**1328 /**
1283 * Lookup117: pallet_evm_contract_helpers::pallet::Event<T>1329 * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
1284 **/1330 **/
1285 PalletEvmContractHelpersEvent: {1331 PalletEvmContractHelpersEvent: {
1286 _enum: {1332 _enum: {
1287 ContractSponsorSet: '(H160,AccountId32)',1333 ContractSponsorSet: '(H160,AccountId32)',
1288 ContractSponsorshipConfirmed: '(H160,AccountId32)',1334 ContractSponsorshipConfirmed: '(H160,AccountId32)',
1289 ContractSponsorRemoved: 'H160'1335 ContractSponsorRemoved: 'H160'
1290 }1336 }
1291 },1337 },
1292 /**1338 /**
1293 * Lookup118: pallet_evm_migration::pallet::Event<T>1339 * Lookup120: pallet_evm_migration::pallet::Event<T>
1294 **/1340 **/
1295 PalletEvmMigrationEvent: {1341 PalletEvmMigrationEvent: {
1296 _enum: ['TestEvent']1342 _enum: ['TestEvent']
1297 },1343 },
1298 /**1344 /**
1299 * Lookup119: pallet_maintenance::pallet::Event<T>1345 * Lookup121: pallet_maintenance::pallet::Event<T>
1300 **/1346 **/
1301 PalletMaintenanceEvent: {1347 PalletMaintenanceEvent: {
1302 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']1348 _enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
1303 },1349 },
1304 /**1350 /**
1305 * Lookup120: pallet_test_utils::pallet::Event<T>1351 * Lookup122: pallet_test_utils::pallet::Event<T>
1306 **/1352 **/
1307 PalletTestUtilsEvent: {1353 PalletTestUtilsEvent: {
1308 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']1354 _enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
1309 },1355 },
1310 /**1356 /**
1311 * Lookup121: frame_system::Phase1357 * Lookup123: frame_system::Phase
1312 **/1358 **/
1313 FrameSystemPhase: {1359 FrameSystemPhase: {
1314 _enum: {1360 _enum: {
1315 ApplyExtrinsic: 'u32',1361 ApplyExtrinsic: 'u32',
1316 Finalization: 'Null',1362 Finalization: 'Null',
1317 Initialization: 'Null'1363 Initialization: 'Null'
1318 }1364 }
1319 },1365 },
1320 /**1366 /**
1321 * Lookup124: frame_system::LastRuntimeUpgradeInfo1367 * Lookup126: frame_system::LastRuntimeUpgradeInfo
1322 **/1368 **/
1323 FrameSystemLastRuntimeUpgradeInfo: {1369 FrameSystemLastRuntimeUpgradeInfo: {
1324 specVersion: 'Compact<u32>',1370 specVersion: 'Compact<u32>',
1325 specName: 'Text'1371 specName: 'Text'
1326 },1372 },
1327 /**1373 /**
1328 * Lookup125: frame_system::pallet::Call<T>1374 * Lookup127: frame_system::pallet::Call<T>
1329 **/1375 **/
1330 FrameSystemCall: {1376 FrameSystemCall: {
1331 _enum: {1377 _enum: {
1332 fill_block: {1378 fill_block: {
1362 }1408 }
1363 }1409 }
1364 },1410 },
1365 /**1411 /**
1366 * Lookup130: frame_system::limits::BlockWeights1412 * Lookup132: frame_system::limits::BlockWeights
1367 **/1413 **/
1368 FrameSystemLimitsBlockWeights: {1414 FrameSystemLimitsBlockWeights: {
1369 baseBlock: 'SpWeightsWeightV2Weight',1415 baseBlock: 'SpWeightsWeightV2Weight',
1370 maxBlock: 'SpWeightsWeightV2Weight',1416 maxBlock: 'SpWeightsWeightV2Weight',
1371 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'1417 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
1372 },1418 },
1373 /**1419 /**
1374 * Lookup131: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>1420 * Lookup133: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
1375 **/1421 **/
1376 FrameSupportDispatchPerDispatchClassWeightsPerClass: {1422 FrameSupportDispatchPerDispatchClassWeightsPerClass: {
1377 normal: 'FrameSystemLimitsWeightsPerClass',1423 normal: 'FrameSystemLimitsWeightsPerClass',
1378 operational: 'FrameSystemLimitsWeightsPerClass',1424 operational: 'FrameSystemLimitsWeightsPerClass',
1379 mandatory: 'FrameSystemLimitsWeightsPerClass'1425 mandatory: 'FrameSystemLimitsWeightsPerClass'
1380 },1426 },
1381 /**1427 /**
1382 * Lookup132: frame_system::limits::WeightsPerClass1428 * Lookup134: frame_system::limits::WeightsPerClass
1383 **/1429 **/
1384 FrameSystemLimitsWeightsPerClass: {1430 FrameSystemLimitsWeightsPerClass: {
1385 baseExtrinsic: 'SpWeightsWeightV2Weight',1431 baseExtrinsic: 'SpWeightsWeightV2Weight',
1386 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',1432 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',
1387 maxTotal: 'Option<SpWeightsWeightV2Weight>',1433 maxTotal: 'Option<SpWeightsWeightV2Weight>',
1388 reserved: 'Option<SpWeightsWeightV2Weight>'1434 reserved: 'Option<SpWeightsWeightV2Weight>'
1389 },1435 },
1390 /**1436 /**
1391 * Lookup134: frame_system::limits::BlockLength1437 * Lookup136: frame_system::limits::BlockLength
1392 **/1438 **/
1393 FrameSystemLimitsBlockLength: {1439 FrameSystemLimitsBlockLength: {
1394 max: 'FrameSupportDispatchPerDispatchClassU32'1440 max: 'FrameSupportDispatchPerDispatchClassU32'
1395 },1441 },
1396 /**1442 /**
1397 * Lookup135: frame_support::dispatch::PerDispatchClass<T>1443 * Lookup137: frame_support::dispatch::PerDispatchClass<T>
1398 **/1444 **/
1399 FrameSupportDispatchPerDispatchClassU32: {1445 FrameSupportDispatchPerDispatchClassU32: {
1400 normal: 'u32',1446 normal: 'u32',
1401 operational: 'u32',1447 operational: 'u32',
1402 mandatory: 'u32'1448 mandatory: 'u32'
1403 },1449 },
1404 /**1450 /**
1405 * Lookup136: sp_weights::RuntimeDbWeight1451 * Lookup138: sp_weights::RuntimeDbWeight
1406 **/1452 **/
1407 SpWeightsRuntimeDbWeight: {1453 SpWeightsRuntimeDbWeight: {
1408 read: 'u64',1454 read: 'u64',
1409 write: 'u64'1455 write: 'u64'
1410 },1456 },
1411 /**1457 /**
1412 * Lookup137: sp_version::RuntimeVersion1458 * Lookup139: sp_version::RuntimeVersion
1413 **/1459 **/
1414 SpVersionRuntimeVersion: {1460 SpVersionRuntimeVersion: {
1415 specName: 'Text',1461 specName: 'Text',
1416 implName: 'Text',1462 implName: 'Text',
1421 transactionVersion: 'u32',1467 transactionVersion: 'u32',
1422 stateVersion: 'u8'1468 stateVersion: 'u8'
1423 },1469 },
1424 /**1470 /**
1425 * Lookup142: frame_system::pallet::Error<T>1471 * Lookup144: frame_system::pallet::Error<T>
1426 **/1472 **/
1427 FrameSystemError: {1473 FrameSystemError: {
1428 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1474 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
1429 },1475 },
1430 /**1476 /**
1431 * Lookup143: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1477 * Lookup145: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
1432 **/1478 **/
1433 PolkadotPrimitivesV2PersistedValidationData: {1479 PolkadotPrimitivesV2PersistedValidationData: {
1434 parentHead: 'Bytes',1480 parentHead: 'Bytes',
1435 relayParentNumber: 'u32',1481 relayParentNumber: 'u32',
1436 relayParentStorageRoot: 'H256',1482 relayParentStorageRoot: 'H256',
1437 maxPovSize: 'u32'1483 maxPovSize: 'u32'
1438 },1484 },
1439 /**1485 /**
1440 * Lookup146: polkadot_primitives::v2::UpgradeRestriction1486 * Lookup148: polkadot_primitives::v2::UpgradeRestriction
1441 **/1487 **/
1442 PolkadotPrimitivesV2UpgradeRestriction: {1488 PolkadotPrimitivesV2UpgradeRestriction: {
1443 _enum: ['Present']1489 _enum: ['Present']
1444 },1490 },
1445 /**1491 /**
1446 * Lookup147: sp_trie::storage_proof::StorageProof1492 * Lookup149: sp_trie::storage_proof::StorageProof
1447 **/1493 **/
1448 SpTrieStorageProof: {1494 SpTrieStorageProof: {
1449 trieNodes: 'BTreeSet<Bytes>'1495 trieNodes: 'BTreeSet<Bytes>'
1450 },1496 },
1451 /**1497 /**
1452 * Lookup149: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1498 * Lookup151: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
1453 **/1499 **/
1454 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1500 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
1455 dmqMqcHead: 'H256',1501 dmqMqcHead: 'H256',
1456 relayDispatchQueueSize: '(u32,u32)',1502 relayDispatchQueueSize: '(u32,u32)',
1457 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1503 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',
1458 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1504 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
1459 },1505 },
1460 /**1506 /**
1461 * Lookup152: polkadot_primitives::v2::AbridgedHrmpChannel1507 * Lookup154: polkadot_primitives::v2::AbridgedHrmpChannel
1462 **/1508 **/
1463 PolkadotPrimitivesV2AbridgedHrmpChannel: {1509 PolkadotPrimitivesV2AbridgedHrmpChannel: {
1464 maxCapacity: 'u32',1510 maxCapacity: 'u32',
1465 maxTotalSize: 'u32',1511 maxTotalSize: 'u32',
1468 totalSize: 'u32',1514 totalSize: 'u32',
1469 mqcHead: 'Option<H256>'1515 mqcHead: 'Option<H256>'
1470 },1516 },
1471 /**1517 /**
1472 * Lookup153: polkadot_primitives::v2::AbridgedHostConfiguration1518 * Lookup155: polkadot_primitives::v2::AbridgedHostConfiguration
1473 **/1519 **/
1474 PolkadotPrimitivesV2AbridgedHostConfiguration: {1520 PolkadotPrimitivesV2AbridgedHostConfiguration: {
1475 maxCodeSize: 'u32',1521 maxCodeSize: 'u32',
1476 maxHeadDataSize: 'u32',1522 maxHeadDataSize: 'u32',
1482 validationUpgradeCooldown: 'u32',1528 validationUpgradeCooldown: 'u32',
1483 validationUpgradeDelay: 'u32'1529 validationUpgradeDelay: 'u32'
1484 },1530 },
1485 /**1531 /**
1486 * Lookup159: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1532 * Lookup161: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
1487 **/1533 **/
1488 PolkadotCorePrimitivesOutboundHrmpMessage: {1534 PolkadotCorePrimitivesOutboundHrmpMessage: {
1489 recipient: 'u32',1535 recipient: 'u32',
1490 data: 'Bytes'1536 data: 'Bytes'
1491 },1537 },
1492 /**1538 /**
1493 * Lookup160: cumulus_pallet_parachain_system::pallet::Call<T>1539 * Lookup162: cumulus_pallet_parachain_system::pallet::Call<T>
1494 **/1540 **/
1495 CumulusPalletParachainSystemCall: {1541 CumulusPalletParachainSystemCall: {
1496 _enum: {1542 _enum: {
1497 set_validation_data: {1543 set_validation_data: {
1508 }1554 }
1509 }1555 }
1510 },1556 },
1511 /**1557 /**
1512 * Lookup161: cumulus_primitives_parachain_inherent::ParachainInherentData1558 * Lookup163: cumulus_primitives_parachain_inherent::ParachainInherentData
1513 **/1559 **/
1514 CumulusPrimitivesParachainInherentParachainInherentData: {1560 CumulusPrimitivesParachainInherentParachainInherentData: {
1515 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1561 validationData: 'PolkadotPrimitivesV2PersistedValidationData',
1516 relayChainState: 'SpTrieStorageProof',1562 relayChainState: 'SpTrieStorageProof',
1517 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1563 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
1518 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1564 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
1519 },1565 },
1520 /**1566 /**
1521 * Lookup163: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1567 * Lookup165: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
1522 **/1568 **/
1523 PolkadotCorePrimitivesInboundDownwardMessage: {1569 PolkadotCorePrimitivesInboundDownwardMessage: {
1524 sentAt: 'u32',1570 sentAt: 'u32',
1525 msg: 'Bytes'1571 msg: 'Bytes'
1526 },1572 },
1527 /**1573 /**
1528 * Lookup166: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1574 * Lookup168: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
1529 **/1575 **/
1530 PolkadotCorePrimitivesInboundHrmpMessage: {1576 PolkadotCorePrimitivesInboundHrmpMessage: {
1531 sentAt: 'u32',1577 sentAt: 'u32',
1532 data: 'Bytes'1578 data: 'Bytes'
1533 },1579 },
1534 /**1580 /**
1535 * Lookup169: cumulus_pallet_parachain_system::pallet::Error<T>1581 * Lookup171: cumulus_pallet_parachain_system::pallet::Error<T>
1536 **/1582 **/
1537 CumulusPalletParachainSystemError: {1583 CumulusPalletParachainSystemError: {
1538 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1584 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
1539 },1585 },
1586 /**
1587 * Lookup173: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
1588 **/
1589 PalletAuthorshipUncleEntryItem: {
1590 _enum: {
1591 InclusionHeight: 'u32',
1592 Uncle: '(H256,Option<AccountId32>)'
1593 }
1594 },
1595 /**
1596 * Lookup175: pallet_authorship::pallet::Call<T>
1597 **/
1598 PalletAuthorshipCall: {
1599 _enum: {
1600 set_uncles: {
1601 newUncles: 'Vec<SpRuntimeHeader>'
1602 }
1603 }
1604 },
1605 /**
1606 * Lookup177: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
1607 **/
1608 SpRuntimeHeader: {
1609 parentHash: 'H256',
1610 number: 'Compact<u32>',
1611 stateRoot: 'H256',
1612 extrinsicsRoot: 'H256',
1613 digest: 'SpRuntimeDigest'
1614 },
1615 /**
1616 * Lookup178: sp_runtime::traits::BlakeTwo256
1617 **/
1618 SpRuntimeBlakeTwo256: 'Null',
1619 /**
1620 * Lookup179: pallet_authorship::pallet::Error<T>
1621 **/
1622 PalletAuthorshipError: {
1623 _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
1624 },
1625 /**
1626 * Lookup182: pallet_collator_selection::pallet::Call<T>
1627 **/
1628 PalletCollatorSelectionCall: {
1629 _enum: {
1630 add_invulnerable: {
1631 _alias: {
1632 new_: 'new',
1633 },
1634 new_: 'AccountId32',
1635 },
1636 remove_invulnerable: {
1637 who: 'AccountId32',
1638 },
1639 set_desired_collators: {
1640 max: 'u32',
1641 },
1642 set_license_bond: {
1643 bond: 'u128',
1644 },
1645 set_kick_threshold: {
1646 kickThreshold: 'u32',
1647 },
1648 get_license: 'Null',
1649 onboard: 'Null',
1650 offboard: 'Null',
1651 release_license: 'Null',
1652 force_revoke_license: {
1653 who: 'AccountId32'
1654 }
1655 }
1656 },
1657 /**
1658 * Lookup183: pallet_collator_selection::pallet::Error<T>
1659 **/
1660 PalletCollatorSelectionError: {
1661 _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
1662 },
1663 /**
1664 * Lookup186: opal_runtime::runtime_common::SessionKeys
1665 **/
1666 OpalRuntimeRuntimeCommonSessionKeys: {
1667 aura: 'SpConsensusAuraSr25519AppSr25519Public'
1668 },
1669 /**
1670 * Lookup187: sp_consensus_aura::sr25519::app_sr25519::Public
1671 **/
1672 SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
1673 /**
1674 * Lookup188: sp_core::sr25519::Public
1675 **/
1676 SpCoreSr25519Public: '[u8;32]',
1677 /**
1678 * Lookup191: sp_core::crypto::KeyTypeId
1679 **/
1680 SpCoreCryptoKeyTypeId: '[u8;4]',
1681 /**
1682 * Lookup192: pallet_session::pallet::Call<T>
1683 **/
1684 PalletSessionCall: {
1685 _enum: {
1686 set_keys: {
1687 _alias: {
1688 keys_: 'keys',
1689 },
1690 keys_: 'OpalRuntimeRuntimeCommonSessionKeys',
1691 proof: 'Bytes',
1692 },
1693 purge_keys: 'Null'
1694 }
1695 },
1696 /**
1697 * Lookup193: pallet_session::pallet::Error<T>
1698 **/
1699 PalletSessionError: {
1700 _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
1701 },
1540 /**1702 /**
1541 * Lookup171: pallet_balances::BalanceLock<Balance>1703 * Lookup195: pallet_balances::BalanceLock<Balance>
1542 **/1704 **/
1543 PalletBalancesBalanceLock: {1705 PalletBalancesBalanceLock: {
1544 id: '[u8;8]',1706 id: '[u8;8]',
1545 amount: 'u128',1707 amount: 'u128',
1546 reasons: 'PalletBalancesReasons'1708 reasons: 'PalletBalancesReasons'
1547 },1709 },
1548 /**1710 /**
1549 * Lookup172: pallet_balances::Reasons1711 * Lookup196: pallet_balances::Reasons
1550 **/1712 **/
1551 PalletBalancesReasons: {1713 PalletBalancesReasons: {
1552 _enum: ['Fee', 'Misc', 'All']1714 _enum: ['Fee', 'Misc', 'All']
1553 },1715 },
1554 /**1716 /**
1555 * Lookup175: pallet_balances::ReserveData<ReserveIdentifier, Balance>1717 * Lookup199: pallet_balances::ReserveData<ReserveIdentifier, Balance>
1556 **/1718 **/
1557 PalletBalancesReserveData: {1719 PalletBalancesReserveData: {
1558 id: '[u8;16]',1720 id: '[u8;16]',
1559 amount: 'u128'1721 amount: 'u128'
1560 },1722 },
1561 /**1723 /**
1562 * Lookup177: pallet_balances::Releases1724 * Lookup201: pallet_balances::Releases
1563 **/1725 **/
1564 PalletBalancesReleases: {1726 PalletBalancesReleases: {
1565 _enum: ['V1_0_0', 'V2_0_0']1727 _enum: ['V1_0_0', 'V2_0_0']
1566 },1728 },
1567 /**1729 /**
1568 * Lookup178: pallet_balances::pallet::Call<T, I>1730 * Lookup202: pallet_balances::pallet::Call<T, I>
1569 **/1731 **/
1570 PalletBalancesCall: {1732 PalletBalancesCall: {
1571 _enum: {1733 _enum: {
1572 transfer: {1734 transfer: {
1597 }1759 }
1598 }1760 }
1599 },1761 },
1600 /**1762 /**
1601 * Lookup181: pallet_balances::pallet::Error<T, I>1763 * Lookup205: pallet_balances::pallet::Error<T, I>
1602 **/1764 **/
1603 PalletBalancesError: {1765 PalletBalancesError: {
1604 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1766 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
1605 },1767 },
1606 /**1768 /**
1607 * Lookup183: pallet_timestamp::pallet::Call<T>1769 * Lookup207: pallet_timestamp::pallet::Call<T>
1608 **/1770 **/
1609 PalletTimestampCall: {1771 PalletTimestampCall: {
1610 _enum: {1772 _enum: {
1611 set: {1773 set: {
1612 now: 'Compact<u64>'1774 now: 'Compact<u64>'
1613 }1775 }
1614 }1776 }
1615 },1777 },
1616 /**1778 /**
1617 * Lookup185: pallet_transaction_payment::Releases1779 * Lookup209: pallet_transaction_payment::Releases
1618 **/1780 **/
1619 PalletTransactionPaymentReleases: {1781 PalletTransactionPaymentReleases: {
1620 _enum: ['V1Ancient', 'V2']1782 _enum: ['V1Ancient', 'V2']
1621 },1783 },
1622 /**1784 /**
1623 * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1785 * Lookup210: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
1624 **/1786 **/
1625 PalletTreasuryProposal: {1787 PalletTreasuryProposal: {
1626 proposer: 'AccountId32',1788 proposer: 'AccountId32',
1627 value: 'u128',1789 value: 'u128',
1628 beneficiary: 'AccountId32',1790 beneficiary: 'AccountId32',
1629 bond: 'u128'1791 bond: 'u128'
1630 },1792 },
1631 /**1793 /**
1632 * Lookup189: pallet_treasury::pallet::Call<T, I>1794 * Lookup212: pallet_treasury::pallet::Call<T, I>
1633 **/1795 **/
1634 PalletTreasuryCall: {1796 PalletTreasuryCall: {
1635 _enum: {1797 _enum: {
1636 propose_spend: {1798 propose_spend: {
1652 }1814 }
1653 }1815 }
1654 },1816 },
1655 /**1817 /**
1656 * Lookup192: frame_support::PalletId1818 * Lookup215: frame_support::PalletId
1657 **/1819 **/
1658 FrameSupportPalletId: '[u8;8]',1820 FrameSupportPalletId: '[u8;8]',
1659 /**1821 /**
1660 * Lookup193: pallet_treasury::pallet::Error<T, I>1822 * Lookup216: pallet_treasury::pallet::Error<T, I>
1661 **/1823 **/
1662 PalletTreasuryError: {1824 PalletTreasuryError: {
1663 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1825 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
1664 },1826 },
1665 /**1827 /**
1666 * Lookup194: pallet_sudo::pallet::Call<T>1828 * Lookup217: pallet_sudo::pallet::Call<T>
1667 **/1829 **/
1668 PalletSudoCall: {1830 PalletSudoCall: {
1669 _enum: {1831 _enum: {
1670 sudo: {1832 sudo: {
1686 }1848 }
1687 }1849 }
1688 },1850 },
1689 /**1851 /**
1690 * Lookup196: orml_vesting::module::Call<T>1852 * Lookup219: orml_vesting::module::Call<T>
1691 **/1853 **/
1692 OrmlVestingModuleCall: {1854 OrmlVestingModuleCall: {
1693 _enum: {1855 _enum: {
1694 claim: 'Null',1856 claim: 'Null',
1705 }1867 }
1706 }1868 }
1707 },1869 },
1708 /**1870 /**
1709 * Lookup198: orml_xtokens::module::Call<T>1871 * Lookup221: orml_xtokens::module::Call<T>
1710 **/1872 **/
1711 OrmlXtokensModuleCall: {1873 OrmlXtokensModuleCall: {
1712 _enum: {1874 _enum: {
1713 transfer: {1875 transfer: {
1748 }1910 }
1749 }1911 }
1750 },1912 },
1751 /**1913 /**
1752 * Lookup199: xcm::VersionedMultiAsset1914 * Lookup222: xcm::VersionedMultiAsset
1753 **/1915 **/
1754 XcmVersionedMultiAsset: {1916 XcmVersionedMultiAsset: {
1755 _enum: {1917 _enum: {
1756 V0: 'XcmV0MultiAsset',1918 V0: 'XcmV0MultiAsset',
1757 V1: 'XcmV1MultiAsset'1919 V1: 'XcmV1MultiAsset'
1758 }1920 }
1759 },1921 },
1760 /**1922 /**
1761 * Lookup202: orml_tokens::module::Call<T>1923 * Lookup225: orml_tokens::module::Call<T>
1762 **/1924 **/
1763 OrmlTokensModuleCall: {1925 OrmlTokensModuleCall: {
1764 _enum: {1926 _enum: {
1765 transfer: {1927 transfer: {
1791 }1953 }
1792 }1954 }
1793 },1955 },
1794 /**1956 /**
1795 * Lookup203: cumulus_pallet_xcmp_queue::pallet::Call<T>1957 * Lookup226: cumulus_pallet_xcmp_queue::pallet::Call<T>
1796 **/1958 **/
1797 CumulusPalletXcmpQueueCall: {1959 CumulusPalletXcmpQueueCall: {
1798 _enum: {1960 _enum: {
1799 service_overweight: {1961 service_overweight: {
1840 }2002 }
1841 }2003 }
1842 },2004 },
1843 /**2005 /**
1844 * Lookup204: pallet_xcm::pallet::Call<T>2006 * Lookup227: pallet_xcm::pallet::Call<T>
1845 **/2007 **/
1846 PalletXcmCall: {2008 PalletXcmCall: {
1847 _enum: {2009 _enum: {
1848 send: {2010 send: {
1894 }2056 }
1895 }2057 }
1896 },2058 },
1897 /**2059 /**
1898 * Lookup205: xcm::VersionedXcm<RuntimeCall>2060 * Lookup228: xcm::VersionedXcm<RuntimeCall>
1899 **/2061 **/
1900 XcmVersionedXcm: {2062 XcmVersionedXcm: {
1901 _enum: {2063 _enum: {
1902 V0: 'XcmV0Xcm',2064 V0: 'XcmV0Xcm',
1903 V1: 'XcmV1Xcm',2065 V1: 'XcmV1Xcm',
1904 V2: 'XcmV2Xcm'2066 V2: 'XcmV2Xcm'
1905 }2067 }
1906 },2068 },
1907 /**2069 /**
1908 * Lookup206: xcm::v0::Xcm<RuntimeCall>2070 * Lookup229: xcm::v0::Xcm<RuntimeCall>
1909 **/2071 **/
1910 XcmV0Xcm: {2072 XcmV0Xcm: {
1911 _enum: {2073 _enum: {
1912 WithdrawAsset: {2074 WithdrawAsset: {
1958 }2120 }
1959 }2121 }
1960 },2122 },
1961 /**2123 /**
1962 * Lookup208: xcm::v0::order::Order<RuntimeCall>2124 * Lookup231: xcm::v0::order::Order<RuntimeCall>
1963 **/2125 **/
1964 XcmV0Order: {2126 XcmV0Order: {
1965 _enum: {2127 _enum: {
1966 Null: 'Null',2128 Null: 'Null',
2001 }2163 }
2002 }2164 }
2003 },2165 },
2004 /**2166 /**
2005 * Lookup210: xcm::v0::Response2167 * Lookup233: xcm::v0::Response
2006 **/2168 **/
2007 XcmV0Response: {2169 XcmV0Response: {
2008 _enum: {2170 _enum: {
2009 Assets: 'Vec<XcmV0MultiAsset>'2171 Assets: 'Vec<XcmV0MultiAsset>'
2010 }2172 }
2011 },2173 },
2012 /**2174 /**
2013 * Lookup211: xcm::v1::Xcm<RuntimeCall>2175 * Lookup234: xcm::v1::Xcm<RuntimeCall>
2014 **/2176 **/
2015 XcmV1Xcm: {2177 XcmV1Xcm: {
2016 _enum: {2178 _enum: {
2017 WithdrawAsset: {2179 WithdrawAsset: {
2068 UnsubscribeVersion: 'Null'2230 UnsubscribeVersion: 'Null'
2069 }2231 }
2070 },2232 },
2071 /**2233 /**
2072 * Lookup213: xcm::v1::order::Order<RuntimeCall>2234 * Lookup236: xcm::v1::order::Order<RuntimeCall>
2073 **/2235 **/
2074 XcmV1Order: {2236 XcmV1Order: {
2075 _enum: {2237 _enum: {
2076 Noop: 'Null',2238 Noop: 'Null',
2113 }2275 }
2114 }2276 }
2115 },2277 },
2116 /**2278 /**
2117 * Lookup215: xcm::v1::Response2279 * Lookup238: xcm::v1::Response
2118 **/2280 **/
2119 XcmV1Response: {2281 XcmV1Response: {
2120 _enum: {2282 _enum: {
2121 Assets: 'XcmV1MultiassetMultiAssets',2283 Assets: 'XcmV1MultiassetMultiAssets',
2122 Version: 'u32'2284 Version: 'u32'
2123 }2285 }
2124 },2286 },
2125 /**2287 /**
2126 * Lookup229: cumulus_pallet_xcm::pallet::Call<T>2288 * Lookup252: cumulus_pallet_xcm::pallet::Call<T>
2127 **/2289 **/
2128 CumulusPalletXcmCall: 'Null',2290 CumulusPalletXcmCall: 'Null',
2129 /**2291 /**
2130 * Lookup230: cumulus_pallet_dmp_queue::pallet::Call<T>2292 * Lookup253: cumulus_pallet_dmp_queue::pallet::Call<T>
2131 **/2293 **/
2132 CumulusPalletDmpQueueCall: {2294 CumulusPalletDmpQueueCall: {
2133 _enum: {2295 _enum: {
2134 service_overweight: {2296 service_overweight: {
2137 }2299 }
2138 }2300 }
2139 },2301 },
2140 /**2302 /**
2141 * Lookup231: pallet_inflation::pallet::Call<T>2303 * Lookup254: pallet_inflation::pallet::Call<T>
2142 **/2304 **/
2143 PalletInflationCall: {2305 PalletInflationCall: {
2144 _enum: {2306 _enum: {
2145 start_inflation: {2307 start_inflation: {
2146 inflationStartRelayBlock: 'u32'2308 inflationStartRelayBlock: 'u32'
2147 }2309 }
2148 }2310 }
2149 },2311 },
2150 /**2312 /**
2151 * Lookup232: pallet_unique::Call<T>2313 * Lookup255: pallet_unique::Call<T>
2152 **/2314 **/
2153 PalletUniqueCall: {2315 PalletUniqueCall: {
2154 _enum: {2316 _enum: {
2155 create_collection: {2317 create_collection: {
2282 operator: 'PalletEvmAccountBasicCrossAccountIdRepr',2444 operator: 'PalletEvmAccountBasicCrossAccountIdRepr',
2283 approve: 'bool',2445 approve: 'bool',
2284 },2446 },
2447 force_repair_collection: {
2448 collectionId: 'u32',
2449 },
2285 repair_item: {2450 force_repair_item: {
2286 collectionId: 'u32',2451 collectionId: 'u32',
2287 itemId: 'u32'2452 itemId: 'u32'
2288 }2453 }
2289 }2454 }
2290 },2455 },
2291 /**2456 /**
2292 * Lookup237: up_data_structs::CollectionMode2457 * Lookup260: up_data_structs::CollectionMode
2293 **/2458 **/
2294 UpDataStructsCollectionMode: {2459 UpDataStructsCollectionMode: {
2295 _enum: {2460 _enum: {
2296 NFT: 'Null',2461 NFT: 'Null',
2297 Fungible: 'u8',2462 Fungible: 'u8',
2298 ReFungible: 'Null'2463 ReFungible: 'Null'
2299 }2464 }
2300 },2465 },
2301 /**2466 /**
2302 * Lookup238: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2467 * Lookup261: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
2303 **/2468 **/
2304 UpDataStructsCreateCollectionData: {2469 UpDataStructsCreateCollectionData: {
2305 mode: 'UpDataStructsCollectionMode',2470 mode: 'UpDataStructsCollectionMode',
2306 access: 'Option<UpDataStructsAccessMode>',2471 access: 'Option<UpDataStructsAccessMode>',
2313 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2478 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
2314 properties: 'Vec<UpDataStructsProperty>'2479 properties: 'Vec<UpDataStructsProperty>'
2315 },2480 },
2316 /**2481 /**
2317 * Lookup240: up_data_structs::AccessMode2482 * Lookup263: up_data_structs::AccessMode
2318 **/2483 **/
2319 UpDataStructsAccessMode: {2484 UpDataStructsAccessMode: {
2320 _enum: ['Normal', 'AllowList']2485 _enum: ['Normal', 'AllowList']
2321 },2486 },
2322 /**2487 /**
2323 * Lookup242: up_data_structs::CollectionLimits2488 * Lookup265: up_data_structs::CollectionLimits
2324 **/2489 **/
2325 UpDataStructsCollectionLimits: {2490 UpDataStructsCollectionLimits: {
2326 accountTokenOwnershipLimit: 'Option<u32>',2491 accountTokenOwnershipLimit: 'Option<u32>',
2327 sponsoredDataSize: 'Option<u32>',2492 sponsoredDataSize: 'Option<u32>',
2333 ownerCanDestroy: 'Option<bool>',2498 ownerCanDestroy: 'Option<bool>',
2334 transfersEnabled: 'Option<bool>'2499 transfersEnabled: 'Option<bool>'
2335 },2500 },
2336 /**2501 /**
2337 * Lookup244: up_data_structs::SponsoringRateLimit2502 * Lookup267: up_data_structs::SponsoringRateLimit
2338 **/2503 **/
2339 UpDataStructsSponsoringRateLimit: {2504 UpDataStructsSponsoringRateLimit: {
2340 _enum: {2505 _enum: {
2341 SponsoringDisabled: 'Null',2506 SponsoringDisabled: 'Null',
2342 Blocks: 'u32'2507 Blocks: 'u32'
2343 }2508 }
2344 },2509 },
2345 /**2510 /**
2346 * Lookup247: up_data_structs::CollectionPermissions2511 * Lookup270: up_data_structs::CollectionPermissions
2347 **/2512 **/
2348 UpDataStructsCollectionPermissions: {2513 UpDataStructsCollectionPermissions: {
2349 access: 'Option<UpDataStructsAccessMode>',2514 access: 'Option<UpDataStructsAccessMode>',
2350 mintMode: 'Option<bool>',2515 mintMode: 'Option<bool>',
2351 nesting: 'Option<UpDataStructsNestingPermissions>'2516 nesting: 'Option<UpDataStructsNestingPermissions>'
2352 },2517 },
2353 /**2518 /**
2354 * Lookup249: up_data_structs::NestingPermissions2519 * Lookup272: up_data_structs::NestingPermissions
2355 **/2520 **/
2356 UpDataStructsNestingPermissions: {2521 UpDataStructsNestingPermissions: {
2357 tokenOwner: 'bool',2522 tokenOwner: 'bool',
2358 collectionAdmin: 'bool',2523 collectionAdmin: 'bool',
2359 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2524 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
2360 },2525 },
2361 /**2526 /**
2362 * Lookup251: up_data_structs::OwnerRestrictedSet2527 * Lookup274: up_data_structs::OwnerRestrictedSet
2363 **/2528 **/
2364 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2529 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
2365 /**2530 /**
2366 * Lookup256: up_data_structs::PropertyKeyPermission2531 * Lookup279: up_data_structs::PropertyKeyPermission
2367 **/2532 **/
2368 UpDataStructsPropertyKeyPermission: {2533 UpDataStructsPropertyKeyPermission: {
2369 key: 'Bytes',2534 key: 'Bytes',
2370 permission: 'UpDataStructsPropertyPermission'2535 permission: 'UpDataStructsPropertyPermission'
2371 },2536 },
2372 /**2537 /**
2373 * Lookup257: up_data_structs::PropertyPermission2538 * Lookup280: up_data_structs::PropertyPermission
2374 **/2539 **/
2375 UpDataStructsPropertyPermission: {2540 UpDataStructsPropertyPermission: {
2376 mutable: 'bool',2541 mutable: 'bool',
2377 collectionAdmin: 'bool',2542 collectionAdmin: 'bool',
2378 tokenOwner: 'bool'2543 tokenOwner: 'bool'
2379 },2544 },
2380 /**2545 /**
2381 * Lookup260: up_data_structs::Property2546 * Lookup283: up_data_structs::Property
2382 **/2547 **/
2383 UpDataStructsProperty: {2548 UpDataStructsProperty: {
2384 key: 'Bytes',2549 key: 'Bytes',
2385 value: 'Bytes'2550 value: 'Bytes'
2386 },2551 },
2387 /**2552 /**
2388 * Lookup263: up_data_structs::CreateItemData2553 * Lookup286: up_data_structs::CreateItemData
2389 **/2554 **/
2390 UpDataStructsCreateItemData: {2555 UpDataStructsCreateItemData: {
2391 _enum: {2556 _enum: {
2392 NFT: 'UpDataStructsCreateNftData',2557 NFT: 'UpDataStructsCreateNftData',
2393 Fungible: 'UpDataStructsCreateFungibleData',2558 Fungible: 'UpDataStructsCreateFungibleData',
2394 ReFungible: 'UpDataStructsCreateReFungibleData'2559 ReFungible: 'UpDataStructsCreateReFungibleData'
2395 }2560 }
2396 },2561 },
2397 /**2562 /**
2398 * Lookup264: up_data_structs::CreateNftData2563 * Lookup287: up_data_structs::CreateNftData
2399 **/2564 **/
2400 UpDataStructsCreateNftData: {2565 UpDataStructsCreateNftData: {
2401 properties: 'Vec<UpDataStructsProperty>'2566 properties: 'Vec<UpDataStructsProperty>'
2402 },2567 },
2403 /**2568 /**
2404 * Lookup265: up_data_structs::CreateFungibleData2569 * Lookup288: up_data_structs::CreateFungibleData
2405 **/2570 **/
2406 UpDataStructsCreateFungibleData: {2571 UpDataStructsCreateFungibleData: {
2407 value: 'u128'2572 value: 'u128'
2408 },2573 },
2409 /**2574 /**
2410 * Lookup266: up_data_structs::CreateReFungibleData2575 * Lookup289: up_data_structs::CreateReFungibleData
2411 **/2576 **/
2412 UpDataStructsCreateReFungibleData: {2577 UpDataStructsCreateReFungibleData: {
2413 pieces: 'u128',2578 pieces: 'u128',
2414 properties: 'Vec<UpDataStructsProperty>'2579 properties: 'Vec<UpDataStructsProperty>'
2415 },2580 },
2416 /**2581 /**
2417 * Lookup269: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2582 * Lookup292: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2418 **/2583 **/
2419 UpDataStructsCreateItemExData: {2584 UpDataStructsCreateItemExData: {
2420 _enum: {2585 _enum: {
2421 NFT: 'Vec<UpDataStructsCreateNftExData>',2586 NFT: 'Vec<UpDataStructsCreateNftExData>',
2424 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2589 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'
2425 }2590 }
2426 },2591 },
2427 /**2592 /**
2428 * Lookup271: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2593 * Lookup294: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2429 **/2594 **/
2430 UpDataStructsCreateNftExData: {2595 UpDataStructsCreateNftExData: {
2431 properties: 'Vec<UpDataStructsProperty>',2596 properties: 'Vec<UpDataStructsProperty>',
2432 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2597 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2433 },2598 },
2434 /**2599 /**
2435 * Lookup278: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2600 * Lookup301: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2436 **/2601 **/
2437 UpDataStructsCreateRefungibleExSingleOwner: {2602 UpDataStructsCreateRefungibleExSingleOwner: {
2438 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2603 user: 'PalletEvmAccountBasicCrossAccountIdRepr',
2439 pieces: 'u128',2604 pieces: 'u128',
2440 properties: 'Vec<UpDataStructsProperty>'2605 properties: 'Vec<UpDataStructsProperty>'
2441 },2606 },
2442 /**2607 /**
2443 * Lookup280: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2608 * Lookup303: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2444 **/2609 **/
2445 UpDataStructsCreateRefungibleExMultipleOwners: {2610 UpDataStructsCreateRefungibleExMultipleOwners: {
2446 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2611 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
2447 properties: 'Vec<UpDataStructsProperty>'2612 properties: 'Vec<UpDataStructsProperty>'
2448 },2613 },
2449 /**2614 /**
2450 * Lookup281: pallet_configuration::pallet::Call<T>2615 * Lookup304: pallet_configuration::pallet::Call<T>
2451 **/2616 **/
2452 PalletConfigurationCall: {2617 PalletConfigurationCall: {
2453 _enum: {2618 _enum: {
2454 set_weight_to_fee_coefficient_override: {2619 set_weight_to_fee_coefficient_override: {
2465 }2630 }
2466 }2631 }
2467 },2632 },
2468 /**2633 /**
2469 * Lookup286: pallet_configuration::AppPromotionConfiguration<BlockNumber>2634 * Lookup309: pallet_configuration::AppPromotionConfiguration<BlockNumber>
2470 **/2635 **/
2471 PalletConfigurationAppPromotionConfiguration: {2636 PalletConfigurationAppPromotionConfiguration: {
2472 recalculationInterval: 'Option<u32>',2637 recalculationInterval: 'Option<u32>',
2473 pendingInterval: 'Option<u32>',2638 pendingInterval: 'Option<u32>',
2474 intervalIncome: 'Option<Perbill>',2639 intervalIncome: 'Option<Perbill>',
2475 maxStakersPerCalculation: 'Option<u8>'2640 maxStakersPerCalculation: 'Option<u8>'
2476 },2641 },
2477 /**2642 /**
2478 * Lookup289: pallet_template_transaction_payment::Call<T>2643 * Lookup312: pallet_template_transaction_payment::Call<T>
2479 **/2644 **/
2480 PalletTemplateTransactionPaymentCall: 'Null',2645 PalletTemplateTransactionPaymentCall: 'Null',
2481 /**2646 /**
2482 * Lookup290: pallet_structure::pallet::Call<T>2647 * Lookup313: pallet_structure::pallet::Call<T>
2483 **/2648 **/
2484 PalletStructureCall: 'Null',2649 PalletStructureCall: 'Null',
2485 /**2650 /**
2486 * Lookup291: pallet_rmrk_core::pallet::Call<T>2651 * Lookup314: pallet_rmrk_core::pallet::Call<T>
2487 **/2652 **/
2488 PalletRmrkCoreCall: {2653 PalletRmrkCoreCall: {
2489 _enum: {2654 _enum: {
2490 create_collection: {2655 create_collection: {
2573 }2738 }
2574 }2739 }
2575 },2740 },
2576 /**2741 /**
2577 * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2742 * Lookup320: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2578 **/2743 **/
2579 RmrkTraitsResourceResourceTypes: {2744 RmrkTraitsResourceResourceTypes: {
2580 _enum: {2745 _enum: {
2581 Basic: 'RmrkTraitsResourceBasicResource',2746 Basic: 'RmrkTraitsResourceBasicResource',
2582 Composable: 'RmrkTraitsResourceComposableResource',2747 Composable: 'RmrkTraitsResourceComposableResource',
2583 Slot: 'RmrkTraitsResourceSlotResource'2748 Slot: 'RmrkTraitsResourceSlotResource'
2584 }2749 }
2585 },2750 },
2586 /**2751 /**
2587 * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2752 * Lookup322: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2588 **/2753 **/
2589 RmrkTraitsResourceBasicResource: {2754 RmrkTraitsResourceBasicResource: {
2590 src: 'Option<Bytes>',2755 src: 'Option<Bytes>',
2591 metadata: 'Option<Bytes>',2756 metadata: 'Option<Bytes>',
2592 license: 'Option<Bytes>',2757 license: 'Option<Bytes>',
2593 thumb: 'Option<Bytes>'2758 thumb: 'Option<Bytes>'
2594 },2759 },
2595 /**2760 /**
2596 * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2761 * Lookup324: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2597 **/2762 **/
2598 RmrkTraitsResourceComposableResource: {2763 RmrkTraitsResourceComposableResource: {
2599 parts: 'Vec<u32>',2764 parts: 'Vec<u32>',
2600 base: 'u32',2765 base: 'u32',
2603 license: 'Option<Bytes>',2768 license: 'Option<Bytes>',
2604 thumb: 'Option<Bytes>'2769 thumb: 'Option<Bytes>'
2605 },2770 },
2606 /**2771 /**
2607 * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2772 * Lookup325: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2608 **/2773 **/
2609 RmrkTraitsResourceSlotResource: {2774 RmrkTraitsResourceSlotResource: {
2610 base: 'u32',2775 base: 'u32',
2611 src: 'Option<Bytes>',2776 src: 'Option<Bytes>',
2614 license: 'Option<Bytes>',2779 license: 'Option<Bytes>',
2615 thumb: 'Option<Bytes>'2780 thumb: 'Option<Bytes>'
2616 },2781 },
2617 /**2782 /**
2618 * Lookup305: pallet_rmrk_equip::pallet::Call<T>2783 * Lookup328: pallet_rmrk_equip::pallet::Call<T>
2619 **/2784 **/
2620 PalletRmrkEquipCall: {2785 PalletRmrkEquipCall: {
2621 _enum: {2786 _enum: {
2622 create_base: {2787 create_base: {
2635 }2800 }
2636 }2801 }
2637 },2802 },
2638 /**2803 /**
2639 * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2804 * Lookup331: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2640 **/2805 **/
2641 RmrkTraitsPartPartType: {2806 RmrkTraitsPartPartType: {
2642 _enum: {2807 _enum: {
2643 FixedPart: 'RmrkTraitsPartFixedPart',2808 FixedPart: 'RmrkTraitsPartFixedPart',
2644 SlotPart: 'RmrkTraitsPartSlotPart'2809 SlotPart: 'RmrkTraitsPartSlotPart'
2645 }2810 }
2646 },2811 },
2647 /**2812 /**
2648 * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2813 * Lookup333: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2649 **/2814 **/
2650 RmrkTraitsPartFixedPart: {2815 RmrkTraitsPartFixedPart: {
2651 id: 'u32',2816 id: 'u32',
2652 z: 'u32',2817 z: 'u32',
2653 src: 'Bytes'2818 src: 'Bytes'
2654 },2819 },
2655 /**2820 /**
2656 * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2821 * Lookup334: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2657 **/2822 **/
2658 RmrkTraitsPartSlotPart: {2823 RmrkTraitsPartSlotPart: {
2659 id: 'u32',2824 id: 'u32',
2660 equippable: 'RmrkTraitsPartEquippableList',2825 equippable: 'RmrkTraitsPartEquippableList',
2661 src: 'Bytes',2826 src: 'Bytes',
2662 z: 'u32'2827 z: 'u32'
2663 },2828 },
2664 /**2829 /**
2665 * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2830 * Lookup335: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2666 **/2831 **/
2667 RmrkTraitsPartEquippableList: {2832 RmrkTraitsPartEquippableList: {
2668 _enum: {2833 _enum: {
2669 All: 'Null',2834 All: 'Null',
2670 Empty: 'Null',2835 Empty: 'Null',
2671 Custom: 'Vec<u32>'2836 Custom: 'Vec<u32>'
2672 }2837 }
2673 },2838 },
2674 /**2839 /**
2675 * Lookup314: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>2840 * Lookup337: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
2676 **/2841 **/
2677 RmrkTraitsTheme: {2842 RmrkTraitsTheme: {
2678 name: 'Bytes',2843 name: 'Bytes',
2679 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2844 properties: 'Vec<RmrkTraitsThemeThemeProperty>',
2680 inherit: 'bool'2845 inherit: 'bool'
2681 },2846 },
2682 /**2847 /**
2683 * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2848 * Lookup339: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2684 **/2849 **/
2685 RmrkTraitsThemeThemeProperty: {2850 RmrkTraitsThemeThemeProperty: {
2686 key: 'Bytes',2851 key: 'Bytes',
2687 value: 'Bytes'2852 value: 'Bytes'
2688 },2853 },
2689 /**2854 /**
2690 * Lookup318: pallet_app_promotion::pallet::Call<T>2855 * Lookup341: pallet_app_promotion::pallet::Call<T>
2691 **/2856 **/
2692 PalletAppPromotionCall: {2857 PalletAppPromotionCall: {
2693 _enum: {2858 _enum: {
2694 set_admin_address: {2859 set_admin_address: {
2715 }2880 }
2716 }2881 }
2717 },2882 },
2718 /**2883 /**
2719 * Lookup319: pallet_foreign_assets::module::Call<T>2884 * Lookup342: pallet_foreign_assets::module::Call<T>
2720 **/2885 **/
2721 PalletForeignAssetsModuleCall: {2886 PalletForeignAssetsModuleCall: {
2722 _enum: {2887 _enum: {
2723 register_foreign_asset: {2888 register_foreign_asset: {
2732 }2897 }
2733 }2898 }
2734 },2899 },
2735 /**2900 /**
2736 * Lookup320: pallet_evm::pallet::Call<T>2901 * Lookup343: pallet_evm::pallet::Call<T>
2737 **/2902 **/
2738 PalletEvmCall: {2903 PalletEvmCall: {
2739 _enum: {2904 _enum: {
2740 withdraw: {2905 withdraw: {
2775 }2940 }
2776 }2941 }
2777 },2942 },
2778 /**2943 /**
2779 * Lookup326: pallet_ethereum::pallet::Call<T>2944 * Lookup349: pallet_ethereum::pallet::Call<T>
2780 **/2945 **/
2781 PalletEthereumCall: {2946 PalletEthereumCall: {
2782 _enum: {2947 _enum: {
2783 transact: {2948 transact: {
2784 transaction: 'EthereumTransactionTransactionV2'2949 transaction: 'EthereumTransactionTransactionV2'
2785 }2950 }
2786 }2951 }
2787 },2952 },
2788 /**2953 /**
2789 * Lookup327: ethereum::transaction::TransactionV22954 * Lookup350: ethereum::transaction::TransactionV2
2790 **/2955 **/
2791 EthereumTransactionTransactionV2: {2956 EthereumTransactionTransactionV2: {
2792 _enum: {2957 _enum: {
2793 Legacy: 'EthereumTransactionLegacyTransaction',2958 Legacy: 'EthereumTransactionLegacyTransaction',
2794 EIP2930: 'EthereumTransactionEip2930Transaction',2959 EIP2930: 'EthereumTransactionEip2930Transaction',
2795 EIP1559: 'EthereumTransactionEip1559Transaction'2960 EIP1559: 'EthereumTransactionEip1559Transaction'
2796 }2961 }
2797 },2962 },
2798 /**2963 /**
2799 * Lookup328: ethereum::transaction::LegacyTransaction2964 * Lookup351: ethereum::transaction::LegacyTransaction
2800 **/2965 **/
2801 EthereumTransactionLegacyTransaction: {2966 EthereumTransactionLegacyTransaction: {
2802 nonce: 'U256',2967 nonce: 'U256',
2803 gasPrice: 'U256',2968 gasPrice: 'U256',
2807 input: 'Bytes',2972 input: 'Bytes',
2808 signature: 'EthereumTransactionTransactionSignature'2973 signature: 'EthereumTransactionTransactionSignature'
2809 },2974 },
2810 /**2975 /**
2811 * Lookup329: ethereum::transaction::TransactionAction2976 * Lookup352: ethereum::transaction::TransactionAction
2812 **/2977 **/
2813 EthereumTransactionTransactionAction: {2978 EthereumTransactionTransactionAction: {
2814 _enum: {2979 _enum: {
2815 Call: 'H160',2980 Call: 'H160',
2816 Create: 'Null'2981 Create: 'Null'
2817 }2982 }
2818 },2983 },
2819 /**2984 /**
2820 * Lookup330: ethereum::transaction::TransactionSignature2985 * Lookup353: ethereum::transaction::TransactionSignature
2821 **/2986 **/
2822 EthereumTransactionTransactionSignature: {2987 EthereumTransactionTransactionSignature: {
2823 v: 'u64',2988 v: 'u64',
2824 r: 'H256',2989 r: 'H256',
2825 s: 'H256'2990 s: 'H256'
2826 },2991 },
2827 /**2992 /**
2828 * Lookup332: ethereum::transaction::EIP2930Transaction2993 * Lookup355: ethereum::transaction::EIP2930Transaction
2829 **/2994 **/
2830 EthereumTransactionEip2930Transaction: {2995 EthereumTransactionEip2930Transaction: {
2831 chainId: 'u64',2996 chainId: 'u64',
2832 nonce: 'U256',2997 nonce: 'U256',
2840 r: 'H256',3005 r: 'H256',
2841 s: 'H256'3006 s: 'H256'
2842 },3007 },
2843 /**3008 /**
2844 * Lookup334: ethereum::transaction::AccessListItem3009 * Lookup357: ethereum::transaction::AccessListItem
2845 **/3010 **/
2846 EthereumTransactionAccessListItem: {3011 EthereumTransactionAccessListItem: {
2847 address: 'H160',3012 address: 'H160',
2848 storageKeys: 'Vec<H256>'3013 storageKeys: 'Vec<H256>'
2849 },3014 },
2850 /**3015 /**
2851 * Lookup335: ethereum::transaction::EIP1559Transaction3016 * Lookup358: ethereum::transaction::EIP1559Transaction
2852 **/3017 **/
2853 EthereumTransactionEip1559Transaction: {3018 EthereumTransactionEip1559Transaction: {
2854 chainId: 'u64',3019 chainId: 'u64',
2855 nonce: 'U256',3020 nonce: 'U256',
2864 r: 'H256',3029 r: 'H256',
2865 s: 'H256'3030 s: 'H256'
2866 },3031 },
2867 /**3032 /**
2868 * Lookup336: pallet_evm_migration::pallet::Call<T>3033 * Lookup359: pallet_evm_migration::pallet::Call<T>
2869 **/3034 **/
2870 PalletEvmMigrationCall: {3035 PalletEvmMigrationCall: {
2871 _enum: {3036 _enum: {
2872 begin: {3037 begin: {
2888 }3053 }
2889 }3054 }
2890 },3055 },
2891 /**3056 /**
2892 * Lookup340: pallet_maintenance::pallet::Call<T>3057 * Lookup363: pallet_maintenance::pallet::Call<T>
2893 **/3058 **/
2894 PalletMaintenanceCall: {3059 PalletMaintenanceCall: {
2895 _enum: ['enable', 'disable']3060 _enum: ['enable', 'disable']
2896 },3061 },
2897 /**3062 /**
2898 * Lookup341: pallet_test_utils::pallet::Call<T>3063 * Lookup364: pallet_test_utils::pallet::Call<T>
2899 **/3064 **/
2900 PalletTestUtilsCall: {3065 PalletTestUtilsCall: {
2901 _enum: {3066 _enum: {
2902 enable: 'Null',3067 enable: 'Null',
2913 }3078 }
2914 }3079 }
2915 },3080 },
2916 /**3081 /**
2917 * Lookup343: pallet_sudo::pallet::Error<T>3082 * Lookup366: pallet_sudo::pallet::Error<T>
2918 **/3083 **/
2919 PalletSudoError: {3084 PalletSudoError: {
2920 _enum: ['RequireSudo']3085 _enum: ['RequireSudo']
2921 },3086 },
2922 /**3087 /**
2923 * Lookup345: orml_vesting::module::Error<T>3088 * Lookup368: orml_vesting::module::Error<T>
2924 **/3089 **/
2925 OrmlVestingModuleError: {3090 OrmlVestingModuleError: {
2926 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']3091 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
2927 },3092 },
2928 /**3093 /**
2929 * Lookup346: orml_xtokens::module::Error<T>3094 * Lookup369: orml_xtokens::module::Error<T>
2930 **/3095 **/
2931 OrmlXtokensModuleError: {3096 OrmlXtokensModuleError: {
2932 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']3097 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
2933 },3098 },
2934 /**3099 /**
2935 * Lookup349: orml_tokens::BalanceLock<Balance>3100 * Lookup372: orml_tokens::BalanceLock<Balance>
2936 **/3101 **/
2937 OrmlTokensBalanceLock: {3102 OrmlTokensBalanceLock: {
2938 id: '[u8;8]',3103 id: '[u8;8]',
2939 amount: 'u128'3104 amount: 'u128'
2940 },3105 },
2941 /**3106 /**
2942 * Lookup351: orml_tokens::AccountData<Balance>3107 * Lookup374: orml_tokens::AccountData<Balance>
2943 **/3108 **/
2944 OrmlTokensAccountData: {3109 OrmlTokensAccountData: {
2945 free: 'u128',3110 free: 'u128',
2946 reserved: 'u128',3111 reserved: 'u128',
2947 frozen: 'u128'3112 frozen: 'u128'
2948 },3113 },
2949 /**3114 /**
2950 * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>3115 * Lookup376: orml_tokens::ReserveData<ReserveIdentifier, Balance>
2951 **/3116 **/
2952 OrmlTokensReserveData: {3117 OrmlTokensReserveData: {
2953 id: 'Null',3118 id: 'Null',
2954 amount: 'u128'3119 amount: 'u128'
2955 },3120 },
2956 /**3121 /**
2957 * Lookup355: orml_tokens::module::Error<T>3122 * Lookup378: orml_tokens::module::Error<T>
2958 **/3123 **/
2959 OrmlTokensModuleError: {3124 OrmlTokensModuleError: {
2960 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']3125 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
2961 },3126 },
2962 /**3127 /**
2963 * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails3128 * Lookup380: cumulus_pallet_xcmp_queue::InboundChannelDetails
2964 **/3129 **/
2965 CumulusPalletXcmpQueueInboundChannelDetails: {3130 CumulusPalletXcmpQueueInboundChannelDetails: {
2966 sender: 'u32',3131 sender: 'u32',
2967 state: 'CumulusPalletXcmpQueueInboundState',3132 state: 'CumulusPalletXcmpQueueInboundState',
2968 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'3133 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
2969 },3134 },
2970 /**3135 /**
2971 * Lookup358: cumulus_pallet_xcmp_queue::InboundState3136 * Lookup381: cumulus_pallet_xcmp_queue::InboundState
2972 **/3137 **/
2973 CumulusPalletXcmpQueueInboundState: {3138 CumulusPalletXcmpQueueInboundState: {
2974 _enum: ['Ok', 'Suspended']3139 _enum: ['Ok', 'Suspended']
2975 },3140 },
2976 /**3141 /**
2977 * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat3142 * Lookup384: polkadot_parachain::primitives::XcmpMessageFormat
2978 **/3143 **/
2979 PolkadotParachainPrimitivesXcmpMessageFormat: {3144 PolkadotParachainPrimitivesXcmpMessageFormat: {
2980 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']3145 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
2981 },3146 },
2982 /**3147 /**
2983 * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails3148 * Lookup387: cumulus_pallet_xcmp_queue::OutboundChannelDetails
2984 **/3149 **/
2985 CumulusPalletXcmpQueueOutboundChannelDetails: {3150 CumulusPalletXcmpQueueOutboundChannelDetails: {
2986 recipient: 'u32',3151 recipient: 'u32',
2987 state: 'CumulusPalletXcmpQueueOutboundState',3152 state: 'CumulusPalletXcmpQueueOutboundState',
2988 signalsExist: 'bool',3153 signalsExist: 'bool',
2989 firstIndex: 'u16',3154 firstIndex: 'u16',
2990 lastIndex: 'u16'3155 lastIndex: 'u16'
2991 },3156 },
2992 /**3157 /**
2993 * Lookup365: cumulus_pallet_xcmp_queue::OutboundState3158 * Lookup388: cumulus_pallet_xcmp_queue::OutboundState
2994 **/3159 **/
2995 CumulusPalletXcmpQueueOutboundState: {3160 CumulusPalletXcmpQueueOutboundState: {
2996 _enum: ['Ok', 'Suspended']3161 _enum: ['Ok', 'Suspended']
2997 },3162 },
2998 /**3163 /**
2999 * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData3164 * Lookup390: cumulus_pallet_xcmp_queue::QueueConfigData
3000 **/3165 **/
3001 CumulusPalletXcmpQueueQueueConfigData: {3166 CumulusPalletXcmpQueueQueueConfigData: {
3002 suspendThreshold: 'u32',3167 suspendThreshold: 'u32',
3003 dropThreshold: 'u32',3168 dropThreshold: 'u32',
3006 weightRestrictDecay: 'SpWeightsWeightV2Weight',3171 weightRestrictDecay: 'SpWeightsWeightV2Weight',
3007 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3172 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
3008 },3173 },
3009 /**3174 /**
3010 * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>3175 * Lookup392: cumulus_pallet_xcmp_queue::pallet::Error<T>
3011 **/3176 **/
3012 CumulusPalletXcmpQueueError: {3177 CumulusPalletXcmpQueueError: {
3013 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3178 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
3014 },3179 },
3015 /**3180 /**
3016 * Lookup370: pallet_xcm::pallet::Error<T>3181 * Lookup393: pallet_xcm::pallet::Error<T>
3017 **/3182 **/
3018 PalletXcmError: {3183 PalletXcmError: {
3019 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3184 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
3020 },3185 },
3021 /**3186 /**
3022 * Lookup371: cumulus_pallet_xcm::pallet::Error<T>3187 * Lookup394: cumulus_pallet_xcm::pallet::Error<T>
3023 **/3188 **/
3024 CumulusPalletXcmError: 'Null',3189 CumulusPalletXcmError: 'Null',
3025 /**3190 /**
3026 * Lookup372: cumulus_pallet_dmp_queue::ConfigData3191 * Lookup395: cumulus_pallet_dmp_queue::ConfigData
3027 **/3192 **/
3028 CumulusPalletDmpQueueConfigData: {3193 CumulusPalletDmpQueueConfigData: {
3029 maxIndividual: 'SpWeightsWeightV2Weight'3194 maxIndividual: 'SpWeightsWeightV2Weight'
3030 },3195 },
3031 /**3196 /**
3032 * Lookup373: cumulus_pallet_dmp_queue::PageIndexData3197 * Lookup396: cumulus_pallet_dmp_queue::PageIndexData
3033 **/3198 **/
3034 CumulusPalletDmpQueuePageIndexData: {3199 CumulusPalletDmpQueuePageIndexData: {
3035 beginUsed: 'u32',3200 beginUsed: 'u32',
3036 endUsed: 'u32',3201 endUsed: 'u32',
3037 overweightCount: 'u64'3202 overweightCount: 'u64'
3038 },3203 },
3039 /**3204 /**
3040 * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>3205 * Lookup399: cumulus_pallet_dmp_queue::pallet::Error<T>
3041 **/3206 **/
3042 CumulusPalletDmpQueueError: {3207 CumulusPalletDmpQueueError: {
3043 _enum: ['Unknown', 'OverLimit']3208 _enum: ['Unknown', 'OverLimit']
3044 },3209 },
3045 /**3210 /**
3046 * Lookup380: pallet_unique::Error<T>3211 * Lookup403: pallet_unique::Error<T>
3047 **/3212 **/
3048 PalletUniqueError: {3213 PalletUniqueError: {
3049 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3214 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
3050 },3215 },
3051 /**3216 /**
3052 * Lookup381: pallet_configuration::pallet::Error<T>3217 * Lookup404: pallet_configuration::pallet::Error<T>
3053 **/3218 **/
3054 PalletConfigurationError: {3219 PalletConfigurationError: {
3055 _enum: ['InconsistentConfiguration']3220 _enum: ['InconsistentConfiguration']
3056 },3221 },
3057 /**3222 /**
3058 * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>3223 * Lookup405: up_data_structs::Collection<sp_core::crypto::AccountId32>
3059 **/3224 **/
3060 UpDataStructsCollection: {3225 UpDataStructsCollection: {
3061 owner: 'AccountId32',3226 owner: 'AccountId32',
3062 mode: 'UpDataStructsCollectionMode',3227 mode: 'UpDataStructsCollectionMode',
3068 permissions: 'UpDataStructsCollectionPermissions',3233 permissions: 'UpDataStructsCollectionPermissions',
3069 flags: '[u8;1]'3234 flags: '[u8;1]'
3070 },3235 },
3071 /**3236 /**
3072 * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3237 * Lookup406: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
3073 **/3238 **/
3074 UpDataStructsSponsorshipStateAccountId32: {3239 UpDataStructsSponsorshipStateAccountId32: {
3075 _enum: {3240 _enum: {
3076 Disabled: 'Null',3241 Disabled: 'Null',
3077 Unconfirmed: 'AccountId32',3242 Unconfirmed: 'AccountId32',
3078 Confirmed: 'AccountId32'3243 Confirmed: 'AccountId32'
3079 }3244 }
3080 },3245 },
3081 /**3246 /**
3082 * Lookup385: up_data_structs::Properties3247 * Lookup408: up_data_structs::Properties
3083 **/3248 **/
3084 UpDataStructsProperties: {3249 UpDataStructsProperties: {
3085 map: 'UpDataStructsPropertiesMapBoundedVec',3250 map: 'UpDataStructsPropertiesMapBoundedVec',
3086 consumedSpace: 'u32',3251 consumedSpace: 'u32',
3087 spaceLimit: 'u32'3252 spaceLimit: 'u32'
3088 },3253 },
3089 /**3254 /**
3090 * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3255 * Lookup409: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3091 **/3256 **/
3092 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3257 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
3093 /**3258 /**
3094 * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3259 * Lookup414: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
3095 **/3260 **/
3096 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3261 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
3097 /**3262 /**
3098 * Lookup398: up_data_structs::CollectionStats3263 * Lookup421: up_data_structs::CollectionStats
3099 **/3264 **/
3100 UpDataStructsCollectionStats: {3265 UpDataStructsCollectionStats: {
3101 created: 'u32',3266 created: 'u32',
3102 destroyed: 'u32',3267 destroyed: 'u32',
3103 alive: 'u32'3268 alive: 'u32'
3104 },3269 },
3105 /**3270 /**
3106 * Lookup399: up_data_structs::TokenChild3271 * Lookup422: up_data_structs::TokenChild
3107 **/3272 **/
3108 UpDataStructsTokenChild: {3273 UpDataStructsTokenChild: {
3109 token: 'u32',3274 token: 'u32',
3110 collection: 'u32'3275 collection: 'u32'
3111 },3276 },
3112 /**3277 /**
3113 * Lookup400: PhantomType::up_data_structs<T>3278 * Lookup423: PhantomType::up_data_structs<T>
3114 **/3279 **/
3115 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',3280 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
3116 /**3281 /**
3117 * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3282 * Lookup425: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3118 **/3283 **/
3119 UpDataStructsTokenData: {3284 UpDataStructsTokenData: {
3120 properties: 'Vec<UpDataStructsProperty>',3285 properties: 'Vec<UpDataStructsProperty>',
3121 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3286 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',
3122 pieces: 'u128'3287 pieces: 'u128'
3123 },3288 },
3124 /**3289 /**
3125 * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3290 * Lookup427: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
3126 **/3291 **/
3127 UpDataStructsRpcCollection: {3292 UpDataStructsRpcCollection: {
3128 owner: 'AccountId32',3293 owner: 'AccountId32',
3129 mode: 'UpDataStructsCollectionMode',3294 mode: 'UpDataStructsCollectionMode',
3138 readOnly: 'bool',3303 readOnly: 'bool',
3139 flags: 'UpDataStructsRpcCollectionFlags'3304 flags: 'UpDataStructsRpcCollectionFlags'
3140 },3305 },
3141 /**3306 /**
3142 * Lookup405: up_data_structs::RpcCollectionFlags3307 * Lookup428: up_data_structs::RpcCollectionFlags
3143 **/3308 **/
3144 UpDataStructsRpcCollectionFlags: {3309 UpDataStructsRpcCollectionFlags: {
3145 foreign: 'bool',3310 foreign: 'bool',
3146 erc721metadata: 'bool'3311 erc721metadata: 'bool'
3147 },3312 },
3148 /**3313 /**
3149 * Lookup406: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>3314 * Lookup429: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
3150 **/3315 **/
3151 RmrkTraitsCollectionCollectionInfo: {3316 RmrkTraitsCollectionCollectionInfo: {
3152 issuer: 'AccountId32',3317 issuer: 'AccountId32',
3153 metadata: 'Bytes',3318 metadata: 'Bytes',
3154 max: 'Option<u32>',3319 max: 'Option<u32>',
3155 symbol: 'Bytes',3320 symbol: 'Bytes',
3156 nftsCount: 'u32'3321 nftsCount: 'u32'
3157 },3322 },
3158 /**3323 /**
3159 * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3324 * Lookup430: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3160 **/3325 **/
3161 RmrkTraitsNftNftInfo: {3326 RmrkTraitsNftNftInfo: {
3162 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3327 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
3163 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3328 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',
3164 metadata: 'Bytes',3329 metadata: 'Bytes',
3165 equipped: 'bool',3330 equipped: 'bool',
3166 pending: 'bool'3331 pending: 'bool'
3167 },3332 },
3168 /**3333 /**
3169 * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3334 * Lookup432: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
3170 **/3335 **/
3171 RmrkTraitsNftRoyaltyInfo: {3336 RmrkTraitsNftRoyaltyInfo: {
3172 recipient: 'AccountId32',3337 recipient: 'AccountId32',
3173 amount: 'Permill'3338 amount: 'Permill'
3174 },3339 },
3175 /**3340 /**
3176 * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3341 * Lookup433: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3177 **/3342 **/
3178 RmrkTraitsResourceResourceInfo: {3343 RmrkTraitsResourceResourceInfo: {
3179 id: 'u32',3344 id: 'u32',
3180 resource: 'RmrkTraitsResourceResourceTypes',3345 resource: 'RmrkTraitsResourceResourceTypes',
3181 pending: 'bool',3346 pending: 'bool',
3182 pendingRemoval: 'bool'3347 pendingRemoval: 'bool'
3183 },3348 },
3184 /**3349 /**
3185 * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3350 * Lookup434: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3186 **/3351 **/
3187 RmrkTraitsPropertyPropertyInfo: {3352 RmrkTraitsPropertyPropertyInfo: {
3188 key: 'Bytes',3353 key: 'Bytes',
3189 value: 'Bytes'3354 value: 'Bytes'
3190 },3355 },
3191 /**3356 /**
3192 * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3357 * Lookup435: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3193 **/3358 **/
3194 RmrkTraitsBaseBaseInfo: {3359 RmrkTraitsBaseBaseInfo: {
3195 issuer: 'AccountId32',3360 issuer: 'AccountId32',
3196 baseType: 'Bytes',3361 baseType: 'Bytes',
3197 symbol: 'Bytes'3362 symbol: 'Bytes'
3198 },3363 },
3199 /**3364 /**
3200 * Lookup413: rmrk_traits::nft::NftChild3365 * Lookup436: rmrk_traits::nft::NftChild
3201 **/3366 **/
3202 RmrkTraitsNftNftChild: {3367 RmrkTraitsNftNftChild: {
3203 collectionId: 'u32',3368 collectionId: 'u32',
3204 nftId: 'u32'3369 nftId: 'u32'
3205 },3370 },
3206 /**3371 /**
3207 * Lookup415: pallet_common::pallet::Error<T>3372 * Lookup438: pallet_common::pallet::Error<T>
3208 **/3373 **/
3209 PalletCommonError: {3374 PalletCommonError: {
3210 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']3375 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
3211 },3376 },
3212 /**3377 /**
3213 * Lookup417: pallet_fungible::pallet::Error<T>3378 * Lookup440: pallet_fungible::pallet::Error<T>
3214 **/3379 **/
3215 PalletFungibleError: {3380 PalletFungibleError: {
3216 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3381 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
3217 },3382 },
3218 /**3383 /**
3219 * Lookup418: pallet_refungible::ItemData3384 * Lookup441: pallet_refungible::ItemData
3220 **/3385 **/
3221 PalletRefungibleItemData: {3386 PalletRefungibleItemData: {
3222 constData: 'Bytes'3387 constData: 'Bytes'
3223 },3388 },
3224 /**3389 /**
3225 * Lookup423: pallet_refungible::pallet::Error<T>3390 * Lookup446: pallet_refungible::pallet::Error<T>
3226 **/3391 **/
3227 PalletRefungibleError: {3392 PalletRefungibleError: {
3228 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3393 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
3229 },3394 },
3230 /**3395 /**
3231 * Lookup424: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3396 * Lookup447: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3232 **/3397 **/
3233 PalletNonfungibleItemData: {3398 PalletNonfungibleItemData: {
3234 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3399 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
3235 },3400 },
3236 /**3401 /**
3237 * Lookup426: up_data_structs::PropertyScope3402 * Lookup449: up_data_structs::PropertyScope
3238 **/3403 **/
3239 UpDataStructsPropertyScope: {3404 UpDataStructsPropertyScope: {
3240 _enum: ['None', 'Rmrk']3405 _enum: ['None', 'Rmrk']
3241 },3406 },
3242 /**3407 /**
3243 * Lookup428: pallet_nonfungible::pallet::Error<T>3408 * Lookup451: pallet_nonfungible::pallet::Error<T>
3244 **/3409 **/
3245 PalletNonfungibleError: {3410 PalletNonfungibleError: {
3246 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3411 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
3247 },3412 },
3248 /**3413 /**
3249 * Lookup429: pallet_structure::pallet::Error<T>3414 * Lookup452: pallet_structure::pallet::Error<T>
3250 **/3415 **/
3251 PalletStructureError: {3416 PalletStructureError: {
3252 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3417 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
3253 },3418 },
3254 /**3419 /**
3255 * Lookup430: pallet_rmrk_core::pallet::Error<T>3420 * Lookup453: pallet_rmrk_core::pallet::Error<T>
3256 **/3421 **/
3257 PalletRmrkCoreError: {3422 PalletRmrkCoreError: {
3258 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3423 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
3259 },3424 },
3260 /**3425 /**
3261 * Lookup432: pallet_rmrk_equip::pallet::Error<T>3426 * Lookup455: pallet_rmrk_equip::pallet::Error<T>
3262 **/3427 **/
3263 PalletRmrkEquipError: {3428 PalletRmrkEquipError: {
3264 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3429 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
3265 },3430 },
3266 /**3431 /**
3267 * Lookup438: pallet_app_promotion::pallet::Error<T>3432 * Lookup461: pallet_app_promotion::pallet::Error<T>
3268 **/3433 **/
3269 PalletAppPromotionError: {3434 PalletAppPromotionError: {
3270 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']3435 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
3271 },3436 },
3272 /**3437 /**
3273 * Lookup439: pallet_foreign_assets::module::Error<T>3438 * Lookup462: pallet_foreign_assets::module::Error<T>
3274 **/3439 **/
3275 PalletForeignAssetsModuleError: {3440 PalletForeignAssetsModuleError: {
3276 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3441 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
3277 },3442 },
3278 /**3443 /**
3279 * Lookup441: pallet_evm::pallet::Error<T>3444 * Lookup464: pallet_evm::pallet::Error<T>
3280 **/3445 **/
3281 PalletEvmError: {3446 PalletEvmError: {
3282 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']3447 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
3283 },3448 },
3284 /**3449 /**
3285 * Lookup444: fp_rpc::TransactionStatus3450 * Lookup467: fp_rpc::TransactionStatus
3286 **/3451 **/
3287 FpRpcTransactionStatus: {3452 FpRpcTransactionStatus: {
3288 transactionHash: 'H256',3453 transactionHash: 'H256',
3289 transactionIndex: 'u32',3454 transactionIndex: 'u32',
3293 logs: 'Vec<EthereumLog>',3458 logs: 'Vec<EthereumLog>',
3294 logsBloom: 'EthbloomBloom'3459 logsBloom: 'EthbloomBloom'
3295 },3460 },
3296 /**3461 /**
3297 * Lookup446: ethbloom::Bloom3462 * Lookup469: ethbloom::Bloom
3298 **/3463 **/
3299 EthbloomBloom: '[u8;256]',3464 EthbloomBloom: '[u8;256]',
3300 /**3465 /**
3301 * Lookup448: ethereum::receipt::ReceiptV33466 * Lookup471: ethereum::receipt::ReceiptV3
3302 **/3467 **/
3303 EthereumReceiptReceiptV3: {3468 EthereumReceiptReceiptV3: {
3304 _enum: {3469 _enum: {
3305 Legacy: 'EthereumReceiptEip658ReceiptData',3470 Legacy: 'EthereumReceiptEip658ReceiptData',
3306 EIP2930: 'EthereumReceiptEip658ReceiptData',3471 EIP2930: 'EthereumReceiptEip658ReceiptData',
3307 EIP1559: 'EthereumReceiptEip658ReceiptData'3472 EIP1559: 'EthereumReceiptEip658ReceiptData'
3308 }3473 }
3309 },3474 },
3310 /**3475 /**
3311 * Lookup449: ethereum::receipt::EIP658ReceiptData3476 * Lookup472: ethereum::receipt::EIP658ReceiptData
3312 **/3477 **/
3313 EthereumReceiptEip658ReceiptData: {3478 EthereumReceiptEip658ReceiptData: {
3314 statusCode: 'u8',3479 statusCode: 'u8',
3315 usedGas: 'U256',3480 usedGas: 'U256',
3316 logsBloom: 'EthbloomBloom',3481 logsBloom: 'EthbloomBloom',
3317 logs: 'Vec<EthereumLog>'3482 logs: 'Vec<EthereumLog>'
3318 },3483 },
3319 /**3484 /**
3320 * Lookup450: ethereum::block::Block<ethereum::transaction::TransactionV2>3485 * Lookup473: ethereum::block::Block<ethereum::transaction::TransactionV2>
3321 **/3486 **/
3322 EthereumBlock: {3487 EthereumBlock: {
3323 header: 'EthereumHeader',3488 header: 'EthereumHeader',
3324 transactions: 'Vec<EthereumTransactionTransactionV2>',3489 transactions: 'Vec<EthereumTransactionTransactionV2>',
3325 ommers: 'Vec<EthereumHeader>'3490 ommers: 'Vec<EthereumHeader>'
3326 },3491 },
3327 /**3492 /**
3328 * Lookup451: ethereum::header::Header3493 * Lookup474: ethereum::header::Header
3329 **/3494 **/
3330 EthereumHeader: {3495 EthereumHeader: {
3331 parentHash: 'H256',3496 parentHash: 'H256',
3332 ommersHash: 'H256',3497 ommersHash: 'H256',
3344 mixHash: 'H256',3509 mixHash: 'H256',
3345 nonce: 'EthereumTypesHashH64'3510 nonce: 'EthereumTypesHashH64'
3346 },3511 },
3347 /**3512 /**
3348 * Lookup452: ethereum_types::hash::H643513 * Lookup475: ethereum_types::hash::H64
3349 **/3514 **/
3350 EthereumTypesHashH64: '[u8;8]',3515 EthereumTypesHashH64: '[u8;8]',
3351 /**3516 /**
3352 * Lookup457: pallet_ethereum::pallet::Error<T>3517 * Lookup480: pallet_ethereum::pallet::Error<T>
3353 **/3518 **/
3354 PalletEthereumError: {3519 PalletEthereumError: {
3355 _enum: ['InvalidSignature', 'PreLogExists']3520 _enum: ['InvalidSignature', 'PreLogExists']
3356 },3521 },
3357 /**3522 /**
3358 * Lookup458: pallet_evm_coder_substrate::pallet::Error<T>3523 * Lookup481: pallet_evm_coder_substrate::pallet::Error<T>
3359 **/3524 **/
3360 PalletEvmCoderSubstrateError: {3525 PalletEvmCoderSubstrateError: {
3361 _enum: ['OutOfGas', 'OutOfFund']3526 _enum: ['OutOfGas', 'OutOfFund']
3362 },3527 },
3363 /**3528 /**
3364 * Lookup459: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3529 * Lookup482: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3365 **/3530 **/
3366 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3531 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
3367 _enum: {3532 _enum: {
3368 Disabled: 'Null',3533 Disabled: 'Null',
3369 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3534 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',
3370 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3535 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'
3371 }3536 }
3372 },3537 },
3373 /**3538 /**
3374 * Lookup460: pallet_evm_contract_helpers::SponsoringModeT3539 * Lookup483: pallet_evm_contract_helpers::SponsoringModeT
3375 **/3540 **/
3376 PalletEvmContractHelpersSponsoringModeT: {3541 PalletEvmContractHelpersSponsoringModeT: {
3377 _enum: ['Disabled', 'Allowlisted', 'Generous']3542 _enum: ['Disabled', 'Allowlisted', 'Generous']
3378 },3543 },
3379 /**3544 /**
3380 * Lookup466: pallet_evm_contract_helpers::pallet::Error<T>3545 * Lookup489: pallet_evm_contract_helpers::pallet::Error<T>
3381 **/3546 **/
3382 PalletEvmContractHelpersError: {3547 PalletEvmContractHelpersError: {
3383 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3548 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
3384 },3549 },
3385 /**3550 /**
3386 * Lookup467: pallet_evm_migration::pallet::Error<T>3551 * Lookup490: pallet_evm_migration::pallet::Error<T>
3387 **/3552 **/
3388 PalletEvmMigrationError: {3553 PalletEvmMigrationError: {
3389 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3554 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
3390 },3555 },
3391 /**3556 /**
3392 * Lookup468: pallet_maintenance::pallet::Error<T>3557 * Lookup491: pallet_maintenance::pallet::Error<T>
3393 **/3558 **/
3394 PalletMaintenanceError: 'Null',3559 PalletMaintenanceError: 'Null',
3395 /**3560 /**
3396 * Lookup469: pallet_test_utils::pallet::Error<T>3561 * Lookup492: pallet_test_utils::pallet::Error<T>
3397 **/3562 **/
3398 PalletTestUtilsError: {3563 PalletTestUtilsError: {
3399 _enum: ['TestPalletDisabled', 'TriggerRollback']3564 _enum: ['TestPalletDisabled', 'TriggerRollback']
3400 },3565 },
3401 /**3566 /**
3402 * Lookup471: sp_runtime::MultiSignature3567 * Lookup494: sp_runtime::MultiSignature
3403 **/3568 **/
3404 SpRuntimeMultiSignature: {3569 SpRuntimeMultiSignature: {
3405 _enum: {3570 _enum: {
3406 Ed25519: 'SpCoreEd25519Signature',3571 Ed25519: 'SpCoreEd25519Signature',
3407 Sr25519: 'SpCoreSr25519Signature',3572 Sr25519: 'SpCoreSr25519Signature',
3408 Ecdsa: 'SpCoreEcdsaSignature'3573 Ecdsa: 'SpCoreEcdsaSignature'
3409 }3574 }
3410 },3575 },
3411 /**3576 /**
3412 * Lookup472: sp_core::ed25519::Signature3577 * Lookup495: sp_core::ed25519::Signature
3413 **/3578 **/
3414 SpCoreEd25519Signature: '[u8;64]',3579 SpCoreEd25519Signature: '[u8;64]',
3415 /**3580 /**
3416 * Lookup474: sp_core::sr25519::Signature3581 * Lookup497: sp_core::sr25519::Signature
3417 **/3582 **/
3418 SpCoreSr25519Signature: '[u8;64]',3583 SpCoreSr25519Signature: '[u8;64]',
3419 /**3584 /**
3420 * Lookup475: sp_core::ecdsa::Signature3585 * Lookup498: sp_core::ecdsa::Signature
3421 **/3586 **/
3422 SpCoreEcdsaSignature: '[u8;65]',3587 SpCoreEcdsaSignature: '[u8;65]',
3423 /**3588 /**
3424 * Lookup478: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3589 * Lookup501: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
3425 **/3590 **/
3426 FrameSystemExtensionsCheckSpecVersion: 'Null',3591 FrameSystemExtensionsCheckSpecVersion: 'Null',
3427 /**3592 /**
3428 * Lookup479: frame_system::extensions::check_tx_version::CheckTxVersion<T>3593 * Lookup502: frame_system::extensions::check_tx_version::CheckTxVersion<T>
3429 **/3594 **/
3430 FrameSystemExtensionsCheckTxVersion: 'Null',3595 FrameSystemExtensionsCheckTxVersion: 'Null',
3431 /**3596 /**
3432 * Lookup480: frame_system::extensions::check_genesis::CheckGenesis<T>3597 * Lookup503: frame_system::extensions::check_genesis::CheckGenesis<T>
3433 **/3598 **/
3434 FrameSystemExtensionsCheckGenesis: 'Null',3599 FrameSystemExtensionsCheckGenesis: 'Null',
3435 /**3600 /**
3436 * Lookup483: frame_system::extensions::check_nonce::CheckNonce<T>3601 * Lookup506: frame_system::extensions::check_nonce::CheckNonce<T>
3437 **/3602 **/
3438 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3603 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
3439 /**3604 /**
3440 * Lookup484: frame_system::extensions::check_weight::CheckWeight<T>3605 * Lookup507: frame_system::extensions::check_weight::CheckWeight<T>
3441 **/3606 **/
3442 FrameSystemExtensionsCheckWeight: 'Null',3607 FrameSystemExtensionsCheckWeight: 'Null',
3443 /**3608 /**
3444 * Lookup485: opal_runtime::runtime_common::maintenance::CheckMaintenance3609 * Lookup508: opal_runtime::runtime_common::maintenance::CheckMaintenance
3445 **/3610 **/
3446 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3611 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
3447 /**3612 /**
3448 * Lookup486: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3613 * Lookup509: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
3449 **/3614 **/
3450 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3615 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
3451 /**3616 /**
3452 * Lookup487: opal_runtime::Runtime3617 * Lookup510: opal_runtime::Runtime
3453 **/3618 **/
3454 OpalRuntimeRuntime: 'Null',3619 OpalRuntimeRuntime: 'Null',
3455 /**3620 /**
3456 * Lookup488: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3621 * Lookup511: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
3457 **/3622 **/
3458 PalletEthereumFakeTransactionFinalizer: 'Null'3623 PalletEthereumFakeTransactionFinalizer: 'Null'
3459};3624};
34603625
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
99
10declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {
11 interface InterfaceTypes {11 interface InterfaceTypes {
75 FrameSystemPhase: FrameSystemPhase;75 FrameSystemPhase: FrameSystemPhase;
76 OpalRuntimeRuntime: OpalRuntimeRuntime;76 OpalRuntimeRuntime: OpalRuntimeRuntime;
77 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;77 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
78 OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
78 OrmlTokensAccountData: OrmlTokensAccountData;79 OrmlTokensAccountData: OrmlTokensAccountData;
79 OrmlTokensBalanceLock: OrmlTokensBalanceLock;80 OrmlTokensBalanceLock: OrmlTokensBalanceLock;
80 OrmlTokensModuleCall: OrmlTokensModuleCall;81 OrmlTokensModuleCall: OrmlTokensModuleCall;
91 PalletAppPromotionCall: PalletAppPromotionCall;92 PalletAppPromotionCall: PalletAppPromotionCall;
92 PalletAppPromotionError: PalletAppPromotionError;93 PalletAppPromotionError: PalletAppPromotionError;
93 PalletAppPromotionEvent: PalletAppPromotionEvent;94 PalletAppPromotionEvent: PalletAppPromotionEvent;
95 PalletAuthorshipCall: PalletAuthorshipCall;
96 PalletAuthorshipError: PalletAuthorshipError;
97 PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
94 PalletBalancesAccountData: PalletBalancesAccountData;98 PalletBalancesAccountData: PalletBalancesAccountData;
95 PalletBalancesBalanceLock: PalletBalancesBalanceLock;99 PalletBalancesBalanceLock: PalletBalancesBalanceLock;
96 PalletBalancesCall: PalletBalancesCall;100 PalletBalancesCall: PalletBalancesCall;
99 PalletBalancesReasons: PalletBalancesReasons;103 PalletBalancesReasons: PalletBalancesReasons;
100 PalletBalancesReleases: PalletBalancesReleases;104 PalletBalancesReleases: PalletBalancesReleases;
101 PalletBalancesReserveData: PalletBalancesReserveData;105 PalletBalancesReserveData: PalletBalancesReserveData;
106 PalletCollatorSelectionCall: PalletCollatorSelectionCall;
107 PalletCollatorSelectionError: PalletCollatorSelectionError;
108 PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
102 PalletCommonError: PalletCommonError;109 PalletCommonError: PalletCommonError;
103 PalletCommonEvent: PalletCommonEvent;110 PalletCommonEvent: PalletCommonEvent;
104 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;111 PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
140 PalletRmrkEquipCall: PalletRmrkEquipCall;147 PalletRmrkEquipCall: PalletRmrkEquipCall;
141 PalletRmrkEquipError: PalletRmrkEquipError;148 PalletRmrkEquipError: PalletRmrkEquipError;
142 PalletRmrkEquipEvent: PalletRmrkEquipEvent;149 PalletRmrkEquipEvent: PalletRmrkEquipEvent;
150 PalletSessionCall: PalletSessionCall;
151 PalletSessionError: PalletSessionError;
152 PalletSessionEvent: PalletSessionEvent;
143 PalletStructureCall: PalletStructureCall;153 PalletStructureCall: PalletStructureCall;
144 PalletStructureError: PalletStructureError;154 PalletStructureError: PalletStructureError;
145 PalletStructureEvent: PalletStructureEvent;155 PalletStructureEvent: PalletStructureEvent;
190 RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;200 RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
191 RmrkTraitsTheme: RmrkTraitsTheme;201 RmrkTraitsTheme: RmrkTraitsTheme;
192 RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;202 RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
203 SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
204 SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
193 SpCoreEcdsaSignature: SpCoreEcdsaSignature;205 SpCoreEcdsaSignature: SpCoreEcdsaSignature;
194 SpCoreEd25519Signature: SpCoreEd25519Signature;206 SpCoreEd25519Signature: SpCoreEd25519Signature;
207 SpCoreSr25519Public: SpCoreSr25519Public;
195 SpCoreSr25519Signature: SpCoreSr25519Signature;208 SpCoreSr25519Signature: SpCoreSr25519Signature;
196 SpRuntimeArithmeticError: SpRuntimeArithmeticError;209 SpRuntimeArithmeticError: SpRuntimeArithmeticError;
210 SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
197 SpRuntimeDigest: SpRuntimeDigest;211 SpRuntimeDigest: SpRuntimeDigest;
198 SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;212 SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
199 SpRuntimeDispatchError: SpRuntimeDispatchError;213 SpRuntimeDispatchError: SpRuntimeDispatchError;
214 SpRuntimeHeader: SpRuntimeHeader;
200 SpRuntimeModuleError: SpRuntimeModuleError;215 SpRuntimeModuleError: SpRuntimeModuleError;
201 SpRuntimeMultiSignature: SpRuntimeMultiSignature;216 SpRuntimeMultiSignature: SpRuntimeMultiSignature;
202 SpRuntimeTokenError: SpRuntimeTokenError;217 SpRuntimeTokenError: SpRuntimeTokenError;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
197 }197 }
198
199 /** @name PalletCollatorSelectionEvent (30) */
200 interface PalletCollatorSelectionEvent extends Enum {
201 readonly isNewDesiredCollators: boolean;
202 readonly asNewDesiredCollators: {
203 readonly desiredCollators: u32;
204 } & Struct;
205 readonly isNewLicenseBond: boolean;
206 readonly asNewLicenseBond: {
207 readonly bondAmount: u128;
208 } & Struct;
209 readonly isNewKickThreshold: boolean;
210 readonly asNewKickThreshold: {
211 readonly lengthInBlocks: u32;
212 } & Struct;
213 readonly isInvulnerableAdded: boolean;
214 readonly asInvulnerableAdded: {
215 readonly invulnerable: AccountId32;
216 } & Struct;
217 readonly isInvulnerableRemoved: boolean;
218 readonly asInvulnerableRemoved: {
219 readonly invulnerable: AccountId32;
220 } & Struct;
221 readonly isLicenseObtained: boolean;
222 readonly asLicenseObtained: {
223 readonly accountId: AccountId32;
224 readonly deposit: u128;
225 } & Struct;
226 readonly isLicenseForfeited: boolean;
227 readonly asLicenseForfeited: {
228 readonly accountId: AccountId32;
229 readonly depositReturned: u128;
230 } & Struct;
231 readonly isCandidateAdded: boolean;
232 readonly asCandidateAdded: {
233 readonly accountId: AccountId32;
234 } & Struct;
235 readonly isCandidateRemoved: boolean;
236 readonly asCandidateRemoved: {
237 readonly accountId: AccountId32;
238 } & Struct;
239 readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
240 }
241
242 /** @name PalletSessionEvent (31) */
243 interface PalletSessionEvent extends Enum {
244 readonly isNewSession: boolean;
245 readonly asNewSession: {
246 readonly sessionIndex: u32;
247 } & Struct;
248 readonly type: 'NewSession';
249 }
198250
199 /** @name PalletBalancesEvent (30) */251 /** @name PalletBalancesEvent (32) */
200 interface PalletBalancesEvent extends Enum {252 interface PalletBalancesEvent extends Enum {
201 readonly isEndowed: boolean;253 readonly isEndowed: boolean;
202 readonly asEndowed: {254 readonly asEndowed: {
255 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';307 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
256 }308 }
257309
258 /** @name FrameSupportTokensMiscBalanceStatus (31) */310 /** @name FrameSupportTokensMiscBalanceStatus (33) */
259 interface FrameSupportTokensMiscBalanceStatus extends Enum {311 interface FrameSupportTokensMiscBalanceStatus extends Enum {
260 readonly isFree: boolean;312 readonly isFree: boolean;
261 readonly isReserved: boolean;313 readonly isReserved: boolean;
262 readonly type: 'Free' | 'Reserved';314 readonly type: 'Free' | 'Reserved';
263 }315 }
264316
265 /** @name PalletTransactionPaymentEvent (32) */317 /** @name PalletTransactionPaymentEvent (34) */
266 interface PalletTransactionPaymentEvent extends Enum {318 interface PalletTransactionPaymentEvent extends Enum {
267 readonly isTransactionFeePaid: boolean;319 readonly isTransactionFeePaid: boolean;
268 readonly asTransactionFeePaid: {320 readonly asTransactionFeePaid: {
273 readonly type: 'TransactionFeePaid';325 readonly type: 'TransactionFeePaid';
274 }326 }
275327
276 /** @name PalletTreasuryEvent (33) */328 /** @name PalletTreasuryEvent (35) */
277 interface PalletTreasuryEvent extends Enum {329 interface PalletTreasuryEvent extends Enum {
278 readonly isProposed: boolean;330 readonly isProposed: boolean;
279 readonly asProposed: {331 readonly asProposed: {
315 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';367 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
316 }368 }
317369
318 /** @name PalletSudoEvent (34) */370 /** @name PalletSudoEvent (36) */
319 interface PalletSudoEvent extends Enum {371 interface PalletSudoEvent extends Enum {
320 readonly isSudid: boolean;372 readonly isSudid: boolean;
321 readonly asSudid: {373 readonly asSudid: {
332 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';384 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
333 }385 }
334386
335 /** @name OrmlVestingModuleEvent (38) */387 /** @name OrmlVestingModuleEvent (40) */
336 interface OrmlVestingModuleEvent extends Enum {388 interface OrmlVestingModuleEvent extends Enum {
337 readonly isVestingScheduleAdded: boolean;389 readonly isVestingScheduleAdded: boolean;
338 readonly asVestingScheduleAdded: {390 readonly asVestingScheduleAdded: {
352 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';404 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
353 }405 }
354406
355 /** @name OrmlVestingVestingSchedule (39) */407 /** @name OrmlVestingVestingSchedule (41) */
356 interface OrmlVestingVestingSchedule extends Struct {408 interface OrmlVestingVestingSchedule extends Struct {
357 readonly start: u32;409 readonly start: u32;
358 readonly period: u32;410 readonly period: u32;
359 readonly periodCount: u32;411 readonly periodCount: u32;
360 readonly perPeriod: Compact<u128>;412 readonly perPeriod: Compact<u128>;
361 }413 }
362414
363 /** @name OrmlXtokensModuleEvent (41) */415 /** @name OrmlXtokensModuleEvent (43) */
364 interface OrmlXtokensModuleEvent extends Enum {416 interface OrmlXtokensModuleEvent extends Enum {
365 readonly isTransferredMultiAssets: boolean;417 readonly isTransferredMultiAssets: boolean;
366 readonly asTransferredMultiAssets: {418 readonly asTransferredMultiAssets: {
372 readonly type: 'TransferredMultiAssets';424 readonly type: 'TransferredMultiAssets';
373 }425 }
374426
375 /** @name XcmV1MultiassetMultiAssets (42) */427 /** @name XcmV1MultiassetMultiAssets (44) */
376 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}428 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
377429
378 /** @name XcmV1MultiAsset (44) */430 /** @name XcmV1MultiAsset (46) */
379 interface XcmV1MultiAsset extends Struct {431 interface XcmV1MultiAsset extends Struct {
380 readonly id: XcmV1MultiassetAssetId;432 readonly id: XcmV1MultiassetAssetId;
381 readonly fun: XcmV1MultiassetFungibility;433 readonly fun: XcmV1MultiassetFungibility;
382 }434 }
383435
384 /** @name XcmV1MultiassetAssetId (45) */436 /** @name XcmV1MultiassetAssetId (47) */
385 interface XcmV1MultiassetAssetId extends Enum {437 interface XcmV1MultiassetAssetId extends Enum {
386 readonly isConcrete: boolean;438 readonly isConcrete: boolean;
387 readonly asConcrete: XcmV1MultiLocation;439 readonly asConcrete: XcmV1MultiLocation;
390 readonly type: 'Concrete' | 'Abstract';442 readonly type: 'Concrete' | 'Abstract';
391 }443 }
392444
393 /** @name XcmV1MultiLocation (46) */445 /** @name XcmV1MultiLocation (48) */
394 interface XcmV1MultiLocation extends Struct {446 interface XcmV1MultiLocation extends Struct {
395 readonly parents: u8;447 readonly parents: u8;
396 readonly interior: XcmV1MultilocationJunctions;448 readonly interior: XcmV1MultilocationJunctions;
397 }449 }
398450
399 /** @name XcmV1MultilocationJunctions (47) */451 /** @name XcmV1MultilocationJunctions (49) */
400 interface XcmV1MultilocationJunctions extends Enum {452 interface XcmV1MultilocationJunctions extends Enum {
401 readonly isHere: boolean;453 readonly isHere: boolean;
402 readonly isX1: boolean;454 readonly isX1: boolean;
418 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';470 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
419 }471 }
420472
421 /** @name XcmV1Junction (48) */473 /** @name XcmV1Junction (50) */
422 interface XcmV1Junction extends Enum {474 interface XcmV1Junction extends Enum {
423 readonly isParachain: boolean;475 readonly isParachain: boolean;
424 readonly asParachain: Compact<u32>;476 readonly asParachain: Compact<u32>;
452 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';504 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
453 }505 }
454506
455 /** @name XcmV0JunctionNetworkId (50) */507 /** @name XcmV0JunctionNetworkId (52) */
456 interface XcmV0JunctionNetworkId extends Enum {508 interface XcmV0JunctionNetworkId extends Enum {
457 readonly isAny: boolean;509 readonly isAny: boolean;
458 readonly isNamed: boolean;510 readonly isNamed: boolean;
462 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';514 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
463 }515 }
464516
465 /** @name XcmV0JunctionBodyId (53) */517 /** @name XcmV0JunctionBodyId (55) */
466 interface XcmV0JunctionBodyId extends Enum {518 interface XcmV0JunctionBodyId extends Enum {
467 readonly isUnit: boolean;519 readonly isUnit: boolean;
468 readonly isNamed: boolean;520 readonly isNamed: boolean;
476 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
477 }529 }
478530
479 /** @name XcmV0JunctionBodyPart (54) */531 /** @name XcmV0JunctionBodyPart (56) */
480 interface XcmV0JunctionBodyPart extends Enum {532 interface XcmV0JunctionBodyPart extends Enum {
481 readonly isVoice: boolean;533 readonly isVoice: boolean;
482 readonly isMembers: boolean;534 readonly isMembers: boolean;
501 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
502 }554 }
503555
504 /** @name XcmV1MultiassetFungibility (55) */556 /** @name XcmV1MultiassetFungibility (57) */
505 interface XcmV1MultiassetFungibility extends Enum {557 interface XcmV1MultiassetFungibility extends Enum {
506 readonly isFungible: boolean;558 readonly isFungible: boolean;
507 readonly asFungible: Compact<u128>;559 readonly asFungible: Compact<u128>;
510 readonly type: 'Fungible' | 'NonFungible';562 readonly type: 'Fungible' | 'NonFungible';
511 }563 }
512564
513 /** @name XcmV1MultiassetAssetInstance (56) */565 /** @name XcmV1MultiassetAssetInstance (58) */
514 interface XcmV1MultiassetAssetInstance extends Enum {566 interface XcmV1MultiassetAssetInstance extends Enum {
515 readonly isUndefined: boolean;567 readonly isUndefined: boolean;
516 readonly isIndex: boolean;568 readonly isIndex: boolean;
528 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';580 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
529 }581 }
530582
531 /** @name OrmlTokensModuleEvent (59) */583 /** @name OrmlTokensModuleEvent (61) */
532 interface OrmlTokensModuleEvent extends Enum {584 interface OrmlTokensModuleEvent extends Enum {
533 readonly isEndowed: boolean;585 readonly isEndowed: boolean;
534 readonly asEndowed: {586 readonly asEndowed: {
616 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';668 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';
617 }669 }
618670
619 /** @name PalletForeignAssetsAssetIds (60) */671 /** @name PalletForeignAssetsAssetIds (62) */
620 interface PalletForeignAssetsAssetIds extends Enum {672 interface PalletForeignAssetsAssetIds extends Enum {
621 readonly isForeignAssetId: boolean;673 readonly isForeignAssetId: boolean;
622 readonly asForeignAssetId: u32;674 readonly asForeignAssetId: u32;
625 readonly type: 'ForeignAssetId' | 'NativeAssetId';677 readonly type: 'ForeignAssetId' | 'NativeAssetId';
626 }678 }
627679
628 /** @name PalletForeignAssetsNativeCurrency (61) */680 /** @name PalletForeignAssetsNativeCurrency (63) */
629 interface PalletForeignAssetsNativeCurrency extends Enum {681 interface PalletForeignAssetsNativeCurrency extends Enum {
630 readonly isHere: boolean;682 readonly isHere: boolean;
631 readonly isParent: boolean;683 readonly isParent: boolean;
632 readonly type: 'Here' | 'Parent';684 readonly type: 'Here' | 'Parent';
633 }685 }
634686
635 /** @name CumulusPalletXcmpQueueEvent (62) */687 /** @name CumulusPalletXcmpQueueEvent (64) */
636 interface CumulusPalletXcmpQueueEvent extends Enum {688 interface CumulusPalletXcmpQueueEvent extends Enum {
637 readonly isSuccess: boolean;689 readonly isSuccess: boolean;
638 readonly asSuccess: {690 readonly asSuccess: {
676 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';728 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
677 }729 }
678730
679 /** @name XcmV2TraitsError (64) */731 /** @name XcmV2TraitsError (66) */
680 interface XcmV2TraitsError extends Enum {732 interface XcmV2TraitsError extends Enum {
681 readonly isOverflow: boolean;733 readonly isOverflow: boolean;
682 readonly isUnimplemented: boolean;734 readonly isUnimplemented: boolean;
709 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';761 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';
710 }762 }
711763
712 /** @name PalletXcmEvent (66) */764 /** @name PalletXcmEvent (68) */
713 interface PalletXcmEvent extends Enum {765 interface PalletXcmEvent extends Enum {
714 readonly isAttempted: boolean;766 readonly isAttempted: boolean;
715 readonly asAttempted: XcmV2TraitsOutcome;767 readonly asAttempted: XcmV2TraitsOutcome;
748 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';800 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';
749 }801 }
750802
751 /** @name XcmV2TraitsOutcome (67) */803 /** @name XcmV2TraitsOutcome (69) */
752 interface XcmV2TraitsOutcome extends Enum {804 interface XcmV2TraitsOutcome extends Enum {
753 readonly isComplete: boolean;805 readonly isComplete: boolean;
754 readonly asComplete: u64;806 readonly asComplete: u64;
759 readonly type: 'Complete' | 'Incomplete' | 'Error';811 readonly type: 'Complete' | 'Incomplete' | 'Error';
760 }812 }
761813
762 /** @name XcmV2Xcm (68) */814 /** @name XcmV2Xcm (70) */
763 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}815 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
764816
765 /** @name XcmV2Instruction (70) */817 /** @name XcmV2Instruction (72) */
766 interface XcmV2Instruction extends Enum {818 interface XcmV2Instruction extends Enum {
767 readonly isWithdrawAsset: boolean;819 readonly isWithdrawAsset: boolean;
768 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;820 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
882 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';934 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';
883 }935 }
884936
885 /** @name XcmV2Response (71) */937 /** @name XcmV2Response (73) */
886 interface XcmV2Response extends Enum {938 interface XcmV2Response extends Enum {
887 readonly isNull: boolean;939 readonly isNull: boolean;
888 readonly isAssets: boolean;940 readonly isAssets: boolean;
894 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';946 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
895 }947 }
896948
897 /** @name XcmV0OriginKind (74) */949 /** @name XcmV0OriginKind (76) */
898 interface XcmV0OriginKind extends Enum {950 interface XcmV0OriginKind extends Enum {
899 readonly isNative: boolean;951 readonly isNative: boolean;
900 readonly isSovereignAccount: boolean;952 readonly isSovereignAccount: boolean;
903 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';955 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
904 }956 }
905957
906 /** @name XcmDoubleEncoded (75) */958 /** @name XcmDoubleEncoded (77) */
907 interface XcmDoubleEncoded extends Struct {959 interface XcmDoubleEncoded extends Struct {
908 readonly encoded: Bytes;960 readonly encoded: Bytes;
909 }961 }
910962
911 /** @name XcmV1MultiassetMultiAssetFilter (76) */963 /** @name XcmV1MultiassetMultiAssetFilter (78) */
912 interface XcmV1MultiassetMultiAssetFilter extends Enum {964 interface XcmV1MultiassetMultiAssetFilter extends Enum {
913 readonly isDefinite: boolean;965 readonly isDefinite: boolean;
914 readonly asDefinite: XcmV1MultiassetMultiAssets;966 readonly asDefinite: XcmV1MultiassetMultiAssets;
917 readonly type: 'Definite' | 'Wild';969 readonly type: 'Definite' | 'Wild';
918 }970 }
919971
920 /** @name XcmV1MultiassetWildMultiAsset (77) */972 /** @name XcmV1MultiassetWildMultiAsset (79) */
921 interface XcmV1MultiassetWildMultiAsset extends Enum {973 interface XcmV1MultiassetWildMultiAsset extends Enum {
922 readonly isAll: boolean;974 readonly isAll: boolean;
923 readonly isAllOf: boolean;975 readonly isAllOf: boolean;
928 readonly type: 'All' | 'AllOf';980 readonly type: 'All' | 'AllOf';
929 }981 }
930982
931 /** @name XcmV1MultiassetWildFungibility (78) */983 /** @name XcmV1MultiassetWildFungibility (80) */
932 interface XcmV1MultiassetWildFungibility extends Enum {984 interface XcmV1MultiassetWildFungibility extends Enum {
933 readonly isFungible: boolean;985 readonly isFungible: boolean;
934 readonly isNonFungible: boolean;986 readonly isNonFungible: boolean;
935 readonly type: 'Fungible' | 'NonFungible';987 readonly type: 'Fungible' | 'NonFungible';
936 }988 }
937989
938 /** @name XcmV2WeightLimit (79) */990 /** @name XcmV2WeightLimit (81) */
939 interface XcmV2WeightLimit extends Enum {991 interface XcmV2WeightLimit extends Enum {
940 readonly isUnlimited: boolean;992 readonly isUnlimited: boolean;
941 readonly isLimited: boolean;993 readonly isLimited: boolean;
942 readonly asLimited: Compact<u64>;994 readonly asLimited: Compact<u64>;
943 readonly type: 'Unlimited' | 'Limited';995 readonly type: 'Unlimited' | 'Limited';
944 }996 }
945997
946 /** @name XcmVersionedMultiAssets (81) */998 /** @name XcmVersionedMultiAssets (83) */
947 interface XcmVersionedMultiAssets extends Enum {999 interface XcmVersionedMultiAssets extends Enum {
948 readonly isV0: boolean;1000 readonly isV0: boolean;
949 readonly asV0: Vec<XcmV0MultiAsset>;1001 readonly asV0: Vec<XcmV0MultiAsset>;
952 readonly type: 'V0' | 'V1';1004 readonly type: 'V0' | 'V1';
953 }1005 }
9541006
955 /** @name XcmV0MultiAsset (83) */1007 /** @name XcmV0MultiAsset (85) */
956 interface XcmV0MultiAsset extends Enum {1008 interface XcmV0MultiAsset extends Enum {
957 readonly isNone: boolean;1009 readonly isNone: boolean;
958 readonly isAll: boolean;1010 readonly isAll: boolean;
997 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1049 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
998 }1050 }
9991051
1000 /** @name XcmV0MultiLocation (84) */1052 /** @name XcmV0MultiLocation (86) */
1001 interface XcmV0MultiLocation extends Enum {1053 interface XcmV0MultiLocation extends Enum {
1002 readonly isNull: boolean;1054 readonly isNull: boolean;
1003 readonly isX1: boolean;1055 readonly isX1: boolean;
1019 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1071 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
1020 }1072 }
10211073
1022 /** @name XcmV0Junction (85) */1074 /** @name XcmV0Junction (87) */
1023 interface XcmV0Junction extends Enum {1075 interface XcmV0Junction extends Enum {
1024 readonly isParent: boolean;1076 readonly isParent: boolean;
1025 readonly isParachain: boolean;1077 readonly isParachain: boolean;
1054 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1106 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
1055 }1107 }
10561108
1057 /** @name XcmVersionedMultiLocation (86) */1109 /** @name XcmVersionedMultiLocation (88) */
1058 interface XcmVersionedMultiLocation extends Enum {1110 interface XcmVersionedMultiLocation extends Enum {
1059 readonly isV0: boolean;1111 readonly isV0: boolean;
1060 readonly asV0: XcmV0MultiLocation;1112 readonly asV0: XcmV0MultiLocation;
1063 readonly type: 'V0' | 'V1';1115 readonly type: 'V0' | 'V1';
1064 }1116 }
10651117
1066 /** @name CumulusPalletXcmEvent (87) */1118 /** @name CumulusPalletXcmEvent (89) */
1067 interface CumulusPalletXcmEvent extends Enum {1119 interface CumulusPalletXcmEvent extends Enum {
1068 readonly isInvalidFormat: boolean;1120 readonly isInvalidFormat: boolean;
1069 readonly asInvalidFormat: U8aFixed;1121 readonly asInvalidFormat: U8aFixed;
1074 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1126 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
1075 }1127 }
10761128
1077 /** @name CumulusPalletDmpQueueEvent (88) */1129 /** @name CumulusPalletDmpQueueEvent (90) */
1078 interface CumulusPalletDmpQueueEvent extends Enum {1130 interface CumulusPalletDmpQueueEvent extends Enum {
1079 readonly isInvalidFormat: boolean;1131 readonly isInvalidFormat: boolean;
1080 readonly asInvalidFormat: {1132 readonly asInvalidFormat: {
1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1161 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
1110 }1162 }
11111163
1112 /** @name PalletCommonEvent (89) */1164 /** @name PalletCommonEvent (91) */
1113 interface PalletCommonEvent extends Enum {1165 interface PalletCommonEvent extends Enum {
1114 readonly isCollectionCreated: boolean;1166 readonly isCollectionCreated: boolean;
1115 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1167 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
1158 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1210 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';
1159 }1211 }
11601212
1161 /** @name PalletEvmAccountBasicCrossAccountIdRepr (92) */1213 /** @name PalletEvmAccountBasicCrossAccountIdRepr (94) */
1162 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1214 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
1163 readonly isSubstrate: boolean;1215 readonly isSubstrate: boolean;
1164 readonly asSubstrate: AccountId32;1216 readonly asSubstrate: AccountId32;
1167 readonly type: 'Substrate' | 'Ethereum';1219 readonly type: 'Substrate' | 'Ethereum';
1168 }1220 }
11691221
1170 /** @name PalletStructureEvent (96) */1222 /** @name PalletStructureEvent (98) */
1171 interface PalletStructureEvent extends Enum {1223 interface PalletStructureEvent extends Enum {
1172 readonly isExecuted: boolean;1224 readonly isExecuted: boolean;
1173 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1225 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
1174 readonly type: 'Executed';1226 readonly type: 'Executed';
1175 }1227 }
11761228
1177 /** @name PalletRmrkCoreEvent (97) */1229 /** @name PalletRmrkCoreEvent (99) */
1178 interface PalletRmrkCoreEvent extends Enum {1230 interface PalletRmrkCoreEvent extends Enum {
1179 readonly isCollectionCreated: boolean;1231 readonly isCollectionCreated: boolean;
1180 readonly asCollectionCreated: {1232 readonly asCollectionCreated: {
1264 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1316 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
1265 }1317 }
12661318
1267 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (98) */1319 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (100) */
1268 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1320 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
1269 readonly isAccountId: boolean;1321 readonly isAccountId: boolean;
1270 readonly asAccountId: AccountId32;1322 readonly asAccountId: AccountId32;
1273 readonly type: 'AccountId' | 'CollectionAndNftTuple';1325 readonly type: 'AccountId' | 'CollectionAndNftTuple';
1274 }1326 }
12751327
1276 /** @name PalletRmrkEquipEvent (102) */1328 /** @name PalletRmrkEquipEvent (104) */
1277 interface PalletRmrkEquipEvent extends Enum {1329 interface PalletRmrkEquipEvent extends Enum {
1278 readonly isBaseCreated: boolean;1330 readonly isBaseCreated: boolean;
1279 readonly asBaseCreated: {1331 readonly asBaseCreated: {
1288 readonly type: 'BaseCreated' | 'EquippablesUpdated';1340 readonly type: 'BaseCreated' | 'EquippablesUpdated';
1289 }1341 }
12901342
1291 /** @name PalletAppPromotionEvent (103) */1343 /** @name PalletAppPromotionEvent (105) */
1292 interface PalletAppPromotionEvent extends Enum {1344 interface PalletAppPromotionEvent extends Enum {
1293 readonly isStakingRecalculation: boolean;1345 readonly isStakingRecalculation: boolean;
1294 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1346 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;
1301 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1353 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
1302 }1354 }
13031355
1304 /** @name PalletForeignAssetsModuleEvent (104) */1356 /** @name PalletForeignAssetsModuleEvent (106) */
1305 interface PalletForeignAssetsModuleEvent extends Enum {1357 interface PalletForeignAssetsModuleEvent extends Enum {
1306 readonly isForeignAssetRegistered: boolean;1358 readonly isForeignAssetRegistered: boolean;
1307 readonly asForeignAssetRegistered: {1359 readonly asForeignAssetRegistered: {
1328 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1380 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';
1329 }1381 }
13301382
1331 /** @name PalletForeignAssetsModuleAssetMetadata (105) */1383 /** @name PalletForeignAssetsModuleAssetMetadata (107) */
1332 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1384 interface PalletForeignAssetsModuleAssetMetadata extends Struct {
1333 readonly name: Bytes;1385 readonly name: Bytes;
1334 readonly symbol: Bytes;1386 readonly symbol: Bytes;
1335 readonly decimals: u8;1387 readonly decimals: u8;
1336 readonly minimalBalance: u128;1388 readonly minimalBalance: u128;
1337 }1389 }
13381390
1339 /** @name PalletEvmEvent (106) */1391 /** @name PalletEvmEvent (108) */
1340 interface PalletEvmEvent extends Enum {1392 interface PalletEvmEvent extends Enum {
1341 readonly isLog: boolean;1393 readonly isLog: boolean;
1342 readonly asLog: {1394 readonly asLog: {
1361 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1413 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';
1362 }1414 }
13631415
1364 /** @name EthereumLog (107) */1416 /** @name EthereumLog (109) */
1365 interface EthereumLog extends Struct {1417 interface EthereumLog extends Struct {
1366 readonly address: H160;1418 readonly address: H160;
1367 readonly topics: Vec<H256>;1419 readonly topics: Vec<H256>;
1368 readonly data: Bytes;1420 readonly data: Bytes;
1369 }1421 }
13701422
1371 /** @name PalletEthereumEvent (109) */1423 /** @name PalletEthereumEvent (111) */
1372 interface PalletEthereumEvent extends Enum {1424 interface PalletEthereumEvent extends Enum {
1373 readonly isExecuted: boolean;1425 readonly isExecuted: boolean;
1374 readonly asExecuted: {1426 readonly asExecuted: {
1380 readonly type: 'Executed';1432 readonly type: 'Executed';
1381 }1433 }
13821434
1383 /** @name EvmCoreErrorExitReason (110) */1435 /** @name EvmCoreErrorExitReason (112) */
1384 interface EvmCoreErrorExitReason extends Enum {1436 interface EvmCoreErrorExitReason extends Enum {
1385 readonly isSucceed: boolean;1437 readonly isSucceed: boolean;
1386 readonly asSucceed: EvmCoreErrorExitSucceed;1438 readonly asSucceed: EvmCoreErrorExitSucceed;
1393 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1445 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
1394 }1446 }
13951447
1396 /** @name EvmCoreErrorExitSucceed (111) */1448 /** @name EvmCoreErrorExitSucceed (113) */
1397 interface EvmCoreErrorExitSucceed extends Enum {1449 interface EvmCoreErrorExitSucceed extends Enum {
1398 readonly isStopped: boolean;1450 readonly isStopped: boolean;
1399 readonly isReturned: boolean;1451 readonly isReturned: boolean;
1400 readonly isSuicided: boolean;1452 readonly isSuicided: boolean;
1401 readonly type: 'Stopped' | 'Returned' | 'Suicided';1453 readonly type: 'Stopped' | 'Returned' | 'Suicided';
1402 }1454 }
14031455
1404 /** @name EvmCoreErrorExitError (112) */1456 /** @name EvmCoreErrorExitError (114) */
1405 interface EvmCoreErrorExitError extends Enum {1457 interface EvmCoreErrorExitError extends Enum {
1406 readonly isStackUnderflow: boolean;1458 readonly isStackUnderflow: boolean;
1407 readonly isStackOverflow: boolean;1459 readonly isStackOverflow: boolean;
1422 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1474 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
1423 }1475 }
14241476
1425 /** @name EvmCoreErrorExitRevert (115) */1477 /** @name EvmCoreErrorExitRevert (117) */
1426 interface EvmCoreErrorExitRevert extends Enum {1478 interface EvmCoreErrorExitRevert extends Enum {
1427 readonly isReverted: boolean;1479 readonly isReverted: boolean;
1428 readonly type: 'Reverted';1480 readonly type: 'Reverted';
1429 }1481 }
14301482
1431 /** @name EvmCoreErrorExitFatal (116) */1483 /** @name EvmCoreErrorExitFatal (118) */
1432 interface EvmCoreErrorExitFatal extends Enum {1484 interface EvmCoreErrorExitFatal extends Enum {
1433 readonly isNotSupported: boolean;1485 readonly isNotSupported: boolean;
1434 readonly isUnhandledInterrupt: boolean;1486 readonly isUnhandledInterrupt: boolean;
1439 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1491 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
1440 }1492 }
14411493
1442 /** @name PalletEvmContractHelpersEvent (117) */1494 /** @name PalletEvmContractHelpersEvent (119) */
1443 interface PalletEvmContractHelpersEvent extends Enum {1495 interface PalletEvmContractHelpersEvent extends Enum {
1444 readonly isContractSponsorSet: boolean;1496 readonly isContractSponsorSet: boolean;
1445 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1497 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;
1450 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1502 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';
1451 }1503 }
14521504
1453 /** @name PalletEvmMigrationEvent (118) */1505 /** @name PalletEvmMigrationEvent (120) */
1454 interface PalletEvmMigrationEvent extends Enum {1506 interface PalletEvmMigrationEvent extends Enum {
1455 readonly isTestEvent: boolean;1507 readonly isTestEvent: boolean;
1456 readonly type: 'TestEvent';1508 readonly type: 'TestEvent';
1457 }1509 }
14581510
1459 /** @name PalletMaintenanceEvent (119) */1511 /** @name PalletMaintenanceEvent (121) */
1460 interface PalletMaintenanceEvent extends Enum {1512 interface PalletMaintenanceEvent extends Enum {
1461 readonly isMaintenanceEnabled: boolean;1513 readonly isMaintenanceEnabled: boolean;
1462 readonly isMaintenanceDisabled: boolean;1514 readonly isMaintenanceDisabled: boolean;
1463 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1515 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';
1464 }1516 }
14651517
1466 /** @name PalletTestUtilsEvent (120) */1518 /** @name PalletTestUtilsEvent (122) */
1467 interface PalletTestUtilsEvent extends Enum {1519 interface PalletTestUtilsEvent extends Enum {
1468 readonly isValueIsSet: boolean;1520 readonly isValueIsSet: boolean;
1469 readonly isShouldRollback: boolean;1521 readonly isShouldRollback: boolean;
1470 readonly isBatchCompleted: boolean;1522 readonly isBatchCompleted: boolean;
1471 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1523 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';
1472 }1524 }
14731525
1474 /** @name FrameSystemPhase (121) */1526 /** @name FrameSystemPhase (123) */
1475 interface FrameSystemPhase extends Enum {1527 interface FrameSystemPhase extends Enum {
1476 readonly isApplyExtrinsic: boolean;1528 readonly isApplyExtrinsic: boolean;
1477 readonly asApplyExtrinsic: u32;1529 readonly asApplyExtrinsic: u32;
1480 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1532 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
1481 }1533 }
14821534
1483 /** @name FrameSystemLastRuntimeUpgradeInfo (124) */1535 /** @name FrameSystemLastRuntimeUpgradeInfo (126) */
1484 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1536 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
1485 readonly specVersion: Compact<u32>;1537 readonly specVersion: Compact<u32>;
1486 readonly specName: Text;1538 readonly specName: Text;
1487 }1539 }
14881540
1489 /** @name FrameSystemCall (125) */1541 /** @name FrameSystemCall (127) */
1490 interface FrameSystemCall extends Enum {1542 interface FrameSystemCall extends Enum {
1491 readonly isFillBlock: boolean;1543 readonly isFillBlock: boolean;
1492 readonly asFillBlock: {1544 readonly asFillBlock: {
1528 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1580 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
1529 }1581 }
15301582
1531 /** @name FrameSystemLimitsBlockWeights (130) */1583 /** @name FrameSystemLimitsBlockWeights (132) */
1532 interface FrameSystemLimitsBlockWeights extends Struct {1584 interface FrameSystemLimitsBlockWeights extends Struct {
1533 readonly baseBlock: SpWeightsWeightV2Weight;1585 readonly baseBlock: SpWeightsWeightV2Weight;
1534 readonly maxBlock: SpWeightsWeightV2Weight;1586 readonly maxBlock: SpWeightsWeightV2Weight;
1535 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1587 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
1536 }1588 }
15371589
1538 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (131) */1590 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (133) */
1539 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1591 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
1540 readonly normal: FrameSystemLimitsWeightsPerClass;1592 readonly normal: FrameSystemLimitsWeightsPerClass;
1541 readonly operational: FrameSystemLimitsWeightsPerClass;1593 readonly operational: FrameSystemLimitsWeightsPerClass;
1542 readonly mandatory: FrameSystemLimitsWeightsPerClass;1594 readonly mandatory: FrameSystemLimitsWeightsPerClass;
1543 }1595 }
15441596
1545 /** @name FrameSystemLimitsWeightsPerClass (132) */1597 /** @name FrameSystemLimitsWeightsPerClass (134) */
1546 interface FrameSystemLimitsWeightsPerClass extends Struct {1598 interface FrameSystemLimitsWeightsPerClass extends Struct {
1547 readonly baseExtrinsic: SpWeightsWeightV2Weight;1599 readonly baseExtrinsic: SpWeightsWeightV2Weight;
1548 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1600 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
1549 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1601 readonly maxTotal: Option<SpWeightsWeightV2Weight>;
1550 readonly reserved: Option<SpWeightsWeightV2Weight>;1602 readonly reserved: Option<SpWeightsWeightV2Weight>;
1551 }1603 }
15521604
1553 /** @name FrameSystemLimitsBlockLength (134) */1605 /** @name FrameSystemLimitsBlockLength (136) */
1554 interface FrameSystemLimitsBlockLength extends Struct {1606 interface FrameSystemLimitsBlockLength extends Struct {
1555 readonly max: FrameSupportDispatchPerDispatchClassU32;1607 readonly max: FrameSupportDispatchPerDispatchClassU32;
1556 }1608 }
15571609
1558 /** @name FrameSupportDispatchPerDispatchClassU32 (135) */1610 /** @name FrameSupportDispatchPerDispatchClassU32 (137) */
1559 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1611 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
1560 readonly normal: u32;1612 readonly normal: u32;
1561 readonly operational: u32;1613 readonly operational: u32;
1562 readonly mandatory: u32;1614 readonly mandatory: u32;
1563 }1615 }
15641616
1565 /** @name SpWeightsRuntimeDbWeight (136) */1617 /** @name SpWeightsRuntimeDbWeight (138) */
1566 interface SpWeightsRuntimeDbWeight extends Struct {1618 interface SpWeightsRuntimeDbWeight extends Struct {
1567 readonly read: u64;1619 readonly read: u64;
1568 readonly write: u64;1620 readonly write: u64;
1569 }1621 }
15701622
1571 /** @name SpVersionRuntimeVersion (137) */1623 /** @name SpVersionRuntimeVersion (139) */
1572 interface SpVersionRuntimeVersion extends Struct {1624 interface SpVersionRuntimeVersion extends Struct {
1573 readonly specName: Text;1625 readonly specName: Text;
1574 readonly implName: Text;1626 readonly implName: Text;
1580 readonly stateVersion: u8;1632 readonly stateVersion: u8;
1581 }1633 }
15821634
1583 /** @name FrameSystemError (142) */1635 /** @name FrameSystemError (144) */
1584 interface FrameSystemError extends Enum {1636 interface FrameSystemError extends Enum {
1585 readonly isInvalidSpecName: boolean;1637 readonly isInvalidSpecName: boolean;
1586 readonly isSpecVersionNeedsToIncrease: boolean;1638 readonly isSpecVersionNeedsToIncrease: boolean;
1591 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1643 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
1592 }1644 }
15931645
1594 /** @name PolkadotPrimitivesV2PersistedValidationData (143) */1646 /** @name PolkadotPrimitivesV2PersistedValidationData (145) */
1595 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1647 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
1596 readonly parentHead: Bytes;1648 readonly parentHead: Bytes;
1597 readonly relayParentNumber: u32;1649 readonly relayParentNumber: u32;
1598 readonly relayParentStorageRoot: H256;1650 readonly relayParentStorageRoot: H256;
1599 readonly maxPovSize: u32;1651 readonly maxPovSize: u32;
1600 }1652 }
16011653
1602 /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */1654 /** @name PolkadotPrimitivesV2UpgradeRestriction (148) */
1603 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1655 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
1604 readonly isPresent: boolean;1656 readonly isPresent: boolean;
1605 readonly type: 'Present';1657 readonly type: 'Present';
1606 }1658 }
16071659
1608 /** @name SpTrieStorageProof (147) */1660 /** @name SpTrieStorageProof (149) */
1609 interface SpTrieStorageProof extends Struct {1661 interface SpTrieStorageProof extends Struct {
1610 readonly trieNodes: BTreeSet<Bytes>;1662 readonly trieNodes: BTreeSet<Bytes>;
1611 }1663 }
16121664
1613 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */1665 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (151) */
1614 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1666 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
1615 readonly dmqMqcHead: H256;1667 readonly dmqMqcHead: H256;
1616 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1668 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
1617 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1669 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1618 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1670 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1619 }1671 }
16201672
1621 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */1673 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (154) */
1622 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1674 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
1623 readonly maxCapacity: u32;1675 readonly maxCapacity: u32;
1624 readonly maxTotalSize: u32;1676 readonly maxTotalSize: u32;
1628 readonly mqcHead: Option<H256>;1680 readonly mqcHead: Option<H256>;
1629 }1681 }
16301682
1631 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */1683 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (155) */
1632 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1684 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
1633 readonly maxCodeSize: u32;1685 readonly maxCodeSize: u32;
1634 readonly maxHeadDataSize: u32;1686 readonly maxHeadDataSize: u32;
1641 readonly validationUpgradeDelay: u32;1693 readonly validationUpgradeDelay: u32;
1642 }1694 }
16431695
1644 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */1696 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (161) */
1645 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1697 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
1646 readonly recipient: u32;1698 readonly recipient: u32;
1647 readonly data: Bytes;1699 readonly data: Bytes;
1648 }1700 }
16491701
1650 /** @name CumulusPalletParachainSystemCall (160) */1702 /** @name CumulusPalletParachainSystemCall (162) */
1651 interface CumulusPalletParachainSystemCall extends Enum {1703 interface CumulusPalletParachainSystemCall extends Enum {
1652 readonly isSetValidationData: boolean;1704 readonly isSetValidationData: boolean;
1653 readonly asSetValidationData: {1705 readonly asSetValidationData: {
1668 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1720 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
1669 }1721 }
16701722
1671 /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */1723 /** @name CumulusPrimitivesParachainInherentParachainInherentData (163) */
1672 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1724 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
1673 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1725 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
1674 readonly relayChainState: SpTrieStorageProof;1726 readonly relayChainState: SpTrieStorageProof;
1675 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1727 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
1676 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1728 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
1677 }1729 }
16781730
1679 /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */1731 /** @name PolkadotCorePrimitivesInboundDownwardMessage (165) */
1680 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1732 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
1681 readonly sentAt: u32;1733 readonly sentAt: u32;
1682 readonly msg: Bytes;1734 readonly msg: Bytes;
1683 }1735 }
16841736
1685 /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */1737 /** @name PolkadotCorePrimitivesInboundHrmpMessage (168) */
1686 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1738 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
1687 readonly sentAt: u32;1739 readonly sentAt: u32;
1688 readonly data: Bytes;1740 readonly data: Bytes;
1689 }1741 }
16901742
1691 /** @name CumulusPalletParachainSystemError (169) */1743 /** @name CumulusPalletParachainSystemError (171) */
1692 interface CumulusPalletParachainSystemError extends Enum {1744 interface CumulusPalletParachainSystemError extends Enum {
1693 readonly isOverlappingUpgrades: boolean;1745 readonly isOverlappingUpgrades: boolean;
1694 readonly isProhibitedByPolkadot: boolean;1746 readonly isProhibitedByPolkadot: boolean;
1701 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1753 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
1702 }1754 }
1755
1756 /** @name PalletAuthorshipUncleEntryItem (173) */
1757 interface PalletAuthorshipUncleEntryItem extends Enum {
1758 readonly isInclusionHeight: boolean;
1759 readonly asInclusionHeight: u32;
1760 readonly isUncle: boolean;
1761 readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
1762 readonly type: 'InclusionHeight' | 'Uncle';
1763 }
1764
1765 /** @name PalletAuthorshipCall (175) */
1766 interface PalletAuthorshipCall extends Enum {
1767 readonly isSetUncles: boolean;
1768 readonly asSetUncles: {
1769 readonly newUncles: Vec<SpRuntimeHeader>;
1770 } & Struct;
1771 readonly type: 'SetUncles';
1772 }
1773
1774 /** @name SpRuntimeHeader (177) */
1775 interface SpRuntimeHeader extends Struct {
1776 readonly parentHash: H256;
1777 readonly number: Compact<u32>;
1778 readonly stateRoot: H256;
1779 readonly extrinsicsRoot: H256;
1780 readonly digest: SpRuntimeDigest;
1781 }
1782
1783 /** @name SpRuntimeBlakeTwo256 (178) */
1784 type SpRuntimeBlakeTwo256 = Null;
1785
1786 /** @name PalletAuthorshipError (179) */
1787 interface PalletAuthorshipError extends Enum {
1788 readonly isInvalidUncleParent: boolean;
1789 readonly isUnclesAlreadySet: boolean;
1790 readonly isTooManyUncles: boolean;
1791 readonly isGenesisUncle: boolean;
1792 readonly isTooHighUncle: boolean;
1793 readonly isUncleAlreadyIncluded: boolean;
1794 readonly isOldUncle: boolean;
1795 readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
1796 }
1797
1798 /** @name PalletCollatorSelectionCall (182) */
1799 interface PalletCollatorSelectionCall extends Enum {
1800 readonly isAddInvulnerable: boolean;
1801 readonly asAddInvulnerable: {
1802 readonly new_: AccountId32;
1803 } & Struct;
1804 readonly isRemoveInvulnerable: boolean;
1805 readonly asRemoveInvulnerable: {
1806 readonly who: AccountId32;
1807 } & Struct;
1808 readonly isSetDesiredCollators: boolean;
1809 readonly asSetDesiredCollators: {
1810 readonly max: u32;
1811 } & Struct;
1812 readonly isSetLicenseBond: boolean;
1813 readonly asSetLicenseBond: {
1814 readonly bond: u128;
1815 } & Struct;
1816 readonly isSetKickThreshold: boolean;
1817 readonly asSetKickThreshold: {
1818 readonly kickThreshold: u32;
1819 } & Struct;
1820 readonly isGetLicense: boolean;
1821 readonly isOnboard: boolean;
1822 readonly isOffboard: boolean;
1823 readonly isReleaseLicense: boolean;
1824 readonly isForceRevokeLicense: boolean;
1825 readonly asForceRevokeLicense: {
1826 readonly who: AccountId32;
1827 } & Struct;
1828 readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
1829 }
1830
1831 /** @name PalletCollatorSelectionError (183) */
1832 interface PalletCollatorSelectionError extends Enum {
1833 readonly isTooManyCandidates: boolean;
1834 readonly isUnknown: boolean;
1835 readonly isPermission: boolean;
1836 readonly isAlreadyHoldingLicense: boolean;
1837 readonly isNoLicense: boolean;
1838 readonly isAlreadyCandidate: boolean;
1839 readonly isNotCandidate: boolean;
1840 readonly isTooManyInvulnerables: boolean;
1841 readonly isTooFewInvulnerables: boolean;
1842 readonly isAlreadyInvulnerable: boolean;
1843 readonly isNotInvulnerable: boolean;
1844 readonly isNoAssociatedValidatorId: boolean;
1845 readonly isValidatorNotRegistered: boolean;
1846 readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
1847 }
1848
1849 /** @name OpalRuntimeRuntimeCommonSessionKeys (186) */
1850 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
1851 readonly aura: SpConsensusAuraSr25519AppSr25519Public;
1852 }
1853
1854 /** @name SpConsensusAuraSr25519AppSr25519Public (187) */
1855 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
1856
1857 /** @name SpCoreSr25519Public (188) */
1858 interface SpCoreSr25519Public extends U8aFixed {}
1859
1860 /** @name SpCoreCryptoKeyTypeId (191) */
1861 interface SpCoreCryptoKeyTypeId extends U8aFixed {}
1862
1863 /** @name PalletSessionCall (192) */
1864 interface PalletSessionCall extends Enum {
1865 readonly isSetKeys: boolean;
1866 readonly asSetKeys: {
1867 readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
1868 readonly proof: Bytes;
1869 } & Struct;
1870 readonly isPurgeKeys: boolean;
1871 readonly type: 'SetKeys' | 'PurgeKeys';
1872 }
1873
1874 /** @name PalletSessionError (193) */
1875 interface PalletSessionError extends Enum {
1876 readonly isInvalidProof: boolean;
1877 readonly isNoAssociatedValidatorId: boolean;
1878 readonly isDuplicatedKey: boolean;
1879 readonly isNoKeys: boolean;
1880 readonly isNoAccount: boolean;
1881 readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
1882 }
17031883
1704 /** @name PalletBalancesBalanceLock (171) */1884 /** @name PalletBalancesBalanceLock (195) */
1705 interface PalletBalancesBalanceLock extends Struct {1885 interface PalletBalancesBalanceLock extends Struct {
1706 readonly id: U8aFixed;1886 readonly id: U8aFixed;
1707 readonly amount: u128;1887 readonly amount: u128;
1708 readonly reasons: PalletBalancesReasons;1888 readonly reasons: PalletBalancesReasons;
1709 }1889 }
17101890
1711 /** @name PalletBalancesReasons (172) */1891 /** @name PalletBalancesReasons (196) */
1712 interface PalletBalancesReasons extends Enum {1892 interface PalletBalancesReasons extends Enum {
1713 readonly isFee: boolean;1893 readonly isFee: boolean;
1714 readonly isMisc: boolean;1894 readonly isMisc: boolean;
1715 readonly isAll: boolean;1895 readonly isAll: boolean;
1716 readonly type: 'Fee' | 'Misc' | 'All';1896 readonly type: 'Fee' | 'Misc' | 'All';
1717 }1897 }
17181898
1719 /** @name PalletBalancesReserveData (175) */1899 /** @name PalletBalancesReserveData (199) */
1720 interface PalletBalancesReserveData extends Struct {1900 interface PalletBalancesReserveData extends Struct {
1721 readonly id: U8aFixed;1901 readonly id: U8aFixed;
1722 readonly amount: u128;1902 readonly amount: u128;
1723 }1903 }
17241904
1725 /** @name PalletBalancesReleases (177) */1905 /** @name PalletBalancesReleases (201) */
1726 interface PalletBalancesReleases extends Enum {1906 interface PalletBalancesReleases extends Enum {
1727 readonly isV100: boolean;1907 readonly isV100: boolean;
1728 readonly isV200: boolean;1908 readonly isV200: boolean;
1729 readonly type: 'V100' | 'V200';1909 readonly type: 'V100' | 'V200';
1730 }1910 }
17311911
1732 /** @name PalletBalancesCall (178) */1912 /** @name PalletBalancesCall (202) */
1733 interface PalletBalancesCall extends Enum {1913 interface PalletBalancesCall extends Enum {
1734 readonly isTransfer: boolean;1914 readonly isTransfer: boolean;
1735 readonly asTransfer: {1915 readonly asTransfer: {
1766 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1946 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
1767 }1947 }
17681948
1769 /** @name PalletBalancesError (181) */1949 /** @name PalletBalancesError (205) */
1770 interface PalletBalancesError extends Enum {1950 interface PalletBalancesError extends Enum {
1771 readonly isVestingBalance: boolean;1951 readonly isVestingBalance: boolean;
1772 readonly isLiquidityRestrictions: boolean;1952 readonly isLiquidityRestrictions: boolean;
1779 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1959 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
1780 }1960 }
17811961
1782 /** @name PalletTimestampCall (183) */1962 /** @name PalletTimestampCall (207) */
1783 interface PalletTimestampCall extends Enum {1963 interface PalletTimestampCall extends Enum {
1784 readonly isSet: boolean;1964 readonly isSet: boolean;
1785 readonly asSet: {1965 readonly asSet: {
1788 readonly type: 'Set';1968 readonly type: 'Set';
1789 }1969 }
17901970
1791 /** @name PalletTransactionPaymentReleases (185) */1971 /** @name PalletTransactionPaymentReleases (209) */
1792 interface PalletTransactionPaymentReleases extends Enum {1972 interface PalletTransactionPaymentReleases extends Enum {
1793 readonly isV1Ancient: boolean;1973 readonly isV1Ancient: boolean;
1794 readonly isV2: boolean;1974 readonly isV2: boolean;
1795 readonly type: 'V1Ancient' | 'V2';1975 readonly type: 'V1Ancient' | 'V2';
1796 }1976 }
17971977
1798 /** @name PalletTreasuryProposal (186) */1978 /** @name PalletTreasuryProposal (210) */
1799 interface PalletTreasuryProposal extends Struct {1979 interface PalletTreasuryProposal extends Struct {
1800 readonly proposer: AccountId32;1980 readonly proposer: AccountId32;
1801 readonly value: u128;1981 readonly value: u128;
1802 readonly beneficiary: AccountId32;1982 readonly beneficiary: AccountId32;
1803 readonly bond: u128;1983 readonly bond: u128;
1804 }1984 }
18051985
1806 /** @name PalletTreasuryCall (189) */1986 /** @name PalletTreasuryCall (212) */
1807 interface PalletTreasuryCall extends Enum {1987 interface PalletTreasuryCall extends Enum {
1808 readonly isProposeSpend: boolean;1988 readonly isProposeSpend: boolean;
1809 readonly asProposeSpend: {1989 readonly asProposeSpend: {
1830 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2010 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
1831 }2011 }
18322012
1833 /** @name FrameSupportPalletId (192) */2013 /** @name FrameSupportPalletId (215) */
1834 interface FrameSupportPalletId extends U8aFixed {}2014 interface FrameSupportPalletId extends U8aFixed {}
18352015
1836 /** @name PalletTreasuryError (193) */2016 /** @name PalletTreasuryError (216) */
1837 interface PalletTreasuryError extends Enum {2017 interface PalletTreasuryError extends Enum {
1838 readonly isInsufficientProposersBalance: boolean;2018 readonly isInsufficientProposersBalance: boolean;
1839 readonly isInvalidIndex: boolean;2019 readonly isInvalidIndex: boolean;
1843 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2023 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
1844 }2024 }
18452025
1846 /** @name PalletSudoCall (194) */2026 /** @name PalletSudoCall (217) */
1847 interface PalletSudoCall extends Enum {2027 interface PalletSudoCall extends Enum {
1848 readonly isSudo: boolean;2028 readonly isSudo: boolean;
1849 readonly asSudo: {2029 readonly asSudo: {
1866 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2046 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
1867 }2047 }
18682048
1869 /** @name OrmlVestingModuleCall (196) */2049 /** @name OrmlVestingModuleCall (219) */
1870 interface OrmlVestingModuleCall extends Enum {2050 interface OrmlVestingModuleCall extends Enum {
1871 readonly isClaim: boolean;2051 readonly isClaim: boolean;
1872 readonly isVestedTransfer: boolean;2052 readonly isVestedTransfer: boolean;
1886 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2066 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
1887 }2067 }
18882068
1889 /** @name OrmlXtokensModuleCall (198) */2069 /** @name OrmlXtokensModuleCall (221) */
1890 interface OrmlXtokensModuleCall extends Enum {2070 interface OrmlXtokensModuleCall extends Enum {
1891 readonly isTransfer: boolean;2071 readonly isTransfer: boolean;
1892 readonly asTransfer: {2072 readonly asTransfer: {
1933 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2113 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
1934 }2114 }
19352115
1936 /** @name XcmVersionedMultiAsset (199) */2116 /** @name XcmVersionedMultiAsset (222) */
1937 interface XcmVersionedMultiAsset extends Enum {2117 interface XcmVersionedMultiAsset extends Enum {
1938 readonly isV0: boolean;2118 readonly isV0: boolean;
1939 readonly asV0: XcmV0MultiAsset;2119 readonly asV0: XcmV0MultiAsset;
1942 readonly type: 'V0' | 'V1';2122 readonly type: 'V0' | 'V1';
1943 }2123 }
19442124
1945 /** @name OrmlTokensModuleCall (202) */2125 /** @name OrmlTokensModuleCall (225) */
1946 interface OrmlTokensModuleCall extends Enum {2126 interface OrmlTokensModuleCall extends Enum {
1947 readonly isTransfer: boolean;2127 readonly isTransfer: boolean;
1948 readonly asTransfer: {2128 readonly asTransfer: {
1979 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2159 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
1980 }2160 }
19812161
1982 /** @name CumulusPalletXcmpQueueCall (203) */2162 /** @name CumulusPalletXcmpQueueCall (226) */
1983 interface CumulusPalletXcmpQueueCall extends Enum {2163 interface CumulusPalletXcmpQueueCall extends Enum {
1984 readonly isServiceOverweight: boolean;2164 readonly isServiceOverweight: boolean;
1985 readonly asServiceOverweight: {2165 readonly asServiceOverweight: {
2015 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2195 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
2016 }2196 }
20172197
2018 /** @name PalletXcmCall (204) */2198 /** @name PalletXcmCall (227) */
2019 interface PalletXcmCall extends Enum {2199 interface PalletXcmCall extends Enum {
2020 readonly isSend: boolean;2200 readonly isSend: boolean;
2021 readonly asSend: {2201 readonly asSend: {
2077 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2257 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
2078 }2258 }
20792259
2080 /** @name XcmVersionedXcm (205) */2260 /** @name XcmVersionedXcm (228) */
2081 interface XcmVersionedXcm extends Enum {2261 interface XcmVersionedXcm extends Enum {
2082 readonly isV0: boolean;2262 readonly isV0: boolean;
2083 readonly asV0: XcmV0Xcm;2263 readonly asV0: XcmV0Xcm;
2088 readonly type: 'V0' | 'V1' | 'V2';2268 readonly type: 'V0' | 'V1' | 'V2';
2089 }2269 }
20902270
2091 /** @name XcmV0Xcm (206) */2271 /** @name XcmV0Xcm (229) */
2092 interface XcmV0Xcm extends Enum {2272 interface XcmV0Xcm extends Enum {
2093 readonly isWithdrawAsset: boolean;2273 readonly isWithdrawAsset: boolean;
2094 readonly asWithdrawAsset: {2274 readonly asWithdrawAsset: {
2151 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2331 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
2152 }2332 }
21532333
2154 /** @name XcmV0Order (208) */2334 /** @name XcmV0Order (231) */
2155 interface XcmV0Order extends Enum {2335 interface XcmV0Order extends Enum {
2156 readonly isNull: boolean;2336 readonly isNull: boolean;
2157 readonly isDepositAsset: boolean;2337 readonly isDepositAsset: boolean;
2199 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2379 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2200 }2380 }
22012381
2202 /** @name XcmV0Response (210) */2382 /** @name XcmV0Response (233) */
2203 interface XcmV0Response extends Enum {2383 interface XcmV0Response extends Enum {
2204 readonly isAssets: boolean;2384 readonly isAssets: boolean;
2205 readonly asAssets: Vec<XcmV0MultiAsset>;2385 readonly asAssets: Vec<XcmV0MultiAsset>;
2206 readonly type: 'Assets';2386 readonly type: 'Assets';
2207 }2387 }
22082388
2209 /** @name XcmV1Xcm (211) */2389 /** @name XcmV1Xcm (234) */
2210 interface XcmV1Xcm extends Enum {2390 interface XcmV1Xcm extends Enum {
2211 readonly isWithdrawAsset: boolean;2391 readonly isWithdrawAsset: boolean;
2212 readonly asWithdrawAsset: {2392 readonly asWithdrawAsset: {
2275 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2455 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
2276 }2456 }
22772457
2278 /** @name XcmV1Order (213) */2458 /** @name XcmV1Order (236) */
2279 interface XcmV1Order extends Enum {2459 interface XcmV1Order extends Enum {
2280 readonly isNoop: boolean;2460 readonly isNoop: boolean;
2281 readonly isDepositAsset: boolean;2461 readonly isDepositAsset: boolean;
2325 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2505 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2326 }2506 }
23272507
2328 /** @name XcmV1Response (215) */2508 /** @name XcmV1Response (238) */
2329 interface XcmV1Response extends Enum {2509 interface XcmV1Response extends Enum {
2330 readonly isAssets: boolean;2510 readonly isAssets: boolean;
2331 readonly asAssets: XcmV1MultiassetMultiAssets;2511 readonly asAssets: XcmV1MultiassetMultiAssets;
2334 readonly type: 'Assets' | 'Version';2514 readonly type: 'Assets' | 'Version';
2335 }2515 }
23362516
2337 /** @name CumulusPalletXcmCall (229) */2517 /** @name CumulusPalletXcmCall (252) */
2338 type CumulusPalletXcmCall = Null;2518 type CumulusPalletXcmCall = Null;
23392519
2340 /** @name CumulusPalletDmpQueueCall (230) */2520 /** @name CumulusPalletDmpQueueCall (253) */
2341 interface CumulusPalletDmpQueueCall extends Enum {2521 interface CumulusPalletDmpQueueCall extends Enum {
2342 readonly isServiceOverweight: boolean;2522 readonly isServiceOverweight: boolean;
2343 readonly asServiceOverweight: {2523 readonly asServiceOverweight: {
2347 readonly type: 'ServiceOverweight';2527 readonly type: 'ServiceOverweight';
2348 }2528 }
23492529
2350 /** @name PalletInflationCall (231) */2530 /** @name PalletInflationCall (254) */
2351 interface PalletInflationCall extends Enum {2531 interface PalletInflationCall extends Enum {
2352 readonly isStartInflation: boolean;2532 readonly isStartInflation: boolean;
2353 readonly asStartInflation: {2533 readonly asStartInflation: {
2356 readonly type: 'StartInflation';2536 readonly type: 'StartInflation';
2357 }2537 }
23582538
2359 /** @name PalletUniqueCall (232) */2539 /** @name PalletUniqueCall (255) */
2360 interface PalletUniqueCall extends Enum {2540 interface PalletUniqueCall extends Enum {
2361 readonly isCreateCollection: boolean;2541 readonly isCreateCollection: boolean;
2362 readonly asCreateCollection: {2542 readonly asCreateCollection: {
2517 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2697 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;
2518 readonly approve: bool;2698 readonly approve: bool;
2519 } & Struct;2699 } & Struct;
2520 readonly isRepairItem: boolean;2700 readonly isForceRepairCollection: boolean;
2701 readonly asForceRepairCollection: {
2702 readonly collectionId: u32;
2703 } & Struct;
2704 readonly isForceRepairItem: boolean;
2521 readonly asRepairItem: {2705 readonly asForceRepairItem: {
2522 readonly collectionId: u32;2706 readonly collectionId: u32;
2523 readonly itemId: u32;2707 readonly itemId: u32;
2524 } & Struct;2708 } & Struct;
2525 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'RepairItem';2709 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
2526 }2710 }
25272711
2528 /** @name UpDataStructsCollectionMode (237) */2712 /** @name UpDataStructsCollectionMode (260) */
2529 interface UpDataStructsCollectionMode extends Enum {2713 interface UpDataStructsCollectionMode extends Enum {
2530 readonly isNft: boolean;2714 readonly isNft: boolean;
2531 readonly isFungible: boolean;2715 readonly isFungible: boolean;
2534 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2718 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2535 }2719 }
25362720
2537 /** @name UpDataStructsCreateCollectionData (238) */2721 /** @name UpDataStructsCreateCollectionData (261) */
2538 interface UpDataStructsCreateCollectionData extends Struct {2722 interface UpDataStructsCreateCollectionData extends Struct {
2539 readonly mode: UpDataStructsCollectionMode;2723 readonly mode: UpDataStructsCollectionMode;
2540 readonly access: Option<UpDataStructsAccessMode>;2724 readonly access: Option<UpDataStructsAccessMode>;
2548 readonly properties: Vec<UpDataStructsProperty>;2732 readonly properties: Vec<UpDataStructsProperty>;
2549 }2733 }
25502734
2551 /** @name UpDataStructsAccessMode (240) */2735 /** @name UpDataStructsAccessMode (263) */
2552 interface UpDataStructsAccessMode extends Enum {2736 interface UpDataStructsAccessMode extends Enum {
2553 readonly isNormal: boolean;2737 readonly isNormal: boolean;
2554 readonly isAllowList: boolean;2738 readonly isAllowList: boolean;
2555 readonly type: 'Normal' | 'AllowList';2739 readonly type: 'Normal' | 'AllowList';
2556 }2740 }
25572741
2558 /** @name UpDataStructsCollectionLimits (242) */2742 /** @name UpDataStructsCollectionLimits (265) */
2559 interface UpDataStructsCollectionLimits extends Struct {2743 interface UpDataStructsCollectionLimits extends Struct {
2560 readonly accountTokenOwnershipLimit: Option<u32>;2744 readonly accountTokenOwnershipLimit: Option<u32>;
2561 readonly sponsoredDataSize: Option<u32>;2745 readonly sponsoredDataSize: Option<u32>;
2568 readonly transfersEnabled: Option<bool>;2752 readonly transfersEnabled: Option<bool>;
2569 }2753 }
25702754
2571 /** @name UpDataStructsSponsoringRateLimit (244) */2755 /** @name UpDataStructsSponsoringRateLimit (267) */
2572 interface UpDataStructsSponsoringRateLimit extends Enum {2756 interface UpDataStructsSponsoringRateLimit extends Enum {
2573 readonly isSponsoringDisabled: boolean;2757 readonly isSponsoringDisabled: boolean;
2574 readonly isBlocks: boolean;2758 readonly isBlocks: boolean;
2575 readonly asBlocks: u32;2759 readonly asBlocks: u32;
2576 readonly type: 'SponsoringDisabled' | 'Blocks';2760 readonly type: 'SponsoringDisabled' | 'Blocks';
2577 }2761 }
25782762
2579 /** @name UpDataStructsCollectionPermissions (247) */2763 /** @name UpDataStructsCollectionPermissions (270) */
2580 interface UpDataStructsCollectionPermissions extends Struct {2764 interface UpDataStructsCollectionPermissions extends Struct {
2581 readonly access: Option<UpDataStructsAccessMode>;2765 readonly access: Option<UpDataStructsAccessMode>;
2582 readonly mintMode: Option<bool>;2766 readonly mintMode: Option<bool>;
2583 readonly nesting: Option<UpDataStructsNestingPermissions>;2767 readonly nesting: Option<UpDataStructsNestingPermissions>;
2584 }2768 }
25852769
2586 /** @name UpDataStructsNestingPermissions (249) */2770 /** @name UpDataStructsNestingPermissions (272) */
2587 interface UpDataStructsNestingPermissions extends Struct {2771 interface UpDataStructsNestingPermissions extends Struct {
2588 readonly tokenOwner: bool;2772 readonly tokenOwner: bool;
2589 readonly collectionAdmin: bool;2773 readonly collectionAdmin: bool;
2590 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2774 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
2591 }2775 }
25922776
2593 /** @name UpDataStructsOwnerRestrictedSet (251) */2777 /** @name UpDataStructsOwnerRestrictedSet (274) */
2594 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2778 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
25952779
2596 /** @name UpDataStructsPropertyKeyPermission (256) */2780 /** @name UpDataStructsPropertyKeyPermission (279) */
2597 interface UpDataStructsPropertyKeyPermission extends Struct {2781 interface UpDataStructsPropertyKeyPermission extends Struct {
2598 readonly key: Bytes;2782 readonly key: Bytes;
2599 readonly permission: UpDataStructsPropertyPermission;2783 readonly permission: UpDataStructsPropertyPermission;
2600 }2784 }
26012785
2602 /** @name UpDataStructsPropertyPermission (257) */2786 /** @name UpDataStructsPropertyPermission (280) */
2603 interface UpDataStructsPropertyPermission extends Struct {2787 interface UpDataStructsPropertyPermission extends Struct {
2604 readonly mutable: bool;2788 readonly mutable: bool;
2605 readonly collectionAdmin: bool;2789 readonly collectionAdmin: bool;
2606 readonly tokenOwner: bool;2790 readonly tokenOwner: bool;
2607 }2791 }
26082792
2609 /** @name UpDataStructsProperty (260) */2793 /** @name UpDataStructsProperty (283) */
2610 interface UpDataStructsProperty extends Struct {2794 interface UpDataStructsProperty extends Struct {
2611 readonly key: Bytes;2795 readonly key: Bytes;
2612 readonly value: Bytes;2796 readonly value: Bytes;
2613 }2797 }
26142798
2615 /** @name UpDataStructsCreateItemData (263) */2799 /** @name UpDataStructsCreateItemData (286) */
2616 interface UpDataStructsCreateItemData extends Enum {2800 interface UpDataStructsCreateItemData extends Enum {
2617 readonly isNft: boolean;2801 readonly isNft: boolean;
2618 readonly asNft: UpDataStructsCreateNftData;2802 readonly asNft: UpDataStructsCreateNftData;
2623 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2807 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2624 }2808 }
26252809
2626 /** @name UpDataStructsCreateNftData (264) */2810 /** @name UpDataStructsCreateNftData (287) */
2627 interface UpDataStructsCreateNftData extends Struct {2811 interface UpDataStructsCreateNftData extends Struct {
2628 readonly properties: Vec<UpDataStructsProperty>;2812 readonly properties: Vec<UpDataStructsProperty>;
2629 }2813 }
26302814
2631 /** @name UpDataStructsCreateFungibleData (265) */2815 /** @name UpDataStructsCreateFungibleData (288) */
2632 interface UpDataStructsCreateFungibleData extends Struct {2816 interface UpDataStructsCreateFungibleData extends Struct {
2633 readonly value: u128;2817 readonly value: u128;
2634 }2818 }
26352819
2636 /** @name UpDataStructsCreateReFungibleData (266) */2820 /** @name UpDataStructsCreateReFungibleData (289) */
2637 interface UpDataStructsCreateReFungibleData extends Struct {2821 interface UpDataStructsCreateReFungibleData extends Struct {
2638 readonly pieces: u128;2822 readonly pieces: u128;
2639 readonly properties: Vec<UpDataStructsProperty>;2823 readonly properties: Vec<UpDataStructsProperty>;
2640 }2824 }
26412825
2642 /** @name UpDataStructsCreateItemExData (269) */2826 /** @name UpDataStructsCreateItemExData (292) */
2643 interface UpDataStructsCreateItemExData extends Enum {2827 interface UpDataStructsCreateItemExData extends Enum {
2644 readonly isNft: boolean;2828 readonly isNft: boolean;
2645 readonly asNft: Vec<UpDataStructsCreateNftExData>;2829 readonly asNft: Vec<UpDataStructsCreateNftExData>;
2652 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2836 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
2653 }2837 }
26542838
2655 /** @name UpDataStructsCreateNftExData (271) */2839 /** @name UpDataStructsCreateNftExData (294) */
2656 interface UpDataStructsCreateNftExData extends Struct {2840 interface UpDataStructsCreateNftExData extends Struct {
2657 readonly properties: Vec<UpDataStructsProperty>;2841 readonly properties: Vec<UpDataStructsProperty>;
2658 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2842 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2659 }2843 }
26602844
2661 /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */2845 /** @name UpDataStructsCreateRefungibleExSingleOwner (301) */
2662 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2846 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
2663 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2847 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
2664 readonly pieces: u128;2848 readonly pieces: u128;
2665 readonly properties: Vec<UpDataStructsProperty>;2849 readonly properties: Vec<UpDataStructsProperty>;
2666 }2850 }
26672851
2668 /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */2852 /** @name UpDataStructsCreateRefungibleExMultipleOwners (303) */
2669 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2853 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
2670 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2854 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
2671 readonly properties: Vec<UpDataStructsProperty>;2855 readonly properties: Vec<UpDataStructsProperty>;
2672 }2856 }
26732857
2674 /** @name PalletConfigurationCall (281) */2858 /** @name PalletConfigurationCall (304) */
2675 interface PalletConfigurationCall extends Enum {2859 interface PalletConfigurationCall extends Enum {
2676 readonly isSetWeightToFeeCoefficientOverride: boolean;2860 readonly isSetWeightToFeeCoefficientOverride: boolean;
2677 readonly asSetWeightToFeeCoefficientOverride: {2861 readonly asSetWeightToFeeCoefficientOverride: {
2692 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2876 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
2693 }2877 }
26942878
2695 /** @name PalletConfigurationAppPromotionConfiguration (286) */2879 /** @name PalletConfigurationAppPromotionConfiguration (309) */
2696 interface PalletConfigurationAppPromotionConfiguration extends Struct {2880 interface PalletConfigurationAppPromotionConfiguration extends Struct {
2697 readonly recalculationInterval: Option<u32>;2881 readonly recalculationInterval: Option<u32>;
2698 readonly pendingInterval: Option<u32>;2882 readonly pendingInterval: Option<u32>;
2699 readonly intervalIncome: Option<Perbill>;2883 readonly intervalIncome: Option<Perbill>;
2700 readonly maxStakersPerCalculation: Option<u8>;2884 readonly maxStakersPerCalculation: Option<u8>;
2701 }2885 }
27022886
2703 /** @name PalletTemplateTransactionPaymentCall (289) */2887 /** @name PalletTemplateTransactionPaymentCall (312) */
2704 type PalletTemplateTransactionPaymentCall = Null;2888 type PalletTemplateTransactionPaymentCall = Null;
27052889
2706 /** @name PalletStructureCall (290) */2890 /** @name PalletStructureCall (313) */
2707 type PalletStructureCall = Null;2891 type PalletStructureCall = Null;
27082892
2709 /** @name PalletRmrkCoreCall (291) */2893 /** @name PalletRmrkCoreCall (314) */
2710 interface PalletRmrkCoreCall extends Enum {2894 interface PalletRmrkCoreCall extends Enum {
2711 readonly isCreateCollection: boolean;2895 readonly isCreateCollection: boolean;
2712 readonly asCreateCollection: {2896 readonly asCreateCollection: {
2812 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2996 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
2813 }2997 }
28142998
2815 /** @name RmrkTraitsResourceResourceTypes (297) */2999 /** @name RmrkTraitsResourceResourceTypes (320) */
2816 interface RmrkTraitsResourceResourceTypes extends Enum {3000 interface RmrkTraitsResourceResourceTypes extends Enum {
2817 readonly isBasic: boolean;3001 readonly isBasic: boolean;
2818 readonly asBasic: RmrkTraitsResourceBasicResource;3002 readonly asBasic: RmrkTraitsResourceBasicResource;
2823 readonly type: 'Basic' | 'Composable' | 'Slot';3007 readonly type: 'Basic' | 'Composable' | 'Slot';
2824 }3008 }
28253009
2826 /** @name RmrkTraitsResourceBasicResource (299) */3010 /** @name RmrkTraitsResourceBasicResource (322) */
2827 interface RmrkTraitsResourceBasicResource extends Struct {3011 interface RmrkTraitsResourceBasicResource extends Struct {
2828 readonly src: Option<Bytes>;3012 readonly src: Option<Bytes>;
2829 readonly metadata: Option<Bytes>;3013 readonly metadata: Option<Bytes>;
2830 readonly license: Option<Bytes>;3014 readonly license: Option<Bytes>;
2831 readonly thumb: Option<Bytes>;3015 readonly thumb: Option<Bytes>;
2832 }3016 }
28333017
2834 /** @name RmrkTraitsResourceComposableResource (301) */3018 /** @name RmrkTraitsResourceComposableResource (324) */
2835 interface RmrkTraitsResourceComposableResource extends Struct {3019 interface RmrkTraitsResourceComposableResource extends Struct {
2836 readonly parts: Vec<u32>;3020 readonly parts: Vec<u32>;
2837 readonly base: u32;3021 readonly base: u32;
2841 readonly thumb: Option<Bytes>;3025 readonly thumb: Option<Bytes>;
2842 }3026 }
28433027
2844 /** @name RmrkTraitsResourceSlotResource (302) */3028 /** @name RmrkTraitsResourceSlotResource (325) */
2845 interface RmrkTraitsResourceSlotResource extends Struct {3029 interface RmrkTraitsResourceSlotResource extends Struct {
2846 readonly base: u32;3030 readonly base: u32;
2847 readonly src: Option<Bytes>;3031 readonly src: Option<Bytes>;
2851 readonly thumb: Option<Bytes>;3035 readonly thumb: Option<Bytes>;
2852 }3036 }
28533037
2854 /** @name PalletRmrkEquipCall (305) */3038 /** @name PalletRmrkEquipCall (328) */
2855 interface PalletRmrkEquipCall extends Enum {3039 interface PalletRmrkEquipCall extends Enum {
2856 readonly isCreateBase: boolean;3040 readonly isCreateBase: boolean;
2857 readonly asCreateBase: {3041 readonly asCreateBase: {
2873 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3057 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
2874 }3058 }
28753059
2876 /** @name RmrkTraitsPartPartType (308) */3060 /** @name RmrkTraitsPartPartType (331) */
2877 interface RmrkTraitsPartPartType extends Enum {3061 interface RmrkTraitsPartPartType extends Enum {
2878 readonly isFixedPart: boolean;3062 readonly isFixedPart: boolean;
2879 readonly asFixedPart: RmrkTraitsPartFixedPart;3063 readonly asFixedPart: RmrkTraitsPartFixedPart;
2882 readonly type: 'FixedPart' | 'SlotPart';3066 readonly type: 'FixedPart' | 'SlotPart';
2883 }3067 }
28843068
2885 /** @name RmrkTraitsPartFixedPart (310) */3069 /** @name RmrkTraitsPartFixedPart (333) */
2886 interface RmrkTraitsPartFixedPart extends Struct {3070 interface RmrkTraitsPartFixedPart extends Struct {
2887 readonly id: u32;3071 readonly id: u32;
2888 readonly z: u32;3072 readonly z: u32;
2889 readonly src: Bytes;3073 readonly src: Bytes;
2890 }3074 }
28913075
2892 /** @name RmrkTraitsPartSlotPart (311) */3076 /** @name RmrkTraitsPartSlotPart (334) */
2893 interface RmrkTraitsPartSlotPart extends Struct {3077 interface RmrkTraitsPartSlotPart extends Struct {
2894 readonly id: u32;3078 readonly id: u32;
2895 readonly equippable: RmrkTraitsPartEquippableList;3079 readonly equippable: RmrkTraitsPartEquippableList;
2896 readonly src: Bytes;3080 readonly src: Bytes;
2897 readonly z: u32;3081 readonly z: u32;
2898 }3082 }
28993083
2900 /** @name RmrkTraitsPartEquippableList (312) */3084 /** @name RmrkTraitsPartEquippableList (335) */
2901 interface RmrkTraitsPartEquippableList extends Enum {3085 interface RmrkTraitsPartEquippableList extends Enum {
2902 readonly isAll: boolean;3086 readonly isAll: boolean;
2903 readonly isEmpty: boolean;3087 readonly isEmpty: boolean;
2906 readonly type: 'All' | 'Empty' | 'Custom';3090 readonly type: 'All' | 'Empty' | 'Custom';
2907 }3091 }
29083092
2909 /** @name RmrkTraitsTheme (314) */3093 /** @name RmrkTraitsTheme (337) */
2910 interface RmrkTraitsTheme extends Struct {3094 interface RmrkTraitsTheme extends Struct {
2911 readonly name: Bytes;3095 readonly name: Bytes;
2912 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3096 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
2913 readonly inherit: bool;3097 readonly inherit: bool;
2914 }3098 }
29153099
2916 /** @name RmrkTraitsThemeThemeProperty (316) */3100 /** @name RmrkTraitsThemeThemeProperty (339) */
2917 interface RmrkTraitsThemeThemeProperty extends Struct {3101 interface RmrkTraitsThemeThemeProperty extends Struct {
2918 readonly key: Bytes;3102 readonly key: Bytes;
2919 readonly value: Bytes;3103 readonly value: Bytes;
2920 }3104 }
29213105
2922 /** @name PalletAppPromotionCall (318) */3106 /** @name PalletAppPromotionCall (341) */
2923 interface PalletAppPromotionCall extends Enum {3107 interface PalletAppPromotionCall extends Enum {
2924 readonly isSetAdminAddress: boolean;3108 readonly isSetAdminAddress: boolean;
2925 readonly asSetAdminAddress: {3109 readonly asSetAdminAddress: {
2953 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3137 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
2954 }3138 }
29553139
2956 /** @name PalletForeignAssetsModuleCall (319) */3140 /** @name PalletForeignAssetsModuleCall (342) */
2957 interface PalletForeignAssetsModuleCall extends Enum {3141 interface PalletForeignAssetsModuleCall extends Enum {
2958 readonly isRegisterForeignAsset: boolean;3142 readonly isRegisterForeignAsset: boolean;
2959 readonly asRegisterForeignAsset: {3143 readonly asRegisterForeignAsset: {
2970 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3154 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
2971 }3155 }
29723156
2973 /** @name PalletEvmCall (320) */3157 /** @name PalletEvmCall (343) */
2974 interface PalletEvmCall extends Enum {3158 interface PalletEvmCall extends Enum {
2975 readonly isWithdraw: boolean;3159 readonly isWithdraw: boolean;
2976 readonly asWithdraw: {3160 readonly asWithdraw: {
3015 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3199 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
3016 }3200 }
30173201
3018 /** @name PalletEthereumCall (326) */3202 /** @name PalletEthereumCall (349) */
3019 interface PalletEthereumCall extends Enum {3203 interface PalletEthereumCall extends Enum {
3020 readonly isTransact: boolean;3204 readonly isTransact: boolean;
3021 readonly asTransact: {3205 readonly asTransact: {
3024 readonly type: 'Transact';3208 readonly type: 'Transact';
3025 }3209 }
30263210
3027 /** @name EthereumTransactionTransactionV2 (327) */3211 /** @name EthereumTransactionTransactionV2 (350) */
3028 interface EthereumTransactionTransactionV2 extends Enum {3212 interface EthereumTransactionTransactionV2 extends Enum {
3029 readonly isLegacy: boolean;3213 readonly isLegacy: boolean;
3030 readonly asLegacy: EthereumTransactionLegacyTransaction;3214 readonly asLegacy: EthereumTransactionLegacyTransaction;
3035 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3219 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3036 }3220 }
30373221
3038 /** @name EthereumTransactionLegacyTransaction (328) */3222 /** @name EthereumTransactionLegacyTransaction (351) */
3039 interface EthereumTransactionLegacyTransaction extends Struct {3223 interface EthereumTransactionLegacyTransaction extends Struct {
3040 readonly nonce: U256;3224 readonly nonce: U256;
3041 readonly gasPrice: U256;3225 readonly gasPrice: U256;
3046 readonly signature: EthereumTransactionTransactionSignature;3230 readonly signature: EthereumTransactionTransactionSignature;
3047 }3231 }
30483232
3049 /** @name EthereumTransactionTransactionAction (329) */3233 /** @name EthereumTransactionTransactionAction (352) */
3050 interface EthereumTransactionTransactionAction extends Enum {3234 interface EthereumTransactionTransactionAction extends Enum {
3051 readonly isCall: boolean;3235 readonly isCall: boolean;
3052 readonly asCall: H160;3236 readonly asCall: H160;
3053 readonly isCreate: boolean;3237 readonly isCreate: boolean;
3054 readonly type: 'Call' | 'Create';3238 readonly type: 'Call' | 'Create';
3055 }3239 }
30563240
3057 /** @name EthereumTransactionTransactionSignature (330) */3241 /** @name EthereumTransactionTransactionSignature (353) */
3058 interface EthereumTransactionTransactionSignature extends Struct {3242 interface EthereumTransactionTransactionSignature extends Struct {
3059 readonly v: u64;3243 readonly v: u64;
3060 readonly r: H256;3244 readonly r: H256;
3061 readonly s: H256;3245 readonly s: H256;
3062 }3246 }
30633247
3064 /** @name EthereumTransactionEip2930Transaction (332) */3248 /** @name EthereumTransactionEip2930Transaction (355) */
3065 interface EthereumTransactionEip2930Transaction extends Struct {3249 interface EthereumTransactionEip2930Transaction extends Struct {
3066 readonly chainId: u64;3250 readonly chainId: u64;
3067 readonly nonce: U256;3251 readonly nonce: U256;
3076 readonly s: H256;3260 readonly s: H256;
3077 }3261 }
30783262
3079 /** @name EthereumTransactionAccessListItem (334) */3263 /** @name EthereumTransactionAccessListItem (357) */
3080 interface EthereumTransactionAccessListItem extends Struct {3264 interface EthereumTransactionAccessListItem extends Struct {
3081 readonly address: H160;3265 readonly address: H160;
3082 readonly storageKeys: Vec<H256>;3266 readonly storageKeys: Vec<H256>;
3083 }3267 }
30843268
3085 /** @name EthereumTransactionEip1559Transaction (335) */3269 /** @name EthereumTransactionEip1559Transaction (358) */
3086 interface EthereumTransactionEip1559Transaction extends Struct {3270 interface EthereumTransactionEip1559Transaction extends Struct {
3087 readonly chainId: u64;3271 readonly chainId: u64;
3088 readonly nonce: U256;3272 readonly nonce: U256;
3098 readonly s: H256;3282 readonly s: H256;
3099 }3283 }
31003284
3101 /** @name PalletEvmMigrationCall (336) */3285 /** @name PalletEvmMigrationCall (359) */
3102 interface PalletEvmMigrationCall extends Enum {3286 interface PalletEvmMigrationCall extends Enum {
3103 readonly isBegin: boolean;3287 readonly isBegin: boolean;
3104 readonly asBegin: {3288 readonly asBegin: {
3125 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3309 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
3126 }3310 }
31273311
3128 /** @name PalletMaintenanceCall (340) */3312 /** @name PalletMaintenanceCall (363) */
3129 interface PalletMaintenanceCall extends Enum {3313 interface PalletMaintenanceCall extends Enum {
3130 readonly isEnable: boolean;3314 readonly isEnable: boolean;
3131 readonly isDisable: boolean;3315 readonly isDisable: boolean;
3132 readonly type: 'Enable' | 'Disable';3316 readonly type: 'Enable' | 'Disable';
3133 }3317 }
31343318
3135 /** @name PalletTestUtilsCall (341) */3319 /** @name PalletTestUtilsCall (364) */
3136 interface PalletTestUtilsCall extends Enum {3320 interface PalletTestUtilsCall extends Enum {
3137 readonly isEnable: boolean;3321 readonly isEnable: boolean;
3138 readonly isSetTestValue: boolean;3322 readonly isSetTestValue: boolean;
3152 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3336 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
3153 }3337 }
31543338
3155 /** @name PalletSudoError (343) */3339 /** @name PalletSudoError (366) */
3156 interface PalletSudoError extends Enum {3340 interface PalletSudoError extends Enum {
3157 readonly isRequireSudo: boolean;3341 readonly isRequireSudo: boolean;
3158 readonly type: 'RequireSudo';3342 readonly type: 'RequireSudo';
3159 }3343 }
31603344
3161 /** @name OrmlVestingModuleError (345) */3345 /** @name OrmlVestingModuleError (368) */
3162 interface OrmlVestingModuleError extends Enum {3346 interface OrmlVestingModuleError extends Enum {
3163 readonly isZeroVestingPeriod: boolean;3347 readonly isZeroVestingPeriod: boolean;
3164 readonly isZeroVestingPeriodCount: boolean;3348 readonly isZeroVestingPeriodCount: boolean;
3169 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3353 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
3170 }3354 }
31713355
3172 /** @name OrmlXtokensModuleError (346) */3356 /** @name OrmlXtokensModuleError (369) */
3173 interface OrmlXtokensModuleError extends Enum {3357 interface OrmlXtokensModuleError extends Enum {
3174 readonly isAssetHasNoReserve: boolean;3358 readonly isAssetHasNoReserve: boolean;
3175 readonly isNotCrossChainTransfer: boolean;3359 readonly isNotCrossChainTransfer: boolean;
3193 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3377 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
3194 }3378 }
31953379
3196 /** @name OrmlTokensBalanceLock (349) */3380 /** @name OrmlTokensBalanceLock (372) */
3197 interface OrmlTokensBalanceLock extends Struct {3381 interface OrmlTokensBalanceLock extends Struct {
3198 readonly id: U8aFixed;3382 readonly id: U8aFixed;
3199 readonly amount: u128;3383 readonly amount: u128;
3200 }3384 }
32013385
3202 /** @name OrmlTokensAccountData (351) */3386 /** @name OrmlTokensAccountData (374) */
3203 interface OrmlTokensAccountData extends Struct {3387 interface OrmlTokensAccountData extends Struct {
3204 readonly free: u128;3388 readonly free: u128;
3205 readonly reserved: u128;3389 readonly reserved: u128;
3206 readonly frozen: u128;3390 readonly frozen: u128;
3207 }3391 }
32083392
3209 /** @name OrmlTokensReserveData (353) */3393 /** @name OrmlTokensReserveData (376) */
3210 interface OrmlTokensReserveData extends Struct {3394 interface OrmlTokensReserveData extends Struct {
3211 readonly id: Null;3395 readonly id: Null;
3212 readonly amount: u128;3396 readonly amount: u128;
3213 }3397 }
32143398
3215 /** @name OrmlTokensModuleError (355) */3399 /** @name OrmlTokensModuleError (378) */
3216 interface OrmlTokensModuleError extends Enum {3400 interface OrmlTokensModuleError extends Enum {
3217 readonly isBalanceTooLow: boolean;3401 readonly isBalanceTooLow: boolean;
3218 readonly isAmountIntoBalanceFailed: boolean;3402 readonly isAmountIntoBalanceFailed: boolean;
3225 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3409 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
3226 }3410 }
32273411
3228 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3412 /** @name CumulusPalletXcmpQueueInboundChannelDetails (380) */
3229 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3413 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
3230 readonly sender: u32;3414 readonly sender: u32;
3231 readonly state: CumulusPalletXcmpQueueInboundState;3415 readonly state: CumulusPalletXcmpQueueInboundState;
3232 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3416 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
3233 }3417 }
32343418
3235 /** @name CumulusPalletXcmpQueueInboundState (358) */3419 /** @name CumulusPalletXcmpQueueInboundState (381) */
3236 interface CumulusPalletXcmpQueueInboundState extends Enum {3420 interface CumulusPalletXcmpQueueInboundState extends Enum {
3237 readonly isOk: boolean;3421 readonly isOk: boolean;
3238 readonly isSuspended: boolean;3422 readonly isSuspended: boolean;
3239 readonly type: 'Ok' | 'Suspended';3423 readonly type: 'Ok' | 'Suspended';
3240 }3424 }
32413425
3242 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3426 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (384) */
3243 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3427 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
3244 readonly isConcatenatedVersionedXcm: boolean;3428 readonly isConcatenatedVersionedXcm: boolean;
3245 readonly isConcatenatedEncodedBlob: boolean;3429 readonly isConcatenatedEncodedBlob: boolean;
3246 readonly isSignals: boolean;3430 readonly isSignals: boolean;
3247 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3431 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
3248 }3432 }
32493433
3250 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3434 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (387) */
3251 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3435 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
3252 readonly recipient: u32;3436 readonly recipient: u32;
3253 readonly state: CumulusPalletXcmpQueueOutboundState;3437 readonly state: CumulusPalletXcmpQueueOutboundState;
3256 readonly lastIndex: u16;3440 readonly lastIndex: u16;
3257 }3441 }
32583442
3259 /** @name CumulusPalletXcmpQueueOutboundState (365) */3443 /** @name CumulusPalletXcmpQueueOutboundState (388) */
3260 interface CumulusPalletXcmpQueueOutboundState extends Enum {3444 interface CumulusPalletXcmpQueueOutboundState extends Enum {
3261 readonly isOk: boolean;3445 readonly isOk: boolean;
3262 readonly isSuspended: boolean;3446 readonly isSuspended: boolean;
3263 readonly type: 'Ok' | 'Suspended';3447 readonly type: 'Ok' | 'Suspended';
3264 }3448 }
32653449
3266 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3450 /** @name CumulusPalletXcmpQueueQueueConfigData (390) */
3267 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3451 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
3268 readonly suspendThreshold: u32;3452 readonly suspendThreshold: u32;
3269 readonly dropThreshold: u32;3453 readonly dropThreshold: u32;
3273 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3457 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
3274 }3458 }
32753459
3276 /** @name CumulusPalletXcmpQueueError (369) */3460 /** @name CumulusPalletXcmpQueueError (392) */
3277 interface CumulusPalletXcmpQueueError extends Enum {3461 interface CumulusPalletXcmpQueueError extends Enum {
3278 readonly isFailedToSend: boolean;3462 readonly isFailedToSend: boolean;
3279 readonly isBadXcmOrigin: boolean;3463 readonly isBadXcmOrigin: boolean;
3283 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3467 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
3284 }3468 }
32853469
3286 /** @name PalletXcmError (370) */3470 /** @name PalletXcmError (393) */
3287 interface PalletXcmError extends Enum {3471 interface PalletXcmError extends Enum {
3288 readonly isUnreachable: boolean;3472 readonly isUnreachable: boolean;
3289 readonly isSendFailure: boolean;3473 readonly isSendFailure: boolean;
3301 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3485 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
3302 }3486 }
33033487
3304 /** @name CumulusPalletXcmError (371) */3488 /** @name CumulusPalletXcmError (394) */
3305 type CumulusPalletXcmError = Null;3489 type CumulusPalletXcmError = Null;
33063490
3307 /** @name CumulusPalletDmpQueueConfigData (372) */3491 /** @name CumulusPalletDmpQueueConfigData (395) */
3308 interface CumulusPalletDmpQueueConfigData extends Struct {3492 interface CumulusPalletDmpQueueConfigData extends Struct {
3309 readonly maxIndividual: SpWeightsWeightV2Weight;3493 readonly maxIndividual: SpWeightsWeightV2Weight;
3310 }3494 }
33113495
3312 /** @name CumulusPalletDmpQueuePageIndexData (373) */3496 /** @name CumulusPalletDmpQueuePageIndexData (396) */
3313 interface CumulusPalletDmpQueuePageIndexData extends Struct {3497 interface CumulusPalletDmpQueuePageIndexData extends Struct {
3314 readonly beginUsed: u32;3498 readonly beginUsed: u32;
3315 readonly endUsed: u32;3499 readonly endUsed: u32;
3316 readonly overweightCount: u64;3500 readonly overweightCount: u64;
3317 }3501 }
33183502
3319 /** @name CumulusPalletDmpQueueError (376) */3503 /** @name CumulusPalletDmpQueueError (399) */
3320 interface CumulusPalletDmpQueueError extends Enum {3504 interface CumulusPalletDmpQueueError extends Enum {
3321 readonly isUnknown: boolean;3505 readonly isUnknown: boolean;
3322 readonly isOverLimit: boolean;3506 readonly isOverLimit: boolean;
3323 readonly type: 'Unknown' | 'OverLimit';3507 readonly type: 'Unknown' | 'OverLimit';
3324 }3508 }
33253509
3326 /** @name PalletUniqueError (380) */3510 /** @name PalletUniqueError (403) */
3327 interface PalletUniqueError extends Enum {3511 interface PalletUniqueError extends Enum {
3328 readonly isCollectionDecimalPointLimitExceeded: boolean;3512 readonly isCollectionDecimalPointLimitExceeded: boolean;
3329 readonly isEmptyArgument: boolean;3513 readonly isEmptyArgument: boolean;
3330 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3514 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;
3331 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3515 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
3332 }3516 }
33333517
3334 /** @name PalletConfigurationError (381) */3518 /** @name PalletConfigurationError (404) */
3335 interface PalletConfigurationError extends Enum {3519 interface PalletConfigurationError extends Enum {
3336 readonly isInconsistentConfiguration: boolean;3520 readonly isInconsistentConfiguration: boolean;
3337 readonly type: 'InconsistentConfiguration';3521 readonly type: 'InconsistentConfiguration';
3338 }3522 }
33393523
3340 /** @name UpDataStructsCollection (382) */3524 /** @name UpDataStructsCollection (405) */
3341 interface UpDataStructsCollection extends Struct {3525 interface UpDataStructsCollection extends Struct {
3342 readonly owner: AccountId32;3526 readonly owner: AccountId32;
3343 readonly mode: UpDataStructsCollectionMode;3527 readonly mode: UpDataStructsCollectionMode;
3350 readonly flags: U8aFixed;3534 readonly flags: U8aFixed;
3351 }3535 }
33523536
3353 /** @name UpDataStructsSponsorshipStateAccountId32 (383) */3537 /** @name UpDataStructsSponsorshipStateAccountId32 (406) */
3354 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3538 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
3355 readonly isDisabled: boolean;3539 readonly isDisabled: boolean;
3356 readonly isUnconfirmed: boolean;3540 readonly isUnconfirmed: boolean;
3360 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3544 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3361 }3545 }
33623546
3363 /** @name UpDataStructsProperties (385) */3547 /** @name UpDataStructsProperties (408) */
3364 interface UpDataStructsProperties extends Struct {3548 interface UpDataStructsProperties extends Struct {
3365 readonly map: UpDataStructsPropertiesMapBoundedVec;3549 readonly map: UpDataStructsPropertiesMapBoundedVec;
3366 readonly consumedSpace: u32;3550 readonly consumedSpace: u32;
3367 readonly spaceLimit: u32;3551 readonly spaceLimit: u32;
3368 }3552 }
33693553
3370 /** @name UpDataStructsPropertiesMapBoundedVec (386) */3554 /** @name UpDataStructsPropertiesMapBoundedVec (409) */
3371 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3555 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
33723556
3373 /** @name UpDataStructsPropertiesMapPropertyPermission (391) */3557 /** @name UpDataStructsPropertiesMapPropertyPermission (414) */
3374 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3558 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
33753559
3376 /** @name UpDataStructsCollectionStats (398) */3560 /** @name UpDataStructsCollectionStats (421) */
3377 interface UpDataStructsCollectionStats extends Struct {3561 interface UpDataStructsCollectionStats extends Struct {
3378 readonly created: u32;3562 readonly created: u32;
3379 readonly destroyed: u32;3563 readonly destroyed: u32;
3380 readonly alive: u32;3564 readonly alive: u32;
3381 }3565 }
33823566
3383 /** @name UpDataStructsTokenChild (399) */3567 /** @name UpDataStructsTokenChild (422) */
3384 interface UpDataStructsTokenChild extends Struct {3568 interface UpDataStructsTokenChild extends Struct {
3385 readonly token: u32;3569 readonly token: u32;
3386 readonly collection: u32;3570 readonly collection: u32;
3387 }3571 }
33883572
3389 /** @name PhantomTypeUpDataStructs (400) */3573 /** @name PhantomTypeUpDataStructs (423) */
3390 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3574 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
33913575
3392 /** @name UpDataStructsTokenData (402) */3576 /** @name UpDataStructsTokenData (425) */
3393 interface UpDataStructsTokenData extends Struct {3577 interface UpDataStructsTokenData extends Struct {
3394 readonly properties: Vec<UpDataStructsProperty>;3578 readonly properties: Vec<UpDataStructsProperty>;
3395 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3579 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
3396 readonly pieces: u128;3580 readonly pieces: u128;
3397 }3581 }
33983582
3399 /** @name UpDataStructsRpcCollection (404) */3583 /** @name UpDataStructsRpcCollection (427) */
3400 interface UpDataStructsRpcCollection extends Struct {3584 interface UpDataStructsRpcCollection extends Struct {
3401 readonly owner: AccountId32;3585 readonly owner: AccountId32;
3402 readonly mode: UpDataStructsCollectionMode;3586 readonly mode: UpDataStructsCollectionMode;
3412 readonly flags: UpDataStructsRpcCollectionFlags;3596 readonly flags: UpDataStructsRpcCollectionFlags;
3413 }3597 }
34143598
3415 /** @name UpDataStructsRpcCollectionFlags (405) */3599 /** @name UpDataStructsRpcCollectionFlags (428) */
3416 interface UpDataStructsRpcCollectionFlags extends Struct {3600 interface UpDataStructsRpcCollectionFlags extends Struct {
3417 readonly foreign: bool;3601 readonly foreign: bool;
3418 readonly erc721metadata: bool;3602 readonly erc721metadata: bool;
3419 }3603 }
34203604
3421 /** @name RmrkTraitsCollectionCollectionInfo (406) */3605 /** @name RmrkTraitsCollectionCollectionInfo (429) */
3422 interface RmrkTraitsCollectionCollectionInfo extends Struct {3606 interface RmrkTraitsCollectionCollectionInfo extends Struct {
3423 readonly issuer: AccountId32;3607 readonly issuer: AccountId32;
3424 readonly metadata: Bytes;3608 readonly metadata: Bytes;
3427 readonly nftsCount: u32;3611 readonly nftsCount: u32;
3428 }3612 }
34293613
3430 /** @name RmrkTraitsNftNftInfo (407) */3614 /** @name RmrkTraitsNftNftInfo (430) */
3431 interface RmrkTraitsNftNftInfo extends Struct {3615 interface RmrkTraitsNftNftInfo extends Struct {
3432 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3616 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
3433 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3617 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
3436 readonly pending: bool;3620 readonly pending: bool;
3437 }3621 }
34383622
3439 /** @name RmrkTraitsNftRoyaltyInfo (409) */3623 /** @name RmrkTraitsNftRoyaltyInfo (432) */
3440 interface RmrkTraitsNftRoyaltyInfo extends Struct {3624 interface RmrkTraitsNftRoyaltyInfo extends Struct {
3441 readonly recipient: AccountId32;3625 readonly recipient: AccountId32;
3442 readonly amount: Permill;3626 readonly amount: Permill;
3443 }3627 }
34443628
3445 /** @name RmrkTraitsResourceResourceInfo (410) */3629 /** @name RmrkTraitsResourceResourceInfo (433) */
3446 interface RmrkTraitsResourceResourceInfo extends Struct {3630 interface RmrkTraitsResourceResourceInfo extends Struct {
3447 readonly id: u32;3631 readonly id: u32;
3448 readonly resource: RmrkTraitsResourceResourceTypes;3632 readonly resource: RmrkTraitsResourceResourceTypes;
3449 readonly pending: bool;3633 readonly pending: bool;
3450 readonly pendingRemoval: bool;3634 readonly pendingRemoval: bool;
3451 }3635 }
34523636
3453 /** @name RmrkTraitsPropertyPropertyInfo (411) */3637 /** @name RmrkTraitsPropertyPropertyInfo (434) */
3454 interface RmrkTraitsPropertyPropertyInfo extends Struct {3638 interface RmrkTraitsPropertyPropertyInfo extends Struct {
3455 readonly key: Bytes;3639 readonly key: Bytes;
3456 readonly value: Bytes;3640 readonly value: Bytes;
3457 }3641 }
34583642
3459 /** @name RmrkTraitsBaseBaseInfo (412) */3643 /** @name RmrkTraitsBaseBaseInfo (435) */
3460 interface RmrkTraitsBaseBaseInfo extends Struct {3644 interface RmrkTraitsBaseBaseInfo extends Struct {
3461 readonly issuer: AccountId32;3645 readonly issuer: AccountId32;
3462 readonly baseType: Bytes;3646 readonly baseType: Bytes;
3463 readonly symbol: Bytes;3647 readonly symbol: Bytes;
3464 }3648 }
34653649
3466 /** @name RmrkTraitsNftNftChild (413) */3650 /** @name RmrkTraitsNftNftChild (436) */
3467 interface RmrkTraitsNftNftChild extends Struct {3651 interface RmrkTraitsNftNftChild extends Struct {
3468 readonly collectionId: u32;3652 readonly collectionId: u32;
3469 readonly nftId: u32;3653 readonly nftId: u32;
3470 }3654 }
34713655
3472 /** @name PalletCommonError (415) */3656 /** @name PalletCommonError (438) */
3473 interface PalletCommonError extends Enum {3657 interface PalletCommonError extends Enum {
3474 readonly isCollectionNotFound: boolean;3658 readonly isCollectionNotFound: boolean;
3475 readonly isMustBeTokenOwner: boolean;3659 readonly isMustBeTokenOwner: boolean;
3510 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3694 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
3511 }3695 }
35123696
3513 /** @name PalletFungibleError (417) */3697 /** @name PalletFungibleError (440) */
3514 interface PalletFungibleError extends Enum {3698 interface PalletFungibleError extends Enum {
3515 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3699 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
3516 readonly isFungibleItemsHaveNoId: boolean;3700 readonly isFungibleItemsHaveNoId: boolean;
3522 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3706 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
3523 }3707 }
35243708
3525 /** @name PalletRefungibleItemData (418) */3709 /** @name PalletRefungibleItemData (441) */
3526 interface PalletRefungibleItemData extends Struct {3710 interface PalletRefungibleItemData extends Struct {
3527 readonly constData: Bytes;3711 readonly constData: Bytes;
3528 }3712 }
35293713
3530 /** @name PalletRefungibleError (423) */3714 /** @name PalletRefungibleError (446) */
3531 interface PalletRefungibleError extends Enum {3715 interface PalletRefungibleError extends Enum {
3532 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3716 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
3533 readonly isWrongRefungiblePieces: boolean;3717 readonly isWrongRefungiblePieces: boolean;
3537 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3721 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
3538 }3722 }
35393723
3540 /** @name PalletNonfungibleItemData (424) */3724 /** @name PalletNonfungibleItemData (447) */
3541 interface PalletNonfungibleItemData extends Struct {3725 interface PalletNonfungibleItemData extends Struct {
3542 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3726 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
3543 }3727 }
35443728
3545 /** @name UpDataStructsPropertyScope (426) */3729 /** @name UpDataStructsPropertyScope (449) */
3546 interface UpDataStructsPropertyScope extends Enum {3730 interface UpDataStructsPropertyScope extends Enum {
3547 readonly isNone: boolean;3731 readonly isNone: boolean;
3548 readonly isRmrk: boolean;3732 readonly isRmrk: boolean;
3549 readonly type: 'None' | 'Rmrk';3733 readonly type: 'None' | 'Rmrk';
3550 }3734 }
35513735
3552 /** @name PalletNonfungibleError (428) */3736 /** @name PalletNonfungibleError (451) */
3553 interface PalletNonfungibleError extends Enum {3737 interface PalletNonfungibleError extends Enum {
3554 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3738 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
3555 readonly isNonfungibleItemsHaveNoAmount: boolean;3739 readonly isNonfungibleItemsHaveNoAmount: boolean;
3556 readonly isCantBurnNftWithChildren: boolean;3740 readonly isCantBurnNftWithChildren: boolean;
3557 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3741 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
3558 }3742 }
35593743
3560 /** @name PalletStructureError (429) */3744 /** @name PalletStructureError (452) */
3561 interface PalletStructureError extends Enum {3745 interface PalletStructureError extends Enum {
3562 readonly isOuroborosDetected: boolean;3746 readonly isOuroborosDetected: boolean;
3563 readonly isDepthLimit: boolean;3747 readonly isDepthLimit: boolean;
3566 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3750 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
3567 }3751 }
35683752
3569 /** @name PalletRmrkCoreError (430) */3753 /** @name PalletRmrkCoreError (453) */
3570 interface PalletRmrkCoreError extends Enum {3754 interface PalletRmrkCoreError extends Enum {
3571 readonly isCorruptedCollectionType: boolean;3755 readonly isCorruptedCollectionType: boolean;
3572 readonly isRmrkPropertyKeyIsTooLong: boolean;3756 readonly isRmrkPropertyKeyIsTooLong: boolean;
3590 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3774 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
3591 }3775 }
35923776
3593 /** @name PalletRmrkEquipError (432) */3777 /** @name PalletRmrkEquipError (455) */
3594 interface PalletRmrkEquipError extends Enum {3778 interface PalletRmrkEquipError extends Enum {
3595 readonly isPermissionError: boolean;3779 readonly isPermissionError: boolean;
3596 readonly isNoAvailableBaseId: boolean;3780 readonly isNoAvailableBaseId: boolean;
3602 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3786 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
3603 }3787 }
36043788
3605 /** @name PalletAppPromotionError (438) */3789 /** @name PalletAppPromotionError (461) */
3606 interface PalletAppPromotionError extends Enum {3790 interface PalletAppPromotionError extends Enum {
3607 readonly isAdminNotSet: boolean;3791 readonly isAdminNotSet: boolean;
3608 readonly isNoPermission: boolean;3792 readonly isNoPermission: boolean;
3613 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3797 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
3614 }3798 }
36153799
3616 /** @name PalletForeignAssetsModuleError (439) */3800 /** @name PalletForeignAssetsModuleError (462) */
3617 interface PalletForeignAssetsModuleError extends Enum {3801 interface PalletForeignAssetsModuleError extends Enum {
3618 readonly isBadLocation: boolean;3802 readonly isBadLocation: boolean;
3619 readonly isMultiLocationExisted: boolean;3803 readonly isMultiLocationExisted: boolean;
3622 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3806 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
3623 }3807 }
36243808
3625 /** @name PalletEvmError (441) */3809 /** @name PalletEvmError (464) */
3626 interface PalletEvmError extends Enum {3810 interface PalletEvmError extends Enum {
3627 readonly isBalanceLow: boolean;3811 readonly isBalanceLow: boolean;
3628 readonly isFeeOverflow: boolean;3812 readonly isFeeOverflow: boolean;
3637 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3821 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
3638 }3822 }
36393823
3640 /** @name FpRpcTransactionStatus (444) */3824 /** @name FpRpcTransactionStatus (467) */
3641 interface FpRpcTransactionStatus extends Struct {3825 interface FpRpcTransactionStatus extends Struct {
3642 readonly transactionHash: H256;3826 readonly transactionHash: H256;
3643 readonly transactionIndex: u32;3827 readonly transactionIndex: u32;
3648 readonly logsBloom: EthbloomBloom;3832 readonly logsBloom: EthbloomBloom;
3649 }3833 }
36503834
3651 /** @name EthbloomBloom (446) */3835 /** @name EthbloomBloom (469) */
3652 interface EthbloomBloom extends U8aFixed {}3836 interface EthbloomBloom extends U8aFixed {}
36533837
3654 /** @name EthereumReceiptReceiptV3 (448) */3838 /** @name EthereumReceiptReceiptV3 (471) */
3655 interface EthereumReceiptReceiptV3 extends Enum {3839 interface EthereumReceiptReceiptV3 extends Enum {
3656 readonly isLegacy: boolean;3840 readonly isLegacy: boolean;
3657 readonly asLegacy: EthereumReceiptEip658ReceiptData;3841 readonly asLegacy: EthereumReceiptEip658ReceiptData;
3662 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3846 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3663 }3847 }
36643848
3665 /** @name EthereumReceiptEip658ReceiptData (449) */3849 /** @name EthereumReceiptEip658ReceiptData (472) */
3666 interface EthereumReceiptEip658ReceiptData extends Struct {3850 interface EthereumReceiptEip658ReceiptData extends Struct {
3667 readonly statusCode: u8;3851 readonly statusCode: u8;
3668 readonly usedGas: U256;3852 readonly usedGas: U256;
3669 readonly logsBloom: EthbloomBloom;3853 readonly logsBloom: EthbloomBloom;
3670 readonly logs: Vec<EthereumLog>;3854 readonly logs: Vec<EthereumLog>;
3671 }3855 }
36723856
3673 /** @name EthereumBlock (450) */3857 /** @name EthereumBlock (473) */
3674 interface EthereumBlock extends Struct {3858 interface EthereumBlock extends Struct {
3675 readonly header: EthereumHeader;3859 readonly header: EthereumHeader;
3676 readonly transactions: Vec<EthereumTransactionTransactionV2>;3860 readonly transactions: Vec<EthereumTransactionTransactionV2>;
3677 readonly ommers: Vec<EthereumHeader>;3861 readonly ommers: Vec<EthereumHeader>;
3678 }3862 }
36793863
3680 /** @name EthereumHeader (451) */3864 /** @name EthereumHeader (474) */
3681 interface EthereumHeader extends Struct {3865 interface EthereumHeader extends Struct {
3682 readonly parentHash: H256;3866 readonly parentHash: H256;
3683 readonly ommersHash: H256;3867 readonly ommersHash: H256;
3696 readonly nonce: EthereumTypesHashH64;3880 readonly nonce: EthereumTypesHashH64;
3697 }3881 }
36983882
3699 /** @name EthereumTypesHashH64 (452) */3883 /** @name EthereumTypesHashH64 (475) */
3700 interface EthereumTypesHashH64 extends U8aFixed {}3884 interface EthereumTypesHashH64 extends U8aFixed {}
37013885
3702 /** @name PalletEthereumError (457) */3886 /** @name PalletEthereumError (480) */
3703 interface PalletEthereumError extends Enum {3887 interface PalletEthereumError extends Enum {
3704 readonly isInvalidSignature: boolean;3888 readonly isInvalidSignature: boolean;
3705 readonly isPreLogExists: boolean;3889 readonly isPreLogExists: boolean;
3706 readonly type: 'InvalidSignature' | 'PreLogExists';3890 readonly type: 'InvalidSignature' | 'PreLogExists';
3707 }3891 }
37083892
3709 /** @name PalletEvmCoderSubstrateError (458) */3893 /** @name PalletEvmCoderSubstrateError (481) */
3710 interface PalletEvmCoderSubstrateError extends Enum {3894 interface PalletEvmCoderSubstrateError extends Enum {
3711 readonly isOutOfGas: boolean;3895 readonly isOutOfGas: boolean;
3712 readonly isOutOfFund: boolean;3896 readonly isOutOfFund: boolean;
3713 readonly type: 'OutOfGas' | 'OutOfFund';3897 readonly type: 'OutOfGas' | 'OutOfFund';
3714 }3898 }
37153899
3716 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (459) */3900 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (482) */
3717 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3901 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
3718 readonly isDisabled: boolean;3902 readonly isDisabled: boolean;
3719 readonly isUnconfirmed: boolean;3903 readonly isUnconfirmed: boolean;
3723 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3907 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3724 }3908 }
37253909
3726 /** @name PalletEvmContractHelpersSponsoringModeT (460) */3910 /** @name PalletEvmContractHelpersSponsoringModeT (483) */
3727 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3911 interface PalletEvmContractHelpersSponsoringModeT extends Enum {
3728 readonly isDisabled: boolean;3912 readonly isDisabled: boolean;
3729 readonly isAllowlisted: boolean;3913 readonly isAllowlisted: boolean;
3730 readonly isGenerous: boolean;3914 readonly isGenerous: boolean;
3731 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3915 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
3732 }3916 }
37333917
3734 /** @name PalletEvmContractHelpersError (466) */3918 /** @name PalletEvmContractHelpersError (489) */
3735 interface PalletEvmContractHelpersError extends Enum {3919 interface PalletEvmContractHelpersError extends Enum {
3736 readonly isNoPermission: boolean;3920 readonly isNoPermission: boolean;
3737 readonly isNoPendingSponsor: boolean;3921 readonly isNoPendingSponsor: boolean;
3738 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3922 readonly isTooManyMethodsHaveSponsoredLimit: boolean;
3739 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3923 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
3740 }3924 }
37413925
3742 /** @name PalletEvmMigrationError (467) */3926 /** @name PalletEvmMigrationError (490) */
3743 interface PalletEvmMigrationError extends Enum {3927 interface PalletEvmMigrationError extends Enum {
3744 readonly isAccountNotEmpty: boolean;3928 readonly isAccountNotEmpty: boolean;
3745 readonly isAccountIsNotMigrating: boolean;3929 readonly isAccountIsNotMigrating: boolean;
3746 readonly isBadEvent: boolean;3930 readonly isBadEvent: boolean;
3747 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3931 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
3748 }3932 }
37493933
3750 /** @name PalletMaintenanceError (468) */3934 /** @name PalletMaintenanceError (491) */
3751 type PalletMaintenanceError = Null;3935 type PalletMaintenanceError = Null;
37523936
3753 /** @name PalletTestUtilsError (469) */3937 /** @name PalletTestUtilsError (492) */
3754 interface PalletTestUtilsError extends Enum {3938 interface PalletTestUtilsError extends Enum {
3755 readonly isTestPalletDisabled: boolean;3939 readonly isTestPalletDisabled: boolean;
3756 readonly isTriggerRollback: boolean;3940 readonly isTriggerRollback: boolean;
3757 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3941 readonly type: 'TestPalletDisabled' | 'TriggerRollback';
3758 }3942 }
37593943
3760 /** @name SpRuntimeMultiSignature (471) */3944 /** @name SpRuntimeMultiSignature (494) */
3761 interface SpRuntimeMultiSignature extends Enum {3945 interface SpRuntimeMultiSignature extends Enum {
3762 readonly isEd25519: boolean;3946 readonly isEd25519: boolean;
3763 readonly asEd25519: SpCoreEd25519Signature;3947 readonly asEd25519: SpCoreEd25519Signature;
3768 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3952 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
3769 }3953 }
37703954
3771 /** @name SpCoreEd25519Signature (472) */3955 /** @name SpCoreEd25519Signature (495) */
3772 interface SpCoreEd25519Signature extends U8aFixed {}3956 interface SpCoreEd25519Signature extends U8aFixed {}
37733957
3774 /** @name SpCoreSr25519Signature (474) */3958 /** @name SpCoreSr25519Signature (497) */
3775 interface SpCoreSr25519Signature extends U8aFixed {}3959 interface SpCoreSr25519Signature extends U8aFixed {}
37763960
3777 /** @name SpCoreEcdsaSignature (475) */3961 /** @name SpCoreEcdsaSignature (498) */
3778 interface SpCoreEcdsaSignature extends U8aFixed {}3962 interface SpCoreEcdsaSignature extends U8aFixed {}
37793963
3780 /** @name FrameSystemExtensionsCheckSpecVersion (478) */3964 /** @name FrameSystemExtensionsCheckSpecVersion (501) */
3781 type FrameSystemExtensionsCheckSpecVersion = Null;3965 type FrameSystemExtensionsCheckSpecVersion = Null;
37823966
3783 /** @name FrameSystemExtensionsCheckTxVersion (479) */3967 /** @name FrameSystemExtensionsCheckTxVersion (502) */
3784 type FrameSystemExtensionsCheckTxVersion = Null;3968 type FrameSystemExtensionsCheckTxVersion = Null;
37853969
3786 /** @name FrameSystemExtensionsCheckGenesis (480) */3970 /** @name FrameSystemExtensionsCheckGenesis (503) */
3787 type FrameSystemExtensionsCheckGenesis = Null;3971 type FrameSystemExtensionsCheckGenesis = Null;
37883972
3789 /** @name FrameSystemExtensionsCheckNonce (483) */3973 /** @name FrameSystemExtensionsCheckNonce (506) */
3790 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3974 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
37913975
3792 /** @name FrameSystemExtensionsCheckWeight (484) */3976 /** @name FrameSystemExtensionsCheckWeight (507) */
3793 type FrameSystemExtensionsCheckWeight = Null;3977 type FrameSystemExtensionsCheckWeight = Null;
37943978
3795 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (485) */3979 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (508) */
3796 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;3980 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
37973981
3798 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (486) */3982 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (509) */
3799 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3983 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
38003984
3801 /** @name OpalRuntimeRuntime (487) */3985 /** @name OpalRuntimeRuntime (510) */
3802 type OpalRuntimeRuntime = Null;3986 type OpalRuntimeRuntime = Null;
38033987
3804 /** @name PalletEthereumFakeTransactionFinalizer (488) */3988 /** @name PalletEthereumFakeTransactionFinalizer (511) */
3805 type PalletEthereumFakeTransactionFinalizer = Null;3989 type PalletEthereumFakeTransactionFinalizer = Null;
38063990
3807} // declare module3991} // declare module
modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
445 return promise;445 return promise;
446 }446 }
447
448 /**
449 * Wait for the specified number of sessions to pass.
450 * Only applicable if the Session pallet is turned on.
451 * @param sessionCount number of sessions to wait
452 * @param blockTimeout time in ms until panicking that the chain has stopped producing blocks
453 * @returns
454 */
455 async newSessions(sessionCount = 1, blockTimeout = 60000): Promise<void> {
456 console.log(`Waiting for ${sessionCount} new session${sessionCount > 1 ? 's' : ''}.`
457 + ' This might take a while -- check SessionPeriod in pallet_session::Config for session time.');
458
459 const expectedSessionIndex = await this.helper.session.getIndex() + sessionCount;
460 let currentSessionIndex = -1;
461
462 while (currentSessionIndex < expectedSessionIndex) {
463 // eslint-disable-next-line no-async-promise-executor
464 currentSessionIndex = await this.withTimeout(new Promise(async (resolve) => {
465 await this.newBlocks(1);
466 const res = this.helper.session.getIndex();
467 resolve(res);
468 }), blockTimeout, 'The chain has stopped producing blocks!');
469 }
470 }
447471
448 async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) {472 async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) {
449 timeout = timeout ?? 30 * 60 * 1000;473 timeout = timeout ?? 30 * 60 * 1000;
modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
11import {IKeyringPair} from '@polkadot/types/types';11import {IKeyringPair} from '@polkadot/types/types';
12import {hexToU8a} from '@polkadot/util/hex';12import {hexToU8a} from '@polkadot/util/hex';
13import {u8aConcat} from '@polkadot/util/u8a';13import {u8aConcat} from '@polkadot/util/u8a';
14import {BN} from '@polkadot/util/bn';
15import {14import {
16 IApiListeners,15 IApiListeners,
17 IBlock,16 IBlock,
46import {RuntimeDispatchInfo} from '@polkadot/types/interfaces';45import {RuntimeDispatchInfo} from '@polkadot/types/interfaces';
47import type {Vec} from '@polkadot/types-codec';46import type {Vec} from '@polkadot/types-codec';
48import {FrameSystemEventRecord} from '@polkadot/types/lookup';47import {FrameSystemEventRecord} from '@polkadot/types/lookup';
48import {DevUniqueHelper} from './unique.dev';
4949
50export class CrossAccountId implements ICrossAccountId {50export class CrossAccountId implements ICrossAccountId {
51 Substrate?: TSubstrateAccount;51 Substrate?: TSubstrateAccount;
376 children: ChainHelperBase[];376 children: ChainHelperBase[];
377 address: AddressGroup;377 address: AddressGroup;
378 chain: ChainGroup;378 chain: ChainGroup;
379 session: SessionGroup;
379380
380 constructor(logger?: ILogger, helperBase?: any) {381 constructor(logger?: ILogger, helperBase?: any) {
381 this.helperBase = helperBase;382 this.helperBase = helperBase;
391 this.children = [];392 this.children = [];
392 this.address = new AddressGroup(this);393 this.address = new AddressGroup(this);
393 this.chain = new ChainGroup(this);394 this.chain = new ChainGroup(this);
395 this.session = new SessionGroup(this);
394 }396 }
395397
396 clone(helperCls: ChainHelperBaseConstructor, options: {[key: string]: any} = {}) {398 clone(helperCls: ChainHelperBaseConstructor, options: {[key: string]: any} = {}) {
2643 }2645 }
2644}2646}
2647
2648class SessionGroup extends HelperGroup<ChainHelperBase> {
2649 //todo:collator documentation
2650 async getIndex(): Promise<number> {
2651 return (await this.helper.callRpc('api.query.session.currentIndex')).toNumber();
2652 }
2653
2654 newSessions(sessionCount = 1, blockTimeout = 24000): Promise<void> {
2655 return (this.helper as DevUniqueHelper).wait.newSessions(sessionCount, blockTimeout);
2656 }
2657
2658 setOwnKeys(signer: TSigner, key: string) {
2659 return this.helper.executeExtrinsic(
2660 signer,
2661 'api.tx.session.setKeys',
2662 [key, '0x0'],
2663 true,
2664 );
2665 }
2666
2667 setOwnKeysFromAddress(signer: TSigner) {
2668 return this.setOwnKeys(signer, '0x' + Buffer.from(signer.addressRaw).toString('hex'));
2669 }
2670}
26452671
2646class CollatorSelectionGroup extends HelperGroup<UniqueHelper> {2672class CollatorSelectionGroup extends HelperGroup<UniqueHelper> {
2647 //todo:collator documentation2673 //todo:collator documentation
2648 setKeys(signer: TSigner, key: string) {2674 addInvulnerable(signer: TSigner, address: string) {
2649 return this.helper.executeExtrinsic(2675 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.addInvulnerable', [address]);
2650 signer,
2651 'api.tx.session.setKeys',
2652 [
2653 key,
2654 '0x0',
2655 ],
2656 true,
2657 );
2658 }2676 }
26592677
2660 setOwnKeys(signer: TSigner) {2678 removeInvulnerable(signer: TSigner, address: string) {
2679 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.removeInvulnerable', [address]);
2680 }
2681
2682 async getInvulnerables(): Promise<string[]> {
2661 return this.setKeys(signer, '0x' + Buffer.from(signer.addressRaw).toString('hex'));2683 return (await this.helper.callRpc('api.query.collatorSelection.invulnerables')).map((x: any) => x.toHuman());
2662 }2684 }
26632685
2664 addInvulnerable(signer: TSigner, address: string) {2686 setLicenseBond(signer: TSigner, amount: bigint) {
2665 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.addInvulnerable', [address]);2687 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.setLicenseBond', [amount]);
2666 }2688 }
2689
2690 async getLicenseBond(): Promise<bigint> {
2691 return (await this.helper.callRpc('api.query.collatorSelection.licenseBond')).toBigInt();
2692 }
2693
2694 obtainLicense(signer: TSigner) {
2695 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.getLicense', []);
2696 }
2697
2698 releaseLicense(signer: TSigner) {
2699 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.releaseLicense', []);
2700 }
26672701
2668 removeInvulnerable(signer: TSigner, address: string) {2702 forceRevokeLicense(signer: TSigner, released: string) {
2669 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.removeInvulnerable', [address]);2703 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.forceRevokeLicense', [released]);
2670 }2704 }
2705
2706 async hasLicense(address: string): Promise<bigint> {
2707 return (await this.helper.callRpc('api.query.collatorSelection.licenses', [address])).toBigInt();
2708 }
2709
2710 onboard(signer: TSigner) {
2711 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.onboard', []);
2712 }
2713
2714 offboard(signer: TSigner) {
2715 return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.offboard', []);
2716 }
26712717
2672 async getInvulnerables() {2718 async getCandidates(): Promise<string[]> {
2673 return (await this.helper.callRpc('api.query.collatorSelection.invulnerables')).map((x: any) => x.toHuman());2719 return (await this.helper.callRpc('api.query.collatorSelection.candidates')).map((x: any) => x.toHuman());
2674 }2720 }
2675}2721}
26762722
30403086
3041 if (result.status === 'Fail') return result;3087 if (result.status === 'Fail') return result;
30423088
3043 const data = this.eventHelper.extractEvents(result.result.events).find(x => x.section == 'sudo')?.data[0];3089 const data = (result.result.events.find(x => x.event.section == 'sudo' && x.event.method == 'Sudid')?.event.data as any).sudoResult;
3044 if (data.err) {3090 if (data.isErr) {
3091 if (data.asErr.isModule) {
3045 const error = data.err.module;3092 const error = (result.result.events[1].event.data as any).sudoResult.asErr.asModule;
3046 // todo:collator
3047 const metaError = super.getApi()?.registry.findMetaError({index: new BN(error.index), error: new BN(9)});3093 const metaError = super.getApi()?.registry.findMetaError(error);
3048 throw new Error(`${data.err.module.error} ${metaError.section}.${metaError.name}`);3094 throw new Error(`${metaError.section}.${metaError.name}`);
3095 } else {
3096 throw new Error(data.asErr.toHuman());
3097 }
3049 }3098 }
3050 return result;3099 return result;
3051 }3100 }