difftreelog
tests(collator-selection): integration tests + types + minor refactor of thee pallet
in: master
20 files changed
node/cli/src/chain_spec.rsdiffbeforeafterboth--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -196,9 +196,9 @@
.cloned()
.map(|(acc, _)| acc)
.collect(),
+ desired_collators: 10,
license_bond: GENESIS_LICENSE_BOND,
kick_threshold: SESSION_LENGTH,
- ..Default::default()
},
session: SessionConfig {
keys: $initial_invulnerables
pallets/collator-selection/src/lib.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/lib.rs
+++ b/pallets/collator-selection/src/lib.rs
@@ -183,11 +183,8 @@
/// The (community, limited) collation candidates.
#[pallet::storage]
#[pallet::getter(fn candidates)]
- pub type Candidates<T: Config> = StorageValue<
- _,
- BoundedVec<T::AccountId, T::MaxCollators>, //LicenseInfo<T::AccountId, BalanceOf<T>>, T::MaxCollators>, // license ID?
- ValueQuery,
- >;
+ pub type Candidates<T: Config> =
+ StorageValue<_, BoundedVec<T::AccountId, T::MaxCollators>, ValueQuery>;
/// Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
///
@@ -348,7 +345,6 @@
T::ValidatorRegistration::is_registered(&validator_key),
Error::<T>::ValidatorNotRegistered
);
- // ensure!(!Self::invulnerables().contains(&new), Error::<T>::AlreadyInvulnerable);
if Self::invulnerables().contains(&new) {
return Ok(().into());
}
@@ -371,7 +367,6 @@
) -> DispatchResultWithPostInfo {
T::UpdateOrigin::ensure_origin(origin)?;
- // let index = Self::invulnerables().into_iter().position(|r| r == who).ok_or(Error::<T>::NotInvulnerable)?;
<Invulnerables<T>>::try_mutate(|invulnerables| -> DispatchResult {
if invulnerables.len() <= 1 {
return Err(Error::<T>::TooFewInvulnerables.into());
@@ -384,10 +379,6 @@
invulnerables.remove(index);
Ok(())
})?;
- /*let bounded_invulnerables = BoundedVec::<_, T::MaxInvulnerables>::try_from(new)
- .map_err(|_| Error::<T>::TooManyInvulnerables)?;
-
- <Invulnerables<T>>::put(&bounded_invulnerables);*/
Self::deposit_event(Event::InvulnerableRemoved { invulnerable: who });
Ok(().into())
}
@@ -451,11 +442,6 @@
return Err(Error::<T>::AlreadyHoldingLicense.into());
}
- /*ensure!(
- !Self::invulnerables().contains(&who),
- Error::<T>::AlreadyInvulnerable
- );*/
-
let validator_key = T::ValidatorIdOf::convert(who.clone())
.ok_or(Error::<T>::NoAssociatedValidatorId)?;
ensure!(
@@ -464,34 +450,9 @@
);
let deposit = Self::license_bond();
- // First authored block is current block plus kick threshold to handle session delay
- /*let incoming = LicenseInfo {
- who: who.clone(),
- deposit,
- };*/
T::Currency::reserve(&who, deposit)?;
Licenses::<T>::insert(who.clone(), deposit);
-
- /*let current_count =
- <Licenses<T>>::try_mutate(|licenses| -> Result<usize, DispatchError> {
- if T::OriginPrivilegeCmp::cmp_privilege(&origin, &scheduled.origin) {
- return Err(BadOrigin.into());
- }
- if candidates.iter().any(|candidate| *candidate == who) {
- Err(Error::<T>::AlreadyHoldingLicense)?
- } else {
- T::Currency::reserve(&who, deposit)?;
- candidates
- .try_push(incoming)
- .map_err(|_| Error::<T>::TooManyCandidates)?;
- <LastAuthoredBlock<T>>::insert(
- who.clone(),
- frame_system::Pallet::<T>::block_number() + Self::kick_threshold(),
- );
- Ok(candidates.len())
- }
- })?;*/
Self::deposit_event(Event::LicenseObtained {
account_id: who,
@@ -518,17 +479,11 @@
(length as u32) < Self::desired_collators(),
Error::<T>::TooManyCandidates
);
- // todo:collator really need it?
ensure!(
!Self::invulnerables().contains(&who),
Error::<T>::AlreadyInvulnerable
);
- /*let incoming = LicenseInfo {
- who: who.clone(),
- deposit,
- };*/
-
let current_count =
<Candidates<T>>::try_mutate(|candidates| -> Result<usize, DispatchError> {
if candidates.iter().any(|candidate| *candidate == who) {
@@ -552,17 +507,10 @@
/// Deregister `origin` as a collator candidate. Note that the collator can only leave on
/// session change. The license to `onboard` later at any other time will remain.
- ///
- /// This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not
#[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
pub fn offboard(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
// leave_intent
let who = ensure_signed(origin)?;
- /* todo:collator invulnerables and candidates should count against min candidates together
- ensure!(
- Self::candidates().len() as u32 > T::MinCandidates::get(),
- Error::<T>::TooFewCandidates
- );*/
let current_count = Self::try_remove_candidate(&who)?;
Ok(Some(T::WeightInfo::leave_intent(current_count as u32)).into()) // todo:collator weight
@@ -585,7 +533,7 @@
/// Note that the collator can only leave on session change.
/// The `LicenseBond` will be unreserved and returned immediately.
///
- /// This call is not available to `Invulnerable` collators.
+ /// This call is, of course, not applicable to `Invulnerable` collators.
#[pallet::weight(T::WeightInfo::leave_intent(T::MaxCollators::get()))] // todo:collator weight
pub fn force_revoke_license(
origin: OriginFor<T>,
@@ -606,6 +554,8 @@
T::PotId::get().into_account_truncating()
}
+ /// Removes a candidate and their license, optionally slashed and optionally ignoring,
+ /// whether or not they actually are a candidate.
fn try_remove_candidate_and_release_license(
who: &T::AccountId,
should_slash: bool,
@@ -687,7 +637,7 @@
/// Kicks out candidates that did not produce a block in the kick threshold
/// and **confiscates** their deposits to the treasury.
pub fn kick_stale_candidates(
- candidates: BoundedVec<T::AccountId, T::MaxCollators>, //LicenseInfo<T::AccountId, BalanceOf<T>>
+ candidates: BoundedVec<T::AccountId, T::MaxCollators>,
) -> BoundedVec<T::AccountId, T::MaxCollators> {
let now = frame_system::Pallet::<T>::block_number();
let kick_threshold = Self::kick_threshold();
pallets/collator-selection/src/mock.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/mock.rs
+++ b/pallets/collator-selection/src/mock.rs
@@ -223,13 +223,11 @@
}
impl Config for Test {
- // todo:collator mocks and stocks
type RuntimeEvent = RuntimeEvent;
type Currency = Balances;
type UpdateOrigin = EnsureSignedBy<RootAccount, u64>;
type PotId = PotId;
type MaxCollators = MaxCollators;
- // type KickThreshold = Period;
type SlashRatio = SlashRatio;
type TreasuryAccountId = ();
type ValidatorId = <Self as frame_system::Config>::AccountId;
pallets/collator-selection/src/tests.rsdiffbeforeafterboth--- a/pallets/collator-selection/src/tests.rs
+++ b/pallets/collator-selection/src/tests.rs
@@ -59,9 +59,6 @@
});
}
-// todo:collator add more tests later
-// invulnerable after onboard + invulnerables can bypass desired_candidates
-
#[test]
fn it_should_add_invulnerables() {
new_test_ext().execute_with(|| {
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -191,7 +191,7 @@
RuntimeAppPublic,
};
use pallet_session::SessionManager;
- use up_common::constants::GENESIS_LICENSE_BOND;
+ use up_common::constants::{GENESIS_LICENSE_BOND, SESSION_LENGTH};
use crate::config::pallets::collator_selection::MaxCollators;
let mut weight = <Runtime as frame_system::Config>::DbWeight::get().reads(1);
@@ -241,6 +241,7 @@
.expect("Existing collators/invulnerables are more than MaxCollators");
<pallet_collator_selection::Invulnerables<Runtime>>::put(bounded_invulnerables);
+ <pallet_collator_selection::KickThreshold<Runtime>>::put(SESSION_LENGTH);
<pallet_collator_selection::DesiredCollators<Runtime>>::put(MaxCollators::get());
<pallet_collator_selection::LicenseBond<Runtime>>::put(GENESIS_LICENSE_BOND);
tests/src/collatorSelection.seqtest.tsdiffbeforeafterboth--- a/tests/src/collatorSelection.seqtest.ts
+++ b/tests/src/collatorSelection.seqtest.ts
@@ -17,6 +17,8 @@
import {IKeyringPair} from '@polkadot/types/types';
import {usingPlaygrounds, expect, itSub, Pallets, requirePalletsOrSkip} from './util';
+const MAX_INVULNERABLES = 10;
+
async function resetInvulnerables() {
await usingPlaygrounds(async (helper, privateKey) => {
const superuser = await privateKey('//Alice');
@@ -28,6 +30,15 @@
+ 'Current invulnerables\' size: ' + invulnerables.length);
let nonce = await helper.chain.getNonce(alice.address);
+ // In case there are too many invulnerables already, remove some of them, leaving space for Alice and Bob.
+ if (invulnerables.length + 2 >= MAX_INVULNERABLES) {
+ await Promise.all([
+ helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [invulnerables.pop()], true, {nonce: nonce++}),
+ helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [invulnerables.pop()], true, {nonce: nonce++}),
+ ]);
+ }
+
+ nonce = await helper.chain.getNonce(alice.address);
await Promise.all([
helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [alice.address], true, {nonce: nonce++}),
helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [bob.address], true, {nonce: nonce++}),
@@ -43,14 +54,19 @@
}
// todo:collator Most preferable to launch this test in parallel somehow -- or change the session period (1 hr).
-// + 18 tests: 5 (1+4) on session change
describe('Integration Test: Collator Selection', () => {
let superuser: IKeyringPair;
+ let previousLicenseBond = 0n;
+ let licenseBond = 0n;
before(async function() {
await usingPlaygrounds(async (helper, privateKey) => {
requirePalletsOrSkip(this, helper, [Pallets.CollatorSelection]);
superuser = await privateKey('//Alice');
+
+ previousLicenseBond = await helper.collatorSelection.getLicenseBond();
+ licenseBond = 10n * helper.balance.getOneTokenNominal();
+ await helper.getSudo().collatorSelection.setLicenseBond(superuser, licenseBond);
});
});
@@ -73,13 +89,11 @@
charlie = await privateKey('//Charlie');
dave = await privateKey('//Dave');
- expect((await helper.collatorSelection.setOwnKeys(charlie))
+ expect((await helper.session.setOwnKeysFromAddress(charlie))
.status.toLowerCase()).to.be.equal('success');
- expect((await helper.collatorSelection.setOwnKeys(dave))
+ expect((await helper.session.setOwnKeysFromAddress(dave))
.status.toLowerCase()).to.be.equal('success');
- // todo:collator check necessity + add RPC for invulnerables / just improve in general
- // validators = await helper.callRpc('api.query.session.validators');
const invulnerables = await helper.collatorSelection.getInvulnerables();
if (!invulnerables.includes(alice.address) || !invulnerables.includes(bob.address) || invulnerables.length != 2) {
console.warn('Alice and Bob are not the invulnerables! Reinstating them back. '
@@ -116,19 +130,7 @@
const newInvulnerables = await helper.collatorSelection.getInvulnerables();
expect(newInvulnerables).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);
- const expectedSessionIndex = (await helper.callRpc('api.query.session.currentIndex')).toNumber() + 2;
- let currentSessionIndex = -1;
- console.log('Waiting for the session after the next.'
- + ' This might take a while -- check SessionPeriod in pallet_session::Config for session time.');
-
- while (currentSessionIndex < expectedSessionIndex) {
- // eslint-disable-next-line no-async-promise-executor
- currentSessionIndex = await expect(helper.wait.withTimeout(new Promise(async (resolve) => {
- await helper.wait.newBlocks(1);
- const res = (await helper.callRpc('api.query.session.currentIndex')).toNumber();
- resolve(res);
- }), 24000, 'The chain has stopped producing blocks!')).to.be.fulfilled;
- }
+ await helper.wait.newSessions(2);
const newValidators = await helper.callRpc('api.query.session.validators');
expect(newValidators).to.contain(charlie.address).and.contain(dave.address).and.be.length(2);
@@ -140,9 +142,6 @@
expect(lastCharlieBlock >= lastBlockNumber || lastDaveBlock >= lastBlockNumber).to.be.true;
});
- // todo:collator keyless invulnerables? will hang, so, a breaking test, eh
- // register candidate without sudos and the like
-
after(async () => {
await usingPlaygrounds(async (helper) => {
if (await helper.arrange.isDevNode()) return;
@@ -162,9 +161,185 @@
});
});
- // todo:collator make sure that there is enough session time for a set of tests
- // 28 non-functioning collators, teehee.
+ describe('Getting and releasing licenses to collate', () => {
+ let charlie: IKeyringPair;
+ let dave: IKeyringPair;
+ let crowd: IKeyringPair[];
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ charlie = await privateKey('//Charlie');
+ dave = await privateKey('//Dave');
+ crowd = await helper.arrange.createCrowd(20, 100n, superuser);
+
+ // set session keys for everyone
+ expect((await helper.session.setOwnKeysFromAddress(charlie))
+ .status.toLowerCase()).to.be.equal('success');
+ expect((await helper.session.setOwnKeysFromAddress(dave))
+ .status.toLowerCase()).to.be.equal('success');
+ await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc)));
+ });
+ });
+
+ describe('Positive', () => {
+ itSub('Can lease and release a license', async ({helper}) => {
+ const account = crowd.pop()!;
+
+ // make sure it does not have any reserved funds
+ expect((await helper.balance.getSubstrateFull(account.address)).reserved).to.be.equal(0n);
+
+ // getting a license reserves a license bond cost
+ await helper.collatorSelection.obtainLicense(account);
+ expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(licenseBond);
+ expect((await helper.balance.getSubstrateFull(account.address)).reserved).to.be.equal(licenseBond);
+
+ // releasing a license un-reserves the license bond cost
+ await helper.collatorSelection.releaseLicense(account);
+ expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(0n);
+
+ const balance = await helper.balance.getSubstrateFull(account.address);
+ expect(balance.reserved).to.be.equal(0n);
+ expect(balance.free > 100n - licenseBond);
+ });
+
+ itSub('Can force revoke a license', async ({helper}) => {
+ const account = crowd.pop()!;
+
+ // getting a license reserves a license bond cost
+ const previousBalance = await helper.balance.getSubstrateFull(account.address);
+ await helper.collatorSelection.obtainLicense(account);
+ expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(licenseBond);
+
+ // force-releasing a license un-reserves the license bond cost as well
+ await helper.getSudo().collatorSelection.forceRevokeLicense(superuser, account.address);
+ expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(previousBalance.reserved);
+
+ const balance = await helper.balance.getSubstrateFull(account.address);
+ expect(balance.reserved).to.be.equal(previousBalance.reserved);
+ expect(balance.free > previousBalance.free - licenseBond);
+ });
+ });
+ describe('Negative', () => {
+ itSub('Cannot get a license without session keys set', async ({helper}) => {
+ const [account] = await helper.arrange.createAccounts([100n], superuser);
+ await expect(helper.collatorSelection.obtainLicense(account))
+ .to.be.rejectedWith(/collatorSelection.ValidatorNotRegistered/);
+ });
+
+ itSub('Cannot register a license twice', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await expect(helper.collatorSelection.obtainLicense(account))
+ .to.be.rejectedWith(/collatorSelection.AlreadyHoldingLicense/);
+ });
+
+ itSub('Cannot release a license twice', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await helper.collatorSelection.releaseLicense(account);
+ await expect(helper.collatorSelection.releaseLicense(account))
+ .to.be.rejectedWith(/collatorSelection.NoLicense/);
+ });
+
+ itSub('Cannot force revoke a license as non-sudo', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await expect(helper.collatorSelection.forceRevokeLicense(superuser, account.address))
+ .to.be.rejectedWith(/BadOrigin/);
+ });
+ });
+ });
+
+ describe('Onboarding, collating, and offboarding as collator candidates', () => {
+ // These two are the default invulnerables, and should return to be invulnerables after this suite.
+ let charlie: IKeyringPair;
+ let dave: IKeyringPair;
+ let crowd: IKeyringPair[];
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ charlie = await privateKey('//Charlie');
+ dave = await privateKey('//Dave');
+ crowd = await helper.arrange.createCrowd(20, 100n, superuser);
+
+ // set session keys for everyone
+ expect((await helper.session.setOwnKeysFromAddress(charlie))
+ .status.toLowerCase()).to.be.equal('success');
+ expect((await helper.session.setOwnKeysFromAddress(dave))
+ .status.toLowerCase()).to.be.equal('success');
+ await Promise.all(crowd.map(acc => helper.session.setOwnKeysFromAddress(acc)));
+ });
+ });
+
+ describe('Positive', () => {
+ itSub('Can onboard and offboard repeatedly', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await helper.collatorSelection.onboard(account);
+ expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([account.address]);
+
+ await helper.collatorSelection.offboard(account);
+ expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
+
+ await helper.collatorSelection.onboard(account);
+ expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([account.address]);
+
+ await helper.collatorSelection.offboard(account);
+ expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
+ });
+
+ itSub('Dithmarschen', async ({helper}) => {
+ // This one shouldn't even be able to produce blocks.
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await helper.collatorSelection.onboard(account);
+ expect(await helper.collatorSelection.getCandidates()).to.contain(account.address);
+
+ // Wait for 3 new sessions before checking that the collator will be kicked:
+ // one to get collator onboarded, and another two for the collator to fail
+ await helper.wait.newSessions(3);
+
+ expect(await helper.collatorSelection.getCandidates()).to.not.contain(account.address);
+ expect(await helper.collatorSelection.hasLicense(account.address)).to.be.equal(0n);
+
+ // The account's reserved funds get slashed as a penalty
+ const balance = await helper.balance.getSubstrateFull(account.address);
+ expect(balance.reserved).to.be.equal(0n);
+ expect(balance.free < 100n - licenseBond);
+ });
+ });
+
+ describe('Negative', () => {
+ itSub('Cannot onboard without a license', async ({helper}) => {
+ const account = crowd.pop()!;
+ await expect(helper.collatorSelection.onboard(account))
+ .to.be.rejectedWith(/collatorSelection.NoLicense/);
+ });
+
+ itSub('Cannot offboard without a license', async ({helper}) => {
+ const account = crowd.pop()!;
+ await expect(helper.collatorSelection.offboard(account))
+ .to.be.rejectedWith(/collatorSelection.NotCandidate/);
+ });
+
+ itSub('Cannot offboard while not onboarded', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await expect(helper.collatorSelection.offboard(account))
+ .to.be.rejectedWith(/collatorSelection.NotCandidate/);
+ });
+
+ itSub('Cannot onboard while already onboarded', async ({helper}) => {
+ const account = crowd.pop()!;
+ await helper.collatorSelection.obtainLicense(account);
+ await helper.collatorSelection.onboard(account);
+ await expect(helper.collatorSelection.onboard(account))
+ .to.be.rejectedWith(/collatorSelection.AlreadyCandidate/);
+ });
+ });
+ });
+
describe('Addition and removal of invulnerables', () => {
before(async function() {
await resetInvulnerables();
@@ -175,7 +350,7 @@
const [account] = await helper.arrange.createAccounts([10n], superuser);
const invulnerables = await helper.collatorSelection.getInvulnerables();
- await helper.collatorSelection.setOwnKeys(account);
+ await helper.session.setOwnKeysFromAddress(account);
await helper.getSudo().collatorSelection.addInvulnerable(superuser, account.address);
const newInvulnerables = await helper.collatorSelection.getInvulnerables();
@@ -184,7 +359,7 @@
itSub('Removes an invulnerable', async ({helper}) => {
const invulnerables = await helper.collatorSelection.getInvulnerables();
- const lastInvulnerable = invulnerables.pop();
+ const lastInvulnerable = invulnerables.pop()!;
await helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable);
const newInvulnerables = await helper.collatorSelection.getInvulnerables();
@@ -203,16 +378,22 @@
expect(newInvulnerables).to.have.all.members(invulnerables);
});
+ itSub('Cannot remove a non-existent invulnerable', async ({helper}) => {
+ const [account] = await helper.arrange.createAccounts([0n], superuser);
+ await expect(helper.getSudo().collatorSelection.removeInvulnerable(superuser, account.address))
+ .to.be.rejectedWith(/collatorSelection.NotInvulnerable/);
+ });
+
itSub('Cannot allow invulnerables to be empty', async ({helper}) => {
const invulnerables = await helper.collatorSelection.getInvulnerables();
- const lastInvulnerable = invulnerables.pop();
+ const lastInvulnerable = invulnerables.pop()!;
let nonce = await helper.chain.getNonce(superuser.address);
await Promise.all(invulnerables.map((i: any) =>
helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [i], true, {nonce: nonce++})));
await expect(helper.getSudo().collatorSelection.removeInvulnerable(superuser, lastInvulnerable))
- .to.be.rejected;//todo:collator With(/collatorSelection.TooFewInvulnerables/);
+ .to.be.rejectedWith(/collatorSelection.TooFewInvulnerables/);
const newInvulnerables = await helper.collatorSelection.getInvulnerables();
expect(newInvulnerables).to.be.deep.equal([lastInvulnerable]);
@@ -224,21 +405,24 @@
});
itSub('Cannot have too many invulnerables', async ({helper}) => {
+ // todo:collator make sure that there is enough session time for a set of tests
+ // 28 non-functioning collators, teehee.
+
const invulnerablesLength = (await helper.collatorSelection.getInvulnerables()).length;
- const invulnerablesUntilLimit = 30 - invulnerablesLength;
+ const invulnerablesUntilLimit = MAX_INVULNERABLES - invulnerablesLength;
const newInvulnerables = await helper.arrange.createAccounts(Array(invulnerablesUntilLimit).fill(10n), superuser);
const [lastInvulnerable] = await helper.arrange.createAccounts([10n], superuser);
await Promise.all(newInvulnerables.map((i: IKeyringPair) =>
- helper.collatorSelection.setOwnKeys(i)));
- await helper.collatorSelection.setOwnKeys(lastInvulnerable);
+ helper.session.setOwnKeysFromAddress(i)));
+ await helper.session.setOwnKeysFromAddress(lastInvulnerable);
let nonce = await helper.chain.getNonce(superuser.address);
await Promise.all(newInvulnerables.map((i: IKeyringPair) =>
helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.addInvulnerable', [i.address], true, {nonce: nonce++})));
await expect(helper.getSudo().collatorSelection.addInvulnerable(superuser, lastInvulnerable.address))
- .to.be.rejected; // todo:collator With(/collatorSelection.TooManyInvulnerables/);
+ .to.be.rejectedWith(/collatorSelection.TooManyInvulnerables/);
// restore the invulnerables to the previous state
nonce = await helper.chain.getNonce(superuser.address);
@@ -250,7 +434,7 @@
const [account] = await helper.arrange.createAccounts([10n], superuser);
const invulnerables = await helper.collatorSelection.getInvulnerables();
- await helper.collatorSelection.setOwnKeys(account);
+ await helper.session.setOwnKeysFromAddress(account);
await expect(helper.collatorSelection.addInvulnerable(superuser, account.address))
.to.be.rejectedWith(/BadOrigin/);
@@ -265,14 +449,19 @@
expect(await helper.collatorSelection.getInvulnerables()).to.have.all.members(invulnerables);
});
});
+ });
- after(async () => {
- // eslint-disable-next-line require-await
- await usingPlaygrounds(async (helper) => {
- if (helper.fetchMissingPalletNames([Pallets.CollatorSelection]).length != 0) return;
-
- // todo:collator after
- });
+ after(async () => {
+ // eslint-disable-next-line require-await
+ await usingPlaygrounds(async (helper) => {
+ if (helper.fetchMissingPalletNames([Pallets.CollatorSelection]).length != 0) return;
+
+ await helper.getSudo().collatorSelection.setLicenseBond(superuser, previousLicenseBond);
+
+ const candidates = await helper.collatorSelection.getCandidates();
+ let nonce = await helper.chain.getNonce(superuser.address);
+ await Promise.all(candidates.map(candidate =>
+ helper.getSudo().executeExtrinsic(superuser, 'api.tx.collatorSelection.removeInvulnerable', [candidate], true, {nonce: nonce++})));
});
});
});
\ No newline at end of file
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -41,6 +41,18 @@
**/
[key: string]: Codec;
};
+ authorship: {
+ /**
+ * The number of blocks back we should accept uncles.
+ * This means that we will deal with uncle-parents that are
+ * `UncleGenerations + 1` before `now`.
+ **/
+ uncleGenerations: u32 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
balances: {
/**
* The minimum amount required to keep an account open.
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -41,6 +41,40 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ authorship: {
+ /**
+ * The uncle is genesis.
+ **/
+ GenesisUncle: AugmentedError<ApiType>;
+ /**
+ * The uncle parent not in the chain.
+ **/
+ InvalidUncleParent: AugmentedError<ApiType>;
+ /**
+ * The uncle isn't recent enough to be included.
+ **/
+ OldUncle: AugmentedError<ApiType>;
+ /**
+ * The uncle is too high in chain.
+ **/
+ TooHighUncle: AugmentedError<ApiType>;
+ /**
+ * Too many uncles.
+ **/
+ TooManyUncles: AugmentedError<ApiType>;
+ /**
+ * The uncle is already included.
+ **/
+ UncleAlreadyIncluded: AugmentedError<ApiType>;
+ /**
+ * Uncles already set in the block.
+ **/
+ UnclesAlreadySet: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
balances: {
/**
* Beneficiary account must pre-exist
@@ -79,6 +113,64 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ collatorSelection: {
+ /**
+ * User is already a candidate
+ **/
+ AlreadyCandidate: AugmentedError<ApiType>;
+ /**
+ * User already holds license to collate
+ **/
+ AlreadyHoldingLicense: AugmentedError<ApiType>;
+ /**
+ * User is already an Invulnerable
+ **/
+ AlreadyInvulnerable: AugmentedError<ApiType>;
+ /**
+ * Account has no associated validator ID
+ **/
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
+ /**
+ * User does not hold a license to collate
+ **/
+ NoLicense: AugmentedError<ApiType>;
+ /**
+ * User is not a candidate
+ **/
+ NotCandidate: AugmentedError<ApiType>;
+ /**
+ * User is not an Invulnerable
+ **/
+ NotInvulnerable: AugmentedError<ApiType>;
+ /**
+ * Permission issue
+ **/
+ Permission: AugmentedError<ApiType>;
+ /**
+ * Too few invulnerables
+ **/
+ TooFewInvulnerables: AugmentedError<ApiType>;
+ /**
+ * Too many candidates
+ **/
+ TooManyCandidates: AugmentedError<ApiType>;
+ /**
+ * Too many invulnerables
+ **/
+ TooManyInvulnerables: AugmentedError<ApiType>;
+ /**
+ * Unknown error
+ **/
+ Unknown: AugmentedError<ApiType>;
+ /**
+ * Validator ID is not yet registered
+ **/
+ ValidatorNotRegistered: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
common: {
/**
* Account token limit exceeded per collection
@@ -685,6 +777,32 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ session: {
+ /**
+ * Registered duplicate key.
+ **/
+ DuplicatedKey: AugmentedError<ApiType>;
+ /**
+ * Invalid ownership proof.
+ **/
+ InvalidProof: AugmentedError<ApiType>;
+ /**
+ * Key setting account is not live, so it's impossible to associate keys.
+ **/
+ NoAccount: AugmentedError<ApiType>;
+ /**
+ * No associated validator ID for account.
+ **/
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
+ /**
+ * No keys are associated with this account.
+ **/
+ NoKeys: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
structure: {
/**
* While nesting, reached the breadth limit of nesting, exceeding the provided budget.
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -100,6 +100,21 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ collatorSelection: {
+ CandidateAdded: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
+ CandidateRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
+ InvulnerableAdded: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
+ InvulnerableRemoved: AugmentedEvent<ApiType, [invulnerable: AccountId32], { invulnerable: AccountId32 }>;
+ LicenseForfeited: AugmentedEvent<ApiType, [accountId: AccountId32, depositReturned: u128], { accountId: AccountId32, depositReturned: u128 }>;
+ LicenseObtained: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], { accountId: AccountId32, deposit: u128 }>;
+ NewDesiredCollators: AugmentedEvent<ApiType, [desiredCollators: u32], { desiredCollators: u32 }>;
+ NewKickThreshold: AugmentedEvent<ApiType, [lengthInBlocks: u32], { lengthInBlocks: u32 }>;
+ NewLicenseBond: AugmentedEvent<ApiType, [bondAmount: u128], { bondAmount: u128 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
common: {
/**
* Address was added to the allow list.
@@ -526,6 +541,17 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ session: {
+ /**
+ * New session has happened. Note that the argument is the session index, not the
+ * block number as the type might suggest.
+ **/
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
structure: {
/**
* Executed call on behalf of the token.
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -9,7 +9,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, 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';
+import 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';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -59,6 +59,24 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ authorship: {
+ /**
+ * Author of current block.
+ **/
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Whether uncles were already set in this block.
+ **/
+ didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Uncles
+ **/
+ uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
balances: {
/**
* The Balances pallet example of storing the balance of an account.
@@ -117,6 +135,46 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ collatorSelection: {
+ /**
+ * The (community, limited) collation candidates.
+ **/
+ candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Desired number of candidates.
+ *
+ * This should ideally always be less than [`Config::MaxCollators`] for weights to be correct.
+ **/
+ desiredCollators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The invulnerable, fixed collators.
+ **/
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Collator will be kicked if it does not produce a block within the threshold (does not apply to invulnerables).
+ *
+ * Should be a multiple of session or things will get inconsistent. todo:collator reword?
+ **/
+ kickThreshold: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Last block authored by collator.
+ **/
+ lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * Fixed amount to deposit to become a collator.
+ *
+ * When a collator calls `leave_intent` they immediately receive the deposit back.
+ **/
+ licenseBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The (community) collation license holders.
+ **/
+ licenses: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
common: {
/**
* Storage of the amount of collection admins.
@@ -687,6 +745,46 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ session: {
+ /**
+ * Current index of the session.
+ **/
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Indices of disabled validators.
+ *
+ * The vec is always kept sorted so that we can find whether a given validator is
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
+ * a new set of identities.
+ **/
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
+ **/
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
+ /**
+ * The next session keys for a validator.
+ **/
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+ /**
+ * True if the underlying economic identities or weighting behind the validators
+ * has changed in the queued validator set.
+ **/
+ queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The queued keys for the next session. When the next session begins, these keys
+ * will be used to determine the validator's session keys.
+ **/
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * The current set of validators.
+ **/
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
structure: {
/**
* Generic query
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -16,7 +16,7 @@
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
-import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
+import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
@@ -24,7 +24,7 @@
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
-import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
+import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
@@ -174,7 +174,7 @@
* @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead
* Instantiate a new contract
**/
- 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>>;
+ instantiate: AugmentedRpc<(request: InstantiateRequestV1 | { origin?: any; value?: any; gasLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>;
/**
* @deprecated Not available in newer versions of the contracts interfaces
* Returns the projected time a given contract will be able to sustain paying its rent
@@ -426,13 +426,15 @@
};
payment: {
/**
+ * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
* Query the detailed fee of a given encoded extrinsic
**/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/**
+ * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic
**/
- queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
+ queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};
rmrk: {
/**
tests/src/interfaces/augment-api-runtime.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-runtime.ts
+++ b/tests/src/interfaces/augment-api-runtime.ts
@@ -6,7 +6,7 @@
import '@polkadot/api-base/types/calls';
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
-import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u64 } from '@polkadot/types-codec';
+import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
@@ -16,6 +16,7 @@
import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
+import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system';
@@ -228,5 +229,20 @@
**/
[key: string]: DecoratedCallBase<ApiType>;
};
+ /** 0x37c8bb1350a9a2a8/2 */
+ transactionPaymentApi: {
+ /**
+ * The transaction fee details
+ **/
+ queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
+ /**
+ * The transaction info
+ **/
+ queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
+ /**
+ * Generic call
+ **/
+ [key: string]: DecoratedCallBase<ApiType>;
+ };
} // AugmentedCalls
} // declare module
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -9,7 +9,7 @@
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import 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';
+import 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';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -119,6 +119,16 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ authorship: {
+ /**
+ * Provide a set of uncles.
+ **/
+ setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
balances: {
/**
* Exactly as `transfer`, except the origin must be root and the source account may be
@@ -214,6 +224,71 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ collatorSelection: {
+ /**
+ * Add a collator to the list of invulnerable (fixed) collators.
+ **/
+ addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.
+ * Note that the collator can only leave on session change.
+ * The `LicenseBond` will be unreserved and returned immediately.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ forceRevokeLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Purchase a license on block collation for this account.
+ * It does not make it a collator candidate, use `onboard` afterward. The account must
+ * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Deregister `origin` as a collator candidate. Note that the collator can only leave on
+ * session change. The license to `onboard` later at any other time will remain.
+ *
+ * This call will fail if the total number of candidates would drop below `MinCandidates`. todo:collator maybe not
+ **/
+ offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Register this account as a candidate for collators for next sessions.
+ * The account must already hold a license, and cannot offboard immediately during a session.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.
+ *
+ * This call is not available to `Invulnerable` collators.
+ **/
+ releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Remove a collator from the list of invulnerable (fixed) collators.
+ **/
+ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ /**
+ * Set the ideal number of collators. If lowering this number,
+ * then the number of running collators could be higher than this figure.
+ * Aside from that edge case, there should be no other way to have more collators than the desired number.
+ **/
+ setDesiredCollators: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Set the length of the kick threshold.
+ * Note that if the length is not a multiple of the session period, it might get inconsistent.
+ **/
+ setKickThreshold: AugmentedSubmittable<(kickThreshold: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Set the candidacy bond amount.
+ **/
+ setLicenseBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
configuration: {
setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
@@ -839,6 +914,48 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ session: {
+ /**
+ * Removes any session key(s) of the function caller.
+ *
+ * This doesn't take effect until the next session.
+ *
+ * The dispatch origin of this function must be Signed and the account must be either be
+ * convertible to a validator ID using the chain's typical addressing system (this usually
+ * means being a controller account) or directly convertible into a validator ID (which
+ * usually means being a stash account).
+ *
+ * # <weight>
+ * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
+ * of `T::Keys::key_ids()` which is fixed.
+ * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
+ * - DbWrites: `NextKeys`, `origin account`
+ * - DbWrites per key id: `KeyOwner`
+ * # </weight>
+ **/
+ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
+ /**
+ * Sets the session key(s) of the function caller to `keys`.
+ * Allows an account to set its session key prior to becoming a validator.
+ * This doesn't take effect until the next session.
+ *
+ * The dispatch origin of this function must be signed.
+ *
+ * # <weight>
+ * - Complexity: `O(1)`. Actual cost depends on the number of length of
+ * `T::Keys::key_ids()` which is fixed.
+ * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
+ * - DbWrites: `origin account`, `NextKeys`
+ * - DbReads per key id: `KeyOwner`
+ * - DbWrites per key id: `KeyOwner`
+ * # </weight>
+ **/
+ setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
structure: {
/**
* Generic tx
@@ -1432,6 +1549,23 @@
**/
destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
+ * Repairs a collection if the data was somehow corrupted.
+ *
+ * # Arguments
+ *
+ * * `collection_id`: ID of the collection to repair.
+ **/
+ forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Repairs a token if the data was somehow corrupted.
+ *
+ * # Arguments
+ *
+ * * `collection_id`: ID of the collection the item belongs to.
+ * * `item_id`: ID of the item.
+ **/
+ forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
* Remove admin of a collection.
*
* An admin address can remove itself. List of admins may become empty,
@@ -1474,15 +1608,6 @@
* * `address`: ID of the address to be removed from the allowlist.
**/
removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- /**
- * Repairs a broken item
- *
- * # Arguments
- *
- * * `collection_id`: ID of the collection the item belongs to.
- * * `item_id`: ID of the item.
- **/
- repairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
* Re-partition a refungible token, while owning all of its parts/pieces.
*
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import 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';
+import 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';
import type { Data, StorageKey } from '@polkadot/types';
import 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';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -24,7 +24,7 @@
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
-import 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';
+import 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';
import 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';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
@@ -47,7 +47,7 @@
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, 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';
-import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
+import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
@@ -273,10 +273,12 @@
ContractExecResultTo255: ContractExecResultTo255;
ContractExecResultTo260: ContractExecResultTo260;
ContractExecResultTo267: ContractExecResultTo267;
+ ContractExecResultU64: ContractExecResultU64;
ContractInfo: ContractInfo;
ContractInstantiateResult: ContractInstantiateResult;
ContractInstantiateResultTo267: ContractInstantiateResultTo267;
ContractInstantiateResultTo299: ContractInstantiateResultTo299;
+ ContractInstantiateResultU64: ContractInstantiateResultU64;
ContractLayoutArray: ContractLayoutArray;
ContractLayoutCell: ContractLayoutCell;
ContractLayoutEnum: ContractLayoutEnum;
@@ -771,6 +773,7 @@
OldV1SessionInfo: OldV1SessionInfo;
OpalRuntimeRuntime: OpalRuntimeRuntime;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OpaqueCall: OpaqueCall;
OpaqueKeyOwnershipProof: OpaqueKeyOwnershipProof;
OpaqueMetadata: OpaqueMetadata;
@@ -815,6 +818,9 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
+ PalletAuthorshipCall: PalletAuthorshipCall;
+ PalletAuthorshipError: PalletAuthorshipError;
+ PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -825,6 +831,9 @@
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCallMetadataLatest: PalletCallMetadataLatest;
PalletCallMetadataV14: PalletCallMetadataV14;
+ PalletCollatorSelectionCall: PalletCollatorSelectionCall;
+ PalletCollatorSelectionError: PalletCollatorSelectionError;
+ PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
@@ -875,6 +884,9 @@
PalletRmrkEquipCall: PalletRmrkEquipCall;
PalletRmrkEquipError: PalletRmrkEquipError;
PalletRmrkEquipEvent: PalletRmrkEquipEvent;
+ PalletSessionCall: PalletSessionCall;
+ PalletSessionError: PalletSessionError;
+ PalletSessionEvent: PalletSessionEvent;
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
@@ -1057,6 +1069,8 @@
RpcMethods: RpcMethods;
RuntimeDbWeight: RuntimeDbWeight;
RuntimeDispatchInfo: RuntimeDispatchInfo;
+ RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
+ RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
RuntimeVersion: RuntimeVersion;
RuntimeVersionApi: RuntimeVersionApi;
RuntimeVersionPartial: RuntimeVersionPartial;
@@ -1172,14 +1186,19 @@
SolutionSupports: SolutionSupports;
SpanIndex: SpanIndex;
SpanRecord: SpanRecord;
+ SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
+ SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
+ SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
SpecVersion: SpecVersion;
SpRuntimeArithmeticError: SpRuntimeArithmeticError;
+ SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
+ SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -699,6 +699,11 @@
/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */
export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}
+/** @name OpalRuntimeRuntimeCommonSessionKeys */
+export interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {
+ readonly aura: SpConsensusAuraSr25519AppSr25519Public;
+}
+
/** @name OrmlTokensAccountData */
export interface OrmlTokensAccountData extends Struct {
readonly free: u128;
@@ -1056,6 +1061,36 @@
readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';
}
+/** @name PalletAuthorshipCall */
+export interface PalletAuthorshipCall extends Enum {
+ readonly isSetUncles: boolean;
+ readonly asSetUncles: {
+ readonly newUncles: Vec<SpRuntimeHeader>;
+ } & Struct;
+ readonly type: 'SetUncles';
+}
+
+/** @name PalletAuthorshipError */
+export interface PalletAuthorshipError extends Enum {
+ readonly isInvalidUncleParent: boolean;
+ readonly isUnclesAlreadySet: boolean;
+ readonly isTooManyUncles: boolean;
+ readonly isGenesisUncle: boolean;
+ readonly isTooHighUncle: boolean;
+ readonly isUncleAlreadyIncluded: boolean;
+ readonly isOldUncle: boolean;
+ readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
+}
+
+/** @name PalletAuthorshipUncleEntryItem */
+export interface PalletAuthorshipUncleEntryItem extends Enum {
+ readonly isInclusionHeight: boolean;
+ readonly asInclusionHeight: u32;
+ readonly isUncle: boolean;
+ readonly asUncle: ITuple<[H256, Option<AccountId32>]>;
+ readonly type: 'InclusionHeight' | 'Uncle';
+}
+
/** @name PalletBalancesAccountData */
export interface PalletBalancesAccountData extends Struct {
readonly free: u128;
@@ -1201,6 +1236,100 @@
readonly amount: u128;
}
+/** @name PalletCollatorSelectionCall */
+export interface PalletCollatorSelectionCall extends Enum {
+ readonly isAddInvulnerable: boolean;
+ readonly asAddInvulnerable: {
+ readonly new_: AccountId32;
+ } & Struct;
+ readonly isRemoveInvulnerable: boolean;
+ readonly asRemoveInvulnerable: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly isSetDesiredCollators: boolean;
+ readonly asSetDesiredCollators: {
+ readonly max: u32;
+ } & Struct;
+ readonly isSetLicenseBond: boolean;
+ readonly asSetLicenseBond: {
+ readonly bond: u128;
+ } & Struct;
+ readonly isSetKickThreshold: boolean;
+ readonly asSetKickThreshold: {
+ readonly kickThreshold: u32;
+ } & Struct;
+ readonly isGetLicense: boolean;
+ readonly isOnboard: boolean;
+ readonly isOffboard: boolean;
+ readonly isReleaseLicense: boolean;
+ readonly isForceRevokeLicense: boolean;
+ readonly asForceRevokeLicense: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly type: 'AddInvulnerable' | 'RemoveInvulnerable' | 'SetDesiredCollators' | 'SetLicenseBond' | 'SetKickThreshold' | 'GetLicense' | 'Onboard' | 'Offboard' | 'ReleaseLicense' | 'ForceRevokeLicense';
+}
+
+/** @name PalletCollatorSelectionError */
+export interface PalletCollatorSelectionError extends Enum {
+ readonly isTooManyCandidates: boolean;
+ readonly isUnknown: boolean;
+ readonly isPermission: boolean;
+ readonly isAlreadyHoldingLicense: boolean;
+ readonly isNoLicense: boolean;
+ readonly isAlreadyCandidate: boolean;
+ readonly isNotCandidate: boolean;
+ readonly isTooManyInvulnerables: boolean;
+ readonly isTooFewInvulnerables: boolean;
+ readonly isAlreadyInvulnerable: boolean;
+ readonly isNotInvulnerable: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isValidatorNotRegistered: boolean;
+ readonly type: 'TooManyCandidates' | 'Unknown' | 'Permission' | 'AlreadyHoldingLicense' | 'NoLicense' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'TooFewInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered';
+}
+
+/** @name PalletCollatorSelectionEvent */
+export interface PalletCollatorSelectionEvent extends Enum {
+ readonly isNewDesiredCollators: boolean;
+ readonly asNewDesiredCollators: {
+ readonly desiredCollators: u32;
+ } & Struct;
+ readonly isNewLicenseBond: boolean;
+ readonly asNewLicenseBond: {
+ readonly bondAmount: u128;
+ } & Struct;
+ readonly isNewKickThreshold: boolean;
+ readonly asNewKickThreshold: {
+ readonly lengthInBlocks: u32;
+ } & Struct;
+ readonly isInvulnerableAdded: boolean;
+ readonly asInvulnerableAdded: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isInvulnerableRemoved: boolean;
+ readonly asInvulnerableRemoved: {
+ readonly invulnerable: AccountId32;
+ } & Struct;
+ readonly isLicenseObtained: boolean;
+ readonly asLicenseObtained: {
+ readonly accountId: AccountId32;
+ readonly deposit: u128;
+ } & Struct;
+ readonly isLicenseForfeited: boolean;
+ readonly asLicenseForfeited: {
+ readonly accountId: AccountId32;
+ readonly depositReturned: u128;
+ } & Struct;
+ readonly isCandidateAdded: boolean;
+ readonly asCandidateAdded: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly isCandidateRemoved: boolean;
+ readonly asCandidateRemoved: {
+ readonly accountId: AccountId32;
+ } & Struct;
+ readonly type: 'NewDesiredCollators' | 'NewLicenseBond' | 'NewKickThreshold' | 'InvulnerableAdded' | 'InvulnerableRemoved' | 'LicenseObtained' | 'LicenseForfeited' | 'CandidateAdded' | 'CandidateRemoved';
+}
+
/** @name PalletCommonError */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
@@ -1938,6 +2067,36 @@
readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
+/** @name PalletSessionCall */
+export interface PalletSessionCall extends Enum {
+ readonly isSetKeys: boolean;
+ readonly asSetKeys: {
+ readonly keys_: OpalRuntimeRuntimeCommonSessionKeys;
+ readonly proof: Bytes;
+ } & Struct;
+ readonly isPurgeKeys: boolean;
+ readonly type: 'SetKeys' | 'PurgeKeys';
+}
+
+/** @name PalletSessionError */
+export interface PalletSessionError extends Enum {
+ readonly isInvalidProof: boolean;
+ readonly isNoAssociatedValidatorId: boolean;
+ readonly isDuplicatedKey: boolean;
+ readonly isNoKeys: boolean;
+ readonly isNoAccount: boolean;
+ readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount';
+}
+
+/** @name PalletSessionEvent */
+export interface PalletSessionEvent extends Enum {
+ readonly isNewSession: boolean;
+ readonly asNewSession: {
+ readonly sessionIndex: u32;
+ } & Struct;
+ readonly type: 'NewSession';
+}
+
/** @name PalletStructureCall */
export interface PalletStructureCall extends Null {}
@@ -2319,12 +2478,16 @@
readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;
readonly approve: bool;
} & Struct;
- readonly isRepairItem: boolean;
- readonly asRepairItem: {
+ readonly isForceRepairCollection: boolean;
+ readonly asForceRepairCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isForceRepairItem: boolean;
+ readonly asForceRepairItem: {
readonly collectionId: u32;
readonly itemId: u32;
} & Struct;
- 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';
+ 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';
}
/** @name PalletUniqueError */
@@ -2665,12 +2828,21 @@
readonly value: Bytes;
}
+/** @name SpConsensusAuraSr25519AppSr25519Public */
+export interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}
+
+/** @name SpCoreCryptoKeyTypeId */
+export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
+
/** @name SpCoreEcdsaSignature */
export interface SpCoreEcdsaSignature extends U8aFixed {}
/** @name SpCoreEd25519Signature */
export interface SpCoreEd25519Signature extends U8aFixed {}
+/** @name SpCoreSr25519Public */
+export interface SpCoreSr25519Public extends U8aFixed {}
+
/** @name SpCoreSr25519Signature */
export interface SpCoreSr25519Signature extends U8aFixed {}
@@ -2682,6 +2854,9 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
+/** @name SpRuntimeBlakeTwo256 */
+export interface SpRuntimeBlakeTwo256 extends Null {}
+
/** @name SpRuntimeDigest */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
@@ -2723,6 +2898,15 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
}
+/** @name SpRuntimeHeader */
+export interface SpRuntimeHeader extends Struct {
+ readonly parentHash: H256;
+ readonly number: Compact<u32>;
+ readonly stateRoot: H256;
+ readonly extrinsicsRoot: H256;
+ readonly digest: SpRuntimeDigest;
+}
+
/** @name SpRuntimeModuleError */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -184,8 +184,54 @@
}
},
/**
- * Lookup30: pallet_balances::pallet::Event<T, I>
+ * Lookup30: pallet_collator_selection::pallet::Event<T>
+ **/
+ PalletCollatorSelectionEvent: {
+ _enum: {
+ NewDesiredCollators: {
+ desiredCollators: 'u32',
+ },
+ NewLicenseBond: {
+ bondAmount: 'u128',
+ },
+ NewKickThreshold: {
+ lengthInBlocks: 'u32',
+ },
+ InvulnerableAdded: {
+ invulnerable: 'AccountId32',
+ },
+ InvulnerableRemoved: {
+ invulnerable: 'AccountId32',
+ },
+ LicenseObtained: {
+ accountId: 'AccountId32',
+ deposit: 'u128',
+ },
+ LicenseForfeited: {
+ accountId: 'AccountId32',
+ depositReturned: 'u128',
+ },
+ CandidateAdded: {
+ accountId: 'AccountId32',
+ },
+ CandidateRemoved: {
+ accountId: 'AccountId32'
+ }
+ }
+ },
+ /**
+ * Lookup31: pallet_session::pallet::Event
**/
+ PalletSessionEvent: {
+ _enum: {
+ NewSession: {
+ sessionIndex: 'u32'
+ }
+ }
+ },
+ /**
+ * Lookup32: pallet_balances::pallet::Event<T, I>
+ **/
PalletBalancesEvent: {
_enum: {
Endowed: {
@@ -235,13 +281,13 @@
}
},
/**
- * Lookup31: frame_support::traits::tokens::misc::BalanceStatus
+ * Lookup33: frame_support::traits::tokens::misc::BalanceStatus
**/
FrameSupportTokensMiscBalanceStatus: {
_enum: ['Free', 'Reserved']
},
/**
- * Lookup32: pallet_transaction_payment::pallet::Event<T>
+ * Lookup34: pallet_transaction_payment::pallet::Event<T>
**/
PalletTransactionPaymentEvent: {
_enum: {
@@ -253,7 +299,7 @@
}
},
/**
- * Lookup33: pallet_treasury::pallet::Event<T, I>
+ * Lookup35: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
@@ -289,7 +335,7 @@
}
},
/**
- * Lookup34: pallet_sudo::pallet::Event<T>
+ * Lookup36: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -305,7 +351,7 @@
}
},
/**
- * Lookup38: orml_vesting::module::Event<T>
+ * Lookup40: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -324,7 +370,7 @@
}
},
/**
- * Lookup39: orml_vesting::VestingSchedule<BlockNumber, Balance>
+ * Lookup41: orml_vesting::VestingSchedule<BlockNumber, Balance>
**/
OrmlVestingVestingSchedule: {
start: 'u32',
@@ -333,7 +379,7 @@
perPeriod: 'Compact<u128>'
},
/**
- * Lookup41: orml_xtokens::module::Event<T>
+ * Lookup43: orml_xtokens::module::Event<T>
**/
OrmlXtokensModuleEvent: {
_enum: {
@@ -346,18 +392,18 @@
}
},
/**
- * Lookup42: xcm::v1::multiasset::MultiAssets
+ * Lookup44: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
- * Lookup44: xcm::v1::multiasset::MultiAsset
+ * Lookup46: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
- * Lookup45: xcm::v1::multiasset::AssetId
+ * Lookup47: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
@@ -366,14 +412,14 @@
}
},
/**
- * Lookup46: xcm::v1::multilocation::MultiLocation
+ * Lookup48: xcm::v1::multilocation::MultiLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
},
/**
- * Lookup47: xcm::v1::multilocation::Junctions
+ * Lookup49: xcm::v1::multilocation::Junctions
**/
XcmV1MultilocationJunctions: {
_enum: {
@@ -389,7 +435,7 @@
}
},
/**
- * Lookup48: xcm::v1::junction::Junction
+ * Lookup50: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
@@ -417,7 +463,7 @@
}
},
/**
- * Lookup50: xcm::v0::junction::NetworkId
+ * Lookup52: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
@@ -428,7 +474,7 @@
}
},
/**
- * Lookup53: xcm::v0::junction::BodyId
+ * Lookup55: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
@@ -442,7 +488,7 @@
}
},
/**
- * Lookup54: xcm::v0::junction::BodyPart
+ * Lookup56: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
@@ -465,7 +511,7 @@
}
},
/**
- * Lookup55: xcm::v1::multiasset::Fungibility
+ * Lookup57: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
@@ -474,7 +520,7 @@
}
},
/**
- * Lookup56: xcm::v1::multiasset::AssetInstance
+ * Lookup58: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
@@ -488,7 +534,7 @@
}
},
/**
- * Lookup59: orml_tokens::module::Event<T>
+ * Lookup61: orml_tokens::module::Event<T>
**/
OrmlTokensModuleEvent: {
_enum: {
@@ -565,7 +611,7 @@
}
},
/**
- * Lookup60: pallet_foreign_assets::AssetIds
+ * Lookup62: pallet_foreign_assets::AssetIds
**/
PalletForeignAssetsAssetIds: {
_enum: {
@@ -574,13 +620,13 @@
}
},
/**
- * Lookup61: pallet_foreign_assets::NativeCurrency
+ * Lookup63: pallet_foreign_assets::NativeCurrency
**/
PalletForeignAssetsNativeCurrency: {
_enum: ['Here', 'Parent']
},
/**
- * Lookup62: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup64: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -618,7 +664,7 @@
}
},
/**
- * Lookup64: xcm::v2::traits::Error
+ * Lookup66: xcm::v2::traits::Error
**/
XcmV2TraitsError: {
_enum: {
@@ -651,7 +697,7 @@
}
},
/**
- * Lookup66: pallet_xcm::pallet::Event<T>
+ * Lookup68: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -675,7 +721,7 @@
}
},
/**
- * Lookup67: xcm::v2::traits::Outcome
+ * Lookup69: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -685,11 +731,11 @@
}
},
/**
- * Lookup68: xcm::v2::Xcm<RuntimeCall>
+ * Lookup70: xcm::v2::Xcm<RuntimeCall>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
- * Lookup70: xcm::v2::Instruction<RuntimeCall>
+ * Lookup72: xcm::v2::Instruction<RuntimeCall>
**/
XcmV2Instruction: {
_enum: {
@@ -787,7 +833,7 @@
}
},
/**
- * Lookup71: xcm::v2::Response
+ * Lookup73: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
@@ -798,19 +844,19 @@
}
},
/**
- * Lookup74: xcm::v0::OriginKind
+ * Lookup76: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
- * Lookup75: xcm::double_encoded::DoubleEncoded<T>
+ * Lookup77: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
- * Lookup76: xcm::v1::multiasset::MultiAssetFilter
+ * Lookup78: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
@@ -819,7 +865,7 @@
}
},
/**
- * Lookup77: xcm::v1::multiasset::WildMultiAsset
+ * Lookup79: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
@@ -831,13 +877,13 @@
}
},
/**
- * Lookup78: xcm::v1::multiasset::WildFungibility
+ * Lookup80: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
- * Lookup79: xcm::v2::WeightLimit
+ * Lookup81: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
@@ -846,7 +892,7 @@
}
},
/**
- * Lookup81: xcm::VersionedMultiAssets
+ * Lookup83: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
@@ -855,7 +901,7 @@
}
},
/**
- * Lookup83: xcm::v0::multi_asset::MultiAsset
+ * Lookup85: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
@@ -894,7 +940,7 @@
}
},
/**
- * Lookup84: xcm::v0::multi_location::MultiLocation
+ * Lookup86: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
@@ -910,7 +956,7 @@
}
},
/**
- * Lookup85: xcm::v0::junction::Junction
+ * Lookup87: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
@@ -939,7 +985,7 @@
}
},
/**
- * Lookup86: xcm::VersionedMultiLocation
+ * Lookup88: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
@@ -948,7 +994,7 @@
}
},
/**
- * Lookup87: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup89: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -958,7 +1004,7 @@
}
},
/**
- * Lookup88: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup90: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -989,7 +1035,7 @@
}
},
/**
- * Lookup89: pallet_common::pallet::Event<T>
+ * Lookup91: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -1018,7 +1064,7 @@
}
},
/**
- * Lookup92: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
+ * Lookup94: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
**/
PalletEvmAccountBasicCrossAccountIdRepr: {
_enum: {
@@ -1027,7 +1073,7 @@
}
},
/**
- * Lookup96: pallet_structure::pallet::Event<T>
+ * Lookup98: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
@@ -1035,7 +1081,7 @@
}
},
/**
- * Lookup97: pallet_rmrk_core::pallet::Event<T>
+ * Lookup99: pallet_rmrk_core::pallet::Event<T>
**/
PalletRmrkCoreEvent: {
_enum: {
@@ -1112,7 +1158,7 @@
}
},
/**
- * Lookup98: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup100: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
RmrkTraitsNftAccountIdOrCollectionNftTuple: {
_enum: {
@@ -1121,7 +1167,7 @@
}
},
/**
- * Lookup102: pallet_rmrk_equip::pallet::Event<T>
+ * Lookup104: pallet_rmrk_equip::pallet::Event<T>
**/
PalletRmrkEquipEvent: {
_enum: {
@@ -1136,7 +1182,7 @@
}
},
/**
- * Lookup103: pallet_app_promotion::pallet::Event<T>
+ * Lookup105: pallet_app_promotion::pallet::Event<T>
**/
PalletAppPromotionEvent: {
_enum: {
@@ -1147,7 +1193,7 @@
}
},
/**
- * Lookup104: pallet_foreign_assets::module::Event<T>
+ * Lookup106: pallet_foreign_assets::module::Event<T>
**/
PalletForeignAssetsModuleEvent: {
_enum: {
@@ -1172,7 +1218,7 @@
}
},
/**
- * Lookup105: pallet_foreign_assets::module::AssetMetadata<Balance>
+ * Lookup107: pallet_foreign_assets::module::AssetMetadata<Balance>
**/
PalletForeignAssetsModuleAssetMetadata: {
name: 'Bytes',
@@ -1181,7 +1227,7 @@
minimalBalance: 'u128'
},
/**
- * Lookup106: pallet_evm::pallet::Event<T>
+ * Lookup108: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1203,7 +1249,7 @@
}
},
/**
- * Lookup107: ethereum::log::Log
+ * Lookup109: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1211,7 +1257,7 @@
data: 'Bytes'
},
/**
- * Lookup109: pallet_ethereum::pallet::Event
+ * Lookup111: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1224,7 +1270,7 @@
}
},
/**
- * Lookup110: evm_core::error::ExitReason
+ * Lookup112: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1235,13 +1281,13 @@
}
},
/**
- * Lookup111: evm_core::error::ExitSucceed
+ * Lookup113: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup112: evm_core::error::ExitError
+ * Lookup114: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1263,13 +1309,13 @@
}
},
/**
- * Lookup115: evm_core::error::ExitRevert
+ * Lookup117: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup116: evm_core::error::ExitFatal
+ * Lookup118: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1280,7 +1326,7 @@
}
},
/**
- * Lookup117: pallet_evm_contract_helpers::pallet::Event<T>
+ * Lookup119: pallet_evm_contract_helpers::pallet::Event<T>
**/
PalletEvmContractHelpersEvent: {
_enum: {
@@ -1290,25 +1336,25 @@
}
},
/**
- * Lookup118: pallet_evm_migration::pallet::Event<T>
+ * Lookup120: pallet_evm_migration::pallet::Event<T>
**/
PalletEvmMigrationEvent: {
_enum: ['TestEvent']
},
/**
- * Lookup119: pallet_maintenance::pallet::Event<T>
+ * Lookup121: pallet_maintenance::pallet::Event<T>
**/
PalletMaintenanceEvent: {
_enum: ['MaintenanceEnabled', 'MaintenanceDisabled']
},
/**
- * Lookup120: pallet_test_utils::pallet::Event<T>
+ * Lookup122: pallet_test_utils::pallet::Event<T>
**/
PalletTestUtilsEvent: {
_enum: ['ValueIsSet', 'ShouldRollback', 'BatchCompleted']
},
/**
- * Lookup121: frame_system::Phase
+ * Lookup123: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1318,14 +1364,14 @@
}
},
/**
- * Lookup124: frame_system::LastRuntimeUpgradeInfo
+ * Lookup126: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup125: frame_system::pallet::Call<T>
+ * Lookup127: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1363,7 +1409,7 @@
}
},
/**
- * Lookup130: frame_system::limits::BlockWeights
+ * Lookup132: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1371,7 +1417,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup131: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup133: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1379,7 +1425,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup132: frame_system::limits::WeightsPerClass
+ * Lookup134: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1388,13 +1434,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup134: frame_system::limits::BlockLength
+ * Lookup136: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup135: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup137: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1402,14 +1448,14 @@
mandatory: 'u32'
},
/**
- * Lookup136: sp_weights::RuntimeDbWeight
+ * Lookup138: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup137: sp_version::RuntimeVersion
+ * Lookup139: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1422,13 +1468,13 @@
stateVersion: 'u8'
},
/**
- * Lookup142: frame_system::pallet::Error<T>
+ * Lookup144: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup143: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup145: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1437,19 +1483,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup146: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup148: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup147: sp_trie::storage_proof::StorageProof
+ * Lookup149: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup149: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup151: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1458,7 +1504,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup152: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup154: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1469,7 +1515,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup153: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup155: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1483,14 +1529,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup159: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup161: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup160: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup162: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1509,7 +1555,7 @@
}
},
/**
- * Lookup161: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup163: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1518,54 +1564,170 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup163: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup165: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup166: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup168: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup169: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup171: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup171: pallet_balances::BalanceLock<Balance>
+ * Lookup173: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
+ **/
+ PalletAuthorshipUncleEntryItem: {
+ _enum: {
+ InclusionHeight: 'u32',
+ Uncle: '(H256,Option<AccountId32>)'
+ }
+ },
+ /**
+ * Lookup175: pallet_authorship::pallet::Call<T>
+ **/
+ PalletAuthorshipCall: {
+ _enum: {
+ set_uncles: {
+ newUncles: 'Vec<SpRuntimeHeader>'
+ }
+ }
+ },
+ /**
+ * Lookup177: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
+ **/
+ SpRuntimeHeader: {
+ parentHash: 'H256',
+ number: 'Compact<u32>',
+ stateRoot: 'H256',
+ extrinsicsRoot: 'H256',
+ digest: 'SpRuntimeDigest'
+ },
+ /**
+ * Lookup178: sp_runtime::traits::BlakeTwo256
+ **/
+ SpRuntimeBlakeTwo256: 'Null',
+ /**
+ * Lookup179: pallet_authorship::pallet::Error<T>
+ **/
+ PalletAuthorshipError: {
+ _enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
+ },
+ /**
+ * Lookup182: pallet_collator_selection::pallet::Call<T>
+ **/
+ PalletCollatorSelectionCall: {
+ _enum: {
+ add_invulnerable: {
+ _alias: {
+ new_: 'new',
+ },
+ new_: 'AccountId32',
+ },
+ remove_invulnerable: {
+ who: 'AccountId32',
+ },
+ set_desired_collators: {
+ max: 'u32',
+ },
+ set_license_bond: {
+ bond: 'u128',
+ },
+ set_kick_threshold: {
+ kickThreshold: 'u32',
+ },
+ get_license: 'Null',
+ onboard: 'Null',
+ offboard: 'Null',
+ release_license: 'Null',
+ force_revoke_license: {
+ who: 'AccountId32'
+ }
+ }
+ },
+ /**
+ * Lookup183: pallet_collator_selection::pallet::Error<T>
**/
+ PalletCollatorSelectionError: {
+ _enum: ['TooManyCandidates', 'Unknown', 'Permission', 'AlreadyHoldingLicense', 'NoLicense', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'TooFewInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered']
+ },
+ /**
+ * Lookup186: opal_runtime::runtime_common::SessionKeys
+ **/
+ OpalRuntimeRuntimeCommonSessionKeys: {
+ aura: 'SpConsensusAuraSr25519AppSr25519Public'
+ },
+ /**
+ * Lookup187: sp_consensus_aura::sr25519::app_sr25519::Public
+ **/
+ SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public',
+ /**
+ * Lookup188: sp_core::sr25519::Public
+ **/
+ SpCoreSr25519Public: '[u8;32]',
+ /**
+ * Lookup191: sp_core::crypto::KeyTypeId
+ **/
+ SpCoreCryptoKeyTypeId: '[u8;4]',
+ /**
+ * Lookup192: pallet_session::pallet::Call<T>
+ **/
+ PalletSessionCall: {
+ _enum: {
+ set_keys: {
+ _alias: {
+ keys_: 'keys',
+ },
+ keys_: 'OpalRuntimeRuntimeCommonSessionKeys',
+ proof: 'Bytes',
+ },
+ purge_keys: 'Null'
+ }
+ },
+ /**
+ * Lookup193: pallet_session::pallet::Error<T>
+ **/
+ PalletSessionError: {
+ _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']
+ },
+ /**
+ * Lookup195: pallet_balances::BalanceLock<Balance>
+ **/
PalletBalancesBalanceLock: {
id: '[u8;8]',
amount: 'u128',
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup172: pallet_balances::Reasons
+ * Lookup196: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup175: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup199: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup177: pallet_balances::Releases
+ * Lookup201: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
- * Lookup178: pallet_balances::pallet::Call<T, I>
+ * Lookup202: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1598,13 +1760,13 @@
}
},
/**
- * Lookup181: pallet_balances::pallet::Error<T, I>
+ * Lookup205: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup183: pallet_timestamp::pallet::Call<T>
+ * Lookup207: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1614,13 +1776,13 @@
}
},
/**
- * Lookup185: pallet_transaction_payment::Releases
+ * Lookup209: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup210: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1629,7 +1791,7 @@
bond: 'u128'
},
/**
- * Lookup189: pallet_treasury::pallet::Call<T, I>
+ * Lookup212: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1653,17 +1815,17 @@
}
},
/**
- * Lookup192: frame_support::PalletId
+ * Lookup215: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup193: pallet_treasury::pallet::Error<T, I>
+ * Lookup216: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup194: pallet_sudo::pallet::Call<T>
+ * Lookup217: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1687,7 +1849,7 @@
}
},
/**
- * Lookup196: orml_vesting::module::Call<T>
+ * Lookup219: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1706,7 +1868,7 @@
}
},
/**
- * Lookup198: orml_xtokens::module::Call<T>
+ * Lookup221: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1749,7 +1911,7 @@
}
},
/**
- * Lookup199: xcm::VersionedMultiAsset
+ * Lookup222: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1758,7 +1920,7 @@
}
},
/**
- * Lookup202: orml_tokens::module::Call<T>
+ * Lookup225: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1792,7 +1954,7 @@
}
},
/**
- * Lookup203: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup226: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -1841,7 +2003,7 @@
}
},
/**
- * Lookup204: pallet_xcm::pallet::Call<T>
+ * Lookup227: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -1895,7 +2057,7 @@
}
},
/**
- * Lookup205: xcm::VersionedXcm<RuntimeCall>
+ * Lookup228: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -1905,7 +2067,7 @@
}
},
/**
- * Lookup206: xcm::v0::Xcm<RuntimeCall>
+ * Lookup229: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -1959,7 +2121,7 @@
}
},
/**
- * Lookup208: xcm::v0::order::Order<RuntimeCall>
+ * Lookup231: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2002,7 +2164,7 @@
}
},
/**
- * Lookup210: xcm::v0::Response
+ * Lookup233: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2010,7 +2172,7 @@
}
},
/**
- * Lookup211: xcm::v1::Xcm<RuntimeCall>
+ * Lookup234: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2069,7 +2231,7 @@
}
},
/**
- * Lookup213: xcm::v1::order::Order<RuntimeCall>
+ * Lookup236: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2114,7 +2276,7 @@
}
},
/**
- * Lookup215: xcm::v1::Response
+ * Lookup238: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2123,11 +2285,11 @@
}
},
/**
- * Lookup229: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup252: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup230: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup253: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2138,7 +2300,7 @@
}
},
/**
- * Lookup231: pallet_inflation::pallet::Call<T>
+ * Lookup254: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2148,7 +2310,7 @@
}
},
/**
- * Lookup232: pallet_unique::Call<T>
+ * Lookup255: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2282,14 +2444,17 @@
operator: 'PalletEvmAccountBasicCrossAccountIdRepr',
approve: 'bool',
},
- repair_item: {
+ force_repair_collection: {
+ collectionId: 'u32',
+ },
+ force_repair_item: {
collectionId: 'u32',
itemId: 'u32'
}
}
},
/**
- * Lookup237: up_data_structs::CollectionMode
+ * Lookup260: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2299,7 +2464,7 @@
}
},
/**
- * Lookup238: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup261: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2314,13 +2479,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup240: up_data_structs::AccessMode
+ * Lookup263: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup242: up_data_structs::CollectionLimits
+ * Lookup265: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2334,7 +2499,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup244: up_data_structs::SponsoringRateLimit
+ * Lookup267: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2343,7 +2508,7 @@
}
},
/**
- * Lookup247: up_data_structs::CollectionPermissions
+ * Lookup270: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2351,7 +2516,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup249: up_data_structs::NestingPermissions
+ * Lookup272: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2359,18 +2524,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup251: up_data_structs::OwnerRestrictedSet
+ * Lookup274: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup256: up_data_structs::PropertyKeyPermission
+ * Lookup279: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup257: up_data_structs::PropertyPermission
+ * Lookup280: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2378,14 +2543,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup260: up_data_structs::Property
+ * Lookup283: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup263: up_data_structs::CreateItemData
+ * Lookup286: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2395,26 +2560,26 @@
}
},
/**
- * Lookup264: up_data_structs::CreateNftData
+ * Lookup287: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup265: up_data_structs::CreateFungibleData
+ * Lookup288: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup266: up_data_structs::CreateReFungibleData
+ * Lookup289: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup269: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup292: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2425,14 +2590,14 @@
}
},
/**
- * Lookup271: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup294: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup278: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup301: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2440,14 +2605,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup280: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup303: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup281: pallet_configuration::pallet::Call<T>
+ * Lookup304: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2466,7 +2631,7 @@
}
},
/**
- * Lookup286: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup309: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2475,15 +2640,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup289: pallet_template_transaction_payment::Call<T>
+ * Lookup312: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup290: pallet_structure::pallet::Call<T>
+ * Lookup313: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup291: pallet_rmrk_core::pallet::Call<T>
+ * Lookup314: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2574,7 +2739,7 @@
}
},
/**
- * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup320: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2584,7 +2749,7 @@
}
},
/**
- * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup322: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2593,7 +2758,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup324: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2604,7 +2769,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup325: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2615,7 +2780,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup305: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup328: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2636,7 +2801,7 @@
}
},
/**
- * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup331: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2645,7 +2810,7 @@
}
},
/**
- * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup333: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2653,7 +2818,7 @@
src: 'Bytes'
},
/**
- * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup334: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2662,7 +2827,7 @@
z: 'u32'
},
/**
- * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup335: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2672,7 +2837,7 @@
}
},
/**
- * 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>>
+ * 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>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2680,14 +2845,14 @@
inherit: 'bool'
},
/**
- * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup339: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup318: pallet_app_promotion::pallet::Call<T>
+ * Lookup341: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2716,7 +2881,7 @@
}
},
/**
- * Lookup319: pallet_foreign_assets::module::Call<T>
+ * Lookup342: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2733,7 +2898,7 @@
}
},
/**
- * Lookup320: pallet_evm::pallet::Call<T>
+ * Lookup343: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2776,7 +2941,7 @@
}
},
/**
- * Lookup326: pallet_ethereum::pallet::Call<T>
+ * Lookup349: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2786,7 +2951,7 @@
}
},
/**
- * Lookup327: ethereum::transaction::TransactionV2
+ * Lookup350: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2796,7 +2961,7 @@
}
},
/**
- * Lookup328: ethereum::transaction::LegacyTransaction
+ * Lookup351: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2808,7 +2973,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup329: ethereum::transaction::TransactionAction
+ * Lookup352: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2817,7 +2982,7 @@
}
},
/**
- * Lookup330: ethereum::transaction::TransactionSignature
+ * Lookup353: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2825,7 +2990,7 @@
s: 'H256'
},
/**
- * Lookup332: ethereum::transaction::EIP2930Transaction
+ * Lookup355: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2841,14 +3006,14 @@
s: 'H256'
},
/**
- * Lookup334: ethereum::transaction::AccessListItem
+ * Lookup357: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup335: ethereum::transaction::EIP1559Transaction
+ * Lookup358: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2865,7 +3030,7 @@
s: 'H256'
},
/**
- * Lookup336: pallet_evm_migration::pallet::Call<T>
+ * Lookup359: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -2889,13 +3054,13 @@
}
},
/**
- * Lookup340: pallet_maintenance::pallet::Call<T>
+ * Lookup363: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup341: pallet_test_utils::pallet::Call<T>
+ * Lookup364: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -2914,32 +3079,32 @@
}
},
/**
- * Lookup343: pallet_sudo::pallet::Error<T>
+ * Lookup366: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup345: orml_vesting::module::Error<T>
+ * Lookup368: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup346: orml_xtokens::module::Error<T>
+ * Lookup369: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup349: orml_tokens::BalanceLock<Balance>
+ * Lookup372: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup351: orml_tokens::AccountData<Balance>
+ * Lookup374: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -2947,20 +3112,20 @@
frozen: 'u128'
},
/**
- * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup376: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup355: orml_tokens::module::Error<T>
+ * Lookup378: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup380: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2968,19 +3133,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup358: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup381: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup384: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup387: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2990,13 +3155,13 @@
lastIndex: 'u16'
},
/**
- * Lookup365: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup388: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup390: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3007,29 +3172,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup392: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup370: pallet_xcm::pallet::Error<T>
+ * Lookup393: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup371: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup394: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup372: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup395: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup373: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup396: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3037,25 +3202,25 @@
overweightCount: 'u64'
},
/**
- * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup399: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup380: pallet_unique::Error<T>
+ * Lookup403: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup381: pallet_configuration::pallet::Error<T>
+ * Lookup404: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup405: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3069,7 +3234,7 @@
flags: '[u8;1]'
},
/**
- * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup406: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3079,7 +3244,7 @@
}
},
/**
- * Lookup385: up_data_structs::Properties
+ * Lookup408: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3087,15 +3252,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup409: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup414: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup398: up_data_structs::CollectionStats
+ * Lookup421: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3103,18 +3268,18 @@
alive: 'u32'
},
/**
- * Lookup399: up_data_structs::TokenChild
+ * Lookup422: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup400: PhantomType::up_data_structs<T>
+ * Lookup423: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup425: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3122,7 +3287,7 @@
pieces: 'u128'
},
/**
- * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup427: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3139,14 +3304,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup405: up_data_structs::RpcCollectionFlags
+ * Lookup428: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * 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>
+ * 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>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -3156,7 +3321,7 @@
nftsCount: 'u32'
},
/**
- * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup430: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3166,14 +3331,14 @@
pending: 'bool'
},
/**
- * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup432: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup433: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3182,14 +3347,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup434: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup435: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3197,92 +3362,92 @@
symbol: 'Bytes'
},
/**
- * Lookup413: rmrk_traits::nft::NftChild
+ * Lookup436: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup415: pallet_common::pallet::Error<T>
+ * Lookup438: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_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']
},
/**
- * Lookup417: pallet_fungible::pallet::Error<T>
+ * Lookup440: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup418: pallet_refungible::ItemData
+ * Lookup441: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup423: pallet_refungible::pallet::Error<T>
+ * Lookup446: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup424: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup447: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup426: up_data_structs::PropertyScope
+ * Lookup449: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup428: pallet_nonfungible::pallet::Error<T>
+ * Lookup451: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup429: pallet_structure::pallet::Error<T>
+ * Lookup452: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup430: pallet_rmrk_core::pallet::Error<T>
+ * Lookup453: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup432: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup455: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup438: pallet_app_promotion::pallet::Error<T>
+ * Lookup461: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup439: pallet_foreign_assets::module::Error<T>
+ * Lookup462: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup441: pallet_evm::pallet::Error<T>
+ * Lookup464: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
},
/**
- * Lookup444: fp_rpc::TransactionStatus
+ * Lookup467: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3294,11 +3459,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup446: ethbloom::Bloom
+ * Lookup469: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup448: ethereum::receipt::ReceiptV3
+ * Lookup471: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3308,7 +3473,7 @@
}
},
/**
- * Lookup449: ethereum::receipt::EIP658ReceiptData
+ * Lookup472: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3317,7 +3482,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup450: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup473: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3325,7 +3490,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup451: ethereum::header::Header
+ * Lookup474: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3345,23 +3510,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup452: ethereum_types::hash::H64
+ * Lookup475: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup457: pallet_ethereum::pallet::Error<T>
+ * Lookup480: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup458: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup481: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup459: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup482: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3371,35 +3536,35 @@
}
},
/**
- * Lookup460: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup483: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup466: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup489: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup467: pallet_evm_migration::pallet::Error<T>
+ * Lookup490: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup468: pallet_maintenance::pallet::Error<T>
+ * Lookup491: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup469: pallet_test_utils::pallet::Error<T>
+ * Lookup492: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup471: sp_runtime::MultiSignature
+ * Lookup494: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3409,51 +3574,51 @@
}
},
/**
- * Lookup472: sp_core::ed25519::Signature
+ * Lookup495: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup474: sp_core::sr25519::Signature
+ * Lookup497: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup475: sp_core::ecdsa::Signature
+ * Lookup498: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup478: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup501: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup479: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup502: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup480: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup503: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup483: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup506: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup484: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup507: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup485: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup508: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup486: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup509: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup487: opal_runtime::Runtime
+ * Lookup510: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup488: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup511: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import 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';
+import 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';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -75,6 +75,7 @@
FrameSystemPhase: FrameSystemPhase;
OpalRuntimeRuntime: OpalRuntimeRuntime;
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance;
+ OpalRuntimeRuntimeCommonSessionKeys: OpalRuntimeRuntimeCommonSessionKeys;
OrmlTokensAccountData: OrmlTokensAccountData;
OrmlTokensBalanceLock: OrmlTokensBalanceLock;
OrmlTokensModuleCall: OrmlTokensModuleCall;
@@ -91,6 +92,9 @@
PalletAppPromotionCall: PalletAppPromotionCall;
PalletAppPromotionError: PalletAppPromotionError;
PalletAppPromotionEvent: PalletAppPromotionEvent;
+ PalletAuthorshipCall: PalletAuthorshipCall;
+ PalletAuthorshipError: PalletAuthorshipError;
+ PalletAuthorshipUncleEntryItem: PalletAuthorshipUncleEntryItem;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
@@ -99,6 +103,9 @@
PalletBalancesReasons: PalletBalancesReasons;
PalletBalancesReleases: PalletBalancesReleases;
PalletBalancesReserveData: PalletBalancesReserveData;
+ PalletCollatorSelectionCall: PalletCollatorSelectionCall;
+ PalletCollatorSelectionError: PalletCollatorSelectionError;
+ PalletCollatorSelectionEvent: PalletCollatorSelectionEvent;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
PalletConfigurationAppPromotionConfiguration: PalletConfigurationAppPromotionConfiguration;
@@ -140,6 +147,9 @@
PalletRmrkEquipCall: PalletRmrkEquipCall;
PalletRmrkEquipError: PalletRmrkEquipError;
PalletRmrkEquipEvent: PalletRmrkEquipEvent;
+ PalletSessionCall: PalletSessionCall;
+ PalletSessionError: PalletSessionError;
+ PalletSessionEvent: PalletSessionEvent;
PalletStructureCall: PalletStructureCall;
PalletStructureError: PalletStructureError;
PalletStructureEvent: PalletStructureEvent;
@@ -190,13 +200,18 @@
RmrkTraitsResourceSlotResource: RmrkTraitsResourceSlotResource;
RmrkTraitsTheme: RmrkTraitsTheme;
RmrkTraitsThemeThemeProperty: RmrkTraitsThemeThemeProperty;
+ SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
+ SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId;
SpCoreEcdsaSignature: SpCoreEcdsaSignature;
SpCoreEd25519Signature: SpCoreEd25519Signature;
+ SpCoreSr25519Public: SpCoreSr25519Public;
SpCoreSr25519Signature: SpCoreSr25519Signature;
SpRuntimeArithmeticError: SpRuntimeArithmeticError;
+ SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256;
SpRuntimeDigest: SpRuntimeDigest;
SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;
SpRuntimeDispatchError: SpRuntimeDispatchError;
+ SpRuntimeHeader: SpRuntimeHeader;
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: SpWeightsWeightV2Weight;34 readonly operational: SpWeightsWeightV2Weight;35 readonly mandatory: SpWeightsWeightV2Weight;36 }3738 /** @name SpWeightsWeightV2Weight (8) */39 interface SpWeightsWeightV2Weight extends Struct {40 readonly refTime: Compact<u64>;41 readonly proofSize: Compact<u64>;42 }4344 /** @name SpRuntimeDigest (13) */45 interface SpRuntimeDigest extends Struct {46 readonly logs: Vec<SpRuntimeDigestDigestItem>;47 }4849 /** @name SpRuntimeDigestDigestItem (15) */50 interface SpRuntimeDigestDigestItem extends Enum {51 readonly isOther: boolean;52 readonly asOther: Bytes;53 readonly isConsensus: boolean;54 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;55 readonly isSeal: boolean;56 readonly asSeal: ITuple<[U8aFixed, Bytes]>;57 readonly isPreRuntime: boolean;58 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;59 readonly isRuntimeEnvironmentUpdated: boolean;60 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';61 }6263 /** @name FrameSystemEventRecord (18) */64 interface FrameSystemEventRecord extends Struct {65 readonly phase: FrameSystemPhase;66 readonly event: Event;67 readonly topics: Vec<H256>;68 }6970 /** @name FrameSystemEvent (20) */71 interface FrameSystemEvent extends Enum {72 readonly isExtrinsicSuccess: boolean;73 readonly asExtrinsicSuccess: {74 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;75 } & Struct;76 readonly isExtrinsicFailed: boolean;77 readonly asExtrinsicFailed: {78 readonly dispatchError: SpRuntimeDispatchError;79 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;80 } & Struct;81 readonly isCodeUpdated: boolean;82 readonly isNewAccount: boolean;83 readonly asNewAccount: {84 readonly account: AccountId32;85 } & Struct;86 readonly isKilledAccount: boolean;87 readonly asKilledAccount: {88 readonly account: AccountId32;89 } & Struct;90 readonly isRemarked: boolean;91 readonly asRemarked: {92 readonly sender: AccountId32;93 readonly hash_: H256;94 } & Struct;95 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';96 }9798 /** @name FrameSupportDispatchDispatchInfo (21) */99 interface FrameSupportDispatchDispatchInfo extends Struct {100 readonly weight: SpWeightsWeightV2Weight;101 readonly class: FrameSupportDispatchDispatchClass;102 readonly paysFee: FrameSupportDispatchPays;103 }104105 /** @name FrameSupportDispatchDispatchClass (22) */106 interface FrameSupportDispatchDispatchClass extends Enum {107 readonly isNormal: boolean;108 readonly isOperational: boolean;109 readonly isMandatory: boolean;110 readonly type: 'Normal' | 'Operational' | 'Mandatory';111 }112113 /** @name FrameSupportDispatchPays (23) */114 interface FrameSupportDispatchPays extends Enum {115 readonly isYes: boolean;116 readonly isNo: boolean;117 readonly type: 'Yes' | 'No';118 }119120 /** @name SpRuntimeDispatchError (24) */121 interface SpRuntimeDispatchError extends Enum {122 readonly isOther: boolean;123 readonly isCannotLookup: boolean;124 readonly isBadOrigin: boolean;125 readonly isModule: boolean;126 readonly asModule: SpRuntimeModuleError;127 readonly isConsumerRemaining: boolean;128 readonly isNoProviders: boolean;129 readonly isTooManyConsumers: boolean;130 readonly isToken: boolean;131 readonly asToken: SpRuntimeTokenError;132 readonly isArithmetic: boolean;133 readonly asArithmetic: SpRuntimeArithmeticError;134 readonly isTransactional: boolean;135 readonly asTransactional: SpRuntimeTransactionalError;136 readonly isExhausted: boolean;137 readonly isCorruption: boolean;138 readonly isUnavailable: boolean;139 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';140 }141142 /** @name SpRuntimeModuleError (25) */143 interface SpRuntimeModuleError extends Struct {144 readonly index: u8;145 readonly error: U8aFixed;146 }147148 /** @name SpRuntimeTokenError (26) */149 interface SpRuntimeTokenError extends Enum {150 readonly isNoFunds: boolean;151 readonly isWouldDie: boolean;152 readonly isBelowMinimum: boolean;153 readonly isCannotCreate: boolean;154 readonly isUnknownAsset: boolean;155 readonly isFrozen: boolean;156 readonly isUnsupported: boolean;157 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';158 }159160 /** @name SpRuntimeArithmeticError (27) */161 interface SpRuntimeArithmeticError extends Enum {162 readonly isUnderflow: boolean;163 readonly isOverflow: boolean;164 readonly isDivisionByZero: boolean;165 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';166 }167168 /** @name SpRuntimeTransactionalError (28) */169 interface SpRuntimeTransactionalError extends Enum {170 readonly isLimitReached: boolean;171 readonly isNoLayer: boolean;172 readonly type: 'LimitReached' | 'NoLayer';173 }174175 /** @name CumulusPalletParachainSystemEvent (29) */176 interface CumulusPalletParachainSystemEvent extends Enum {177 readonly isValidationFunctionStored: boolean;178 readonly isValidationFunctionApplied: boolean;179 readonly asValidationFunctionApplied: {180 readonly relayChainBlockNum: u32;181 } & Struct;182 readonly isValidationFunctionDiscarded: boolean;183 readonly isUpgradeAuthorized: boolean;184 readonly asUpgradeAuthorized: {185 readonly codeHash: H256;186 } & Struct;187 readonly isDownwardMessagesReceived: boolean;188 readonly asDownwardMessagesReceived: {189 readonly count: u32;190 } & Struct;191 readonly isDownwardMessagesProcessed: boolean;192 readonly asDownwardMessagesProcessed: {193 readonly weightUsed: SpWeightsWeightV2Weight;194 readonly dmqHead: H256;195 } & Struct;196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';197 }198199 /** @name PalletBalancesEvent (30) */200 interface PalletBalancesEvent extends Enum {201 readonly isEndowed: boolean;202 readonly asEndowed: {203 readonly account: AccountId32;204 readonly freeBalance: u128;205 } & Struct;206 readonly isDustLost: boolean;207 readonly asDustLost: {208 readonly account: AccountId32;209 readonly amount: u128;210 } & Struct;211 readonly isTransfer: boolean;212 readonly asTransfer: {213 readonly from: AccountId32;214 readonly to: AccountId32;215 readonly amount: u128;216 } & Struct;217 readonly isBalanceSet: boolean;218 readonly asBalanceSet: {219 readonly who: AccountId32;220 readonly free: u128;221 readonly reserved: u128;222 } & Struct;223 readonly isReserved: boolean;224 readonly asReserved: {225 readonly who: AccountId32;226 readonly amount: u128;227 } & Struct;228 readonly isUnreserved: boolean;229 readonly asUnreserved: {230 readonly who: AccountId32;231 readonly amount: u128;232 } & Struct;233 readonly isReserveRepatriated: boolean;234 readonly asReserveRepatriated: {235 readonly from: AccountId32;236 readonly to: AccountId32;237 readonly amount: u128;238 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;239 } & Struct;240 readonly isDeposit: boolean;241 readonly asDeposit: {242 readonly who: AccountId32;243 readonly amount: u128;244 } & Struct;245 readonly isWithdraw: boolean;246 readonly asWithdraw: {247 readonly who: AccountId32;248 readonly amount: u128;249 } & Struct;250 readonly isSlashed: boolean;251 readonly asSlashed: {252 readonly who: AccountId32;253 readonly amount: u128;254 } & Struct;255 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';256 }257258 /** @name FrameSupportTokensMiscBalanceStatus (31) */259 interface FrameSupportTokensMiscBalanceStatus extends Enum {260 readonly isFree: boolean;261 readonly isReserved: boolean;262 readonly type: 'Free' | 'Reserved';263 }264265 /** @name PalletTransactionPaymentEvent (32) */266 interface PalletTransactionPaymentEvent extends Enum {267 readonly isTransactionFeePaid: boolean;268 readonly asTransactionFeePaid: {269 readonly who: AccountId32;270 readonly actualFee: u128;271 readonly tip: u128;272 } & Struct;273 readonly type: 'TransactionFeePaid';274 }275276 /** @name PalletTreasuryEvent (33) */277 interface PalletTreasuryEvent extends Enum {278 readonly isProposed: boolean;279 readonly asProposed: {280 readonly proposalIndex: u32;281 } & Struct;282 readonly isSpending: boolean;283 readonly asSpending: {284 readonly budgetRemaining: u128;285 } & Struct;286 readonly isAwarded: boolean;287 readonly asAwarded: {288 readonly proposalIndex: u32;289 readonly award: u128;290 readonly account: AccountId32;291 } & Struct;292 readonly isRejected: boolean;293 readonly asRejected: {294 readonly proposalIndex: u32;295 readonly slashed: u128;296 } & Struct;297 readonly isBurnt: boolean;298 readonly asBurnt: {299 readonly burntFunds: u128;300 } & Struct;301 readonly isRollover: boolean;302 readonly asRollover: {303 readonly rolloverBalance: u128;304 } & Struct;305 readonly isDeposit: boolean;306 readonly asDeposit: {307 readonly value: u128;308 } & Struct;309 readonly isSpendApproved: boolean;310 readonly asSpendApproved: {311 readonly proposalIndex: u32;312 readonly amount: u128;313 readonly beneficiary: AccountId32;314 } & Struct;315 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';316 }317318 /** @name PalletSudoEvent (34) */319 interface PalletSudoEvent extends Enum {320 readonly isSudid: boolean;321 readonly asSudid: {322 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;323 } & Struct;324 readonly isKeyChanged: boolean;325 readonly asKeyChanged: {326 readonly oldSudoer: Option<AccountId32>;327 } & Struct;328 readonly isSudoAsDone: boolean;329 readonly asSudoAsDone: {330 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;331 } & Struct;332 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';333 }334335 /** @name OrmlVestingModuleEvent (38) */336 interface OrmlVestingModuleEvent extends Enum {337 readonly isVestingScheduleAdded: boolean;338 readonly asVestingScheduleAdded: {339 readonly from: AccountId32;340 readonly to: AccountId32;341 readonly vestingSchedule: OrmlVestingVestingSchedule;342 } & Struct;343 readonly isClaimed: boolean;344 readonly asClaimed: {345 readonly who: AccountId32;346 readonly amount: u128;347 } & Struct;348 readonly isVestingSchedulesUpdated: boolean;349 readonly asVestingSchedulesUpdated: {350 readonly who: AccountId32;351 } & Struct;352 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';353 }354355 /** @name OrmlVestingVestingSchedule (39) */356 interface OrmlVestingVestingSchedule extends Struct {357 readonly start: u32;358 readonly period: u32;359 readonly periodCount: u32;360 readonly perPeriod: Compact<u128>;361 }362363 /** @name OrmlXtokensModuleEvent (41) */364 interface OrmlXtokensModuleEvent extends Enum {365 readonly isTransferredMultiAssets: boolean;366 readonly asTransferredMultiAssets: {367 readonly sender: AccountId32;368 readonly assets: XcmV1MultiassetMultiAssets;369 readonly fee: XcmV1MultiAsset;370 readonly dest: XcmV1MultiLocation;371 } & Struct;372 readonly type: 'TransferredMultiAssets';373 }374375 /** @name XcmV1MultiassetMultiAssets (42) */376 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}377378 /** @name XcmV1MultiAsset (44) */379 interface XcmV1MultiAsset extends Struct {380 readonly id: XcmV1MultiassetAssetId;381 readonly fun: XcmV1MultiassetFungibility;382 }383384 /** @name XcmV1MultiassetAssetId (45) */385 interface XcmV1MultiassetAssetId extends Enum {386 readonly isConcrete: boolean;387 readonly asConcrete: XcmV1MultiLocation;388 readonly isAbstract: boolean;389 readonly asAbstract: Bytes;390 readonly type: 'Concrete' | 'Abstract';391 }392393 /** @name XcmV1MultiLocation (46) */394 interface XcmV1MultiLocation extends Struct {395 readonly parents: u8;396 readonly interior: XcmV1MultilocationJunctions;397 }398399 /** @name XcmV1MultilocationJunctions (47) */400 interface XcmV1MultilocationJunctions extends Enum {401 readonly isHere: boolean;402 readonly isX1: boolean;403 readonly asX1: XcmV1Junction;404 readonly isX2: boolean;405 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;406 readonly isX3: boolean;407 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;408 readonly isX4: boolean;409 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;410 readonly isX5: boolean;411 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;412 readonly isX6: boolean;413 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;414 readonly isX7: boolean;415 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;416 readonly isX8: boolean;417 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;418 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';419 }420421 /** @name XcmV1Junction (48) */422 interface XcmV1Junction extends Enum {423 readonly isParachain: boolean;424 readonly asParachain: Compact<u32>;425 readonly isAccountId32: boolean;426 readonly asAccountId32: {427 readonly network: XcmV0JunctionNetworkId;428 readonly id: U8aFixed;429 } & Struct;430 readonly isAccountIndex64: boolean;431 readonly asAccountIndex64: {432 readonly network: XcmV0JunctionNetworkId;433 readonly index: Compact<u64>;434 } & Struct;435 readonly isAccountKey20: boolean;436 readonly asAccountKey20: {437 readonly network: XcmV0JunctionNetworkId;438 readonly key: U8aFixed;439 } & Struct;440 readonly isPalletInstance: boolean;441 readonly asPalletInstance: u8;442 readonly isGeneralIndex: boolean;443 readonly asGeneralIndex: Compact<u128>;444 readonly isGeneralKey: boolean;445 readonly asGeneralKey: Bytes;446 readonly isOnlyChild: boolean;447 readonly isPlurality: boolean;448 readonly asPlurality: {449 readonly id: XcmV0JunctionBodyId;450 readonly part: XcmV0JunctionBodyPart;451 } & Struct;452 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';453 }454455 /** @name XcmV0JunctionNetworkId (50) */456 interface XcmV0JunctionNetworkId extends Enum {457 readonly isAny: boolean;458 readonly isNamed: boolean;459 readonly asNamed: Bytes;460 readonly isPolkadot: boolean;461 readonly isKusama: boolean;462 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';463 }464465 /** @name XcmV0JunctionBodyId (53) */466 interface XcmV0JunctionBodyId extends Enum {467 readonly isUnit: boolean;468 readonly isNamed: boolean;469 readonly asNamed: Bytes;470 readonly isIndex: boolean;471 readonly asIndex: Compact<u32>;472 readonly isExecutive: boolean;473 readonly isTechnical: boolean;474 readonly isLegislative: boolean;475 readonly isJudicial: boolean;476 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';477 }478479 /** @name XcmV0JunctionBodyPart (54) */480 interface XcmV0JunctionBodyPart extends Enum {481 readonly isVoice: boolean;482 readonly isMembers: boolean;483 readonly asMembers: {484 readonly count: Compact<u32>;485 } & Struct;486 readonly isFraction: boolean;487 readonly asFraction: {488 readonly nom: Compact<u32>;489 readonly denom: Compact<u32>;490 } & Struct;491 readonly isAtLeastProportion: boolean;492 readonly asAtLeastProportion: {493 readonly nom: Compact<u32>;494 readonly denom: Compact<u32>;495 } & Struct;496 readonly isMoreThanProportion: boolean;497 readonly asMoreThanProportion: {498 readonly nom: Compact<u32>;499 readonly denom: Compact<u32>;500 } & Struct;501 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';502 }503504 /** @name XcmV1MultiassetFungibility (55) */505 interface XcmV1MultiassetFungibility extends Enum {506 readonly isFungible: boolean;507 readonly asFungible: Compact<u128>;508 readonly isNonFungible: boolean;509 readonly asNonFungible: XcmV1MultiassetAssetInstance;510 readonly type: 'Fungible' | 'NonFungible';511 }512513 /** @name XcmV1MultiassetAssetInstance (56) */514 interface XcmV1MultiassetAssetInstance extends Enum {515 readonly isUndefined: boolean;516 readonly isIndex: boolean;517 readonly asIndex: Compact<u128>;518 readonly isArray4: boolean;519 readonly asArray4: U8aFixed;520 readonly isArray8: boolean;521 readonly asArray8: U8aFixed;522 readonly isArray16: boolean;523 readonly asArray16: U8aFixed;524 readonly isArray32: boolean;525 readonly asArray32: U8aFixed;526 readonly isBlob: boolean;527 readonly asBlob: Bytes;528 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';529 }530531 /** @name OrmlTokensModuleEvent (59) */532 interface OrmlTokensModuleEvent extends Enum {533 readonly isEndowed: boolean;534 readonly asEndowed: {535 readonly currencyId: PalletForeignAssetsAssetIds;536 readonly who: AccountId32;537 readonly amount: u128;538 } & Struct;539 readonly isDustLost: boolean;540 readonly asDustLost: {541 readonly currencyId: PalletForeignAssetsAssetIds;542 readonly who: AccountId32;543 readonly amount: u128;544 } & Struct;545 readonly isTransfer: boolean;546 readonly asTransfer: {547 readonly currencyId: PalletForeignAssetsAssetIds;548 readonly from: AccountId32;549 readonly to: AccountId32;550 readonly amount: u128;551 } & Struct;552 readonly isReserved: boolean;553 readonly asReserved: {554 readonly currencyId: PalletForeignAssetsAssetIds;555 readonly who: AccountId32;556 readonly amount: u128;557 } & Struct;558 readonly isUnreserved: boolean;559 readonly asUnreserved: {560 readonly currencyId: PalletForeignAssetsAssetIds;561 readonly who: AccountId32;562 readonly amount: u128;563 } & Struct;564 readonly isReserveRepatriated: boolean;565 readonly asReserveRepatriated: {566 readonly currencyId: PalletForeignAssetsAssetIds;567 readonly from: AccountId32;568 readonly to: AccountId32;569 readonly amount: u128;570 readonly status: FrameSupportTokensMiscBalanceStatus;571 } & Struct;572 readonly isBalanceSet: boolean;573 readonly asBalanceSet: {574 readonly currencyId: PalletForeignAssetsAssetIds;575 readonly who: AccountId32;576 readonly free: u128;577 readonly reserved: u128;578 } & Struct;579 readonly isTotalIssuanceSet: boolean;580 readonly asTotalIssuanceSet: {581 readonly currencyId: PalletForeignAssetsAssetIds;582 readonly amount: u128;583 } & Struct;584 readonly isWithdrawn: boolean;585 readonly asWithdrawn: {586 readonly currencyId: PalletForeignAssetsAssetIds;587 readonly who: AccountId32;588 readonly amount: u128;589 } & Struct;590 readonly isSlashed: boolean;591 readonly asSlashed: {592 readonly currencyId: PalletForeignAssetsAssetIds;593 readonly who: AccountId32;594 readonly freeAmount: u128;595 readonly reservedAmount: u128;596 } & Struct;597 readonly isDeposited: boolean;598 readonly asDeposited: {599 readonly currencyId: PalletForeignAssetsAssetIds;600 readonly who: AccountId32;601 readonly amount: u128;602 } & Struct;603 readonly isLockSet: boolean;604 readonly asLockSet: {605 readonly lockId: U8aFixed;606 readonly currencyId: PalletForeignAssetsAssetIds;607 readonly who: AccountId32;608 readonly amount: u128;609 } & Struct;610 readonly isLockRemoved: boolean;611 readonly asLockRemoved: {612 readonly lockId: U8aFixed;613 readonly currencyId: PalletForeignAssetsAssetIds;614 readonly who: AccountId32;615 } & Struct;616 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';617 }618619 /** @name PalletForeignAssetsAssetIds (60) */620 interface PalletForeignAssetsAssetIds extends Enum {621 readonly isForeignAssetId: boolean;622 readonly asForeignAssetId: u32;623 readonly isNativeAssetId: boolean;624 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;625 readonly type: 'ForeignAssetId' | 'NativeAssetId';626 }627628 /** @name PalletForeignAssetsNativeCurrency (61) */629 interface PalletForeignAssetsNativeCurrency extends Enum {630 readonly isHere: boolean;631 readonly isParent: boolean;632 readonly type: 'Here' | 'Parent';633 }634635 /** @name CumulusPalletXcmpQueueEvent (62) */636 interface CumulusPalletXcmpQueueEvent extends Enum {637 readonly isSuccess: boolean;638 readonly asSuccess: {639 readonly messageHash: Option<H256>;640 readonly weight: SpWeightsWeightV2Weight;641 } & Struct;642 readonly isFail: boolean;643 readonly asFail: {644 readonly messageHash: Option<H256>;645 readonly error: XcmV2TraitsError;646 readonly weight: SpWeightsWeightV2Weight;647 } & Struct;648 readonly isBadVersion: boolean;649 readonly asBadVersion: {650 readonly messageHash: Option<H256>;651 } & Struct;652 readonly isBadFormat: boolean;653 readonly asBadFormat: {654 readonly messageHash: Option<H256>;655 } & Struct;656 readonly isUpwardMessageSent: boolean;657 readonly asUpwardMessageSent: {658 readonly messageHash: Option<H256>;659 } & Struct;660 readonly isXcmpMessageSent: boolean;661 readonly asXcmpMessageSent: {662 readonly messageHash: Option<H256>;663 } & Struct;664 readonly isOverweightEnqueued: boolean;665 readonly asOverweightEnqueued: {666 readonly sender: u32;667 readonly sentAt: u32;668 readonly index: u64;669 readonly required: SpWeightsWeightV2Weight;670 } & Struct;671 readonly isOverweightServiced: boolean;672 readonly asOverweightServiced: {673 readonly index: u64;674 readonly used: SpWeightsWeightV2Weight;675 } & Struct;676 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';677 }678679 /** @name XcmV2TraitsError (64) */680 interface XcmV2TraitsError extends Enum {681 readonly isOverflow: boolean;682 readonly isUnimplemented: boolean;683 readonly isUntrustedReserveLocation: boolean;684 readonly isUntrustedTeleportLocation: boolean;685 readonly isMultiLocationFull: boolean;686 readonly isMultiLocationNotInvertible: boolean;687 readonly isBadOrigin: boolean;688 readonly isInvalidLocation: boolean;689 readonly isAssetNotFound: boolean;690 readonly isFailedToTransactAsset: boolean;691 readonly isNotWithdrawable: boolean;692 readonly isLocationCannotHold: boolean;693 readonly isExceedsMaxMessageSize: boolean;694 readonly isDestinationUnsupported: boolean;695 readonly isTransport: boolean;696 readonly isUnroutable: boolean;697 readonly isUnknownClaim: boolean;698 readonly isFailedToDecode: boolean;699 readonly isMaxWeightInvalid: boolean;700 readonly isNotHoldingFees: boolean;701 readonly isTooExpensive: boolean;702 readonly isTrap: boolean;703 readonly asTrap: u64;704 readonly isUnhandledXcmVersion: boolean;705 readonly isWeightLimitReached: boolean;706 readonly asWeightLimitReached: u64;707 readonly isBarrier: boolean;708 readonly isWeightNotComputable: 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';710 }711712 /** @name PalletXcmEvent (66) */713 interface PalletXcmEvent extends Enum {714 readonly isAttempted: boolean;715 readonly asAttempted: XcmV2TraitsOutcome;716 readonly isSent: boolean;717 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;718 readonly isUnexpectedResponse: boolean;719 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;720 readonly isResponseReady: boolean;721 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;722 readonly isNotified: boolean;723 readonly asNotified: ITuple<[u64, u8, u8]>;724 readonly isNotifyOverweight: boolean;725 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;726 readonly isNotifyDispatchError: boolean;727 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;728 readonly isNotifyDecodeFailed: boolean;729 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;730 readonly isInvalidResponder: boolean;731 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;732 readonly isInvalidResponderVersion: boolean;733 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;734 readonly isResponseTaken: boolean;735 readonly asResponseTaken: u64;736 readonly isAssetsTrapped: boolean;737 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;738 readonly isVersionChangeNotified: boolean;739 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;740 readonly isSupportedVersionChanged: boolean;741 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;742 readonly isNotifyTargetSendFail: boolean;743 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;744 readonly isNotifyTargetMigrationFail: boolean;745 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;746 readonly isAssetsClaimed: boolean;747 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;748 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';749 }750751 /** @name XcmV2TraitsOutcome (67) */752 interface XcmV2TraitsOutcome extends Enum {753 readonly isComplete: boolean;754 readonly asComplete: u64;755 readonly isIncomplete: boolean;756 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;757 readonly isError: boolean;758 readonly asError: XcmV2TraitsError;759 readonly type: 'Complete' | 'Incomplete' | 'Error';760 }761762 /** @name XcmV2Xcm (68) */763 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}764765 /** @name XcmV2Instruction (70) */766 interface XcmV2Instruction extends Enum {767 readonly isWithdrawAsset: boolean;768 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;769 readonly isReserveAssetDeposited: boolean;770 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;771 readonly isReceiveTeleportedAsset: boolean;772 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;773 readonly isQueryResponse: boolean;774 readonly asQueryResponse: {775 readonly queryId: Compact<u64>;776 readonly response: XcmV2Response;777 readonly maxWeight: Compact<u64>;778 } & Struct;779 readonly isTransferAsset: boolean;780 readonly asTransferAsset: {781 readonly assets: XcmV1MultiassetMultiAssets;782 readonly beneficiary: XcmV1MultiLocation;783 } & Struct;784 readonly isTransferReserveAsset: boolean;785 readonly asTransferReserveAsset: {786 readonly assets: XcmV1MultiassetMultiAssets;787 readonly dest: XcmV1MultiLocation;788 readonly xcm: XcmV2Xcm;789 } & Struct;790 readonly isTransact: boolean;791 readonly asTransact: {792 readonly originType: XcmV0OriginKind;793 readonly requireWeightAtMost: Compact<u64>;794 readonly call: XcmDoubleEncoded;795 } & Struct;796 readonly isHrmpNewChannelOpenRequest: boolean;797 readonly asHrmpNewChannelOpenRequest: {798 readonly sender: Compact<u32>;799 readonly maxMessageSize: Compact<u32>;800 readonly maxCapacity: Compact<u32>;801 } & Struct;802 readonly isHrmpChannelAccepted: boolean;803 readonly asHrmpChannelAccepted: {804 readonly recipient: Compact<u32>;805 } & Struct;806 readonly isHrmpChannelClosing: boolean;807 readonly asHrmpChannelClosing: {808 readonly initiator: Compact<u32>;809 readonly sender: Compact<u32>;810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isClearOrigin: boolean;813 readonly isDescendOrigin: boolean;814 readonly asDescendOrigin: XcmV1MultilocationJunctions;815 readonly isReportError: boolean;816 readonly asReportError: {817 readonly queryId: Compact<u64>;818 readonly dest: XcmV1MultiLocation;819 readonly maxResponseWeight: Compact<u64>;820 } & Struct;821 readonly isDepositAsset: boolean;822 readonly asDepositAsset: {823 readonly assets: XcmV1MultiassetMultiAssetFilter;824 readonly maxAssets: Compact<u32>;825 readonly beneficiary: XcmV1MultiLocation;826 } & Struct;827 readonly isDepositReserveAsset: boolean;828 readonly asDepositReserveAsset: {829 readonly assets: XcmV1MultiassetMultiAssetFilter;830 readonly maxAssets: Compact<u32>;831 readonly dest: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isExchangeAsset: boolean;835 readonly asExchangeAsset: {836 readonly give: XcmV1MultiassetMultiAssetFilter;837 readonly receive: XcmV1MultiassetMultiAssets;838 } & Struct;839 readonly isInitiateReserveWithdraw: boolean;840 readonly asInitiateReserveWithdraw: {841 readonly assets: XcmV1MultiassetMultiAssetFilter;842 readonly reserve: XcmV1MultiLocation;843 readonly xcm: XcmV2Xcm;844 } & Struct;845 readonly isInitiateTeleport: boolean;846 readonly asInitiateTeleport: {847 readonly assets: XcmV1MultiassetMultiAssetFilter;848 readonly dest: XcmV1MultiLocation;849 readonly xcm: XcmV2Xcm;850 } & Struct;851 readonly isQueryHolding: boolean;852 readonly asQueryHolding: {853 readonly queryId: Compact<u64>;854 readonly dest: XcmV1MultiLocation;855 readonly assets: XcmV1MultiassetMultiAssetFilter;856 readonly maxResponseWeight: Compact<u64>;857 } & Struct;858 readonly isBuyExecution: boolean;859 readonly asBuyExecution: {860 readonly fees: XcmV1MultiAsset;861 readonly weightLimit: XcmV2WeightLimit;862 } & Struct;863 readonly isRefundSurplus: boolean;864 readonly isSetErrorHandler: boolean;865 readonly asSetErrorHandler: XcmV2Xcm;866 readonly isSetAppendix: boolean;867 readonly asSetAppendix: XcmV2Xcm;868 readonly isClearError: boolean;869 readonly isClaimAsset: boolean;870 readonly asClaimAsset: {871 readonly assets: XcmV1MultiassetMultiAssets;872 readonly ticket: XcmV1MultiLocation;873 } & Struct;874 readonly isTrap: boolean;875 readonly asTrap: Compact<u64>;876 readonly isSubscribeVersion: boolean;877 readonly asSubscribeVersion: {878 readonly queryId: Compact<u64>;879 readonly maxResponseWeight: Compact<u64>;880 } & Struct;881 readonly isUnsubscribeVersion: boolean;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';883 }884885 /** @name XcmV2Response (71) */886 interface XcmV2Response extends Enum {887 readonly isNull: boolean;888 readonly isAssets: boolean;889 readonly asAssets: XcmV1MultiassetMultiAssets;890 readonly isExecutionResult: boolean;891 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;892 readonly isVersion: boolean;893 readonly asVersion: u32;894 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';895 }896897 /** @name XcmV0OriginKind (74) */898 interface XcmV0OriginKind extends Enum {899 readonly isNative: boolean;900 readonly isSovereignAccount: boolean;901 readonly isSuperuser: boolean;902 readonly isXcm: boolean;903 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';904 }905906 /** @name XcmDoubleEncoded (75) */907 interface XcmDoubleEncoded extends Struct {908 readonly encoded: Bytes;909 }910911 /** @name XcmV1MultiassetMultiAssetFilter (76) */912 interface XcmV1MultiassetMultiAssetFilter extends Enum {913 readonly isDefinite: boolean;914 readonly asDefinite: XcmV1MultiassetMultiAssets;915 readonly isWild: boolean;916 readonly asWild: XcmV1MultiassetWildMultiAsset;917 readonly type: 'Definite' | 'Wild';918 }919920 /** @name XcmV1MultiassetWildMultiAsset (77) */921 interface XcmV1MultiassetWildMultiAsset extends Enum {922 readonly isAll: boolean;923 readonly isAllOf: boolean;924 readonly asAllOf: {925 readonly id: XcmV1MultiassetAssetId;926 readonly fun: XcmV1MultiassetWildFungibility;927 } & Struct;928 readonly type: 'All' | 'AllOf';929 }930931 /** @name XcmV1MultiassetWildFungibility (78) */932 interface XcmV1MultiassetWildFungibility extends Enum {933 readonly isFungible: boolean;934 readonly isNonFungible: boolean;935 readonly type: 'Fungible' | 'NonFungible';936 }937938 /** @name XcmV2WeightLimit (79) */939 interface XcmV2WeightLimit extends Enum {940 readonly isUnlimited: boolean;941 readonly isLimited: boolean;942 readonly asLimited: Compact<u64>;943 readonly type: 'Unlimited' | 'Limited';944 }945946 /** @name XcmVersionedMultiAssets (81) */947 interface XcmVersionedMultiAssets extends Enum {948 readonly isV0: boolean;949 readonly asV0: Vec<XcmV0MultiAsset>;950 readonly isV1: boolean;951 readonly asV1: XcmV1MultiassetMultiAssets;952 readonly type: 'V0' | 'V1';953 }954955 /** @name XcmV0MultiAsset (83) */956 interface XcmV0MultiAsset extends Enum {957 readonly isNone: boolean;958 readonly isAll: boolean;959 readonly isAllFungible: boolean;960 readonly isAllNonFungible: boolean;961 readonly isAllAbstractFungible: boolean;962 readonly asAllAbstractFungible: {963 readonly id: Bytes;964 } & Struct;965 readonly isAllAbstractNonFungible: boolean;966 readonly asAllAbstractNonFungible: {967 readonly class: Bytes;968 } & Struct;969 readonly isAllConcreteFungible: boolean;970 readonly asAllConcreteFungible: {971 readonly id: XcmV0MultiLocation;972 } & Struct;973 readonly isAllConcreteNonFungible: boolean;974 readonly asAllConcreteNonFungible: {975 readonly class: XcmV0MultiLocation;976 } & Struct;977 readonly isAbstractFungible: boolean;978 readonly asAbstractFungible: {979 readonly id: Bytes;980 readonly amount: Compact<u128>;981 } & Struct;982 readonly isAbstractNonFungible: boolean;983 readonly asAbstractNonFungible: {984 readonly class: Bytes;985 readonly instance: XcmV1MultiassetAssetInstance;986 } & Struct;987 readonly isConcreteFungible: boolean;988 readonly asConcreteFungible: {989 readonly id: XcmV0MultiLocation;990 readonly amount: Compact<u128>;991 } & Struct;992 readonly isConcreteNonFungible: boolean;993 readonly asConcreteNonFungible: {994 readonly class: XcmV0MultiLocation;995 readonly instance: XcmV1MultiassetAssetInstance;996 } & Struct;997 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';998 }9991000 /** @name XcmV0MultiLocation (84) */1001 interface XcmV0MultiLocation extends Enum {1002 readonly isNull: boolean;1003 readonly isX1: boolean;1004 readonly asX1: XcmV0Junction;1005 readonly isX2: boolean;1006 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1007 readonly isX3: boolean;1008 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1009 readonly isX4: boolean;1010 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1011 readonly isX5: boolean;1012 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1013 readonly isX6: boolean;1014 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1015 readonly isX7: boolean;1016 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1017 readonly isX8: boolean;1018 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1019 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1020 }10211022 /** @name XcmV0Junction (85) */1023 interface XcmV0Junction extends Enum {1024 readonly isParent: boolean;1025 readonly isParachain: boolean;1026 readonly asParachain: Compact<u32>;1027 readonly isAccountId32: boolean;1028 readonly asAccountId32: {1029 readonly network: XcmV0JunctionNetworkId;1030 readonly id: U8aFixed;1031 } & Struct;1032 readonly isAccountIndex64: boolean;1033 readonly asAccountIndex64: {1034 readonly network: XcmV0JunctionNetworkId;1035 readonly index: Compact<u64>;1036 } & Struct;1037 readonly isAccountKey20: boolean;1038 readonly asAccountKey20: {1039 readonly network: XcmV0JunctionNetworkId;1040 readonly key: U8aFixed;1041 } & Struct;1042 readonly isPalletInstance: boolean;1043 readonly asPalletInstance: u8;1044 readonly isGeneralIndex: boolean;1045 readonly asGeneralIndex: Compact<u128>;1046 readonly isGeneralKey: boolean;1047 readonly asGeneralKey: Bytes;1048 readonly isOnlyChild: boolean;1049 readonly isPlurality: boolean;1050 readonly asPlurality: {1051 readonly id: XcmV0JunctionBodyId;1052 readonly part: XcmV0JunctionBodyPart;1053 } & Struct;1054 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1055 }10561057 /** @name XcmVersionedMultiLocation (86) */1058 interface XcmVersionedMultiLocation extends Enum {1059 readonly isV0: boolean;1060 readonly asV0: XcmV0MultiLocation;1061 readonly isV1: boolean;1062 readonly asV1: XcmV1MultiLocation;1063 readonly type: 'V0' | 'V1';1064 }10651066 /** @name CumulusPalletXcmEvent (87) */1067 interface CumulusPalletXcmEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: U8aFixed;1070 readonly isUnsupportedVersion: boolean;1071 readonly asUnsupportedVersion: U8aFixed;1072 readonly isExecutedDownward: boolean;1073 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1074 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1075 }10761077 /** @name CumulusPalletDmpQueueEvent (88) */1078 interface CumulusPalletDmpQueueEvent extends Enum {1079 readonly isInvalidFormat: boolean;1080 readonly asInvalidFormat: {1081 readonly messageId: U8aFixed;1082 } & Struct;1083 readonly isUnsupportedVersion: boolean;1084 readonly asUnsupportedVersion: {1085 readonly messageId: U8aFixed;1086 } & Struct;1087 readonly isExecutedDownward: boolean;1088 readonly asExecutedDownward: {1089 readonly messageId: U8aFixed;1090 readonly outcome: XcmV2TraitsOutcome;1091 } & Struct;1092 readonly isWeightExhausted: boolean;1093 readonly asWeightExhausted: {1094 readonly messageId: U8aFixed;1095 readonly remainingWeight: SpWeightsWeightV2Weight;1096 readonly requiredWeight: SpWeightsWeightV2Weight;1097 } & Struct;1098 readonly isOverweightEnqueued: boolean;1099 readonly asOverweightEnqueued: {1100 readonly messageId: U8aFixed;1101 readonly overweightIndex: u64;1102 readonly requiredWeight: SpWeightsWeightV2Weight;1103 } & Struct;1104 readonly isOverweightServiced: boolean;1105 readonly asOverweightServiced: {1106 readonly overweightIndex: u64;1107 readonly weightUsed: SpWeightsWeightV2Weight;1108 } & Struct;1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1110 }11111112 /** @name PalletCommonEvent (89) */1113 interface PalletCommonEvent extends Enum {1114 readonly isCollectionCreated: boolean;1115 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1116 readonly isCollectionDestroyed: boolean;1117 readonly asCollectionDestroyed: u32;1118 readonly isItemCreated: boolean;1119 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1120 readonly isItemDestroyed: boolean;1121 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1122 readonly isTransfer: boolean;1123 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1124 readonly isApproved: boolean;1125 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1126 readonly isApprovedForAll: boolean;1127 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1128 readonly isCollectionPropertySet: boolean;1129 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1130 readonly isCollectionPropertyDeleted: boolean;1131 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1132 readonly isTokenPropertySet: boolean;1133 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1134 readonly isTokenPropertyDeleted: boolean;1135 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1136 readonly isPropertyPermissionSet: boolean;1137 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1138 readonly isAllowListAddressAdded: boolean;1139 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1140 readonly isAllowListAddressRemoved: boolean;1141 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1142 readonly isCollectionAdminAdded: boolean;1143 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1144 readonly isCollectionAdminRemoved: boolean;1145 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1146 readonly isCollectionLimitSet: boolean;1147 readonly asCollectionLimitSet: u32;1148 readonly isCollectionOwnerChanged: boolean;1149 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1150 readonly isCollectionPermissionSet: boolean;1151 readonly asCollectionPermissionSet: u32;1152 readonly isCollectionSponsorSet: boolean;1153 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1154 readonly isSponsorshipConfirmed: boolean;1155 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1156 readonly isCollectionSponsorRemoved: boolean;1157 readonly asCollectionSponsorRemoved: u32;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';1159 }11601161 /** @name PalletEvmAccountBasicCrossAccountIdRepr (92) */1162 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1163 readonly isSubstrate: boolean;1164 readonly asSubstrate: AccountId32;1165 readonly isEthereum: boolean;1166 readonly asEthereum: H160;1167 readonly type: 'Substrate' | 'Ethereum';1168 }11691170 /** @name PalletStructureEvent (96) */1171 interface PalletStructureEvent extends Enum {1172 readonly isExecuted: boolean;1173 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1174 readonly type: 'Executed';1175 }11761177 /** @name PalletRmrkCoreEvent (97) */1178 interface PalletRmrkCoreEvent extends Enum {1179 readonly isCollectionCreated: boolean;1180 readonly asCollectionCreated: {1181 readonly issuer: AccountId32;1182 readonly collectionId: u32;1183 } & Struct;1184 readonly isCollectionDestroyed: boolean;1185 readonly asCollectionDestroyed: {1186 readonly issuer: AccountId32;1187 readonly collectionId: u32;1188 } & Struct;1189 readonly isIssuerChanged: boolean;1190 readonly asIssuerChanged: {1191 readonly oldIssuer: AccountId32;1192 readonly newIssuer: AccountId32;1193 readonly collectionId: u32;1194 } & Struct;1195 readonly isCollectionLocked: boolean;1196 readonly asCollectionLocked: {1197 readonly issuer: AccountId32;1198 readonly collectionId: u32;1199 } & Struct;1200 readonly isNftMinted: boolean;1201 readonly asNftMinted: {1202 readonly owner: AccountId32;1203 readonly collectionId: u32;1204 readonly nftId: u32;1205 } & Struct;1206 readonly isNftBurned: boolean;1207 readonly asNftBurned: {1208 readonly owner: AccountId32;1209 readonly nftId: u32;1210 } & Struct;1211 readonly isNftSent: boolean;1212 readonly asNftSent: {1213 readonly sender: AccountId32;1214 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1215 readonly collectionId: u32;1216 readonly nftId: u32;1217 readonly approvalRequired: bool;1218 } & Struct;1219 readonly isNftAccepted: boolean;1220 readonly asNftAccepted: {1221 readonly sender: AccountId32;1222 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1223 readonly collectionId: u32;1224 readonly nftId: u32;1225 } & Struct;1226 readonly isNftRejected: boolean;1227 readonly asNftRejected: {1228 readonly sender: AccountId32;1229 readonly collectionId: u32;1230 readonly nftId: u32;1231 } & Struct;1232 readonly isPropertySet: boolean;1233 readonly asPropertySet: {1234 readonly collectionId: u32;1235 readonly maybeNftId: Option<u32>;1236 readonly key: Bytes;1237 readonly value: Bytes;1238 } & Struct;1239 readonly isResourceAdded: boolean;1240 readonly asResourceAdded: {1241 readonly nftId: u32;1242 readonly resourceId: u32;1243 } & Struct;1244 readonly isResourceRemoval: boolean;1245 readonly asResourceRemoval: {1246 readonly nftId: u32;1247 readonly resourceId: u32;1248 } & Struct;1249 readonly isResourceAccepted: boolean;1250 readonly asResourceAccepted: {1251 readonly nftId: u32;1252 readonly resourceId: u32;1253 } & Struct;1254 readonly isResourceRemovalAccepted: boolean;1255 readonly asResourceRemovalAccepted: {1256 readonly nftId: u32;1257 readonly resourceId: u32;1258 } & Struct;1259 readonly isPrioritySet: boolean;1260 readonly asPrioritySet: {1261 readonly collectionId: u32;1262 readonly nftId: u32;1263 } & Struct;1264 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1265 }12661267 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (98) */1268 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1269 readonly isAccountId: boolean;1270 readonly asAccountId: AccountId32;1271 readonly isCollectionAndNftTuple: boolean;1272 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1273 readonly type: 'AccountId' | 'CollectionAndNftTuple';1274 }12751276 /** @name PalletRmrkEquipEvent (102) */1277 interface PalletRmrkEquipEvent extends Enum {1278 readonly isBaseCreated: boolean;1279 readonly asBaseCreated: {1280 readonly issuer: AccountId32;1281 readonly baseId: u32;1282 } & Struct;1283 readonly isEquippablesUpdated: boolean;1284 readonly asEquippablesUpdated: {1285 readonly baseId: u32;1286 readonly slotId: u32;1287 } & Struct;1288 readonly type: 'BaseCreated' | 'EquippablesUpdated';1289 }12901291 /** @name PalletAppPromotionEvent (103) */1292 interface PalletAppPromotionEvent extends Enum {1293 readonly isStakingRecalculation: boolean;1294 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1295 readonly isStake: boolean;1296 readonly asStake: ITuple<[AccountId32, u128]>;1297 readonly isUnstake: boolean;1298 readonly asUnstake: ITuple<[AccountId32, u128]>;1299 readonly isSetAdmin: boolean;1300 readonly asSetAdmin: AccountId32;1301 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1302 }13031304 /** @name PalletForeignAssetsModuleEvent (104) */1305 interface PalletForeignAssetsModuleEvent extends Enum {1306 readonly isForeignAssetRegistered: boolean;1307 readonly asForeignAssetRegistered: {1308 readonly assetId: u32;1309 readonly assetAddress: XcmV1MultiLocation;1310 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1311 } & Struct;1312 readonly isForeignAssetUpdated: boolean;1313 readonly asForeignAssetUpdated: {1314 readonly assetId: u32;1315 readonly assetAddress: XcmV1MultiLocation;1316 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1317 } & Struct;1318 readonly isAssetRegistered: boolean;1319 readonly asAssetRegistered: {1320 readonly assetId: PalletForeignAssetsAssetIds;1321 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1322 } & Struct;1323 readonly isAssetUpdated: boolean;1324 readonly asAssetUpdated: {1325 readonly assetId: PalletForeignAssetsAssetIds;1326 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1327 } & Struct;1328 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1329 }13301331 /** @name PalletForeignAssetsModuleAssetMetadata (105) */1332 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1333 readonly name: Bytes;1334 readonly symbol: Bytes;1335 readonly decimals: u8;1336 readonly minimalBalance: u128;1337 }13381339 /** @name PalletEvmEvent (106) */1340 interface PalletEvmEvent extends Enum {1341 readonly isLog: boolean;1342 readonly asLog: {1343 readonly log: EthereumLog;1344 } & Struct;1345 readonly isCreated: boolean;1346 readonly asCreated: {1347 readonly address: H160;1348 } & Struct;1349 readonly isCreatedFailed: boolean;1350 readonly asCreatedFailed: {1351 readonly address: H160;1352 } & Struct;1353 readonly isExecuted: boolean;1354 readonly asExecuted: {1355 readonly address: H160;1356 } & Struct;1357 readonly isExecutedFailed: boolean;1358 readonly asExecutedFailed: {1359 readonly address: H160;1360 } & Struct;1361 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1362 }13631364 /** @name EthereumLog (107) */1365 interface EthereumLog extends Struct {1366 readonly address: H160;1367 readonly topics: Vec<H256>;1368 readonly data: Bytes;1369 }13701371 /** @name PalletEthereumEvent (109) */1372 interface PalletEthereumEvent extends Enum {1373 readonly isExecuted: boolean;1374 readonly asExecuted: {1375 readonly from: H160;1376 readonly to: H160;1377 readonly transactionHash: H256;1378 readonly exitReason: EvmCoreErrorExitReason;1379 } & Struct;1380 readonly type: 'Executed';1381 }13821383 /** @name EvmCoreErrorExitReason (110) */1384 interface EvmCoreErrorExitReason extends Enum {1385 readonly isSucceed: boolean;1386 readonly asSucceed: EvmCoreErrorExitSucceed;1387 readonly isError: boolean;1388 readonly asError: EvmCoreErrorExitError;1389 readonly isRevert: boolean;1390 readonly asRevert: EvmCoreErrorExitRevert;1391 readonly isFatal: boolean;1392 readonly asFatal: EvmCoreErrorExitFatal;1393 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1394 }13951396 /** @name EvmCoreErrorExitSucceed (111) */1397 interface EvmCoreErrorExitSucceed extends Enum {1398 readonly isStopped: boolean;1399 readonly isReturned: boolean;1400 readonly isSuicided: boolean;1401 readonly type: 'Stopped' | 'Returned' | 'Suicided';1402 }14031404 /** @name EvmCoreErrorExitError (112) */1405 interface EvmCoreErrorExitError extends Enum {1406 readonly isStackUnderflow: boolean;1407 readonly isStackOverflow: boolean;1408 readonly isInvalidJump: boolean;1409 readonly isInvalidRange: boolean;1410 readonly isDesignatedInvalid: boolean;1411 readonly isCallTooDeep: boolean;1412 readonly isCreateCollision: boolean;1413 readonly isCreateContractLimit: boolean;1414 readonly isOutOfOffset: boolean;1415 readonly isOutOfGas: boolean;1416 readonly isOutOfFund: boolean;1417 readonly isPcUnderflow: boolean;1418 readonly isCreateEmpty: boolean;1419 readonly isOther: boolean;1420 readonly asOther: Text;1421 readonly isInvalidCode: boolean;1422 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1423 }14241425 /** @name EvmCoreErrorExitRevert (115) */1426 interface EvmCoreErrorExitRevert extends Enum {1427 readonly isReverted: boolean;1428 readonly type: 'Reverted';1429 }14301431 /** @name EvmCoreErrorExitFatal (116) */1432 interface EvmCoreErrorExitFatal extends Enum {1433 readonly isNotSupported: boolean;1434 readonly isUnhandledInterrupt: boolean;1435 readonly isCallErrorAsFatal: boolean;1436 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1437 readonly isOther: boolean;1438 readonly asOther: Text;1439 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1440 }14411442 /** @name PalletEvmContractHelpersEvent (117) */1443 interface PalletEvmContractHelpersEvent extends Enum {1444 readonly isContractSponsorSet: boolean;1445 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1446 readonly isContractSponsorshipConfirmed: boolean;1447 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1448 readonly isContractSponsorRemoved: boolean;1449 readonly asContractSponsorRemoved: H160;1450 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1451 }14521453 /** @name PalletEvmMigrationEvent (118) */1454 interface PalletEvmMigrationEvent extends Enum {1455 readonly isTestEvent: boolean;1456 readonly type: 'TestEvent';1457 }14581459 /** @name PalletMaintenanceEvent (119) */1460 interface PalletMaintenanceEvent extends Enum {1461 readonly isMaintenanceEnabled: boolean;1462 readonly isMaintenanceDisabled: boolean;1463 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1464 }14651466 /** @name PalletTestUtilsEvent (120) */1467 interface PalletTestUtilsEvent extends Enum {1468 readonly isValueIsSet: boolean;1469 readonly isShouldRollback: boolean;1470 readonly isBatchCompleted: boolean;1471 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1472 }14731474 /** @name FrameSystemPhase (121) */1475 interface FrameSystemPhase extends Enum {1476 readonly isApplyExtrinsic: boolean;1477 readonly asApplyExtrinsic: u32;1478 readonly isFinalization: boolean;1479 readonly isInitialization: boolean;1480 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1481 }14821483 /** @name FrameSystemLastRuntimeUpgradeInfo (124) */1484 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1485 readonly specVersion: Compact<u32>;1486 readonly specName: Text;1487 }14881489 /** @name FrameSystemCall (125) */1490 interface FrameSystemCall extends Enum {1491 readonly isFillBlock: boolean;1492 readonly asFillBlock: {1493 readonly ratio: Perbill;1494 } & Struct;1495 readonly isRemark: boolean;1496 readonly asRemark: {1497 readonly remark: Bytes;1498 } & Struct;1499 readonly isSetHeapPages: boolean;1500 readonly asSetHeapPages: {1501 readonly pages: u64;1502 } & Struct;1503 readonly isSetCode: boolean;1504 readonly asSetCode: {1505 readonly code: Bytes;1506 } & Struct;1507 readonly isSetCodeWithoutChecks: boolean;1508 readonly asSetCodeWithoutChecks: {1509 readonly code: Bytes;1510 } & Struct;1511 readonly isSetStorage: boolean;1512 readonly asSetStorage: {1513 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1514 } & Struct;1515 readonly isKillStorage: boolean;1516 readonly asKillStorage: {1517 readonly keys_: Vec<Bytes>;1518 } & Struct;1519 readonly isKillPrefix: boolean;1520 readonly asKillPrefix: {1521 readonly prefix: Bytes;1522 readonly subkeys: u32;1523 } & Struct;1524 readonly isRemarkWithEvent: boolean;1525 readonly asRemarkWithEvent: {1526 readonly remark: Bytes;1527 } & Struct;1528 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1529 }15301531 /** @name FrameSystemLimitsBlockWeights (130) */1532 interface FrameSystemLimitsBlockWeights extends Struct {1533 readonly baseBlock: SpWeightsWeightV2Weight;1534 readonly maxBlock: SpWeightsWeightV2Weight;1535 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1536 }15371538 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (131) */1539 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1540 readonly normal: FrameSystemLimitsWeightsPerClass;1541 readonly operational: FrameSystemLimitsWeightsPerClass;1542 readonly mandatory: FrameSystemLimitsWeightsPerClass;1543 }15441545 /** @name FrameSystemLimitsWeightsPerClass (132) */1546 interface FrameSystemLimitsWeightsPerClass extends Struct {1547 readonly baseExtrinsic: SpWeightsWeightV2Weight;1548 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1549 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1550 readonly reserved: Option<SpWeightsWeightV2Weight>;1551 }15521553 /** @name FrameSystemLimitsBlockLength (134) */1554 interface FrameSystemLimitsBlockLength extends Struct {1555 readonly max: FrameSupportDispatchPerDispatchClassU32;1556 }15571558 /** @name FrameSupportDispatchPerDispatchClassU32 (135) */1559 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1560 readonly normal: u32;1561 readonly operational: u32;1562 readonly mandatory: u32;1563 }15641565 /** @name SpWeightsRuntimeDbWeight (136) */1566 interface SpWeightsRuntimeDbWeight extends Struct {1567 readonly read: u64;1568 readonly write: u64;1569 }15701571 /** @name SpVersionRuntimeVersion (137) */1572 interface SpVersionRuntimeVersion extends Struct {1573 readonly specName: Text;1574 readonly implName: Text;1575 readonly authoringVersion: u32;1576 readonly specVersion: u32;1577 readonly implVersion: u32;1578 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1579 readonly transactionVersion: u32;1580 readonly stateVersion: u8;1581 }15821583 /** @name FrameSystemError (142) */1584 interface FrameSystemError extends Enum {1585 readonly isInvalidSpecName: boolean;1586 readonly isSpecVersionNeedsToIncrease: boolean;1587 readonly isFailedToExtractRuntimeVersion: boolean;1588 readonly isNonDefaultComposite: boolean;1589 readonly isNonZeroRefCount: boolean;1590 readonly isCallFiltered: boolean;1591 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1592 }15931594 /** @name PolkadotPrimitivesV2PersistedValidationData (143) */1595 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1596 readonly parentHead: Bytes;1597 readonly relayParentNumber: u32;1598 readonly relayParentStorageRoot: H256;1599 readonly maxPovSize: u32;1600 }16011602 /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */1603 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1604 readonly isPresent: boolean;1605 readonly type: 'Present';1606 }16071608 /** @name SpTrieStorageProof (147) */1609 interface SpTrieStorageProof extends Struct {1610 readonly trieNodes: BTreeSet<Bytes>;1611 }16121613 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */1614 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1615 readonly dmqMqcHead: H256;1616 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1617 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1618 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1619 }16201621 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */1622 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1623 readonly maxCapacity: u32;1624 readonly maxTotalSize: u32;1625 readonly maxMessageSize: u32;1626 readonly msgCount: u32;1627 readonly totalSize: u32;1628 readonly mqcHead: Option<H256>;1629 }16301631 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */1632 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1633 readonly maxCodeSize: u32;1634 readonly maxHeadDataSize: u32;1635 readonly maxUpwardQueueCount: u32;1636 readonly maxUpwardQueueSize: u32;1637 readonly maxUpwardMessageSize: u32;1638 readonly maxUpwardMessageNumPerCandidate: u32;1639 readonly hrmpMaxMessageNumPerCandidate: u32;1640 readonly validationUpgradeCooldown: u32;1641 readonly validationUpgradeDelay: u32;1642 }16431644 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */1645 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1646 readonly recipient: u32;1647 readonly data: Bytes;1648 }16491650 /** @name CumulusPalletParachainSystemCall (160) */1651 interface CumulusPalletParachainSystemCall extends Enum {1652 readonly isSetValidationData: boolean;1653 readonly asSetValidationData: {1654 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1655 } & Struct;1656 readonly isSudoSendUpwardMessage: boolean;1657 readonly asSudoSendUpwardMessage: {1658 readonly message: Bytes;1659 } & Struct;1660 readonly isAuthorizeUpgrade: boolean;1661 readonly asAuthorizeUpgrade: {1662 readonly codeHash: H256;1663 } & Struct;1664 readonly isEnactAuthorizedUpgrade: boolean;1665 readonly asEnactAuthorizedUpgrade: {1666 readonly code: Bytes;1667 } & Struct;1668 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1669 }16701671 /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */1672 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1673 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1674 readonly relayChainState: SpTrieStorageProof;1675 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1676 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1677 }16781679 /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */1680 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1681 readonly sentAt: u32;1682 readonly msg: Bytes;1683 }16841685 /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */1686 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1687 readonly sentAt: u32;1688 readonly data: Bytes;1689 }16901691 /** @name CumulusPalletParachainSystemError (169) */1692 interface CumulusPalletParachainSystemError extends Enum {1693 readonly isOverlappingUpgrades: boolean;1694 readonly isProhibitedByPolkadot: boolean;1695 readonly isTooBig: boolean;1696 readonly isValidationDataNotAvailable: boolean;1697 readonly isHostConfigurationNotAvailable: boolean;1698 readonly isNotScheduled: boolean;1699 readonly isNothingAuthorized: boolean;1700 readonly isUnauthorized: boolean;1701 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1702 }17031704 /** @name PalletBalancesBalanceLock (171) */1705 interface PalletBalancesBalanceLock extends Struct {1706 readonly id: U8aFixed;1707 readonly amount: u128;1708 readonly reasons: PalletBalancesReasons;1709 }17101711 /** @name PalletBalancesReasons (172) */1712 interface PalletBalancesReasons extends Enum {1713 readonly isFee: boolean;1714 readonly isMisc: boolean;1715 readonly isAll: boolean;1716 readonly type: 'Fee' | 'Misc' | 'All';1717 }17181719 /** @name PalletBalancesReserveData (175) */1720 interface PalletBalancesReserveData extends Struct {1721 readonly id: U8aFixed;1722 readonly amount: u128;1723 }17241725 /** @name PalletBalancesReleases (177) */1726 interface PalletBalancesReleases extends Enum {1727 readonly isV100: boolean;1728 readonly isV200: boolean;1729 readonly type: 'V100' | 'V200';1730 }17311732 /** @name PalletBalancesCall (178) */1733 interface PalletBalancesCall extends Enum {1734 readonly isTransfer: boolean;1735 readonly asTransfer: {1736 readonly dest: MultiAddress;1737 readonly value: Compact<u128>;1738 } & Struct;1739 readonly isSetBalance: boolean;1740 readonly asSetBalance: {1741 readonly who: MultiAddress;1742 readonly newFree: Compact<u128>;1743 readonly newReserved: Compact<u128>;1744 } & Struct;1745 readonly isForceTransfer: boolean;1746 readonly asForceTransfer: {1747 readonly source: MultiAddress;1748 readonly dest: MultiAddress;1749 readonly value: Compact<u128>;1750 } & Struct;1751 readonly isTransferKeepAlive: boolean;1752 readonly asTransferKeepAlive: {1753 readonly dest: MultiAddress;1754 readonly value: Compact<u128>;1755 } & Struct;1756 readonly isTransferAll: boolean;1757 readonly asTransferAll: {1758 readonly dest: MultiAddress;1759 readonly keepAlive: bool;1760 } & Struct;1761 readonly isForceUnreserve: boolean;1762 readonly asForceUnreserve: {1763 readonly who: MultiAddress;1764 readonly amount: u128;1765 } & Struct;1766 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1767 }17681769 /** @name PalletBalancesError (181) */1770 interface PalletBalancesError extends Enum {1771 readonly isVestingBalance: boolean;1772 readonly isLiquidityRestrictions: boolean;1773 readonly isInsufficientBalance: boolean;1774 readonly isExistentialDeposit: boolean;1775 readonly isKeepAlive: boolean;1776 readonly isExistingVestingSchedule: boolean;1777 readonly isDeadAccount: boolean;1778 readonly isTooManyReserves: boolean;1779 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1780 }17811782 /** @name PalletTimestampCall (183) */1783 interface PalletTimestampCall extends Enum {1784 readonly isSet: boolean;1785 readonly asSet: {1786 readonly now: Compact<u64>;1787 } & Struct;1788 readonly type: 'Set';1789 }17901791 /** @name PalletTransactionPaymentReleases (185) */1792 interface PalletTransactionPaymentReleases extends Enum {1793 readonly isV1Ancient: boolean;1794 readonly isV2: boolean;1795 readonly type: 'V1Ancient' | 'V2';1796 }17971798 /** @name PalletTreasuryProposal (186) */1799 interface PalletTreasuryProposal extends Struct {1800 readonly proposer: AccountId32;1801 readonly value: u128;1802 readonly beneficiary: AccountId32;1803 readonly bond: u128;1804 }18051806 /** @name PalletTreasuryCall (189) */1807 interface PalletTreasuryCall extends Enum {1808 readonly isProposeSpend: boolean;1809 readonly asProposeSpend: {1810 readonly value: Compact<u128>;1811 readonly beneficiary: MultiAddress;1812 } & Struct;1813 readonly isRejectProposal: boolean;1814 readonly asRejectProposal: {1815 readonly proposalId: Compact<u32>;1816 } & Struct;1817 readonly isApproveProposal: boolean;1818 readonly asApproveProposal: {1819 readonly proposalId: Compact<u32>;1820 } & Struct;1821 readonly isSpend: boolean;1822 readonly asSpend: {1823 readonly amount: Compact<u128>;1824 readonly beneficiary: MultiAddress;1825 } & Struct;1826 readonly isRemoveApproval: boolean;1827 readonly asRemoveApproval: {1828 readonly proposalId: Compact<u32>;1829 } & Struct;1830 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1831 }18321833 /** @name FrameSupportPalletId (192) */1834 interface FrameSupportPalletId extends U8aFixed {}18351836 /** @name PalletTreasuryError (193) */1837 interface PalletTreasuryError extends Enum {1838 readonly isInsufficientProposersBalance: boolean;1839 readonly isInvalidIndex: boolean;1840 readonly isTooManyApprovals: boolean;1841 readonly isInsufficientPermission: boolean;1842 readonly isProposalNotApproved: boolean;1843 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1844 }18451846 /** @name PalletSudoCall (194) */1847 interface PalletSudoCall extends Enum {1848 readonly isSudo: boolean;1849 readonly asSudo: {1850 readonly call: Call;1851 } & Struct;1852 readonly isSudoUncheckedWeight: boolean;1853 readonly asSudoUncheckedWeight: {1854 readonly call: Call;1855 readonly weight: SpWeightsWeightV2Weight;1856 } & Struct;1857 readonly isSetKey: boolean;1858 readonly asSetKey: {1859 readonly new_: MultiAddress;1860 } & Struct;1861 readonly isSudoAs: boolean;1862 readonly asSudoAs: {1863 readonly who: MultiAddress;1864 readonly call: Call;1865 } & Struct;1866 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1867 }18681869 /** @name OrmlVestingModuleCall (196) */1870 interface OrmlVestingModuleCall extends Enum {1871 readonly isClaim: boolean;1872 readonly isVestedTransfer: boolean;1873 readonly asVestedTransfer: {1874 readonly dest: MultiAddress;1875 readonly schedule: OrmlVestingVestingSchedule;1876 } & Struct;1877 readonly isUpdateVestingSchedules: boolean;1878 readonly asUpdateVestingSchedules: {1879 readonly who: MultiAddress;1880 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1881 } & Struct;1882 readonly isClaimFor: boolean;1883 readonly asClaimFor: {1884 readonly dest: MultiAddress;1885 } & Struct;1886 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1887 }18881889 /** @name OrmlXtokensModuleCall (198) */1890 interface OrmlXtokensModuleCall extends Enum {1891 readonly isTransfer: boolean;1892 readonly asTransfer: {1893 readonly currencyId: PalletForeignAssetsAssetIds;1894 readonly amount: u128;1895 readonly dest: XcmVersionedMultiLocation;1896 readonly destWeightLimit: XcmV2WeightLimit;1897 } & Struct;1898 readonly isTransferMultiasset: boolean;1899 readonly asTransferMultiasset: {1900 readonly asset: XcmVersionedMultiAsset;1901 readonly dest: XcmVersionedMultiLocation;1902 readonly destWeightLimit: XcmV2WeightLimit;1903 } & Struct;1904 readonly isTransferWithFee: boolean;1905 readonly asTransferWithFee: {1906 readonly currencyId: PalletForeignAssetsAssetIds;1907 readonly amount: u128;1908 readonly fee: u128;1909 readonly dest: XcmVersionedMultiLocation;1910 readonly destWeightLimit: XcmV2WeightLimit;1911 } & Struct;1912 readonly isTransferMultiassetWithFee: boolean;1913 readonly asTransferMultiassetWithFee: {1914 readonly asset: XcmVersionedMultiAsset;1915 readonly fee: XcmVersionedMultiAsset;1916 readonly dest: XcmVersionedMultiLocation;1917 readonly destWeightLimit: XcmV2WeightLimit;1918 } & Struct;1919 readonly isTransferMulticurrencies: boolean;1920 readonly asTransferMulticurrencies: {1921 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1922 readonly feeItem: u32;1923 readonly dest: XcmVersionedMultiLocation;1924 readonly destWeightLimit: XcmV2WeightLimit;1925 } & Struct;1926 readonly isTransferMultiassets: boolean;1927 readonly asTransferMultiassets: {1928 readonly assets: XcmVersionedMultiAssets;1929 readonly feeItem: u32;1930 readonly dest: XcmVersionedMultiLocation;1931 readonly destWeightLimit: XcmV2WeightLimit;1932 } & Struct;1933 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1934 }19351936 /** @name XcmVersionedMultiAsset (199) */1937 interface XcmVersionedMultiAsset extends Enum {1938 readonly isV0: boolean;1939 readonly asV0: XcmV0MultiAsset;1940 readonly isV1: boolean;1941 readonly asV1: XcmV1MultiAsset;1942 readonly type: 'V0' | 'V1';1943 }19441945 /** @name OrmlTokensModuleCall (202) */1946 interface OrmlTokensModuleCall extends Enum {1947 readonly isTransfer: boolean;1948 readonly asTransfer: {1949 readonly dest: MultiAddress;1950 readonly currencyId: PalletForeignAssetsAssetIds;1951 readonly amount: Compact<u128>;1952 } & Struct;1953 readonly isTransferAll: boolean;1954 readonly asTransferAll: {1955 readonly dest: MultiAddress;1956 readonly currencyId: PalletForeignAssetsAssetIds;1957 readonly keepAlive: bool;1958 } & Struct;1959 readonly isTransferKeepAlive: boolean;1960 readonly asTransferKeepAlive: {1961 readonly dest: MultiAddress;1962 readonly currencyId: PalletForeignAssetsAssetIds;1963 readonly amount: Compact<u128>;1964 } & Struct;1965 readonly isForceTransfer: boolean;1966 readonly asForceTransfer: {1967 readonly source: MultiAddress;1968 readonly dest: MultiAddress;1969 readonly currencyId: PalletForeignAssetsAssetIds;1970 readonly amount: Compact<u128>;1971 } & Struct;1972 readonly isSetBalance: boolean;1973 readonly asSetBalance: {1974 readonly who: MultiAddress;1975 readonly currencyId: PalletForeignAssetsAssetIds;1976 readonly newFree: Compact<u128>;1977 readonly newReserved: Compact<u128>;1978 } & Struct;1979 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1980 }19811982 /** @name CumulusPalletXcmpQueueCall (203) */1983 interface CumulusPalletXcmpQueueCall extends Enum {1984 readonly isServiceOverweight: boolean;1985 readonly asServiceOverweight: {1986 readonly index: u64;1987 readonly weightLimit: u64;1988 } & Struct;1989 readonly isSuspendXcmExecution: boolean;1990 readonly isResumeXcmExecution: boolean;1991 readonly isUpdateSuspendThreshold: boolean;1992 readonly asUpdateSuspendThreshold: {1993 readonly new_: u32;1994 } & Struct;1995 readonly isUpdateDropThreshold: boolean;1996 readonly asUpdateDropThreshold: {1997 readonly new_: u32;1998 } & Struct;1999 readonly isUpdateResumeThreshold: boolean;2000 readonly asUpdateResumeThreshold: {2001 readonly new_: u32;2002 } & Struct;2003 readonly isUpdateThresholdWeight: boolean;2004 readonly asUpdateThresholdWeight: {2005 readonly new_: u64;2006 } & Struct;2007 readonly isUpdateWeightRestrictDecay: boolean;2008 readonly asUpdateWeightRestrictDecay: {2009 readonly new_: u64;2010 } & Struct;2011 readonly isUpdateXcmpMaxIndividualWeight: boolean;2012 readonly asUpdateXcmpMaxIndividualWeight: {2013 readonly new_: u64;2014 } & Struct;2015 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2016 }20172018 /** @name PalletXcmCall (204) */2019 interface PalletXcmCall extends Enum {2020 readonly isSend: boolean;2021 readonly asSend: {2022 readonly dest: XcmVersionedMultiLocation;2023 readonly message: XcmVersionedXcm;2024 } & Struct;2025 readonly isTeleportAssets: boolean;2026 readonly asTeleportAssets: {2027 readonly dest: XcmVersionedMultiLocation;2028 readonly beneficiary: XcmVersionedMultiLocation;2029 readonly assets: XcmVersionedMultiAssets;2030 readonly feeAssetItem: u32;2031 } & Struct;2032 readonly isReserveTransferAssets: boolean;2033 readonly asReserveTransferAssets: {2034 readonly dest: XcmVersionedMultiLocation;2035 readonly beneficiary: XcmVersionedMultiLocation;2036 readonly assets: XcmVersionedMultiAssets;2037 readonly feeAssetItem: u32;2038 } & Struct;2039 readonly isExecute: boolean;2040 readonly asExecute: {2041 readonly message: XcmVersionedXcm;2042 readonly maxWeight: u64;2043 } & Struct;2044 readonly isForceXcmVersion: boolean;2045 readonly asForceXcmVersion: {2046 readonly location: XcmV1MultiLocation;2047 readonly xcmVersion: u32;2048 } & Struct;2049 readonly isForceDefaultXcmVersion: boolean;2050 readonly asForceDefaultXcmVersion: {2051 readonly maybeXcmVersion: Option<u32>;2052 } & Struct;2053 readonly isForceSubscribeVersionNotify: boolean;2054 readonly asForceSubscribeVersionNotify: {2055 readonly location: XcmVersionedMultiLocation;2056 } & Struct;2057 readonly isForceUnsubscribeVersionNotify: boolean;2058 readonly asForceUnsubscribeVersionNotify: {2059 readonly location: XcmVersionedMultiLocation;2060 } & Struct;2061 readonly isLimitedReserveTransferAssets: boolean;2062 readonly asLimitedReserveTransferAssets: {2063 readonly dest: XcmVersionedMultiLocation;2064 readonly beneficiary: XcmVersionedMultiLocation;2065 readonly assets: XcmVersionedMultiAssets;2066 readonly feeAssetItem: u32;2067 readonly weightLimit: XcmV2WeightLimit;2068 } & Struct;2069 readonly isLimitedTeleportAssets: boolean;2070 readonly asLimitedTeleportAssets: {2071 readonly dest: XcmVersionedMultiLocation;2072 readonly beneficiary: XcmVersionedMultiLocation;2073 readonly assets: XcmVersionedMultiAssets;2074 readonly feeAssetItem: u32;2075 readonly weightLimit: XcmV2WeightLimit;2076 } & Struct;2077 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2078 }20792080 /** @name XcmVersionedXcm (205) */2081 interface XcmVersionedXcm extends Enum {2082 readonly isV0: boolean;2083 readonly asV0: XcmV0Xcm;2084 readonly isV1: boolean;2085 readonly asV1: XcmV1Xcm;2086 readonly isV2: boolean;2087 readonly asV2: XcmV2Xcm;2088 readonly type: 'V0' | 'V1' | 'V2';2089 }20902091 /** @name XcmV0Xcm (206) */2092 interface XcmV0Xcm extends Enum {2093 readonly isWithdrawAsset: boolean;2094 readonly asWithdrawAsset: {2095 readonly assets: Vec<XcmV0MultiAsset>;2096 readonly effects: Vec<XcmV0Order>;2097 } & Struct;2098 readonly isReserveAssetDeposit: boolean;2099 readonly asReserveAssetDeposit: {2100 readonly assets: Vec<XcmV0MultiAsset>;2101 readonly effects: Vec<XcmV0Order>;2102 } & Struct;2103 readonly isTeleportAsset: boolean;2104 readonly asTeleportAsset: {2105 readonly assets: Vec<XcmV0MultiAsset>;2106 readonly effects: Vec<XcmV0Order>;2107 } & Struct;2108 readonly isQueryResponse: boolean;2109 readonly asQueryResponse: {2110 readonly queryId: Compact<u64>;2111 readonly response: XcmV0Response;2112 } & Struct;2113 readonly isTransferAsset: boolean;2114 readonly asTransferAsset: {2115 readonly assets: Vec<XcmV0MultiAsset>;2116 readonly dest: XcmV0MultiLocation;2117 } & Struct;2118 readonly isTransferReserveAsset: boolean;2119 readonly asTransferReserveAsset: {2120 readonly assets: Vec<XcmV0MultiAsset>;2121 readonly dest: XcmV0MultiLocation;2122 readonly effects: Vec<XcmV0Order>;2123 } & Struct;2124 readonly isTransact: boolean;2125 readonly asTransact: {2126 readonly originType: XcmV0OriginKind;2127 readonly requireWeightAtMost: u64;2128 readonly call: XcmDoubleEncoded;2129 } & Struct;2130 readonly isHrmpNewChannelOpenRequest: boolean;2131 readonly asHrmpNewChannelOpenRequest: {2132 readonly sender: Compact<u32>;2133 readonly maxMessageSize: Compact<u32>;2134 readonly maxCapacity: Compact<u32>;2135 } & Struct;2136 readonly isHrmpChannelAccepted: boolean;2137 readonly asHrmpChannelAccepted: {2138 readonly recipient: Compact<u32>;2139 } & Struct;2140 readonly isHrmpChannelClosing: boolean;2141 readonly asHrmpChannelClosing: {2142 readonly initiator: Compact<u32>;2143 readonly sender: Compact<u32>;2144 readonly recipient: Compact<u32>;2145 } & Struct;2146 readonly isRelayedFrom: boolean;2147 readonly asRelayedFrom: {2148 readonly who: XcmV0MultiLocation;2149 readonly message: XcmV0Xcm;2150 } & Struct;2151 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2152 }21532154 /** @name XcmV0Order (208) */2155 interface XcmV0Order extends Enum {2156 readonly isNull: boolean;2157 readonly isDepositAsset: boolean;2158 readonly asDepositAsset: {2159 readonly assets: Vec<XcmV0MultiAsset>;2160 readonly dest: XcmV0MultiLocation;2161 } & Struct;2162 readonly isDepositReserveAsset: boolean;2163 readonly asDepositReserveAsset: {2164 readonly assets: Vec<XcmV0MultiAsset>;2165 readonly dest: XcmV0MultiLocation;2166 readonly effects: Vec<XcmV0Order>;2167 } & Struct;2168 readonly isExchangeAsset: boolean;2169 readonly asExchangeAsset: {2170 readonly give: Vec<XcmV0MultiAsset>;2171 readonly receive: Vec<XcmV0MultiAsset>;2172 } & Struct;2173 readonly isInitiateReserveWithdraw: boolean;2174 readonly asInitiateReserveWithdraw: {2175 readonly assets: Vec<XcmV0MultiAsset>;2176 readonly reserve: XcmV0MultiLocation;2177 readonly effects: Vec<XcmV0Order>;2178 } & Struct;2179 readonly isInitiateTeleport: boolean;2180 readonly asInitiateTeleport: {2181 readonly assets: Vec<XcmV0MultiAsset>;2182 readonly dest: XcmV0MultiLocation;2183 readonly effects: Vec<XcmV0Order>;2184 } & Struct;2185 readonly isQueryHolding: boolean;2186 readonly asQueryHolding: {2187 readonly queryId: Compact<u64>;2188 readonly dest: XcmV0MultiLocation;2189 readonly assets: Vec<XcmV0MultiAsset>;2190 } & Struct;2191 readonly isBuyExecution: boolean;2192 readonly asBuyExecution: {2193 readonly fees: XcmV0MultiAsset;2194 readonly weight: u64;2195 readonly debt: u64;2196 readonly haltOnError: bool;2197 readonly xcm: Vec<XcmV0Xcm>;2198 } & Struct;2199 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2200 }22012202 /** @name XcmV0Response (210) */2203 interface XcmV0Response extends Enum {2204 readonly isAssets: boolean;2205 readonly asAssets: Vec<XcmV0MultiAsset>;2206 readonly type: 'Assets';2207 }22082209 /** @name XcmV1Xcm (211) */2210 interface XcmV1Xcm extends Enum {2211 readonly isWithdrawAsset: boolean;2212 readonly asWithdrawAsset: {2213 readonly assets: XcmV1MultiassetMultiAssets;2214 readonly effects: Vec<XcmV1Order>;2215 } & Struct;2216 readonly isReserveAssetDeposited: boolean;2217 readonly asReserveAssetDeposited: {2218 readonly assets: XcmV1MultiassetMultiAssets;2219 readonly effects: Vec<XcmV1Order>;2220 } & Struct;2221 readonly isReceiveTeleportedAsset: boolean;2222 readonly asReceiveTeleportedAsset: {2223 readonly assets: XcmV1MultiassetMultiAssets;2224 readonly effects: Vec<XcmV1Order>;2225 } & Struct;2226 readonly isQueryResponse: boolean;2227 readonly asQueryResponse: {2228 readonly queryId: Compact<u64>;2229 readonly response: XcmV1Response;2230 } & Struct;2231 readonly isTransferAsset: boolean;2232 readonly asTransferAsset: {2233 readonly assets: XcmV1MultiassetMultiAssets;2234 readonly beneficiary: XcmV1MultiLocation;2235 } & Struct;2236 readonly isTransferReserveAsset: boolean;2237 readonly asTransferReserveAsset: {2238 readonly assets: XcmV1MultiassetMultiAssets;2239 readonly dest: XcmV1MultiLocation;2240 readonly effects: Vec<XcmV1Order>;2241 } & Struct;2242 readonly isTransact: boolean;2243 readonly asTransact: {2244 readonly originType: XcmV0OriginKind;2245 readonly requireWeightAtMost: u64;2246 readonly call: XcmDoubleEncoded;2247 } & Struct;2248 readonly isHrmpNewChannelOpenRequest: boolean;2249 readonly asHrmpNewChannelOpenRequest: {2250 readonly sender: Compact<u32>;2251 readonly maxMessageSize: Compact<u32>;2252 readonly maxCapacity: Compact<u32>;2253 } & Struct;2254 readonly isHrmpChannelAccepted: boolean;2255 readonly asHrmpChannelAccepted: {2256 readonly recipient: Compact<u32>;2257 } & Struct;2258 readonly isHrmpChannelClosing: boolean;2259 readonly asHrmpChannelClosing: {2260 readonly initiator: Compact<u32>;2261 readonly sender: Compact<u32>;2262 readonly recipient: Compact<u32>;2263 } & Struct;2264 readonly isRelayedFrom: boolean;2265 readonly asRelayedFrom: {2266 readonly who: XcmV1MultilocationJunctions;2267 readonly message: XcmV1Xcm;2268 } & Struct;2269 readonly isSubscribeVersion: boolean;2270 readonly asSubscribeVersion: {2271 readonly queryId: Compact<u64>;2272 readonly maxResponseWeight: Compact<u64>;2273 } & Struct;2274 readonly isUnsubscribeVersion: boolean;2275 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2276 }22772278 /** @name XcmV1Order (213) */2279 interface XcmV1Order extends Enum {2280 readonly isNoop: boolean;2281 readonly isDepositAsset: boolean;2282 readonly asDepositAsset: {2283 readonly assets: XcmV1MultiassetMultiAssetFilter;2284 readonly maxAssets: u32;2285 readonly beneficiary: XcmV1MultiLocation;2286 } & Struct;2287 readonly isDepositReserveAsset: boolean;2288 readonly asDepositReserveAsset: {2289 readonly assets: XcmV1MultiassetMultiAssetFilter;2290 readonly maxAssets: u32;2291 readonly dest: XcmV1MultiLocation;2292 readonly effects: Vec<XcmV1Order>;2293 } & Struct;2294 readonly isExchangeAsset: boolean;2295 readonly asExchangeAsset: {2296 readonly give: XcmV1MultiassetMultiAssetFilter;2297 readonly receive: XcmV1MultiassetMultiAssets;2298 } & Struct;2299 readonly isInitiateReserveWithdraw: boolean;2300 readonly asInitiateReserveWithdraw: {2301 readonly assets: XcmV1MultiassetMultiAssetFilter;2302 readonly reserve: XcmV1MultiLocation;2303 readonly effects: Vec<XcmV1Order>;2304 } & Struct;2305 readonly isInitiateTeleport: boolean;2306 readonly asInitiateTeleport: {2307 readonly assets: XcmV1MultiassetMultiAssetFilter;2308 readonly dest: XcmV1MultiLocation;2309 readonly effects: Vec<XcmV1Order>;2310 } & Struct;2311 readonly isQueryHolding: boolean;2312 readonly asQueryHolding: {2313 readonly queryId: Compact<u64>;2314 readonly dest: XcmV1MultiLocation;2315 readonly assets: XcmV1MultiassetMultiAssetFilter;2316 } & Struct;2317 readonly isBuyExecution: boolean;2318 readonly asBuyExecution: {2319 readonly fees: XcmV1MultiAsset;2320 readonly weight: u64;2321 readonly debt: u64;2322 readonly haltOnError: bool;2323 readonly instructions: Vec<XcmV1Xcm>;2324 } & Struct;2325 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2326 }23272328 /** @name XcmV1Response (215) */2329 interface XcmV1Response extends Enum {2330 readonly isAssets: boolean;2331 readonly asAssets: XcmV1MultiassetMultiAssets;2332 readonly isVersion: boolean;2333 readonly asVersion: u32;2334 readonly type: 'Assets' | 'Version';2335 }23362337 /** @name CumulusPalletXcmCall (229) */2338 type CumulusPalletXcmCall = Null;23392340 /** @name CumulusPalletDmpQueueCall (230) */2341 interface CumulusPalletDmpQueueCall extends Enum {2342 readonly isServiceOverweight: boolean;2343 readonly asServiceOverweight: {2344 readonly index: u64;2345 readonly weightLimit: u64;2346 } & Struct;2347 readonly type: 'ServiceOverweight';2348 }23492350 /** @name PalletInflationCall (231) */2351 interface PalletInflationCall extends Enum {2352 readonly isStartInflation: boolean;2353 readonly asStartInflation: {2354 readonly inflationStartRelayBlock: u32;2355 } & Struct;2356 readonly type: 'StartInflation';2357 }23582359 /** @name PalletUniqueCall (232) */2360 interface PalletUniqueCall extends Enum {2361 readonly isCreateCollection: boolean;2362 readonly asCreateCollection: {2363 readonly collectionName: Vec<u16>;2364 readonly collectionDescription: Vec<u16>;2365 readonly tokenPrefix: Bytes;2366 readonly mode: UpDataStructsCollectionMode;2367 } & Struct;2368 readonly isCreateCollectionEx: boolean;2369 readonly asCreateCollectionEx: {2370 readonly data: UpDataStructsCreateCollectionData;2371 } & Struct;2372 readonly isDestroyCollection: boolean;2373 readonly asDestroyCollection: {2374 readonly collectionId: u32;2375 } & Struct;2376 readonly isAddToAllowList: boolean;2377 readonly asAddToAllowList: {2378 readonly collectionId: u32;2379 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2380 } & Struct;2381 readonly isRemoveFromAllowList: boolean;2382 readonly asRemoveFromAllowList: {2383 readonly collectionId: u32;2384 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2385 } & Struct;2386 readonly isChangeCollectionOwner: boolean;2387 readonly asChangeCollectionOwner: {2388 readonly collectionId: u32;2389 readonly newOwner: AccountId32;2390 } & Struct;2391 readonly isAddCollectionAdmin: boolean;2392 readonly asAddCollectionAdmin: {2393 readonly collectionId: u32;2394 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2395 } & Struct;2396 readonly isRemoveCollectionAdmin: boolean;2397 readonly asRemoveCollectionAdmin: {2398 readonly collectionId: u32;2399 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2400 } & Struct;2401 readonly isSetCollectionSponsor: boolean;2402 readonly asSetCollectionSponsor: {2403 readonly collectionId: u32;2404 readonly newSponsor: AccountId32;2405 } & Struct;2406 readonly isConfirmSponsorship: boolean;2407 readonly asConfirmSponsorship: {2408 readonly collectionId: u32;2409 } & Struct;2410 readonly isRemoveCollectionSponsor: boolean;2411 readonly asRemoveCollectionSponsor: {2412 readonly collectionId: u32;2413 } & Struct;2414 readonly isCreateItem: boolean;2415 readonly asCreateItem: {2416 readonly collectionId: u32;2417 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2418 readonly data: UpDataStructsCreateItemData;2419 } & Struct;2420 readonly isCreateMultipleItems: boolean;2421 readonly asCreateMultipleItems: {2422 readonly collectionId: u32;2423 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2424 readonly itemsData: Vec<UpDataStructsCreateItemData>;2425 } & Struct;2426 readonly isSetCollectionProperties: boolean;2427 readonly asSetCollectionProperties: {2428 readonly collectionId: u32;2429 readonly properties: Vec<UpDataStructsProperty>;2430 } & Struct;2431 readonly isDeleteCollectionProperties: boolean;2432 readonly asDeleteCollectionProperties: {2433 readonly collectionId: u32;2434 readonly propertyKeys: Vec<Bytes>;2435 } & Struct;2436 readonly isSetTokenProperties: boolean;2437 readonly asSetTokenProperties: {2438 readonly collectionId: u32;2439 readonly tokenId: u32;2440 readonly properties: Vec<UpDataStructsProperty>;2441 } & Struct;2442 readonly isDeleteTokenProperties: boolean;2443 readonly asDeleteTokenProperties: {2444 readonly collectionId: u32;2445 readonly tokenId: u32;2446 readonly propertyKeys: Vec<Bytes>;2447 } & Struct;2448 readonly isSetTokenPropertyPermissions: boolean;2449 readonly asSetTokenPropertyPermissions: {2450 readonly collectionId: u32;2451 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2452 } & Struct;2453 readonly isCreateMultipleItemsEx: boolean;2454 readonly asCreateMultipleItemsEx: {2455 readonly collectionId: u32;2456 readonly data: UpDataStructsCreateItemExData;2457 } & Struct;2458 readonly isSetTransfersEnabledFlag: boolean;2459 readonly asSetTransfersEnabledFlag: {2460 readonly collectionId: u32;2461 readonly value: bool;2462 } & Struct;2463 readonly isBurnItem: boolean;2464 readonly asBurnItem: {2465 readonly collectionId: u32;2466 readonly itemId: u32;2467 readonly value: u128;2468 } & Struct;2469 readonly isBurnFrom: boolean;2470 readonly asBurnFrom: {2471 readonly collectionId: u32;2472 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2473 readonly itemId: u32;2474 readonly value: u128;2475 } & Struct;2476 readonly isTransfer: boolean;2477 readonly asTransfer: {2478 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2479 readonly collectionId: u32;2480 readonly itemId: u32;2481 readonly value: u128;2482 } & Struct;2483 readonly isApprove: boolean;2484 readonly asApprove: {2485 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2486 readonly collectionId: u32;2487 readonly itemId: u32;2488 readonly amount: u128;2489 } & Struct;2490 readonly isTransferFrom: boolean;2491 readonly asTransferFrom: {2492 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2493 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2494 readonly collectionId: u32;2495 readonly itemId: u32;2496 readonly value: u128;2497 } & Struct;2498 readonly isSetCollectionLimits: boolean;2499 readonly asSetCollectionLimits: {2500 readonly collectionId: u32;2501 readonly newLimit: UpDataStructsCollectionLimits;2502 } & Struct;2503 readonly isSetCollectionPermissions: boolean;2504 readonly asSetCollectionPermissions: {2505 readonly collectionId: u32;2506 readonly newPermission: UpDataStructsCollectionPermissions;2507 } & Struct;2508 readonly isRepartition: boolean;2509 readonly asRepartition: {2510 readonly collectionId: u32;2511 readonly tokenId: u32;2512 readonly amount: u128;2513 } & Struct;2514 readonly isSetAllowanceForAll: boolean;2515 readonly asSetAllowanceForAll: {2516 readonly collectionId: u32;2517 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2518 readonly approve: bool;2519 } & Struct;2520 readonly isRepairItem: boolean;2521 readonly asRepairItem: {2522 readonly collectionId: u32;2523 readonly itemId: u32;2524 } & 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';2526 }25272528 /** @name UpDataStructsCollectionMode (237) */2529 interface UpDataStructsCollectionMode extends Enum {2530 readonly isNft: boolean;2531 readonly isFungible: boolean;2532 readonly asFungible: u8;2533 readonly isReFungible: boolean;2534 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2535 }25362537 /** @name UpDataStructsCreateCollectionData (238) */2538 interface UpDataStructsCreateCollectionData extends Struct {2539 readonly mode: UpDataStructsCollectionMode;2540 readonly access: Option<UpDataStructsAccessMode>;2541 readonly name: Vec<u16>;2542 readonly description: Vec<u16>;2543 readonly tokenPrefix: Bytes;2544 readonly pendingSponsor: Option<AccountId32>;2545 readonly limits: Option<UpDataStructsCollectionLimits>;2546 readonly permissions: Option<UpDataStructsCollectionPermissions>;2547 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2548 readonly properties: Vec<UpDataStructsProperty>;2549 }25502551 /** @name UpDataStructsAccessMode (240) */2552 interface UpDataStructsAccessMode extends Enum {2553 readonly isNormal: boolean;2554 readonly isAllowList: boolean;2555 readonly type: 'Normal' | 'AllowList';2556 }25572558 /** @name UpDataStructsCollectionLimits (242) */2559 interface UpDataStructsCollectionLimits extends Struct {2560 readonly accountTokenOwnershipLimit: Option<u32>;2561 readonly sponsoredDataSize: Option<u32>;2562 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2563 readonly tokenLimit: Option<u32>;2564 readonly sponsorTransferTimeout: Option<u32>;2565 readonly sponsorApproveTimeout: Option<u32>;2566 readonly ownerCanTransfer: Option<bool>;2567 readonly ownerCanDestroy: Option<bool>;2568 readonly transfersEnabled: Option<bool>;2569 }25702571 /** @name UpDataStructsSponsoringRateLimit (244) */2572 interface UpDataStructsSponsoringRateLimit extends Enum {2573 readonly isSponsoringDisabled: boolean;2574 readonly isBlocks: boolean;2575 readonly asBlocks: u32;2576 readonly type: 'SponsoringDisabled' | 'Blocks';2577 }25782579 /** @name UpDataStructsCollectionPermissions (247) */2580 interface UpDataStructsCollectionPermissions extends Struct {2581 readonly access: Option<UpDataStructsAccessMode>;2582 readonly mintMode: Option<bool>;2583 readonly nesting: Option<UpDataStructsNestingPermissions>;2584 }25852586 /** @name UpDataStructsNestingPermissions (249) */2587 interface UpDataStructsNestingPermissions extends Struct {2588 readonly tokenOwner: bool;2589 readonly collectionAdmin: bool;2590 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2591 }25922593 /** @name UpDataStructsOwnerRestrictedSet (251) */2594 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25952596 /** @name UpDataStructsPropertyKeyPermission (256) */2597 interface UpDataStructsPropertyKeyPermission extends Struct {2598 readonly key: Bytes;2599 readonly permission: UpDataStructsPropertyPermission;2600 }26012602 /** @name UpDataStructsPropertyPermission (257) */2603 interface UpDataStructsPropertyPermission extends Struct {2604 readonly mutable: bool;2605 readonly collectionAdmin: bool;2606 readonly tokenOwner: bool;2607 }26082609 /** @name UpDataStructsProperty (260) */2610 interface UpDataStructsProperty extends Struct {2611 readonly key: Bytes;2612 readonly value: Bytes;2613 }26142615 /** @name UpDataStructsCreateItemData (263) */2616 interface UpDataStructsCreateItemData extends Enum {2617 readonly isNft: boolean;2618 readonly asNft: UpDataStructsCreateNftData;2619 readonly isFungible: boolean;2620 readonly asFungible: UpDataStructsCreateFungibleData;2621 readonly isReFungible: boolean;2622 readonly asReFungible: UpDataStructsCreateReFungibleData;2623 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2624 }26252626 /** @name UpDataStructsCreateNftData (264) */2627 interface UpDataStructsCreateNftData extends Struct {2628 readonly properties: Vec<UpDataStructsProperty>;2629 }26302631 /** @name UpDataStructsCreateFungibleData (265) */2632 interface UpDataStructsCreateFungibleData extends Struct {2633 readonly value: u128;2634 }26352636 /** @name UpDataStructsCreateReFungibleData (266) */2637 interface UpDataStructsCreateReFungibleData extends Struct {2638 readonly pieces: u128;2639 readonly properties: Vec<UpDataStructsProperty>;2640 }26412642 /** @name UpDataStructsCreateItemExData (269) */2643 interface UpDataStructsCreateItemExData extends Enum {2644 readonly isNft: boolean;2645 readonly asNft: Vec<UpDataStructsCreateNftExData>;2646 readonly isFungible: boolean;2647 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2648 readonly isRefungibleMultipleItems: boolean;2649 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2650 readonly isRefungibleMultipleOwners: boolean;2651 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2652 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2653 }26542655 /** @name UpDataStructsCreateNftExData (271) */2656 interface UpDataStructsCreateNftExData extends Struct {2657 readonly properties: Vec<UpDataStructsProperty>;2658 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2659 }26602661 /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */2662 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2663 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2664 readonly pieces: u128;2665 readonly properties: Vec<UpDataStructsProperty>;2666 }26672668 /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */2669 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2670 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2671 readonly properties: Vec<UpDataStructsProperty>;2672 }26732674 /** @name PalletConfigurationCall (281) */2675 interface PalletConfigurationCall extends Enum {2676 readonly isSetWeightToFeeCoefficientOverride: boolean;2677 readonly asSetWeightToFeeCoefficientOverride: {2678 readonly coeff: Option<u32>;2679 } & Struct;2680 readonly isSetMinGasPriceOverride: boolean;2681 readonly asSetMinGasPriceOverride: {2682 readonly coeff: Option<u64>;2683 } & Struct;2684 readonly isSetXcmAllowedLocations: boolean;2685 readonly asSetXcmAllowedLocations: {2686 readonly locations: Option<Vec<XcmV1MultiLocation>>;2687 } & Struct;2688 readonly isSetAppPromotionConfigurationOverride: boolean;2689 readonly asSetAppPromotionConfigurationOverride: {2690 readonly configuration: PalletConfigurationAppPromotionConfiguration;2691 } & Struct;2692 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2693 }26942695 /** @name PalletConfigurationAppPromotionConfiguration (286) */2696 interface PalletConfigurationAppPromotionConfiguration extends Struct {2697 readonly recalculationInterval: Option<u32>;2698 readonly pendingInterval: Option<u32>;2699 readonly intervalIncome: Option<Perbill>;2700 readonly maxStakersPerCalculation: Option<u8>;2701 }27022703 /** @name PalletTemplateTransactionPaymentCall (289) */2704 type PalletTemplateTransactionPaymentCall = Null;27052706 /** @name PalletStructureCall (290) */2707 type PalletStructureCall = Null;27082709 /** @name PalletRmrkCoreCall (291) */2710 interface PalletRmrkCoreCall extends Enum {2711 readonly isCreateCollection: boolean;2712 readonly asCreateCollection: {2713 readonly metadata: Bytes;2714 readonly max: Option<u32>;2715 readonly symbol: Bytes;2716 } & Struct;2717 readonly isDestroyCollection: boolean;2718 readonly asDestroyCollection: {2719 readonly collectionId: u32;2720 } & Struct;2721 readonly isChangeCollectionIssuer: boolean;2722 readonly asChangeCollectionIssuer: {2723 readonly collectionId: u32;2724 readonly newIssuer: MultiAddress;2725 } & Struct;2726 readonly isLockCollection: boolean;2727 readonly asLockCollection: {2728 readonly collectionId: u32;2729 } & Struct;2730 readonly isMintNft: boolean;2731 readonly asMintNft: {2732 readonly owner: Option<AccountId32>;2733 readonly collectionId: u32;2734 readonly recipient: Option<AccountId32>;2735 readonly royaltyAmount: Option<Permill>;2736 readonly metadata: Bytes;2737 readonly transferable: bool;2738 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2739 } & Struct;2740 readonly isBurnNft: boolean;2741 readonly asBurnNft: {2742 readonly collectionId: u32;2743 readonly nftId: u32;2744 readonly maxBurns: u32;2745 } & Struct;2746 readonly isSend: boolean;2747 readonly asSend: {2748 readonly rmrkCollectionId: u32;2749 readonly rmrkNftId: u32;2750 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2751 } & Struct;2752 readonly isAcceptNft: boolean;2753 readonly asAcceptNft: {2754 readonly rmrkCollectionId: u32;2755 readonly rmrkNftId: u32;2756 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2757 } & Struct;2758 readonly isRejectNft: boolean;2759 readonly asRejectNft: {2760 readonly rmrkCollectionId: u32;2761 readonly rmrkNftId: u32;2762 } & Struct;2763 readonly isAcceptResource: boolean;2764 readonly asAcceptResource: {2765 readonly rmrkCollectionId: u32;2766 readonly rmrkNftId: u32;2767 readonly resourceId: u32;2768 } & Struct;2769 readonly isAcceptResourceRemoval: boolean;2770 readonly asAcceptResourceRemoval: {2771 readonly rmrkCollectionId: u32;2772 readonly rmrkNftId: u32;2773 readonly resourceId: u32;2774 } & Struct;2775 readonly isSetProperty: boolean;2776 readonly asSetProperty: {2777 readonly rmrkCollectionId: Compact<u32>;2778 readonly maybeNftId: Option<u32>;2779 readonly key: Bytes;2780 readonly value: Bytes;2781 } & Struct;2782 readonly isSetPriority: boolean;2783 readonly asSetPriority: {2784 readonly rmrkCollectionId: u32;2785 readonly rmrkNftId: u32;2786 readonly priorities: Vec<u32>;2787 } & Struct;2788 readonly isAddBasicResource: boolean;2789 readonly asAddBasicResource: {2790 readonly rmrkCollectionId: u32;2791 readonly nftId: u32;2792 readonly resource: RmrkTraitsResourceBasicResource;2793 } & Struct;2794 readonly isAddComposableResource: boolean;2795 readonly asAddComposableResource: {2796 readonly rmrkCollectionId: u32;2797 readonly nftId: u32;2798 readonly resource: RmrkTraitsResourceComposableResource;2799 } & Struct;2800 readonly isAddSlotResource: boolean;2801 readonly asAddSlotResource: {2802 readonly rmrkCollectionId: u32;2803 readonly nftId: u32;2804 readonly resource: RmrkTraitsResourceSlotResource;2805 } & Struct;2806 readonly isRemoveResource: boolean;2807 readonly asRemoveResource: {2808 readonly rmrkCollectionId: u32;2809 readonly nftId: u32;2810 readonly resourceId: u32;2811 } & Struct;2812 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2813 }28142815 /** @name RmrkTraitsResourceResourceTypes (297) */2816 interface RmrkTraitsResourceResourceTypes extends Enum {2817 readonly isBasic: boolean;2818 readonly asBasic: RmrkTraitsResourceBasicResource;2819 readonly isComposable: boolean;2820 readonly asComposable: RmrkTraitsResourceComposableResource;2821 readonly isSlot: boolean;2822 readonly asSlot: RmrkTraitsResourceSlotResource;2823 readonly type: 'Basic' | 'Composable' | 'Slot';2824 }28252826 /** @name RmrkTraitsResourceBasicResource (299) */2827 interface RmrkTraitsResourceBasicResource extends Struct {2828 readonly src: Option<Bytes>;2829 readonly metadata: Option<Bytes>;2830 readonly license: Option<Bytes>;2831 readonly thumb: Option<Bytes>;2832 }28332834 /** @name RmrkTraitsResourceComposableResource (301) */2835 interface RmrkTraitsResourceComposableResource extends Struct {2836 readonly parts: Vec<u32>;2837 readonly base: u32;2838 readonly src: Option<Bytes>;2839 readonly metadata: Option<Bytes>;2840 readonly license: Option<Bytes>;2841 readonly thumb: Option<Bytes>;2842 }28432844 /** @name RmrkTraitsResourceSlotResource (302) */2845 interface RmrkTraitsResourceSlotResource extends Struct {2846 readonly base: u32;2847 readonly src: Option<Bytes>;2848 readonly metadata: Option<Bytes>;2849 readonly slot: u32;2850 readonly license: Option<Bytes>;2851 readonly thumb: Option<Bytes>;2852 }28532854 /** @name PalletRmrkEquipCall (305) */2855 interface PalletRmrkEquipCall extends Enum {2856 readonly isCreateBase: boolean;2857 readonly asCreateBase: {2858 readonly baseType: Bytes;2859 readonly symbol: Bytes;2860 readonly parts: Vec<RmrkTraitsPartPartType>;2861 } & Struct;2862 readonly isThemeAdd: boolean;2863 readonly asThemeAdd: {2864 readonly baseId: u32;2865 readonly theme: RmrkTraitsTheme;2866 } & Struct;2867 readonly isEquippable: boolean;2868 readonly asEquippable: {2869 readonly baseId: u32;2870 readonly slotId: u32;2871 readonly equippables: RmrkTraitsPartEquippableList;2872 } & Struct;2873 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2874 }28752876 /** @name RmrkTraitsPartPartType (308) */2877 interface RmrkTraitsPartPartType extends Enum {2878 readonly isFixedPart: boolean;2879 readonly asFixedPart: RmrkTraitsPartFixedPart;2880 readonly isSlotPart: boolean;2881 readonly asSlotPart: RmrkTraitsPartSlotPart;2882 readonly type: 'FixedPart' | 'SlotPart';2883 }28842885 /** @name RmrkTraitsPartFixedPart (310) */2886 interface RmrkTraitsPartFixedPart extends Struct {2887 readonly id: u32;2888 readonly z: u32;2889 readonly src: Bytes;2890 }28912892 /** @name RmrkTraitsPartSlotPart (311) */2893 interface RmrkTraitsPartSlotPart extends Struct {2894 readonly id: u32;2895 readonly equippable: RmrkTraitsPartEquippableList;2896 readonly src: Bytes;2897 readonly z: u32;2898 }28992900 /** @name RmrkTraitsPartEquippableList (312) */2901 interface RmrkTraitsPartEquippableList extends Enum {2902 readonly isAll: boolean;2903 readonly isEmpty: boolean;2904 readonly isCustom: boolean;2905 readonly asCustom: Vec<u32>;2906 readonly type: 'All' | 'Empty' | 'Custom';2907 }29082909 /** @name RmrkTraitsTheme (314) */2910 interface RmrkTraitsTheme extends Struct {2911 readonly name: Bytes;2912 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2913 readonly inherit: bool;2914 }29152916 /** @name RmrkTraitsThemeThemeProperty (316) */2917 interface RmrkTraitsThemeThemeProperty extends Struct {2918 readonly key: Bytes;2919 readonly value: Bytes;2920 }29212922 /** @name PalletAppPromotionCall (318) */2923 interface PalletAppPromotionCall extends Enum {2924 readonly isSetAdminAddress: boolean;2925 readonly asSetAdminAddress: {2926 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2927 } & Struct;2928 readonly isStake: boolean;2929 readonly asStake: {2930 readonly amount: u128;2931 } & Struct;2932 readonly isUnstake: boolean;2933 readonly isSponsorCollection: boolean;2934 readonly asSponsorCollection: {2935 readonly collectionId: u32;2936 } & Struct;2937 readonly isStopSponsoringCollection: boolean;2938 readonly asStopSponsoringCollection: {2939 readonly collectionId: u32;2940 } & Struct;2941 readonly isSponsorContract: boolean;2942 readonly asSponsorContract: {2943 readonly contractId: H160;2944 } & Struct;2945 readonly isStopSponsoringContract: boolean;2946 readonly asStopSponsoringContract: {2947 readonly contractId: H160;2948 } & Struct;2949 readonly isPayoutStakers: boolean;2950 readonly asPayoutStakers: {2951 readonly stakersNumber: Option<u8>;2952 } & Struct;2953 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2954 }29552956 /** @name PalletForeignAssetsModuleCall (319) */2957 interface PalletForeignAssetsModuleCall extends Enum {2958 readonly isRegisterForeignAsset: boolean;2959 readonly asRegisterForeignAsset: {2960 readonly owner: AccountId32;2961 readonly location: XcmVersionedMultiLocation;2962 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2963 } & Struct;2964 readonly isUpdateForeignAsset: boolean;2965 readonly asUpdateForeignAsset: {2966 readonly foreignAssetId: u32;2967 readonly location: XcmVersionedMultiLocation;2968 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2969 } & Struct;2970 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2971 }29722973 /** @name PalletEvmCall (320) */2974 interface PalletEvmCall extends Enum {2975 readonly isWithdraw: boolean;2976 readonly asWithdraw: {2977 readonly address: H160;2978 readonly value: u128;2979 } & Struct;2980 readonly isCall: boolean;2981 readonly asCall: {2982 readonly source: H160;2983 readonly target: H160;2984 readonly input: Bytes;2985 readonly value: U256;2986 readonly gasLimit: u64;2987 readonly maxFeePerGas: U256;2988 readonly maxPriorityFeePerGas: Option<U256>;2989 readonly nonce: Option<U256>;2990 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2991 } & Struct;2992 readonly isCreate: boolean;2993 readonly asCreate: {2994 readonly source: H160;2995 readonly init: Bytes;2996 readonly value: U256;2997 readonly gasLimit: u64;2998 readonly maxFeePerGas: U256;2999 readonly maxPriorityFeePerGas: Option<U256>;3000 readonly nonce: Option<U256>;3001 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3002 } & Struct;3003 readonly isCreate2: boolean;3004 readonly asCreate2: {3005 readonly source: H160;3006 readonly init: Bytes;3007 readonly salt: H256;3008 readonly value: U256;3009 readonly gasLimit: u64;3010 readonly maxFeePerGas: U256;3011 readonly maxPriorityFeePerGas: Option<U256>;3012 readonly nonce: Option<U256>;3013 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3014 } & Struct;3015 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3016 }30173018 /** @name PalletEthereumCall (326) */3019 interface PalletEthereumCall extends Enum {3020 readonly isTransact: boolean;3021 readonly asTransact: {3022 readonly transaction: EthereumTransactionTransactionV2;3023 } & Struct;3024 readonly type: 'Transact';3025 }30263027 /** @name EthereumTransactionTransactionV2 (327) */3028 interface EthereumTransactionTransactionV2 extends Enum {3029 readonly isLegacy: boolean;3030 readonly asLegacy: EthereumTransactionLegacyTransaction;3031 readonly isEip2930: boolean;3032 readonly asEip2930: EthereumTransactionEip2930Transaction;3033 readonly isEip1559: boolean;3034 readonly asEip1559: EthereumTransactionEip1559Transaction;3035 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3036 }30373038 /** @name EthereumTransactionLegacyTransaction (328) */3039 interface EthereumTransactionLegacyTransaction extends Struct {3040 readonly nonce: U256;3041 readonly gasPrice: U256;3042 readonly gasLimit: U256;3043 readonly action: EthereumTransactionTransactionAction;3044 readonly value: U256;3045 readonly input: Bytes;3046 readonly signature: EthereumTransactionTransactionSignature;3047 }30483049 /** @name EthereumTransactionTransactionAction (329) */3050 interface EthereumTransactionTransactionAction extends Enum {3051 readonly isCall: boolean;3052 readonly asCall: H160;3053 readonly isCreate: boolean;3054 readonly type: 'Call' | 'Create';3055 }30563057 /** @name EthereumTransactionTransactionSignature (330) */3058 interface EthereumTransactionTransactionSignature extends Struct {3059 readonly v: u64;3060 readonly r: H256;3061 readonly s: H256;3062 }30633064 /** @name EthereumTransactionEip2930Transaction (332) */3065 interface EthereumTransactionEip2930Transaction extends Struct {3066 readonly chainId: u64;3067 readonly nonce: U256;3068 readonly gasPrice: U256;3069 readonly gasLimit: U256;3070 readonly action: EthereumTransactionTransactionAction;3071 readonly value: U256;3072 readonly input: Bytes;3073 readonly accessList: Vec<EthereumTransactionAccessListItem>;3074 readonly oddYParity: bool;3075 readonly r: H256;3076 readonly s: H256;3077 }30783079 /** @name EthereumTransactionAccessListItem (334) */3080 interface EthereumTransactionAccessListItem extends Struct {3081 readonly address: H160;3082 readonly storageKeys: Vec<H256>;3083 }30843085 /** @name EthereumTransactionEip1559Transaction (335) */3086 interface EthereumTransactionEip1559Transaction extends Struct {3087 readonly chainId: u64;3088 readonly nonce: U256;3089 readonly maxPriorityFeePerGas: U256;3090 readonly maxFeePerGas: U256;3091 readonly gasLimit: U256;3092 readonly action: EthereumTransactionTransactionAction;3093 readonly value: U256;3094 readonly input: Bytes;3095 readonly accessList: Vec<EthereumTransactionAccessListItem>;3096 readonly oddYParity: bool;3097 readonly r: H256;3098 readonly s: H256;3099 }31003101 /** @name PalletEvmMigrationCall (336) */3102 interface PalletEvmMigrationCall extends Enum {3103 readonly isBegin: boolean;3104 readonly asBegin: {3105 readonly address: H160;3106 } & Struct;3107 readonly isSetData: boolean;3108 readonly asSetData: {3109 readonly address: H160;3110 readonly data: Vec<ITuple<[H256, H256]>>;3111 } & Struct;3112 readonly isFinish: boolean;3113 readonly asFinish: {3114 readonly address: H160;3115 readonly code: Bytes;3116 } & Struct;3117 readonly isInsertEthLogs: boolean;3118 readonly asInsertEthLogs: {3119 readonly logs: Vec<EthereumLog>;3120 } & Struct;3121 readonly isInsertEvents: boolean;3122 readonly asInsertEvents: {3123 readonly events: Vec<Bytes>;3124 } & Struct;3125 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3126 }31273128 /** @name PalletMaintenanceCall (340) */3129 interface PalletMaintenanceCall extends Enum {3130 readonly isEnable: boolean;3131 readonly isDisable: boolean;3132 readonly type: 'Enable' | 'Disable';3133 }31343135 /** @name PalletTestUtilsCall (341) */3136 interface PalletTestUtilsCall extends Enum {3137 readonly isEnable: boolean;3138 readonly isSetTestValue: boolean;3139 readonly asSetTestValue: {3140 readonly value: u32;3141 } & Struct;3142 readonly isSetTestValueAndRollback: boolean;3143 readonly asSetTestValueAndRollback: {3144 readonly value: u32;3145 } & Struct;3146 readonly isIncTestValue: boolean;3147 readonly isJustTakeFee: boolean;3148 readonly isBatchAll: boolean;3149 readonly asBatchAll: {3150 readonly calls: Vec<Call>;3151 } & Struct;3152 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3153 }31543155 /** @name PalletSudoError (343) */3156 interface PalletSudoError extends Enum {3157 readonly isRequireSudo: boolean;3158 readonly type: 'RequireSudo';3159 }31603161 /** @name OrmlVestingModuleError (345) */3162 interface OrmlVestingModuleError extends Enum {3163 readonly isZeroVestingPeriod: boolean;3164 readonly isZeroVestingPeriodCount: boolean;3165 readonly isInsufficientBalanceToLock: boolean;3166 readonly isTooManyVestingSchedules: boolean;3167 readonly isAmountLow: boolean;3168 readonly isMaxVestingSchedulesExceeded: boolean;3169 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3170 }31713172 /** @name OrmlXtokensModuleError (346) */3173 interface OrmlXtokensModuleError extends Enum {3174 readonly isAssetHasNoReserve: boolean;3175 readonly isNotCrossChainTransfer: boolean;3176 readonly isInvalidDest: boolean;3177 readonly isNotCrossChainTransferableCurrency: boolean;3178 readonly isUnweighableMessage: boolean;3179 readonly isXcmExecutionFailed: boolean;3180 readonly isCannotReanchor: boolean;3181 readonly isInvalidAncestry: boolean;3182 readonly isInvalidAsset: boolean;3183 readonly isDestinationNotInvertible: boolean;3184 readonly isBadVersion: boolean;3185 readonly isDistinctReserveForAssetAndFee: boolean;3186 readonly isZeroFee: boolean;3187 readonly isZeroAmount: boolean;3188 readonly isTooManyAssetsBeingSent: boolean;3189 readonly isAssetIndexNonExistent: boolean;3190 readonly isFeeNotEnough: boolean;3191 readonly isNotSupportedMultiLocation: boolean;3192 readonly isMinXcmFeeNotDefined: boolean;3193 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3194 }31953196 /** @name OrmlTokensBalanceLock (349) */3197 interface OrmlTokensBalanceLock extends Struct {3198 readonly id: U8aFixed;3199 readonly amount: u128;3200 }32013202 /** @name OrmlTokensAccountData (351) */3203 interface OrmlTokensAccountData extends Struct {3204 readonly free: u128;3205 readonly reserved: u128;3206 readonly frozen: u128;3207 }32083209 /** @name OrmlTokensReserveData (353) */3210 interface OrmlTokensReserveData extends Struct {3211 readonly id: Null;3212 readonly amount: u128;3213 }32143215 /** @name OrmlTokensModuleError (355) */3216 interface OrmlTokensModuleError extends Enum {3217 readonly isBalanceTooLow: boolean;3218 readonly isAmountIntoBalanceFailed: boolean;3219 readonly isLiquidityRestrictions: boolean;3220 readonly isMaxLocksExceeded: boolean;3221 readonly isKeepAlive: boolean;3222 readonly isExistentialDeposit: boolean;3223 readonly isDeadAccount: boolean;3224 readonly isTooManyReserves: boolean;3225 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3226 }32273228 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3229 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3230 readonly sender: u32;3231 readonly state: CumulusPalletXcmpQueueInboundState;3232 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3233 }32343235 /** @name CumulusPalletXcmpQueueInboundState (358) */3236 interface CumulusPalletXcmpQueueInboundState extends Enum {3237 readonly isOk: boolean;3238 readonly isSuspended: boolean;3239 readonly type: 'Ok' | 'Suspended';3240 }32413242 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3243 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3244 readonly isConcatenatedVersionedXcm: boolean;3245 readonly isConcatenatedEncodedBlob: boolean;3246 readonly isSignals: boolean;3247 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3248 }32493250 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3251 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3252 readonly recipient: u32;3253 readonly state: CumulusPalletXcmpQueueOutboundState;3254 readonly signalsExist: bool;3255 readonly firstIndex: u16;3256 readonly lastIndex: u16;3257 }32583259 /** @name CumulusPalletXcmpQueueOutboundState (365) */3260 interface CumulusPalletXcmpQueueOutboundState extends Enum {3261 readonly isOk: boolean;3262 readonly isSuspended: boolean;3263 readonly type: 'Ok' | 'Suspended';3264 }32653266 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3267 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3268 readonly suspendThreshold: u32;3269 readonly dropThreshold: u32;3270 readonly resumeThreshold: u32;3271 readonly thresholdWeight: SpWeightsWeightV2Weight;3272 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3273 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3274 }32753276 /** @name CumulusPalletXcmpQueueError (369) */3277 interface CumulusPalletXcmpQueueError extends Enum {3278 readonly isFailedToSend: boolean;3279 readonly isBadXcmOrigin: boolean;3280 readonly isBadXcm: boolean;3281 readonly isBadOverweightIndex: boolean;3282 readonly isWeightOverLimit: boolean;3283 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3284 }32853286 /** @name PalletXcmError (370) */3287 interface PalletXcmError extends Enum {3288 readonly isUnreachable: boolean;3289 readonly isSendFailure: boolean;3290 readonly isFiltered: boolean;3291 readonly isUnweighableMessage: boolean;3292 readonly isDestinationNotInvertible: boolean;3293 readonly isEmpty: boolean;3294 readonly isCannotReanchor: boolean;3295 readonly isTooManyAssets: boolean;3296 readonly isInvalidOrigin: boolean;3297 readonly isBadVersion: boolean;3298 readonly isBadLocation: boolean;3299 readonly isNoSubscription: boolean;3300 readonly isAlreadySubscribed: boolean;3301 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3302 }33033304 /** @name CumulusPalletXcmError (371) */3305 type CumulusPalletXcmError = Null;33063307 /** @name CumulusPalletDmpQueueConfigData (372) */3308 interface CumulusPalletDmpQueueConfigData extends Struct {3309 readonly maxIndividual: SpWeightsWeightV2Weight;3310 }33113312 /** @name CumulusPalletDmpQueuePageIndexData (373) */3313 interface CumulusPalletDmpQueuePageIndexData extends Struct {3314 readonly beginUsed: u32;3315 readonly endUsed: u32;3316 readonly overweightCount: u64;3317 }33183319 /** @name CumulusPalletDmpQueueError (376) */3320 interface CumulusPalletDmpQueueError extends Enum {3321 readonly isUnknown: boolean;3322 readonly isOverLimit: boolean;3323 readonly type: 'Unknown' | 'OverLimit';3324 }33253326 /** @name PalletUniqueError (380) */3327 interface PalletUniqueError extends Enum {3328 readonly isCollectionDecimalPointLimitExceeded: boolean;3329 readonly isEmptyArgument: boolean;3330 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3331 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3332 }33333334 /** @name PalletConfigurationError (381) */3335 interface PalletConfigurationError extends Enum {3336 readonly isInconsistentConfiguration: boolean;3337 readonly type: 'InconsistentConfiguration';3338 }33393340 /** @name UpDataStructsCollection (382) */3341 interface UpDataStructsCollection extends Struct {3342 readonly owner: AccountId32;3343 readonly mode: UpDataStructsCollectionMode;3344 readonly name: Vec<u16>;3345 readonly description: Vec<u16>;3346 readonly tokenPrefix: Bytes;3347 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3348 readonly limits: UpDataStructsCollectionLimits;3349 readonly permissions: UpDataStructsCollectionPermissions;3350 readonly flags: U8aFixed;3351 }33523353 /** @name UpDataStructsSponsorshipStateAccountId32 (383) */3354 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3355 readonly isDisabled: boolean;3356 readonly isUnconfirmed: boolean;3357 readonly asUnconfirmed: AccountId32;3358 readonly isConfirmed: boolean;3359 readonly asConfirmed: AccountId32;3360 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3361 }33623363 /** @name UpDataStructsProperties (385) */3364 interface UpDataStructsProperties extends Struct {3365 readonly map: UpDataStructsPropertiesMapBoundedVec;3366 readonly consumedSpace: u32;3367 readonly spaceLimit: u32;3368 }33693370 /** @name UpDataStructsPropertiesMapBoundedVec (386) */3371 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33723373 /** @name UpDataStructsPropertiesMapPropertyPermission (391) */3374 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33753376 /** @name UpDataStructsCollectionStats (398) */3377 interface UpDataStructsCollectionStats extends Struct {3378 readonly created: u32;3379 readonly destroyed: u32;3380 readonly alive: u32;3381 }33823383 /** @name UpDataStructsTokenChild (399) */3384 interface UpDataStructsTokenChild extends Struct {3385 readonly token: u32;3386 readonly collection: u32;3387 }33883389 /** @name PhantomTypeUpDataStructs (400) */3390 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}33913392 /** @name UpDataStructsTokenData (402) */3393 interface UpDataStructsTokenData extends Struct {3394 readonly properties: Vec<UpDataStructsProperty>;3395 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3396 readonly pieces: u128;3397 }33983399 /** @name UpDataStructsRpcCollection (404) */3400 interface UpDataStructsRpcCollection extends Struct {3401 readonly owner: AccountId32;3402 readonly mode: UpDataStructsCollectionMode;3403 readonly name: Vec<u16>;3404 readonly description: Vec<u16>;3405 readonly tokenPrefix: Bytes;3406 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3407 readonly limits: UpDataStructsCollectionLimits;3408 readonly permissions: UpDataStructsCollectionPermissions;3409 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3410 readonly properties: Vec<UpDataStructsProperty>;3411 readonly readOnly: bool;3412 readonly flags: UpDataStructsRpcCollectionFlags;3413 }34143415 /** @name UpDataStructsRpcCollectionFlags (405) */3416 interface UpDataStructsRpcCollectionFlags extends Struct {3417 readonly foreign: bool;3418 readonly erc721metadata: bool;3419 }34203421 /** @name RmrkTraitsCollectionCollectionInfo (406) */3422 interface RmrkTraitsCollectionCollectionInfo extends Struct {3423 readonly issuer: AccountId32;3424 readonly metadata: Bytes;3425 readonly max: Option<u32>;3426 readonly symbol: Bytes;3427 readonly nftsCount: u32;3428 }34293430 /** @name RmrkTraitsNftNftInfo (407) */3431 interface RmrkTraitsNftNftInfo extends Struct {3432 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3433 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3434 readonly metadata: Bytes;3435 readonly equipped: bool;3436 readonly pending: bool;3437 }34383439 /** @name RmrkTraitsNftRoyaltyInfo (409) */3440 interface RmrkTraitsNftRoyaltyInfo extends Struct {3441 readonly recipient: AccountId32;3442 readonly amount: Permill;3443 }34443445 /** @name RmrkTraitsResourceResourceInfo (410) */3446 interface RmrkTraitsResourceResourceInfo extends Struct {3447 readonly id: u32;3448 readonly resource: RmrkTraitsResourceResourceTypes;3449 readonly pending: bool;3450 readonly pendingRemoval: bool;3451 }34523453 /** @name RmrkTraitsPropertyPropertyInfo (411) */3454 interface RmrkTraitsPropertyPropertyInfo extends Struct {3455 readonly key: Bytes;3456 readonly value: Bytes;3457 }34583459 /** @name RmrkTraitsBaseBaseInfo (412) */3460 interface RmrkTraitsBaseBaseInfo extends Struct {3461 readonly issuer: AccountId32;3462 readonly baseType: Bytes;3463 readonly symbol: Bytes;3464 }34653466 /** @name RmrkTraitsNftNftChild (413) */3467 interface RmrkTraitsNftNftChild extends Struct {3468 readonly collectionId: u32;3469 readonly nftId: u32;3470 }34713472 /** @name PalletCommonError (415) */3473 interface PalletCommonError extends Enum {3474 readonly isCollectionNotFound: boolean;3475 readonly isMustBeTokenOwner: boolean;3476 readonly isNoPermission: boolean;3477 readonly isCantDestroyNotEmptyCollection: boolean;3478 readonly isPublicMintingNotAllowed: boolean;3479 readonly isAddressNotInAllowlist: boolean;3480 readonly isCollectionNameLimitExceeded: boolean;3481 readonly isCollectionDescriptionLimitExceeded: boolean;3482 readonly isCollectionTokenPrefixLimitExceeded: boolean;3483 readonly isTotalCollectionsLimitExceeded: boolean;3484 readonly isCollectionAdminCountExceeded: boolean;3485 readonly isCollectionLimitBoundsExceeded: boolean;3486 readonly isOwnerPermissionsCantBeReverted: boolean;3487 readonly isTransferNotAllowed: boolean;3488 readonly isAccountTokenLimitExceeded: boolean;3489 readonly isCollectionTokenLimitExceeded: boolean;3490 readonly isMetadataFlagFrozen: boolean;3491 readonly isTokenNotFound: boolean;3492 readonly isTokenValueTooLow: boolean;3493 readonly isApprovedValueTooLow: boolean;3494 readonly isCantApproveMoreThanOwned: boolean;3495 readonly isAddressIsZero: boolean;3496 readonly isUnsupportedOperation: boolean;3497 readonly isNotSufficientFounds: boolean;3498 readonly isUserIsNotAllowedToNest: boolean;3499 readonly isSourceCollectionIsNotAllowedToNest: boolean;3500 readonly isCollectionFieldSizeExceeded: boolean;3501 readonly isNoSpaceForProperty: boolean;3502 readonly isPropertyLimitReached: boolean;3503 readonly isPropertyKeyIsTooLong: boolean;3504 readonly isInvalidCharacterInPropertyKey: boolean;3505 readonly isEmptyPropertyKey: boolean;3506 readonly isCollectionIsExternal: boolean;3507 readonly isCollectionIsInternal: boolean;3508 readonly isConfirmSponsorshipFail: boolean;3509 readonly isUserIsNotCollectionAdmin: 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';3511 }35123513 /** @name PalletFungibleError (417) */3514 interface PalletFungibleError extends Enum {3515 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3516 readonly isFungibleItemsHaveNoId: boolean;3517 readonly isFungibleItemsDontHaveData: boolean;3518 readonly isFungibleDisallowsNesting: boolean;3519 readonly isSettingPropertiesNotAllowed: boolean;3520 readonly isSettingAllowanceForAllNotAllowed: boolean;3521 readonly isFungibleTokensAreAlwaysValid: boolean;3522 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3523 }35243525 /** @name PalletRefungibleItemData (418) */3526 interface PalletRefungibleItemData extends Struct {3527 readonly constData: Bytes;3528 }35293530 /** @name PalletRefungibleError (423) */3531 interface PalletRefungibleError extends Enum {3532 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3533 readonly isWrongRefungiblePieces: boolean;3534 readonly isRepartitionWhileNotOwningAllPieces: boolean;3535 readonly isRefungibleDisallowsNesting: boolean;3536 readonly isSettingPropertiesNotAllowed: boolean;3537 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3538 }35393540 /** @name PalletNonfungibleItemData (424) */3541 interface PalletNonfungibleItemData extends Struct {3542 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3543 }35443545 /** @name UpDataStructsPropertyScope (426) */3546 interface UpDataStructsPropertyScope extends Enum {3547 readonly isNone: boolean;3548 readonly isRmrk: boolean;3549 readonly type: 'None' | 'Rmrk';3550 }35513552 /** @name PalletNonfungibleError (428) */3553 interface PalletNonfungibleError extends Enum {3554 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3555 readonly isNonfungibleItemsHaveNoAmount: boolean;3556 readonly isCantBurnNftWithChildren: boolean;3557 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3558 }35593560 /** @name PalletStructureError (429) */3561 interface PalletStructureError extends Enum {3562 readonly isOuroborosDetected: boolean;3563 readonly isDepthLimit: boolean;3564 readonly isBreadthLimit: boolean;3565 readonly isTokenNotFound: boolean;3566 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3567 }35683569 /** @name PalletRmrkCoreError (430) */3570 interface PalletRmrkCoreError extends Enum {3571 readonly isCorruptedCollectionType: boolean;3572 readonly isRmrkPropertyKeyIsTooLong: boolean;3573 readonly isRmrkPropertyValueIsTooLong: boolean;3574 readonly isRmrkPropertyIsNotFound: boolean;3575 readonly isUnableToDecodeRmrkData: boolean;3576 readonly isCollectionNotEmpty: boolean;3577 readonly isNoAvailableCollectionId: boolean;3578 readonly isNoAvailableNftId: boolean;3579 readonly isCollectionUnknown: boolean;3580 readonly isNoPermission: boolean;3581 readonly isNonTransferable: boolean;3582 readonly isCollectionFullOrLocked: boolean;3583 readonly isResourceDoesntExist: boolean;3584 readonly isCannotSendToDescendentOrSelf: boolean;3585 readonly isCannotAcceptNonOwnedNft: boolean;3586 readonly isCannotRejectNonOwnedNft: boolean;3587 readonly isCannotRejectNonPendingNft: boolean;3588 readonly isResourceNotPending: boolean;3589 readonly isNoAvailableResourceId: boolean;3590 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3591 }35923593 /** @name PalletRmrkEquipError (432) */3594 interface PalletRmrkEquipError extends Enum {3595 readonly isPermissionError: boolean;3596 readonly isNoAvailableBaseId: boolean;3597 readonly isNoAvailablePartId: boolean;3598 readonly isBaseDoesntExist: boolean;3599 readonly isNeedsDefaultThemeFirst: boolean;3600 readonly isPartDoesntExist: boolean;3601 readonly isNoEquippableOnFixedPart: boolean;3602 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3603 }36043605 /** @name PalletAppPromotionError (438) */3606 interface PalletAppPromotionError extends Enum {3607 readonly isAdminNotSet: boolean;3608 readonly isNoPermission: boolean;3609 readonly isNotSufficientFunds: boolean;3610 readonly isPendingForBlockOverflow: boolean;3611 readonly isSponsorNotSet: boolean;3612 readonly isIncorrectLockedBalanceOperation: boolean;3613 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3614 }36153616 /** @name PalletForeignAssetsModuleError (439) */3617 interface PalletForeignAssetsModuleError extends Enum {3618 readonly isBadLocation: boolean;3619 readonly isMultiLocationExisted: boolean;3620 readonly isAssetIdNotExists: boolean;3621 readonly isAssetIdExisted: boolean;3622 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3623 }36243625 /** @name PalletEvmError (441) */3626 interface PalletEvmError extends Enum {3627 readonly isBalanceLow: boolean;3628 readonly isFeeOverflow: boolean;3629 readonly isPaymentOverflow: boolean;3630 readonly isWithdrawFailed: boolean;3631 readonly isGasPriceTooLow: boolean;3632 readonly isInvalidNonce: boolean;3633 readonly isGasLimitTooLow: boolean;3634 readonly isGasLimitTooHigh: boolean;3635 readonly isUndefined: boolean;3636 readonly isReentrancy: boolean;3637 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3638 }36393640 /** @name FpRpcTransactionStatus (444) */3641 interface FpRpcTransactionStatus extends Struct {3642 readonly transactionHash: H256;3643 readonly transactionIndex: u32;3644 readonly from: H160;3645 readonly to: Option<H160>;3646 readonly contractAddress: Option<H160>;3647 readonly logs: Vec<EthereumLog>;3648 readonly logsBloom: EthbloomBloom;3649 }36503651 /** @name EthbloomBloom (446) */3652 interface EthbloomBloom extends U8aFixed {}36533654 /** @name EthereumReceiptReceiptV3 (448) */3655 interface EthereumReceiptReceiptV3 extends Enum {3656 readonly isLegacy: boolean;3657 readonly asLegacy: EthereumReceiptEip658ReceiptData;3658 readonly isEip2930: boolean;3659 readonly asEip2930: EthereumReceiptEip658ReceiptData;3660 readonly isEip1559: boolean;3661 readonly asEip1559: EthereumReceiptEip658ReceiptData;3662 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3663 }36643665 /** @name EthereumReceiptEip658ReceiptData (449) */3666 interface EthereumReceiptEip658ReceiptData extends Struct {3667 readonly statusCode: u8;3668 readonly usedGas: U256;3669 readonly logsBloom: EthbloomBloom;3670 readonly logs: Vec<EthereumLog>;3671 }36723673 /** @name EthereumBlock (450) */3674 interface EthereumBlock extends Struct {3675 readonly header: EthereumHeader;3676 readonly transactions: Vec<EthereumTransactionTransactionV2>;3677 readonly ommers: Vec<EthereumHeader>;3678 }36793680 /** @name EthereumHeader (451) */3681 interface EthereumHeader extends Struct {3682 readonly parentHash: H256;3683 readonly ommersHash: H256;3684 readonly beneficiary: H160;3685 readonly stateRoot: H256;3686 readonly transactionsRoot: H256;3687 readonly receiptsRoot: H256;3688 readonly logsBloom: EthbloomBloom;3689 readonly difficulty: U256;3690 readonly number: U256;3691 readonly gasLimit: U256;3692 readonly gasUsed: U256;3693 readonly timestamp: u64;3694 readonly extraData: Bytes;3695 readonly mixHash: H256;3696 readonly nonce: EthereumTypesHashH64;3697 }36983699 /** @name EthereumTypesHashH64 (452) */3700 interface EthereumTypesHashH64 extends U8aFixed {}37013702 /** @name PalletEthereumError (457) */3703 interface PalletEthereumError extends Enum {3704 readonly isInvalidSignature: boolean;3705 readonly isPreLogExists: boolean;3706 readonly type: 'InvalidSignature' | 'PreLogExists';3707 }37083709 /** @name PalletEvmCoderSubstrateError (458) */3710 interface PalletEvmCoderSubstrateError extends Enum {3711 readonly isOutOfGas: boolean;3712 readonly isOutOfFund: boolean;3713 readonly type: 'OutOfGas' | 'OutOfFund';3714 }37153716 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (459) */3717 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3718 readonly isDisabled: boolean;3719 readonly isUnconfirmed: boolean;3720 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3721 readonly isConfirmed: boolean;3722 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3723 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3724 }37253726 /** @name PalletEvmContractHelpersSponsoringModeT (460) */3727 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3728 readonly isDisabled: boolean;3729 readonly isAllowlisted: boolean;3730 readonly isGenerous: boolean;3731 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3732 }37333734 /** @name PalletEvmContractHelpersError (466) */3735 interface PalletEvmContractHelpersError extends Enum {3736 readonly isNoPermission: boolean;3737 readonly isNoPendingSponsor: boolean;3738 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3739 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3740 }37413742 /** @name PalletEvmMigrationError (467) */3743 interface PalletEvmMigrationError extends Enum {3744 readonly isAccountNotEmpty: boolean;3745 readonly isAccountIsNotMigrating: boolean;3746 readonly isBadEvent: boolean;3747 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3748 }37493750 /** @name PalletMaintenanceError (468) */3751 type PalletMaintenanceError = Null;37523753 /** @name PalletTestUtilsError (469) */3754 interface PalletTestUtilsError extends Enum {3755 readonly isTestPalletDisabled: boolean;3756 readonly isTriggerRollback: boolean;3757 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3758 }37593760 /** @name SpRuntimeMultiSignature (471) */3761 interface SpRuntimeMultiSignature extends Enum {3762 readonly isEd25519: boolean;3763 readonly asEd25519: SpCoreEd25519Signature;3764 readonly isSr25519: boolean;3765 readonly asSr25519: SpCoreSr25519Signature;3766 readonly isEcdsa: boolean;3767 readonly asEcdsa: SpCoreEcdsaSignature;3768 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3769 }37703771 /** @name SpCoreEd25519Signature (472) */3772 interface SpCoreEd25519Signature extends U8aFixed {}37733774 /** @name SpCoreSr25519Signature (474) */3775 interface SpCoreSr25519Signature extends U8aFixed {}37763777 /** @name SpCoreEcdsaSignature (475) */3778 interface SpCoreEcdsaSignature extends U8aFixed {}37793780 /** @name FrameSystemExtensionsCheckSpecVersion (478) */3781 type FrameSystemExtensionsCheckSpecVersion = Null;37823783 /** @name FrameSystemExtensionsCheckTxVersion (479) */3784 type FrameSystemExtensionsCheckTxVersion = Null;37853786 /** @name FrameSystemExtensionsCheckGenesis (480) */3787 type FrameSystemExtensionsCheckGenesis = Null;37883789 /** @name FrameSystemExtensionsCheckNonce (483) */3790 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}37913792 /** @name FrameSystemExtensionsCheckWeight (484) */3793 type FrameSystemExtensionsCheckWeight = Null;37943795 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (485) */3796 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;37973798 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (486) */3799 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}38003801 /** @name OpalRuntimeRuntime (487) */3802 type OpalRuntimeRuntime = Null;38033804 /** @name PalletEthereumFakeTransactionFinalizer (488) */3805 type PalletEthereumFakeTransactionFinalizer = Null;38063807} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: SpWeightsWeightV2Weight;34 readonly operational: SpWeightsWeightV2Weight;35 readonly mandatory: SpWeightsWeightV2Weight;36 }3738 /** @name SpWeightsWeightV2Weight (8) */39 interface SpWeightsWeightV2Weight extends Struct {40 readonly refTime: Compact<u64>;41 readonly proofSize: Compact<u64>;42 }4344 /** @name SpRuntimeDigest (13) */45 interface SpRuntimeDigest extends Struct {46 readonly logs: Vec<SpRuntimeDigestDigestItem>;47 }4849 /** @name SpRuntimeDigestDigestItem (15) */50 interface SpRuntimeDigestDigestItem extends Enum {51 readonly isOther: boolean;52 readonly asOther: Bytes;53 readonly isConsensus: boolean;54 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;55 readonly isSeal: boolean;56 readonly asSeal: ITuple<[U8aFixed, Bytes]>;57 readonly isPreRuntime: boolean;58 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;59 readonly isRuntimeEnvironmentUpdated: boolean;60 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';61 }6263 /** @name FrameSystemEventRecord (18) */64 interface FrameSystemEventRecord extends Struct {65 readonly phase: FrameSystemPhase;66 readonly event: Event;67 readonly topics: Vec<H256>;68 }6970 /** @name FrameSystemEvent (20) */71 interface FrameSystemEvent extends Enum {72 readonly isExtrinsicSuccess: boolean;73 readonly asExtrinsicSuccess: {74 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;75 } & Struct;76 readonly isExtrinsicFailed: boolean;77 readonly asExtrinsicFailed: {78 readonly dispatchError: SpRuntimeDispatchError;79 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;80 } & Struct;81 readonly isCodeUpdated: boolean;82 readonly isNewAccount: boolean;83 readonly asNewAccount: {84 readonly account: AccountId32;85 } & Struct;86 readonly isKilledAccount: boolean;87 readonly asKilledAccount: {88 readonly account: AccountId32;89 } & Struct;90 readonly isRemarked: boolean;91 readonly asRemarked: {92 readonly sender: AccountId32;93 readonly hash_: H256;94 } & Struct;95 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';96 }9798 /** @name FrameSupportDispatchDispatchInfo (21) */99 interface FrameSupportDispatchDispatchInfo extends Struct {100 readonly weight: SpWeightsWeightV2Weight;101 readonly class: FrameSupportDispatchDispatchClass;102 readonly paysFee: FrameSupportDispatchPays;103 }104105 /** @name FrameSupportDispatchDispatchClass (22) */106 interface FrameSupportDispatchDispatchClass extends Enum {107 readonly isNormal: boolean;108 readonly isOperational: boolean;109 readonly isMandatory: boolean;110 readonly type: 'Normal' | 'Operational' | 'Mandatory';111 }112113 /** @name FrameSupportDispatchPays (23) */114 interface FrameSupportDispatchPays extends Enum {115 readonly isYes: boolean;116 readonly isNo: boolean;117 readonly type: 'Yes' | 'No';118 }119120 /** @name SpRuntimeDispatchError (24) */121 interface SpRuntimeDispatchError extends Enum {122 readonly isOther: boolean;123 readonly isCannotLookup: boolean;124 readonly isBadOrigin: boolean;125 readonly isModule: boolean;126 readonly asModule: SpRuntimeModuleError;127 readonly isConsumerRemaining: boolean;128 readonly isNoProviders: boolean;129 readonly isTooManyConsumers: boolean;130 readonly isToken: boolean;131 readonly asToken: SpRuntimeTokenError;132 readonly isArithmetic: boolean;133 readonly asArithmetic: SpRuntimeArithmeticError;134 readonly isTransactional: boolean;135 readonly asTransactional: SpRuntimeTransactionalError;136 readonly isExhausted: boolean;137 readonly isCorruption: boolean;138 readonly isUnavailable: boolean;139 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';140 }141142 /** @name SpRuntimeModuleError (25) */143 interface SpRuntimeModuleError extends Struct {144 readonly index: u8;145 readonly error: U8aFixed;146 }147148 /** @name SpRuntimeTokenError (26) */149 interface SpRuntimeTokenError extends Enum {150 readonly isNoFunds: boolean;151 readonly isWouldDie: boolean;152 readonly isBelowMinimum: boolean;153 readonly isCannotCreate: boolean;154 readonly isUnknownAsset: boolean;155 readonly isFrozen: boolean;156 readonly isUnsupported: boolean;157 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';158 }159160 /** @name SpRuntimeArithmeticError (27) */161 interface SpRuntimeArithmeticError extends Enum {162 readonly isUnderflow: boolean;163 readonly isOverflow: boolean;164 readonly isDivisionByZero: boolean;165 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';166 }167168 /** @name SpRuntimeTransactionalError (28) */169 interface SpRuntimeTransactionalError extends Enum {170 readonly isLimitReached: boolean;171 readonly isNoLayer: boolean;172 readonly type: 'LimitReached' | 'NoLayer';173 }174175 /** @name CumulusPalletParachainSystemEvent (29) */176 interface CumulusPalletParachainSystemEvent extends Enum {177 readonly isValidationFunctionStored: boolean;178 readonly isValidationFunctionApplied: boolean;179 readonly asValidationFunctionApplied: {180 readonly relayChainBlockNum: u32;181 } & Struct;182 readonly isValidationFunctionDiscarded: boolean;183 readonly isUpgradeAuthorized: boolean;184 readonly asUpgradeAuthorized: {185 readonly codeHash: H256;186 } & Struct;187 readonly isDownwardMessagesReceived: boolean;188 readonly asDownwardMessagesReceived: {189 readonly count: u32;190 } & Struct;191 readonly isDownwardMessagesProcessed: boolean;192 readonly asDownwardMessagesProcessed: {193 readonly weightUsed: SpWeightsWeightV2Weight;194 readonly dmqHead: H256;195 } & Struct;196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';197 }198199 /** @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 }241242 /** @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 }250251 /** @name PalletBalancesEvent (32) */252 interface PalletBalancesEvent extends Enum {253 readonly isEndowed: boolean;254 readonly asEndowed: {255 readonly account: AccountId32;256 readonly freeBalance: u128;257 } & Struct;258 readonly isDustLost: boolean;259 readonly asDustLost: {260 readonly account: AccountId32;261 readonly amount: u128;262 } & Struct;263 readonly isTransfer: boolean;264 readonly asTransfer: {265 readonly from: AccountId32;266 readonly to: AccountId32;267 readonly amount: u128;268 } & Struct;269 readonly isBalanceSet: boolean;270 readonly asBalanceSet: {271 readonly who: AccountId32;272 readonly free: u128;273 readonly reserved: u128;274 } & Struct;275 readonly isReserved: boolean;276 readonly asReserved: {277 readonly who: AccountId32;278 readonly amount: u128;279 } & Struct;280 readonly isUnreserved: boolean;281 readonly asUnreserved: {282 readonly who: AccountId32;283 readonly amount: u128;284 } & Struct;285 readonly isReserveRepatriated: boolean;286 readonly asReserveRepatriated: {287 readonly from: AccountId32;288 readonly to: AccountId32;289 readonly amount: u128;290 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;291 } & Struct;292 readonly isDeposit: boolean;293 readonly asDeposit: {294 readonly who: AccountId32;295 readonly amount: u128;296 } & Struct;297 readonly isWithdraw: boolean;298 readonly asWithdraw: {299 readonly who: AccountId32;300 readonly amount: u128;301 } & Struct;302 readonly isSlashed: boolean;303 readonly asSlashed: {304 readonly who: AccountId32;305 readonly amount: u128;306 } & Struct;307 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';308 }309310 /** @name FrameSupportTokensMiscBalanceStatus (33) */311 interface FrameSupportTokensMiscBalanceStatus extends Enum {312 readonly isFree: boolean;313 readonly isReserved: boolean;314 readonly type: 'Free' | 'Reserved';315 }316317 /** @name PalletTransactionPaymentEvent (34) */318 interface PalletTransactionPaymentEvent extends Enum {319 readonly isTransactionFeePaid: boolean;320 readonly asTransactionFeePaid: {321 readonly who: AccountId32;322 readonly actualFee: u128;323 readonly tip: u128;324 } & Struct;325 readonly type: 'TransactionFeePaid';326 }327328 /** @name PalletTreasuryEvent (35) */329 interface PalletTreasuryEvent extends Enum {330 readonly isProposed: boolean;331 readonly asProposed: {332 readonly proposalIndex: u32;333 } & Struct;334 readonly isSpending: boolean;335 readonly asSpending: {336 readonly budgetRemaining: u128;337 } & Struct;338 readonly isAwarded: boolean;339 readonly asAwarded: {340 readonly proposalIndex: u32;341 readonly award: u128;342 readonly account: AccountId32;343 } & Struct;344 readonly isRejected: boolean;345 readonly asRejected: {346 readonly proposalIndex: u32;347 readonly slashed: u128;348 } & Struct;349 readonly isBurnt: boolean;350 readonly asBurnt: {351 readonly burntFunds: u128;352 } & Struct;353 readonly isRollover: boolean;354 readonly asRollover: {355 readonly rolloverBalance: u128;356 } & Struct;357 readonly isDeposit: boolean;358 readonly asDeposit: {359 readonly value: u128;360 } & Struct;361 readonly isSpendApproved: boolean;362 readonly asSpendApproved: {363 readonly proposalIndex: u32;364 readonly amount: u128;365 readonly beneficiary: AccountId32;366 } & Struct;367 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';368 }369370 /** @name PalletSudoEvent (36) */371 interface PalletSudoEvent extends Enum {372 readonly isSudid: boolean;373 readonly asSudid: {374 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;375 } & Struct;376 readonly isKeyChanged: boolean;377 readonly asKeyChanged: {378 readonly oldSudoer: Option<AccountId32>;379 } & Struct;380 readonly isSudoAsDone: boolean;381 readonly asSudoAsDone: {382 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;383 } & Struct;384 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';385 }386387 /** @name OrmlVestingModuleEvent (40) */388 interface OrmlVestingModuleEvent extends Enum {389 readonly isVestingScheduleAdded: boolean;390 readonly asVestingScheduleAdded: {391 readonly from: AccountId32;392 readonly to: AccountId32;393 readonly vestingSchedule: OrmlVestingVestingSchedule;394 } & Struct;395 readonly isClaimed: boolean;396 readonly asClaimed: {397 readonly who: AccountId32;398 readonly amount: u128;399 } & Struct;400 readonly isVestingSchedulesUpdated: boolean;401 readonly asVestingSchedulesUpdated: {402 readonly who: AccountId32;403 } & Struct;404 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';405 }406407 /** @name OrmlVestingVestingSchedule (41) */408 interface OrmlVestingVestingSchedule extends Struct {409 readonly start: u32;410 readonly period: u32;411 readonly periodCount: u32;412 readonly perPeriod: Compact<u128>;413 }414415 /** @name OrmlXtokensModuleEvent (43) */416 interface OrmlXtokensModuleEvent extends Enum {417 readonly isTransferredMultiAssets: boolean;418 readonly asTransferredMultiAssets: {419 readonly sender: AccountId32;420 readonly assets: XcmV1MultiassetMultiAssets;421 readonly fee: XcmV1MultiAsset;422 readonly dest: XcmV1MultiLocation;423 } & Struct;424 readonly type: 'TransferredMultiAssets';425 }426427 /** @name XcmV1MultiassetMultiAssets (44) */428 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}429430 /** @name XcmV1MultiAsset (46) */431 interface XcmV1MultiAsset extends Struct {432 readonly id: XcmV1MultiassetAssetId;433 readonly fun: XcmV1MultiassetFungibility;434 }435436 /** @name XcmV1MultiassetAssetId (47) */437 interface XcmV1MultiassetAssetId extends Enum {438 readonly isConcrete: boolean;439 readonly asConcrete: XcmV1MultiLocation;440 readonly isAbstract: boolean;441 readonly asAbstract: Bytes;442 readonly type: 'Concrete' | 'Abstract';443 }444445 /** @name XcmV1MultiLocation (48) */446 interface XcmV1MultiLocation extends Struct {447 readonly parents: u8;448 readonly interior: XcmV1MultilocationJunctions;449 }450451 /** @name XcmV1MultilocationJunctions (49) */452 interface XcmV1MultilocationJunctions extends Enum {453 readonly isHere: boolean;454 readonly isX1: boolean;455 readonly asX1: XcmV1Junction;456 readonly isX2: boolean;457 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;458 readonly isX3: boolean;459 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;460 readonly isX4: boolean;461 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;462 readonly isX5: boolean;463 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;464 readonly isX6: boolean;465 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;466 readonly isX7: boolean;467 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;468 readonly isX8: boolean;469 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;470 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';471 }472473 /** @name XcmV1Junction (50) */474 interface XcmV1Junction extends Enum {475 readonly isParachain: boolean;476 readonly asParachain: Compact<u32>;477 readonly isAccountId32: boolean;478 readonly asAccountId32: {479 readonly network: XcmV0JunctionNetworkId;480 readonly id: U8aFixed;481 } & Struct;482 readonly isAccountIndex64: boolean;483 readonly asAccountIndex64: {484 readonly network: XcmV0JunctionNetworkId;485 readonly index: Compact<u64>;486 } & Struct;487 readonly isAccountKey20: boolean;488 readonly asAccountKey20: {489 readonly network: XcmV0JunctionNetworkId;490 readonly key: U8aFixed;491 } & Struct;492 readonly isPalletInstance: boolean;493 readonly asPalletInstance: u8;494 readonly isGeneralIndex: boolean;495 readonly asGeneralIndex: Compact<u128>;496 readonly isGeneralKey: boolean;497 readonly asGeneralKey: Bytes;498 readonly isOnlyChild: boolean;499 readonly isPlurality: boolean;500 readonly asPlurality: {501 readonly id: XcmV0JunctionBodyId;502 readonly part: XcmV0JunctionBodyPart;503 } & Struct;504 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';505 }506507 /** @name XcmV0JunctionNetworkId (52) */508 interface XcmV0JunctionNetworkId extends Enum {509 readonly isAny: boolean;510 readonly isNamed: boolean;511 readonly asNamed: Bytes;512 readonly isPolkadot: boolean;513 readonly isKusama: boolean;514 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';515 }516517 /** @name XcmV0JunctionBodyId (55) */518 interface XcmV0JunctionBodyId extends Enum {519 readonly isUnit: boolean;520 readonly isNamed: boolean;521 readonly asNamed: Bytes;522 readonly isIndex: boolean;523 readonly asIndex: Compact<u32>;524 readonly isExecutive: boolean;525 readonly isTechnical: boolean;526 readonly isLegislative: boolean;527 readonly isJudicial: boolean;528 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';529 }530531 /** @name XcmV0JunctionBodyPart (56) */532 interface XcmV0JunctionBodyPart extends Enum {533 readonly isVoice: boolean;534 readonly isMembers: boolean;535 readonly asMembers: {536 readonly count: Compact<u32>;537 } & Struct;538 readonly isFraction: boolean;539 readonly asFraction: {540 readonly nom: Compact<u32>;541 readonly denom: Compact<u32>;542 } & Struct;543 readonly isAtLeastProportion: boolean;544 readonly asAtLeastProportion: {545 readonly nom: Compact<u32>;546 readonly denom: Compact<u32>;547 } & Struct;548 readonly isMoreThanProportion: boolean;549 readonly asMoreThanProportion: {550 readonly nom: Compact<u32>;551 readonly denom: Compact<u32>;552 } & Struct;553 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';554 }555556 /** @name XcmV1MultiassetFungibility (57) */557 interface XcmV1MultiassetFungibility extends Enum {558 readonly isFungible: boolean;559 readonly asFungible: Compact<u128>;560 readonly isNonFungible: boolean;561 readonly asNonFungible: XcmV1MultiassetAssetInstance;562 readonly type: 'Fungible' | 'NonFungible';563 }564565 /** @name XcmV1MultiassetAssetInstance (58) */566 interface XcmV1MultiassetAssetInstance extends Enum {567 readonly isUndefined: boolean;568 readonly isIndex: boolean;569 readonly asIndex: Compact<u128>;570 readonly isArray4: boolean;571 readonly asArray4: U8aFixed;572 readonly isArray8: boolean;573 readonly asArray8: U8aFixed;574 readonly isArray16: boolean;575 readonly asArray16: U8aFixed;576 readonly isArray32: boolean;577 readonly asArray32: U8aFixed;578 readonly isBlob: boolean;579 readonly asBlob: Bytes;580 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';581 }582583 /** @name OrmlTokensModuleEvent (61) */584 interface OrmlTokensModuleEvent extends Enum {585 readonly isEndowed: boolean;586 readonly asEndowed: {587 readonly currencyId: PalletForeignAssetsAssetIds;588 readonly who: AccountId32;589 readonly amount: u128;590 } & Struct;591 readonly isDustLost: boolean;592 readonly asDustLost: {593 readonly currencyId: PalletForeignAssetsAssetIds;594 readonly who: AccountId32;595 readonly amount: u128;596 } & Struct;597 readonly isTransfer: boolean;598 readonly asTransfer: {599 readonly currencyId: PalletForeignAssetsAssetIds;600 readonly from: AccountId32;601 readonly to: AccountId32;602 readonly amount: u128;603 } & Struct;604 readonly isReserved: boolean;605 readonly asReserved: {606 readonly currencyId: PalletForeignAssetsAssetIds;607 readonly who: AccountId32;608 readonly amount: u128;609 } & Struct;610 readonly isUnreserved: boolean;611 readonly asUnreserved: {612 readonly currencyId: PalletForeignAssetsAssetIds;613 readonly who: AccountId32;614 readonly amount: u128;615 } & Struct;616 readonly isReserveRepatriated: boolean;617 readonly asReserveRepatriated: {618 readonly currencyId: PalletForeignAssetsAssetIds;619 readonly from: AccountId32;620 readonly to: AccountId32;621 readonly amount: u128;622 readonly status: FrameSupportTokensMiscBalanceStatus;623 } & Struct;624 readonly isBalanceSet: boolean;625 readonly asBalanceSet: {626 readonly currencyId: PalletForeignAssetsAssetIds;627 readonly who: AccountId32;628 readonly free: u128;629 readonly reserved: u128;630 } & Struct;631 readonly isTotalIssuanceSet: boolean;632 readonly asTotalIssuanceSet: {633 readonly currencyId: PalletForeignAssetsAssetIds;634 readonly amount: u128;635 } & Struct;636 readonly isWithdrawn: boolean;637 readonly asWithdrawn: {638 readonly currencyId: PalletForeignAssetsAssetIds;639 readonly who: AccountId32;640 readonly amount: u128;641 } & Struct;642 readonly isSlashed: boolean;643 readonly asSlashed: {644 readonly currencyId: PalletForeignAssetsAssetIds;645 readonly who: AccountId32;646 readonly freeAmount: u128;647 readonly reservedAmount: u128;648 } & Struct;649 readonly isDeposited: boolean;650 readonly asDeposited: {651 readonly currencyId: PalletForeignAssetsAssetIds;652 readonly who: AccountId32;653 readonly amount: u128;654 } & Struct;655 readonly isLockSet: boolean;656 readonly asLockSet: {657 readonly lockId: U8aFixed;658 readonly currencyId: PalletForeignAssetsAssetIds;659 readonly who: AccountId32;660 readonly amount: u128;661 } & Struct;662 readonly isLockRemoved: boolean;663 readonly asLockRemoved: {664 readonly lockId: U8aFixed;665 readonly currencyId: PalletForeignAssetsAssetIds;666 readonly who: AccountId32;667 } & Struct;668 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';669 }670671 /** @name PalletForeignAssetsAssetIds (62) */672 interface PalletForeignAssetsAssetIds extends Enum {673 readonly isForeignAssetId: boolean;674 readonly asForeignAssetId: u32;675 readonly isNativeAssetId: boolean;676 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;677 readonly type: 'ForeignAssetId' | 'NativeAssetId';678 }679680 /** @name PalletForeignAssetsNativeCurrency (63) */681 interface PalletForeignAssetsNativeCurrency extends Enum {682 readonly isHere: boolean;683 readonly isParent: boolean;684 readonly type: 'Here' | 'Parent';685 }686687 /** @name CumulusPalletXcmpQueueEvent (64) */688 interface CumulusPalletXcmpQueueEvent extends Enum {689 readonly isSuccess: boolean;690 readonly asSuccess: {691 readonly messageHash: Option<H256>;692 readonly weight: SpWeightsWeightV2Weight;693 } & Struct;694 readonly isFail: boolean;695 readonly asFail: {696 readonly messageHash: Option<H256>;697 readonly error: XcmV2TraitsError;698 readonly weight: SpWeightsWeightV2Weight;699 } & Struct;700 readonly isBadVersion: boolean;701 readonly asBadVersion: {702 readonly messageHash: Option<H256>;703 } & Struct;704 readonly isBadFormat: boolean;705 readonly asBadFormat: {706 readonly messageHash: Option<H256>;707 } & Struct;708 readonly isUpwardMessageSent: boolean;709 readonly asUpwardMessageSent: {710 readonly messageHash: Option<H256>;711 } & Struct;712 readonly isXcmpMessageSent: boolean;713 readonly asXcmpMessageSent: {714 readonly messageHash: Option<H256>;715 } & Struct;716 readonly isOverweightEnqueued: boolean;717 readonly asOverweightEnqueued: {718 readonly sender: u32;719 readonly sentAt: u32;720 readonly index: u64;721 readonly required: SpWeightsWeightV2Weight;722 } & Struct;723 readonly isOverweightServiced: boolean;724 readonly asOverweightServiced: {725 readonly index: u64;726 readonly used: SpWeightsWeightV2Weight;727 } & Struct;728 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';729 }730731 /** @name XcmV2TraitsError (66) */732 interface XcmV2TraitsError extends Enum {733 readonly isOverflow: boolean;734 readonly isUnimplemented: boolean;735 readonly isUntrustedReserveLocation: boolean;736 readonly isUntrustedTeleportLocation: boolean;737 readonly isMultiLocationFull: boolean;738 readonly isMultiLocationNotInvertible: boolean;739 readonly isBadOrigin: boolean;740 readonly isInvalidLocation: boolean;741 readonly isAssetNotFound: boolean;742 readonly isFailedToTransactAsset: boolean;743 readonly isNotWithdrawable: boolean;744 readonly isLocationCannotHold: boolean;745 readonly isExceedsMaxMessageSize: boolean;746 readonly isDestinationUnsupported: boolean;747 readonly isTransport: boolean;748 readonly isUnroutable: boolean;749 readonly isUnknownClaim: boolean;750 readonly isFailedToDecode: boolean;751 readonly isMaxWeightInvalid: boolean;752 readonly isNotHoldingFees: boolean;753 readonly isTooExpensive: boolean;754 readonly isTrap: boolean;755 readonly asTrap: u64;756 readonly isUnhandledXcmVersion: boolean;757 readonly isWeightLimitReached: boolean;758 readonly asWeightLimitReached: u64;759 readonly isBarrier: boolean;760 readonly isWeightNotComputable: boolean;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';762 }763764 /** @name PalletXcmEvent (68) */765 interface PalletXcmEvent extends Enum {766 readonly isAttempted: boolean;767 readonly asAttempted: XcmV2TraitsOutcome;768 readonly isSent: boolean;769 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;770 readonly isUnexpectedResponse: boolean;771 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;772 readonly isResponseReady: boolean;773 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;774 readonly isNotified: boolean;775 readonly asNotified: ITuple<[u64, u8, u8]>;776 readonly isNotifyOverweight: boolean;777 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;778 readonly isNotifyDispatchError: boolean;779 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;780 readonly isNotifyDecodeFailed: boolean;781 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;782 readonly isInvalidResponder: boolean;783 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;784 readonly isInvalidResponderVersion: boolean;785 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;786 readonly isResponseTaken: boolean;787 readonly asResponseTaken: u64;788 readonly isAssetsTrapped: boolean;789 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;790 readonly isVersionChangeNotified: boolean;791 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;792 readonly isSupportedVersionChanged: boolean;793 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;794 readonly isNotifyTargetSendFail: boolean;795 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;796 readonly isNotifyTargetMigrationFail: boolean;797 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;798 readonly isAssetsClaimed: boolean;799 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;800 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';801 }802803 /** @name XcmV2TraitsOutcome (69) */804 interface XcmV2TraitsOutcome extends Enum {805 readonly isComplete: boolean;806 readonly asComplete: u64;807 readonly isIncomplete: boolean;808 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;809 readonly isError: boolean;810 readonly asError: XcmV2TraitsError;811 readonly type: 'Complete' | 'Incomplete' | 'Error';812 }813814 /** @name XcmV2Xcm (70) */815 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}816817 /** @name XcmV2Instruction (72) */818 interface XcmV2Instruction extends Enum {819 readonly isWithdrawAsset: boolean;820 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;821 readonly isReserveAssetDeposited: boolean;822 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;823 readonly isReceiveTeleportedAsset: boolean;824 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;825 readonly isQueryResponse: boolean;826 readonly asQueryResponse: {827 readonly queryId: Compact<u64>;828 readonly response: XcmV2Response;829 readonly maxWeight: Compact<u64>;830 } & Struct;831 readonly isTransferAsset: boolean;832 readonly asTransferAsset: {833 readonly assets: XcmV1MultiassetMultiAssets;834 readonly beneficiary: XcmV1MultiLocation;835 } & Struct;836 readonly isTransferReserveAsset: boolean;837 readonly asTransferReserveAsset: {838 readonly assets: XcmV1MultiassetMultiAssets;839 readonly dest: XcmV1MultiLocation;840 readonly xcm: XcmV2Xcm;841 } & Struct;842 readonly isTransact: boolean;843 readonly asTransact: {844 readonly originType: XcmV0OriginKind;845 readonly requireWeightAtMost: Compact<u64>;846 readonly call: XcmDoubleEncoded;847 } & Struct;848 readonly isHrmpNewChannelOpenRequest: boolean;849 readonly asHrmpNewChannelOpenRequest: {850 readonly sender: Compact<u32>;851 readonly maxMessageSize: Compact<u32>;852 readonly maxCapacity: Compact<u32>;853 } & Struct;854 readonly isHrmpChannelAccepted: boolean;855 readonly asHrmpChannelAccepted: {856 readonly recipient: Compact<u32>;857 } & Struct;858 readonly isHrmpChannelClosing: boolean;859 readonly asHrmpChannelClosing: {860 readonly initiator: Compact<u32>;861 readonly sender: Compact<u32>;862 readonly recipient: Compact<u32>;863 } & Struct;864 readonly isClearOrigin: boolean;865 readonly isDescendOrigin: boolean;866 readonly asDescendOrigin: XcmV1MultilocationJunctions;867 readonly isReportError: boolean;868 readonly asReportError: {869 readonly queryId: Compact<u64>;870 readonly dest: XcmV1MultiLocation;871 readonly maxResponseWeight: Compact<u64>;872 } & Struct;873 readonly isDepositAsset: boolean;874 readonly asDepositAsset: {875 readonly assets: XcmV1MultiassetMultiAssetFilter;876 readonly maxAssets: Compact<u32>;877 readonly beneficiary: XcmV1MultiLocation;878 } & Struct;879 readonly isDepositReserveAsset: boolean;880 readonly asDepositReserveAsset: {881 readonly assets: XcmV1MultiassetMultiAssetFilter;882 readonly maxAssets: Compact<u32>;883 readonly dest: XcmV1MultiLocation;884 readonly xcm: XcmV2Xcm;885 } & Struct;886 readonly isExchangeAsset: boolean;887 readonly asExchangeAsset: {888 readonly give: XcmV1MultiassetMultiAssetFilter;889 readonly receive: XcmV1MultiassetMultiAssets;890 } & Struct;891 readonly isInitiateReserveWithdraw: boolean;892 readonly asInitiateReserveWithdraw: {893 readonly assets: XcmV1MultiassetMultiAssetFilter;894 readonly reserve: XcmV1MultiLocation;895 readonly xcm: XcmV2Xcm;896 } & Struct;897 readonly isInitiateTeleport: boolean;898 readonly asInitiateTeleport: {899 readonly assets: XcmV1MultiassetMultiAssetFilter;900 readonly dest: XcmV1MultiLocation;901 readonly xcm: XcmV2Xcm;902 } & Struct;903 readonly isQueryHolding: boolean;904 readonly asQueryHolding: {905 readonly queryId: Compact<u64>;906 readonly dest: XcmV1MultiLocation;907 readonly assets: XcmV1MultiassetMultiAssetFilter;908 readonly maxResponseWeight: Compact<u64>;909 } & Struct;910 readonly isBuyExecution: boolean;911 readonly asBuyExecution: {912 readonly fees: XcmV1MultiAsset;913 readonly weightLimit: XcmV2WeightLimit;914 } & Struct;915 readonly isRefundSurplus: boolean;916 readonly isSetErrorHandler: boolean;917 readonly asSetErrorHandler: XcmV2Xcm;918 readonly isSetAppendix: boolean;919 readonly asSetAppendix: XcmV2Xcm;920 readonly isClearError: boolean;921 readonly isClaimAsset: boolean;922 readonly asClaimAsset: {923 readonly assets: XcmV1MultiassetMultiAssets;924 readonly ticket: XcmV1MultiLocation;925 } & Struct;926 readonly isTrap: boolean;927 readonly asTrap: Compact<u64>;928 readonly isSubscribeVersion: boolean;929 readonly asSubscribeVersion: {930 readonly queryId: Compact<u64>;931 readonly maxResponseWeight: Compact<u64>;932 } & Struct;933 readonly isUnsubscribeVersion: boolean;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';935 }936937 /** @name XcmV2Response (73) */938 interface XcmV2Response extends Enum {939 readonly isNull: boolean;940 readonly isAssets: boolean;941 readonly asAssets: XcmV1MultiassetMultiAssets;942 readonly isExecutionResult: boolean;943 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;944 readonly isVersion: boolean;945 readonly asVersion: u32;946 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';947 }948949 /** @name XcmV0OriginKind (76) */950 interface XcmV0OriginKind extends Enum {951 readonly isNative: boolean;952 readonly isSovereignAccount: boolean;953 readonly isSuperuser: boolean;954 readonly isXcm: boolean;955 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';956 }957958 /** @name XcmDoubleEncoded (77) */959 interface XcmDoubleEncoded extends Struct {960 readonly encoded: Bytes;961 }962963 /** @name XcmV1MultiassetMultiAssetFilter (78) */964 interface XcmV1MultiassetMultiAssetFilter extends Enum {965 readonly isDefinite: boolean;966 readonly asDefinite: XcmV1MultiassetMultiAssets;967 readonly isWild: boolean;968 readonly asWild: XcmV1MultiassetWildMultiAsset;969 readonly type: 'Definite' | 'Wild';970 }971972 /** @name XcmV1MultiassetWildMultiAsset (79) */973 interface XcmV1MultiassetWildMultiAsset extends Enum {974 readonly isAll: boolean;975 readonly isAllOf: boolean;976 readonly asAllOf: {977 readonly id: XcmV1MultiassetAssetId;978 readonly fun: XcmV1MultiassetWildFungibility;979 } & Struct;980 readonly type: 'All' | 'AllOf';981 }982983 /** @name XcmV1MultiassetWildFungibility (80) */984 interface XcmV1MultiassetWildFungibility extends Enum {985 readonly isFungible: boolean;986 readonly isNonFungible: boolean;987 readonly type: 'Fungible' | 'NonFungible';988 }989990 /** @name XcmV2WeightLimit (81) */991 interface XcmV2WeightLimit extends Enum {992 readonly isUnlimited: boolean;993 readonly isLimited: boolean;994 readonly asLimited: Compact<u64>;995 readonly type: 'Unlimited' | 'Limited';996 }997998 /** @name XcmVersionedMultiAssets (83) */999 interface XcmVersionedMultiAssets extends Enum {1000 readonly isV0: boolean;1001 readonly asV0: Vec<XcmV0MultiAsset>;1002 readonly isV1: boolean;1003 readonly asV1: XcmV1MultiassetMultiAssets;1004 readonly type: 'V0' | 'V1';1005 }10061007 /** @name XcmV0MultiAsset (85) */1008 interface XcmV0MultiAsset extends Enum {1009 readonly isNone: boolean;1010 readonly isAll: boolean;1011 readonly isAllFungible: boolean;1012 readonly isAllNonFungible: boolean;1013 readonly isAllAbstractFungible: boolean;1014 readonly asAllAbstractFungible: {1015 readonly id: Bytes;1016 } & Struct;1017 readonly isAllAbstractNonFungible: boolean;1018 readonly asAllAbstractNonFungible: {1019 readonly class: Bytes;1020 } & Struct;1021 readonly isAllConcreteFungible: boolean;1022 readonly asAllConcreteFungible: {1023 readonly id: XcmV0MultiLocation;1024 } & Struct;1025 readonly isAllConcreteNonFungible: boolean;1026 readonly asAllConcreteNonFungible: {1027 readonly class: XcmV0MultiLocation;1028 } & Struct;1029 readonly isAbstractFungible: boolean;1030 readonly asAbstractFungible: {1031 readonly id: Bytes;1032 readonly amount: Compact<u128>;1033 } & Struct;1034 readonly isAbstractNonFungible: boolean;1035 readonly asAbstractNonFungible: {1036 readonly class: Bytes;1037 readonly instance: XcmV1MultiassetAssetInstance;1038 } & Struct;1039 readonly isConcreteFungible: boolean;1040 readonly asConcreteFungible: {1041 readonly id: XcmV0MultiLocation;1042 readonly amount: Compact<u128>;1043 } & Struct;1044 readonly isConcreteNonFungible: boolean;1045 readonly asConcreteNonFungible: {1046 readonly class: XcmV0MultiLocation;1047 readonly instance: XcmV1MultiassetAssetInstance;1048 } & Struct;1049 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';1050 }10511052 /** @name XcmV0MultiLocation (86) */1053 interface XcmV0MultiLocation extends Enum {1054 readonly isNull: boolean;1055 readonly isX1: boolean;1056 readonly asX1: XcmV0Junction;1057 readonly isX2: boolean;1058 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1059 readonly isX3: boolean;1060 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1061 readonly isX4: boolean;1062 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1063 readonly isX5: boolean;1064 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1065 readonly isX6: boolean;1066 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1067 readonly isX7: boolean;1068 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1069 readonly isX8: boolean;1070 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1071 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1072 }10731074 /** @name XcmV0Junction (87) */1075 interface XcmV0Junction extends Enum {1076 readonly isParent: boolean;1077 readonly isParachain: boolean;1078 readonly asParachain: Compact<u32>;1079 readonly isAccountId32: boolean;1080 readonly asAccountId32: {1081 readonly network: XcmV0JunctionNetworkId;1082 readonly id: U8aFixed;1083 } & Struct;1084 readonly isAccountIndex64: boolean;1085 readonly asAccountIndex64: {1086 readonly network: XcmV0JunctionNetworkId;1087 readonly index: Compact<u64>;1088 } & Struct;1089 readonly isAccountKey20: boolean;1090 readonly asAccountKey20: {1091 readonly network: XcmV0JunctionNetworkId;1092 readonly key: U8aFixed;1093 } & Struct;1094 readonly isPalletInstance: boolean;1095 readonly asPalletInstance: u8;1096 readonly isGeneralIndex: boolean;1097 readonly asGeneralIndex: Compact<u128>;1098 readonly isGeneralKey: boolean;1099 readonly asGeneralKey: Bytes;1100 readonly isOnlyChild: boolean;1101 readonly isPlurality: boolean;1102 readonly asPlurality: {1103 readonly id: XcmV0JunctionBodyId;1104 readonly part: XcmV0JunctionBodyPart;1105 } & Struct;1106 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1107 }11081109 /** @name XcmVersionedMultiLocation (88) */1110 interface XcmVersionedMultiLocation extends Enum {1111 readonly isV0: boolean;1112 readonly asV0: XcmV0MultiLocation;1113 readonly isV1: boolean;1114 readonly asV1: XcmV1MultiLocation;1115 readonly type: 'V0' | 'V1';1116 }11171118 /** @name CumulusPalletXcmEvent (89) */1119 interface CumulusPalletXcmEvent extends Enum {1120 readonly isInvalidFormat: boolean;1121 readonly asInvalidFormat: U8aFixed;1122 readonly isUnsupportedVersion: boolean;1123 readonly asUnsupportedVersion: U8aFixed;1124 readonly isExecutedDownward: boolean;1125 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1126 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1127 }11281129 /** @name CumulusPalletDmpQueueEvent (90) */1130 interface CumulusPalletDmpQueueEvent extends Enum {1131 readonly isInvalidFormat: boolean;1132 readonly asInvalidFormat: {1133 readonly messageId: U8aFixed;1134 } & Struct;1135 readonly isUnsupportedVersion: boolean;1136 readonly asUnsupportedVersion: {1137 readonly messageId: U8aFixed;1138 } & Struct;1139 readonly isExecutedDownward: boolean;1140 readonly asExecutedDownward: {1141 readonly messageId: U8aFixed;1142 readonly outcome: XcmV2TraitsOutcome;1143 } & Struct;1144 readonly isWeightExhausted: boolean;1145 readonly asWeightExhausted: {1146 readonly messageId: U8aFixed;1147 readonly remainingWeight: SpWeightsWeightV2Weight;1148 readonly requiredWeight: SpWeightsWeightV2Weight;1149 } & Struct;1150 readonly isOverweightEnqueued: boolean;1151 readonly asOverweightEnqueued: {1152 readonly messageId: U8aFixed;1153 readonly overweightIndex: u64;1154 readonly requiredWeight: SpWeightsWeightV2Weight;1155 } & Struct;1156 readonly isOverweightServiced: boolean;1157 readonly asOverweightServiced: {1158 readonly overweightIndex: u64;1159 readonly weightUsed: SpWeightsWeightV2Weight;1160 } & Struct;1161 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1162 }11631164 /** @name PalletCommonEvent (91) */1165 interface PalletCommonEvent extends Enum {1166 readonly isCollectionCreated: boolean;1167 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1168 readonly isCollectionDestroyed: boolean;1169 readonly asCollectionDestroyed: u32;1170 readonly isItemCreated: boolean;1171 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1172 readonly isItemDestroyed: boolean;1173 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1174 readonly isTransfer: boolean;1175 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1176 readonly isApproved: boolean;1177 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1178 readonly isApprovedForAll: boolean;1179 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1180 readonly isCollectionPropertySet: boolean;1181 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1182 readonly isCollectionPropertyDeleted: boolean;1183 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1184 readonly isTokenPropertySet: boolean;1185 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1186 readonly isTokenPropertyDeleted: boolean;1187 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1188 readonly isPropertyPermissionSet: boolean;1189 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1190 readonly isAllowListAddressAdded: boolean;1191 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1192 readonly isAllowListAddressRemoved: boolean;1193 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1194 readonly isCollectionAdminAdded: boolean;1195 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1196 readonly isCollectionAdminRemoved: boolean;1197 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1198 readonly isCollectionLimitSet: boolean;1199 readonly asCollectionLimitSet: u32;1200 readonly isCollectionOwnerChanged: boolean;1201 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1202 readonly isCollectionPermissionSet: boolean;1203 readonly asCollectionPermissionSet: u32;1204 readonly isCollectionSponsorSet: boolean;1205 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1206 readonly isSponsorshipConfirmed: boolean;1207 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1208 readonly isCollectionSponsorRemoved: boolean;1209 readonly asCollectionSponsorRemoved: u32;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';1211 }12121213 /** @name PalletEvmAccountBasicCrossAccountIdRepr (94) */1214 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1215 readonly isSubstrate: boolean;1216 readonly asSubstrate: AccountId32;1217 readonly isEthereum: boolean;1218 readonly asEthereum: H160;1219 readonly type: 'Substrate' | 'Ethereum';1220 }12211222 /** @name PalletStructureEvent (98) */1223 interface PalletStructureEvent extends Enum {1224 readonly isExecuted: boolean;1225 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1226 readonly type: 'Executed';1227 }12281229 /** @name PalletRmrkCoreEvent (99) */1230 interface PalletRmrkCoreEvent extends Enum {1231 readonly isCollectionCreated: boolean;1232 readonly asCollectionCreated: {1233 readonly issuer: AccountId32;1234 readonly collectionId: u32;1235 } & Struct;1236 readonly isCollectionDestroyed: boolean;1237 readonly asCollectionDestroyed: {1238 readonly issuer: AccountId32;1239 readonly collectionId: u32;1240 } & Struct;1241 readonly isIssuerChanged: boolean;1242 readonly asIssuerChanged: {1243 readonly oldIssuer: AccountId32;1244 readonly newIssuer: AccountId32;1245 readonly collectionId: u32;1246 } & Struct;1247 readonly isCollectionLocked: boolean;1248 readonly asCollectionLocked: {1249 readonly issuer: AccountId32;1250 readonly collectionId: u32;1251 } & Struct;1252 readonly isNftMinted: boolean;1253 readonly asNftMinted: {1254 readonly owner: AccountId32;1255 readonly collectionId: u32;1256 readonly nftId: u32;1257 } & Struct;1258 readonly isNftBurned: boolean;1259 readonly asNftBurned: {1260 readonly owner: AccountId32;1261 readonly nftId: u32;1262 } & Struct;1263 readonly isNftSent: boolean;1264 readonly asNftSent: {1265 readonly sender: AccountId32;1266 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1267 readonly collectionId: u32;1268 readonly nftId: u32;1269 readonly approvalRequired: bool;1270 } & Struct;1271 readonly isNftAccepted: boolean;1272 readonly asNftAccepted: {1273 readonly sender: AccountId32;1274 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1275 readonly collectionId: u32;1276 readonly nftId: u32;1277 } & Struct;1278 readonly isNftRejected: boolean;1279 readonly asNftRejected: {1280 readonly sender: AccountId32;1281 readonly collectionId: u32;1282 readonly nftId: u32;1283 } & Struct;1284 readonly isPropertySet: boolean;1285 readonly asPropertySet: {1286 readonly collectionId: u32;1287 readonly maybeNftId: Option<u32>;1288 readonly key: Bytes;1289 readonly value: Bytes;1290 } & Struct;1291 readonly isResourceAdded: boolean;1292 readonly asResourceAdded: {1293 readonly nftId: u32;1294 readonly resourceId: u32;1295 } & Struct;1296 readonly isResourceRemoval: boolean;1297 readonly asResourceRemoval: {1298 readonly nftId: u32;1299 readonly resourceId: u32;1300 } & Struct;1301 readonly isResourceAccepted: boolean;1302 readonly asResourceAccepted: {1303 readonly nftId: u32;1304 readonly resourceId: u32;1305 } & Struct;1306 readonly isResourceRemovalAccepted: boolean;1307 readonly asResourceRemovalAccepted: {1308 readonly nftId: u32;1309 readonly resourceId: u32;1310 } & Struct;1311 readonly isPrioritySet: boolean;1312 readonly asPrioritySet: {1313 readonly collectionId: u32;1314 readonly nftId: u32;1315 } & Struct;1316 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1317 }13181319 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (100) */1320 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1321 readonly isAccountId: boolean;1322 readonly asAccountId: AccountId32;1323 readonly isCollectionAndNftTuple: boolean;1324 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1325 readonly type: 'AccountId' | 'CollectionAndNftTuple';1326 }13271328 /** @name PalletRmrkEquipEvent (104) */1329 interface PalletRmrkEquipEvent extends Enum {1330 readonly isBaseCreated: boolean;1331 readonly asBaseCreated: {1332 readonly issuer: AccountId32;1333 readonly baseId: u32;1334 } & Struct;1335 readonly isEquippablesUpdated: boolean;1336 readonly asEquippablesUpdated: {1337 readonly baseId: u32;1338 readonly slotId: u32;1339 } & Struct;1340 readonly type: 'BaseCreated' | 'EquippablesUpdated';1341 }13421343 /** @name PalletAppPromotionEvent (105) */1344 interface PalletAppPromotionEvent extends Enum {1345 readonly isStakingRecalculation: boolean;1346 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1347 readonly isStake: boolean;1348 readonly asStake: ITuple<[AccountId32, u128]>;1349 readonly isUnstake: boolean;1350 readonly asUnstake: ITuple<[AccountId32, u128]>;1351 readonly isSetAdmin: boolean;1352 readonly asSetAdmin: AccountId32;1353 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1354 }13551356 /** @name PalletForeignAssetsModuleEvent (106) */1357 interface PalletForeignAssetsModuleEvent extends Enum {1358 readonly isForeignAssetRegistered: boolean;1359 readonly asForeignAssetRegistered: {1360 readonly assetId: u32;1361 readonly assetAddress: XcmV1MultiLocation;1362 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1363 } & Struct;1364 readonly isForeignAssetUpdated: boolean;1365 readonly asForeignAssetUpdated: {1366 readonly assetId: u32;1367 readonly assetAddress: XcmV1MultiLocation;1368 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1369 } & Struct;1370 readonly isAssetRegistered: boolean;1371 readonly asAssetRegistered: {1372 readonly assetId: PalletForeignAssetsAssetIds;1373 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1374 } & Struct;1375 readonly isAssetUpdated: boolean;1376 readonly asAssetUpdated: {1377 readonly assetId: PalletForeignAssetsAssetIds;1378 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1379 } & Struct;1380 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1381 }13821383 /** @name PalletForeignAssetsModuleAssetMetadata (107) */1384 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1385 readonly name: Bytes;1386 readonly symbol: Bytes;1387 readonly decimals: u8;1388 readonly minimalBalance: u128;1389 }13901391 /** @name PalletEvmEvent (108) */1392 interface PalletEvmEvent extends Enum {1393 readonly isLog: boolean;1394 readonly asLog: {1395 readonly log: EthereumLog;1396 } & Struct;1397 readonly isCreated: boolean;1398 readonly asCreated: {1399 readonly address: H160;1400 } & Struct;1401 readonly isCreatedFailed: boolean;1402 readonly asCreatedFailed: {1403 readonly address: H160;1404 } & Struct;1405 readonly isExecuted: boolean;1406 readonly asExecuted: {1407 readonly address: H160;1408 } & Struct;1409 readonly isExecutedFailed: boolean;1410 readonly asExecutedFailed: {1411 readonly address: H160;1412 } & Struct;1413 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1414 }14151416 /** @name EthereumLog (109) */1417 interface EthereumLog extends Struct {1418 readonly address: H160;1419 readonly topics: Vec<H256>;1420 readonly data: Bytes;1421 }14221423 /** @name PalletEthereumEvent (111) */1424 interface PalletEthereumEvent extends Enum {1425 readonly isExecuted: boolean;1426 readonly asExecuted: {1427 readonly from: H160;1428 readonly to: H160;1429 readonly transactionHash: H256;1430 readonly exitReason: EvmCoreErrorExitReason;1431 } & Struct;1432 readonly type: 'Executed';1433 }14341435 /** @name EvmCoreErrorExitReason (112) */1436 interface EvmCoreErrorExitReason extends Enum {1437 readonly isSucceed: boolean;1438 readonly asSucceed: EvmCoreErrorExitSucceed;1439 readonly isError: boolean;1440 readonly asError: EvmCoreErrorExitError;1441 readonly isRevert: boolean;1442 readonly asRevert: EvmCoreErrorExitRevert;1443 readonly isFatal: boolean;1444 readonly asFatal: EvmCoreErrorExitFatal;1445 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1446 }14471448 /** @name EvmCoreErrorExitSucceed (113) */1449 interface EvmCoreErrorExitSucceed extends Enum {1450 readonly isStopped: boolean;1451 readonly isReturned: boolean;1452 readonly isSuicided: boolean;1453 readonly type: 'Stopped' | 'Returned' | 'Suicided';1454 }14551456 /** @name EvmCoreErrorExitError (114) */1457 interface EvmCoreErrorExitError extends Enum {1458 readonly isStackUnderflow: boolean;1459 readonly isStackOverflow: boolean;1460 readonly isInvalidJump: boolean;1461 readonly isInvalidRange: boolean;1462 readonly isDesignatedInvalid: boolean;1463 readonly isCallTooDeep: boolean;1464 readonly isCreateCollision: boolean;1465 readonly isCreateContractLimit: boolean;1466 readonly isOutOfOffset: boolean;1467 readonly isOutOfGas: boolean;1468 readonly isOutOfFund: boolean;1469 readonly isPcUnderflow: boolean;1470 readonly isCreateEmpty: boolean;1471 readonly isOther: boolean;1472 readonly asOther: Text;1473 readonly isInvalidCode: boolean;1474 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1475 }14761477 /** @name EvmCoreErrorExitRevert (117) */1478 interface EvmCoreErrorExitRevert extends Enum {1479 readonly isReverted: boolean;1480 readonly type: 'Reverted';1481 }14821483 /** @name EvmCoreErrorExitFatal (118) */1484 interface EvmCoreErrorExitFatal extends Enum {1485 readonly isNotSupported: boolean;1486 readonly isUnhandledInterrupt: boolean;1487 readonly isCallErrorAsFatal: boolean;1488 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1489 readonly isOther: boolean;1490 readonly asOther: Text;1491 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1492 }14931494 /** @name PalletEvmContractHelpersEvent (119) */1495 interface PalletEvmContractHelpersEvent extends Enum {1496 readonly isContractSponsorSet: boolean;1497 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1498 readonly isContractSponsorshipConfirmed: boolean;1499 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1500 readonly isContractSponsorRemoved: boolean;1501 readonly asContractSponsorRemoved: H160;1502 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1503 }15041505 /** @name PalletEvmMigrationEvent (120) */1506 interface PalletEvmMigrationEvent extends Enum {1507 readonly isTestEvent: boolean;1508 readonly type: 'TestEvent';1509 }15101511 /** @name PalletMaintenanceEvent (121) */1512 interface PalletMaintenanceEvent extends Enum {1513 readonly isMaintenanceEnabled: boolean;1514 readonly isMaintenanceDisabled: boolean;1515 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1516 }15171518 /** @name PalletTestUtilsEvent (122) */1519 interface PalletTestUtilsEvent extends Enum {1520 readonly isValueIsSet: boolean;1521 readonly isShouldRollback: boolean;1522 readonly isBatchCompleted: boolean;1523 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1524 }15251526 /** @name FrameSystemPhase (123) */1527 interface FrameSystemPhase extends Enum {1528 readonly isApplyExtrinsic: boolean;1529 readonly asApplyExtrinsic: u32;1530 readonly isFinalization: boolean;1531 readonly isInitialization: boolean;1532 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1533 }15341535 /** @name FrameSystemLastRuntimeUpgradeInfo (126) */1536 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1537 readonly specVersion: Compact<u32>;1538 readonly specName: Text;1539 }15401541 /** @name FrameSystemCall (127) */1542 interface FrameSystemCall extends Enum {1543 readonly isFillBlock: boolean;1544 readonly asFillBlock: {1545 readonly ratio: Perbill;1546 } & Struct;1547 readonly isRemark: boolean;1548 readonly asRemark: {1549 readonly remark: Bytes;1550 } & Struct;1551 readonly isSetHeapPages: boolean;1552 readonly asSetHeapPages: {1553 readonly pages: u64;1554 } & Struct;1555 readonly isSetCode: boolean;1556 readonly asSetCode: {1557 readonly code: Bytes;1558 } & Struct;1559 readonly isSetCodeWithoutChecks: boolean;1560 readonly asSetCodeWithoutChecks: {1561 readonly code: Bytes;1562 } & Struct;1563 readonly isSetStorage: boolean;1564 readonly asSetStorage: {1565 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1566 } & Struct;1567 readonly isKillStorage: boolean;1568 readonly asKillStorage: {1569 readonly keys_: Vec<Bytes>;1570 } & Struct;1571 readonly isKillPrefix: boolean;1572 readonly asKillPrefix: {1573 readonly prefix: Bytes;1574 readonly subkeys: u32;1575 } & Struct;1576 readonly isRemarkWithEvent: boolean;1577 readonly asRemarkWithEvent: {1578 readonly remark: Bytes;1579 } & Struct;1580 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1581 }15821583 /** @name FrameSystemLimitsBlockWeights (132) */1584 interface FrameSystemLimitsBlockWeights extends Struct {1585 readonly baseBlock: SpWeightsWeightV2Weight;1586 readonly maxBlock: SpWeightsWeightV2Weight;1587 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1588 }15891590 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (133) */1591 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1592 readonly normal: FrameSystemLimitsWeightsPerClass;1593 readonly operational: FrameSystemLimitsWeightsPerClass;1594 readonly mandatory: FrameSystemLimitsWeightsPerClass;1595 }15961597 /** @name FrameSystemLimitsWeightsPerClass (134) */1598 interface FrameSystemLimitsWeightsPerClass extends Struct {1599 readonly baseExtrinsic: SpWeightsWeightV2Weight;1600 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1601 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1602 readonly reserved: Option<SpWeightsWeightV2Weight>;1603 }16041605 /** @name FrameSystemLimitsBlockLength (136) */1606 interface FrameSystemLimitsBlockLength extends Struct {1607 readonly max: FrameSupportDispatchPerDispatchClassU32;1608 }16091610 /** @name FrameSupportDispatchPerDispatchClassU32 (137) */1611 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1612 readonly normal: u32;1613 readonly operational: u32;1614 readonly mandatory: u32;1615 }16161617 /** @name SpWeightsRuntimeDbWeight (138) */1618 interface SpWeightsRuntimeDbWeight extends Struct {1619 readonly read: u64;1620 readonly write: u64;1621 }16221623 /** @name SpVersionRuntimeVersion (139) */1624 interface SpVersionRuntimeVersion extends Struct {1625 readonly specName: Text;1626 readonly implName: Text;1627 readonly authoringVersion: u32;1628 readonly specVersion: u32;1629 readonly implVersion: u32;1630 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1631 readonly transactionVersion: u32;1632 readonly stateVersion: u8;1633 }16341635 /** @name FrameSystemError (144) */1636 interface FrameSystemError extends Enum {1637 readonly isInvalidSpecName: boolean;1638 readonly isSpecVersionNeedsToIncrease: boolean;1639 readonly isFailedToExtractRuntimeVersion: boolean;1640 readonly isNonDefaultComposite: boolean;1641 readonly isNonZeroRefCount: boolean;1642 readonly isCallFiltered: boolean;1643 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1644 }16451646 /** @name PolkadotPrimitivesV2PersistedValidationData (145) */1647 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1648 readonly parentHead: Bytes;1649 readonly relayParentNumber: u32;1650 readonly relayParentStorageRoot: H256;1651 readonly maxPovSize: u32;1652 }16531654 /** @name PolkadotPrimitivesV2UpgradeRestriction (148) */1655 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1656 readonly isPresent: boolean;1657 readonly type: 'Present';1658 }16591660 /** @name SpTrieStorageProof (149) */1661 interface SpTrieStorageProof extends Struct {1662 readonly trieNodes: BTreeSet<Bytes>;1663 }16641665 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (151) */1666 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1667 readonly dmqMqcHead: H256;1668 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1669 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1670 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1671 }16721673 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (154) */1674 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1675 readonly maxCapacity: u32;1676 readonly maxTotalSize: u32;1677 readonly maxMessageSize: u32;1678 readonly msgCount: u32;1679 readonly totalSize: u32;1680 readonly mqcHead: Option<H256>;1681 }16821683 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (155) */1684 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1685 readonly maxCodeSize: u32;1686 readonly maxHeadDataSize: u32;1687 readonly maxUpwardQueueCount: u32;1688 readonly maxUpwardQueueSize: u32;1689 readonly maxUpwardMessageSize: u32;1690 readonly maxUpwardMessageNumPerCandidate: u32;1691 readonly hrmpMaxMessageNumPerCandidate: u32;1692 readonly validationUpgradeCooldown: u32;1693 readonly validationUpgradeDelay: u32;1694 }16951696 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (161) */1697 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1698 readonly recipient: u32;1699 readonly data: Bytes;1700 }17011702 /** @name CumulusPalletParachainSystemCall (162) */1703 interface CumulusPalletParachainSystemCall extends Enum {1704 readonly isSetValidationData: boolean;1705 readonly asSetValidationData: {1706 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1707 } & Struct;1708 readonly isSudoSendUpwardMessage: boolean;1709 readonly asSudoSendUpwardMessage: {1710 readonly message: Bytes;1711 } & Struct;1712 readonly isAuthorizeUpgrade: boolean;1713 readonly asAuthorizeUpgrade: {1714 readonly codeHash: H256;1715 } & Struct;1716 readonly isEnactAuthorizedUpgrade: boolean;1717 readonly asEnactAuthorizedUpgrade: {1718 readonly code: Bytes;1719 } & Struct;1720 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1721 }17221723 /** @name CumulusPrimitivesParachainInherentParachainInherentData (163) */1724 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1725 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1726 readonly relayChainState: SpTrieStorageProof;1727 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1728 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1729 }17301731 /** @name PolkadotCorePrimitivesInboundDownwardMessage (165) */1732 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1733 readonly sentAt: u32;1734 readonly msg: Bytes;1735 }17361737 /** @name PolkadotCorePrimitivesInboundHrmpMessage (168) */1738 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1739 readonly sentAt: u32;1740 readonly data: Bytes;1741 }17421743 /** @name CumulusPalletParachainSystemError (171) */1744 interface CumulusPalletParachainSystemError extends Enum {1745 readonly isOverlappingUpgrades: boolean;1746 readonly isProhibitedByPolkadot: boolean;1747 readonly isTooBig: boolean;1748 readonly isValidationDataNotAvailable: boolean;1749 readonly isHostConfigurationNotAvailable: boolean;1750 readonly isNotScheduled: boolean;1751 readonly isNothingAuthorized: boolean;1752 readonly isUnauthorized: boolean;1753 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1754 }17551756 /** @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 }17641765 /** @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 }17731774 /** @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 }17821783 /** @name SpRuntimeBlakeTwo256 (178) */1784 type SpRuntimeBlakeTwo256 = Null;17851786 /** @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 }17971798 /** @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 }18301831 /** @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 }18481849 /** @name OpalRuntimeRuntimeCommonSessionKeys (186) */1850 interface OpalRuntimeRuntimeCommonSessionKeys extends Struct {1851 readonly aura: SpConsensusAuraSr25519AppSr25519Public;1852 }18531854 /** @name SpConsensusAuraSr25519AppSr25519Public (187) */1855 interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {}18561857 /** @name SpCoreSr25519Public (188) */1858 interface SpCoreSr25519Public extends U8aFixed {}18591860 /** @name SpCoreCryptoKeyTypeId (191) */1861 interface SpCoreCryptoKeyTypeId extends U8aFixed {}18621863 /** @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 }18731874 /** @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 }18831884 /** @name PalletBalancesBalanceLock (195) */1885 interface PalletBalancesBalanceLock extends Struct {1886 readonly id: U8aFixed;1887 readonly amount: u128;1888 readonly reasons: PalletBalancesReasons;1889 }18901891 /** @name PalletBalancesReasons (196) */1892 interface PalletBalancesReasons extends Enum {1893 readonly isFee: boolean;1894 readonly isMisc: boolean;1895 readonly isAll: boolean;1896 readonly type: 'Fee' | 'Misc' | 'All';1897 }18981899 /** @name PalletBalancesReserveData (199) */1900 interface PalletBalancesReserveData extends Struct {1901 readonly id: U8aFixed;1902 readonly amount: u128;1903 }19041905 /** @name PalletBalancesReleases (201) */1906 interface PalletBalancesReleases extends Enum {1907 readonly isV100: boolean;1908 readonly isV200: boolean;1909 readonly type: 'V100' | 'V200';1910 }19111912 /** @name PalletBalancesCall (202) */1913 interface PalletBalancesCall extends Enum {1914 readonly isTransfer: boolean;1915 readonly asTransfer: {1916 readonly dest: MultiAddress;1917 readonly value: Compact<u128>;1918 } & Struct;1919 readonly isSetBalance: boolean;1920 readonly asSetBalance: {1921 readonly who: MultiAddress;1922 readonly newFree: Compact<u128>;1923 readonly newReserved: Compact<u128>;1924 } & Struct;1925 readonly isForceTransfer: boolean;1926 readonly asForceTransfer: {1927 readonly source: MultiAddress;1928 readonly dest: MultiAddress;1929 readonly value: Compact<u128>;1930 } & Struct;1931 readonly isTransferKeepAlive: boolean;1932 readonly asTransferKeepAlive: {1933 readonly dest: MultiAddress;1934 readonly value: Compact<u128>;1935 } & Struct;1936 readonly isTransferAll: boolean;1937 readonly asTransferAll: {1938 readonly dest: MultiAddress;1939 readonly keepAlive: bool;1940 } & Struct;1941 readonly isForceUnreserve: boolean;1942 readonly asForceUnreserve: {1943 readonly who: MultiAddress;1944 readonly amount: u128;1945 } & Struct;1946 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1947 }19481949 /** @name PalletBalancesError (205) */1950 interface PalletBalancesError extends Enum {1951 readonly isVestingBalance: boolean;1952 readonly isLiquidityRestrictions: boolean;1953 readonly isInsufficientBalance: boolean;1954 readonly isExistentialDeposit: boolean;1955 readonly isKeepAlive: boolean;1956 readonly isExistingVestingSchedule: boolean;1957 readonly isDeadAccount: boolean;1958 readonly isTooManyReserves: boolean;1959 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1960 }19611962 /** @name PalletTimestampCall (207) */1963 interface PalletTimestampCall extends Enum {1964 readonly isSet: boolean;1965 readonly asSet: {1966 readonly now: Compact<u64>;1967 } & Struct;1968 readonly type: 'Set';1969 }19701971 /** @name PalletTransactionPaymentReleases (209) */1972 interface PalletTransactionPaymentReleases extends Enum {1973 readonly isV1Ancient: boolean;1974 readonly isV2: boolean;1975 readonly type: 'V1Ancient' | 'V2';1976 }19771978 /** @name PalletTreasuryProposal (210) */1979 interface PalletTreasuryProposal extends Struct {1980 readonly proposer: AccountId32;1981 readonly value: u128;1982 readonly beneficiary: AccountId32;1983 readonly bond: u128;1984 }19851986 /** @name PalletTreasuryCall (212) */1987 interface PalletTreasuryCall extends Enum {1988 readonly isProposeSpend: boolean;1989 readonly asProposeSpend: {1990 readonly value: Compact<u128>;1991 readonly beneficiary: MultiAddress;1992 } & Struct;1993 readonly isRejectProposal: boolean;1994 readonly asRejectProposal: {1995 readonly proposalId: Compact<u32>;1996 } & Struct;1997 readonly isApproveProposal: boolean;1998 readonly asApproveProposal: {1999 readonly proposalId: Compact<u32>;2000 } & Struct;2001 readonly isSpend: boolean;2002 readonly asSpend: {2003 readonly amount: Compact<u128>;2004 readonly beneficiary: MultiAddress;2005 } & Struct;2006 readonly isRemoveApproval: boolean;2007 readonly asRemoveApproval: {2008 readonly proposalId: Compact<u32>;2009 } & Struct;2010 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2011 }20122013 /** @name FrameSupportPalletId (215) */2014 interface FrameSupportPalletId extends U8aFixed {}20152016 /** @name PalletTreasuryError (216) */2017 interface PalletTreasuryError extends Enum {2018 readonly isInsufficientProposersBalance: boolean;2019 readonly isInvalidIndex: boolean;2020 readonly isTooManyApprovals: boolean;2021 readonly isInsufficientPermission: boolean;2022 readonly isProposalNotApproved: boolean;2023 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2024 }20252026 /** @name PalletSudoCall (217) */2027 interface PalletSudoCall extends Enum {2028 readonly isSudo: boolean;2029 readonly asSudo: {2030 readonly call: Call;2031 } & Struct;2032 readonly isSudoUncheckedWeight: boolean;2033 readonly asSudoUncheckedWeight: {2034 readonly call: Call;2035 readonly weight: SpWeightsWeightV2Weight;2036 } & Struct;2037 readonly isSetKey: boolean;2038 readonly asSetKey: {2039 readonly new_: MultiAddress;2040 } & Struct;2041 readonly isSudoAs: boolean;2042 readonly asSudoAs: {2043 readonly who: MultiAddress;2044 readonly call: Call;2045 } & Struct;2046 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2047 }20482049 /** @name OrmlVestingModuleCall (219) */2050 interface OrmlVestingModuleCall extends Enum {2051 readonly isClaim: boolean;2052 readonly isVestedTransfer: boolean;2053 readonly asVestedTransfer: {2054 readonly dest: MultiAddress;2055 readonly schedule: OrmlVestingVestingSchedule;2056 } & Struct;2057 readonly isUpdateVestingSchedules: boolean;2058 readonly asUpdateVestingSchedules: {2059 readonly who: MultiAddress;2060 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;2061 } & Struct;2062 readonly isClaimFor: boolean;2063 readonly asClaimFor: {2064 readonly dest: MultiAddress;2065 } & Struct;2066 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';2067 }20682069 /** @name OrmlXtokensModuleCall (221) */2070 interface OrmlXtokensModuleCall extends Enum {2071 readonly isTransfer: boolean;2072 readonly asTransfer: {2073 readonly currencyId: PalletForeignAssetsAssetIds;2074 readonly amount: u128;2075 readonly dest: XcmVersionedMultiLocation;2076 readonly destWeightLimit: XcmV2WeightLimit;2077 } & Struct;2078 readonly isTransferMultiasset: boolean;2079 readonly asTransferMultiasset: {2080 readonly asset: XcmVersionedMultiAsset;2081 readonly dest: XcmVersionedMultiLocation;2082 readonly destWeightLimit: XcmV2WeightLimit;2083 } & Struct;2084 readonly isTransferWithFee: boolean;2085 readonly asTransferWithFee: {2086 readonly currencyId: PalletForeignAssetsAssetIds;2087 readonly amount: u128;2088 readonly fee: u128;2089 readonly dest: XcmVersionedMultiLocation;2090 readonly destWeightLimit: XcmV2WeightLimit;2091 } & Struct;2092 readonly isTransferMultiassetWithFee: boolean;2093 readonly asTransferMultiassetWithFee: {2094 readonly asset: XcmVersionedMultiAsset;2095 readonly fee: XcmVersionedMultiAsset;2096 readonly dest: XcmVersionedMultiLocation;2097 readonly destWeightLimit: XcmV2WeightLimit;2098 } & Struct;2099 readonly isTransferMulticurrencies: boolean;2100 readonly asTransferMulticurrencies: {2101 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;2102 readonly feeItem: u32;2103 readonly dest: XcmVersionedMultiLocation;2104 readonly destWeightLimit: XcmV2WeightLimit;2105 } & Struct;2106 readonly isTransferMultiassets: boolean;2107 readonly asTransferMultiassets: {2108 readonly assets: XcmVersionedMultiAssets;2109 readonly feeItem: u32;2110 readonly dest: XcmVersionedMultiLocation;2111 readonly destWeightLimit: XcmV2WeightLimit;2112 } & Struct;2113 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';2114 }21152116 /** @name XcmVersionedMultiAsset (222) */2117 interface XcmVersionedMultiAsset extends Enum {2118 readonly isV0: boolean;2119 readonly asV0: XcmV0MultiAsset;2120 readonly isV1: boolean;2121 readonly asV1: XcmV1MultiAsset;2122 readonly type: 'V0' | 'V1';2123 }21242125 /** @name OrmlTokensModuleCall (225) */2126 interface OrmlTokensModuleCall extends Enum {2127 readonly isTransfer: boolean;2128 readonly asTransfer: {2129 readonly dest: MultiAddress;2130 readonly currencyId: PalletForeignAssetsAssetIds;2131 readonly amount: Compact<u128>;2132 } & Struct;2133 readonly isTransferAll: boolean;2134 readonly asTransferAll: {2135 readonly dest: MultiAddress;2136 readonly currencyId: PalletForeignAssetsAssetIds;2137 readonly keepAlive: bool;2138 } & Struct;2139 readonly isTransferKeepAlive: boolean;2140 readonly asTransferKeepAlive: {2141 readonly dest: MultiAddress;2142 readonly currencyId: PalletForeignAssetsAssetIds;2143 readonly amount: Compact<u128>;2144 } & Struct;2145 readonly isForceTransfer: boolean;2146 readonly asForceTransfer: {2147 readonly source: MultiAddress;2148 readonly dest: MultiAddress;2149 readonly currencyId: PalletForeignAssetsAssetIds;2150 readonly amount: Compact<u128>;2151 } & Struct;2152 readonly isSetBalance: boolean;2153 readonly asSetBalance: {2154 readonly who: MultiAddress;2155 readonly currencyId: PalletForeignAssetsAssetIds;2156 readonly newFree: Compact<u128>;2157 readonly newReserved: Compact<u128>;2158 } & Struct;2159 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';2160 }21612162 /** @name CumulusPalletXcmpQueueCall (226) */2163 interface CumulusPalletXcmpQueueCall extends Enum {2164 readonly isServiceOverweight: boolean;2165 readonly asServiceOverweight: {2166 readonly index: u64;2167 readonly weightLimit: u64;2168 } & Struct;2169 readonly isSuspendXcmExecution: boolean;2170 readonly isResumeXcmExecution: boolean;2171 readonly isUpdateSuspendThreshold: boolean;2172 readonly asUpdateSuspendThreshold: {2173 readonly new_: u32;2174 } & Struct;2175 readonly isUpdateDropThreshold: boolean;2176 readonly asUpdateDropThreshold: {2177 readonly new_: u32;2178 } & Struct;2179 readonly isUpdateResumeThreshold: boolean;2180 readonly asUpdateResumeThreshold: {2181 readonly new_: u32;2182 } & Struct;2183 readonly isUpdateThresholdWeight: boolean;2184 readonly asUpdateThresholdWeight: {2185 readonly new_: u64;2186 } & Struct;2187 readonly isUpdateWeightRestrictDecay: boolean;2188 readonly asUpdateWeightRestrictDecay: {2189 readonly new_: u64;2190 } & Struct;2191 readonly isUpdateXcmpMaxIndividualWeight: boolean;2192 readonly asUpdateXcmpMaxIndividualWeight: {2193 readonly new_: u64;2194 } & Struct;2195 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2196 }21972198 /** @name PalletXcmCall (227) */2199 interface PalletXcmCall extends Enum {2200 readonly isSend: boolean;2201 readonly asSend: {2202 readonly dest: XcmVersionedMultiLocation;2203 readonly message: XcmVersionedXcm;2204 } & Struct;2205 readonly isTeleportAssets: boolean;2206 readonly asTeleportAssets: {2207 readonly dest: XcmVersionedMultiLocation;2208 readonly beneficiary: XcmVersionedMultiLocation;2209 readonly assets: XcmVersionedMultiAssets;2210 readonly feeAssetItem: u32;2211 } & Struct;2212 readonly isReserveTransferAssets: boolean;2213 readonly asReserveTransferAssets: {2214 readonly dest: XcmVersionedMultiLocation;2215 readonly beneficiary: XcmVersionedMultiLocation;2216 readonly assets: XcmVersionedMultiAssets;2217 readonly feeAssetItem: u32;2218 } & Struct;2219 readonly isExecute: boolean;2220 readonly asExecute: {2221 readonly message: XcmVersionedXcm;2222 readonly maxWeight: u64;2223 } & Struct;2224 readonly isForceXcmVersion: boolean;2225 readonly asForceXcmVersion: {2226 readonly location: XcmV1MultiLocation;2227 readonly xcmVersion: u32;2228 } & Struct;2229 readonly isForceDefaultXcmVersion: boolean;2230 readonly asForceDefaultXcmVersion: {2231 readonly maybeXcmVersion: Option<u32>;2232 } & Struct;2233 readonly isForceSubscribeVersionNotify: boolean;2234 readonly asForceSubscribeVersionNotify: {2235 readonly location: XcmVersionedMultiLocation;2236 } & Struct;2237 readonly isForceUnsubscribeVersionNotify: boolean;2238 readonly asForceUnsubscribeVersionNotify: {2239 readonly location: XcmVersionedMultiLocation;2240 } & Struct;2241 readonly isLimitedReserveTransferAssets: boolean;2242 readonly asLimitedReserveTransferAssets: {2243 readonly dest: XcmVersionedMultiLocation;2244 readonly beneficiary: XcmVersionedMultiLocation;2245 readonly assets: XcmVersionedMultiAssets;2246 readonly feeAssetItem: u32;2247 readonly weightLimit: XcmV2WeightLimit;2248 } & Struct;2249 readonly isLimitedTeleportAssets: boolean;2250 readonly asLimitedTeleportAssets: {2251 readonly dest: XcmVersionedMultiLocation;2252 readonly beneficiary: XcmVersionedMultiLocation;2253 readonly assets: XcmVersionedMultiAssets;2254 readonly feeAssetItem: u32;2255 readonly weightLimit: XcmV2WeightLimit;2256 } & Struct;2257 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2258 }22592260 /** @name XcmVersionedXcm (228) */2261 interface XcmVersionedXcm extends Enum {2262 readonly isV0: boolean;2263 readonly asV0: XcmV0Xcm;2264 readonly isV1: boolean;2265 readonly asV1: XcmV1Xcm;2266 readonly isV2: boolean;2267 readonly asV2: XcmV2Xcm;2268 readonly type: 'V0' | 'V1' | 'V2';2269 }22702271 /** @name XcmV0Xcm (229) */2272 interface XcmV0Xcm extends Enum {2273 readonly isWithdrawAsset: boolean;2274 readonly asWithdrawAsset: {2275 readonly assets: Vec<XcmV0MultiAsset>;2276 readonly effects: Vec<XcmV0Order>;2277 } & Struct;2278 readonly isReserveAssetDeposit: boolean;2279 readonly asReserveAssetDeposit: {2280 readonly assets: Vec<XcmV0MultiAsset>;2281 readonly effects: Vec<XcmV0Order>;2282 } & Struct;2283 readonly isTeleportAsset: boolean;2284 readonly asTeleportAsset: {2285 readonly assets: Vec<XcmV0MultiAsset>;2286 readonly effects: Vec<XcmV0Order>;2287 } & Struct;2288 readonly isQueryResponse: boolean;2289 readonly asQueryResponse: {2290 readonly queryId: Compact<u64>;2291 readonly response: XcmV0Response;2292 } & Struct;2293 readonly isTransferAsset: boolean;2294 readonly asTransferAsset: {2295 readonly assets: Vec<XcmV0MultiAsset>;2296 readonly dest: XcmV0MultiLocation;2297 } & Struct;2298 readonly isTransferReserveAsset: boolean;2299 readonly asTransferReserveAsset: {2300 readonly assets: Vec<XcmV0MultiAsset>;2301 readonly dest: XcmV0MultiLocation;2302 readonly effects: Vec<XcmV0Order>;2303 } & Struct;2304 readonly isTransact: boolean;2305 readonly asTransact: {2306 readonly originType: XcmV0OriginKind;2307 readonly requireWeightAtMost: u64;2308 readonly call: XcmDoubleEncoded;2309 } & Struct;2310 readonly isHrmpNewChannelOpenRequest: boolean;2311 readonly asHrmpNewChannelOpenRequest: {2312 readonly sender: Compact<u32>;2313 readonly maxMessageSize: Compact<u32>;2314 readonly maxCapacity: Compact<u32>;2315 } & Struct;2316 readonly isHrmpChannelAccepted: boolean;2317 readonly asHrmpChannelAccepted: {2318 readonly recipient: Compact<u32>;2319 } & Struct;2320 readonly isHrmpChannelClosing: boolean;2321 readonly asHrmpChannelClosing: {2322 readonly initiator: Compact<u32>;2323 readonly sender: Compact<u32>;2324 readonly recipient: Compact<u32>;2325 } & Struct;2326 readonly isRelayedFrom: boolean;2327 readonly asRelayedFrom: {2328 readonly who: XcmV0MultiLocation;2329 readonly message: XcmV0Xcm;2330 } & Struct;2331 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2332 }23332334 /** @name XcmV0Order (231) */2335 interface XcmV0Order extends Enum {2336 readonly isNull: boolean;2337 readonly isDepositAsset: boolean;2338 readonly asDepositAsset: {2339 readonly assets: Vec<XcmV0MultiAsset>;2340 readonly dest: XcmV0MultiLocation;2341 } & Struct;2342 readonly isDepositReserveAsset: boolean;2343 readonly asDepositReserveAsset: {2344 readonly assets: Vec<XcmV0MultiAsset>;2345 readonly dest: XcmV0MultiLocation;2346 readonly effects: Vec<XcmV0Order>;2347 } & Struct;2348 readonly isExchangeAsset: boolean;2349 readonly asExchangeAsset: {2350 readonly give: Vec<XcmV0MultiAsset>;2351 readonly receive: Vec<XcmV0MultiAsset>;2352 } & Struct;2353 readonly isInitiateReserveWithdraw: boolean;2354 readonly asInitiateReserveWithdraw: {2355 readonly assets: Vec<XcmV0MultiAsset>;2356 readonly reserve: XcmV0MultiLocation;2357 readonly effects: Vec<XcmV0Order>;2358 } & Struct;2359 readonly isInitiateTeleport: boolean;2360 readonly asInitiateTeleport: {2361 readonly assets: Vec<XcmV0MultiAsset>;2362 readonly dest: XcmV0MultiLocation;2363 readonly effects: Vec<XcmV0Order>;2364 } & Struct;2365 readonly isQueryHolding: boolean;2366 readonly asQueryHolding: {2367 readonly queryId: Compact<u64>;2368 readonly dest: XcmV0MultiLocation;2369 readonly assets: Vec<XcmV0MultiAsset>;2370 } & Struct;2371 readonly isBuyExecution: boolean;2372 readonly asBuyExecution: {2373 readonly fees: XcmV0MultiAsset;2374 readonly weight: u64;2375 readonly debt: u64;2376 readonly haltOnError: bool;2377 readonly xcm: Vec<XcmV0Xcm>;2378 } & Struct;2379 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2380 }23812382 /** @name XcmV0Response (233) */2383 interface XcmV0Response extends Enum {2384 readonly isAssets: boolean;2385 readonly asAssets: Vec<XcmV0MultiAsset>;2386 readonly type: 'Assets';2387 }23882389 /** @name XcmV1Xcm (234) */2390 interface XcmV1Xcm extends Enum {2391 readonly isWithdrawAsset: boolean;2392 readonly asWithdrawAsset: {2393 readonly assets: XcmV1MultiassetMultiAssets;2394 readonly effects: Vec<XcmV1Order>;2395 } & Struct;2396 readonly isReserveAssetDeposited: boolean;2397 readonly asReserveAssetDeposited: {2398 readonly assets: XcmV1MultiassetMultiAssets;2399 readonly effects: Vec<XcmV1Order>;2400 } & Struct;2401 readonly isReceiveTeleportedAsset: boolean;2402 readonly asReceiveTeleportedAsset: {2403 readonly assets: XcmV1MultiassetMultiAssets;2404 readonly effects: Vec<XcmV1Order>;2405 } & Struct;2406 readonly isQueryResponse: boolean;2407 readonly asQueryResponse: {2408 readonly queryId: Compact<u64>;2409 readonly response: XcmV1Response;2410 } & Struct;2411 readonly isTransferAsset: boolean;2412 readonly asTransferAsset: {2413 readonly assets: XcmV1MultiassetMultiAssets;2414 readonly beneficiary: XcmV1MultiLocation;2415 } & Struct;2416 readonly isTransferReserveAsset: boolean;2417 readonly asTransferReserveAsset: {2418 readonly assets: XcmV1MultiassetMultiAssets;2419 readonly dest: XcmV1MultiLocation;2420 readonly effects: Vec<XcmV1Order>;2421 } & Struct;2422 readonly isTransact: boolean;2423 readonly asTransact: {2424 readonly originType: XcmV0OriginKind;2425 readonly requireWeightAtMost: u64;2426 readonly call: XcmDoubleEncoded;2427 } & Struct;2428 readonly isHrmpNewChannelOpenRequest: boolean;2429 readonly asHrmpNewChannelOpenRequest: {2430 readonly sender: Compact<u32>;2431 readonly maxMessageSize: Compact<u32>;2432 readonly maxCapacity: Compact<u32>;2433 } & Struct;2434 readonly isHrmpChannelAccepted: boolean;2435 readonly asHrmpChannelAccepted: {2436 readonly recipient: Compact<u32>;2437 } & Struct;2438 readonly isHrmpChannelClosing: boolean;2439 readonly asHrmpChannelClosing: {2440 readonly initiator: Compact<u32>;2441 readonly sender: Compact<u32>;2442 readonly recipient: Compact<u32>;2443 } & Struct;2444 readonly isRelayedFrom: boolean;2445 readonly asRelayedFrom: {2446 readonly who: XcmV1MultilocationJunctions;2447 readonly message: XcmV1Xcm;2448 } & Struct;2449 readonly isSubscribeVersion: boolean;2450 readonly asSubscribeVersion: {2451 readonly queryId: Compact<u64>;2452 readonly maxResponseWeight: Compact<u64>;2453 } & Struct;2454 readonly isUnsubscribeVersion: boolean;2455 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2456 }24572458 /** @name XcmV1Order (236) */2459 interface XcmV1Order extends Enum {2460 readonly isNoop: boolean;2461 readonly isDepositAsset: boolean;2462 readonly asDepositAsset: {2463 readonly assets: XcmV1MultiassetMultiAssetFilter;2464 readonly maxAssets: u32;2465 readonly beneficiary: XcmV1MultiLocation;2466 } & Struct;2467 readonly isDepositReserveAsset: boolean;2468 readonly asDepositReserveAsset: {2469 readonly assets: XcmV1MultiassetMultiAssetFilter;2470 readonly maxAssets: u32;2471 readonly dest: XcmV1MultiLocation;2472 readonly effects: Vec<XcmV1Order>;2473 } & Struct;2474 readonly isExchangeAsset: boolean;2475 readonly asExchangeAsset: {2476 readonly give: XcmV1MultiassetMultiAssetFilter;2477 readonly receive: XcmV1MultiassetMultiAssets;2478 } & Struct;2479 readonly isInitiateReserveWithdraw: boolean;2480 readonly asInitiateReserveWithdraw: {2481 readonly assets: XcmV1MultiassetMultiAssetFilter;2482 readonly reserve: XcmV1MultiLocation;2483 readonly effects: Vec<XcmV1Order>;2484 } & Struct;2485 readonly isInitiateTeleport: boolean;2486 readonly asInitiateTeleport: {2487 readonly assets: XcmV1MultiassetMultiAssetFilter;2488 readonly dest: XcmV1MultiLocation;2489 readonly effects: Vec<XcmV1Order>;2490 } & Struct;2491 readonly isQueryHolding: boolean;2492 readonly asQueryHolding: {2493 readonly queryId: Compact<u64>;2494 readonly dest: XcmV1MultiLocation;2495 readonly assets: XcmV1MultiassetMultiAssetFilter;2496 } & Struct;2497 readonly isBuyExecution: boolean;2498 readonly asBuyExecution: {2499 readonly fees: XcmV1MultiAsset;2500 readonly weight: u64;2501 readonly debt: u64;2502 readonly haltOnError: bool;2503 readonly instructions: Vec<XcmV1Xcm>;2504 } & Struct;2505 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2506 }25072508 /** @name XcmV1Response (238) */2509 interface XcmV1Response extends Enum {2510 readonly isAssets: boolean;2511 readonly asAssets: XcmV1MultiassetMultiAssets;2512 readonly isVersion: boolean;2513 readonly asVersion: u32;2514 readonly type: 'Assets' | 'Version';2515 }25162517 /** @name CumulusPalletXcmCall (252) */2518 type CumulusPalletXcmCall = Null;25192520 /** @name CumulusPalletDmpQueueCall (253) */2521 interface CumulusPalletDmpQueueCall extends Enum {2522 readonly isServiceOverweight: boolean;2523 readonly asServiceOverweight: {2524 readonly index: u64;2525 readonly weightLimit: u64;2526 } & Struct;2527 readonly type: 'ServiceOverweight';2528 }25292530 /** @name PalletInflationCall (254) */2531 interface PalletInflationCall extends Enum {2532 readonly isStartInflation: boolean;2533 readonly asStartInflation: {2534 readonly inflationStartRelayBlock: u32;2535 } & Struct;2536 readonly type: 'StartInflation';2537 }25382539 /** @name PalletUniqueCall (255) */2540 interface PalletUniqueCall extends Enum {2541 readonly isCreateCollection: boolean;2542 readonly asCreateCollection: {2543 readonly collectionName: Vec<u16>;2544 readonly collectionDescription: Vec<u16>;2545 readonly tokenPrefix: Bytes;2546 readonly mode: UpDataStructsCollectionMode;2547 } & Struct;2548 readonly isCreateCollectionEx: boolean;2549 readonly asCreateCollectionEx: {2550 readonly data: UpDataStructsCreateCollectionData;2551 } & Struct;2552 readonly isDestroyCollection: boolean;2553 readonly asDestroyCollection: {2554 readonly collectionId: u32;2555 } & Struct;2556 readonly isAddToAllowList: boolean;2557 readonly asAddToAllowList: {2558 readonly collectionId: u32;2559 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2560 } & Struct;2561 readonly isRemoveFromAllowList: boolean;2562 readonly asRemoveFromAllowList: {2563 readonly collectionId: u32;2564 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2565 } & Struct;2566 readonly isChangeCollectionOwner: boolean;2567 readonly asChangeCollectionOwner: {2568 readonly collectionId: u32;2569 readonly newOwner: AccountId32;2570 } & Struct;2571 readonly isAddCollectionAdmin: boolean;2572 readonly asAddCollectionAdmin: {2573 readonly collectionId: u32;2574 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2575 } & Struct;2576 readonly isRemoveCollectionAdmin: boolean;2577 readonly asRemoveCollectionAdmin: {2578 readonly collectionId: u32;2579 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2580 } & Struct;2581 readonly isSetCollectionSponsor: boolean;2582 readonly asSetCollectionSponsor: {2583 readonly collectionId: u32;2584 readonly newSponsor: AccountId32;2585 } & Struct;2586 readonly isConfirmSponsorship: boolean;2587 readonly asConfirmSponsorship: {2588 readonly collectionId: u32;2589 } & Struct;2590 readonly isRemoveCollectionSponsor: boolean;2591 readonly asRemoveCollectionSponsor: {2592 readonly collectionId: u32;2593 } & Struct;2594 readonly isCreateItem: boolean;2595 readonly asCreateItem: {2596 readonly collectionId: u32;2597 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2598 readonly data: UpDataStructsCreateItemData;2599 } & Struct;2600 readonly isCreateMultipleItems: boolean;2601 readonly asCreateMultipleItems: {2602 readonly collectionId: u32;2603 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2604 readonly itemsData: Vec<UpDataStructsCreateItemData>;2605 } & Struct;2606 readonly isSetCollectionProperties: boolean;2607 readonly asSetCollectionProperties: {2608 readonly collectionId: u32;2609 readonly properties: Vec<UpDataStructsProperty>;2610 } & Struct;2611 readonly isDeleteCollectionProperties: boolean;2612 readonly asDeleteCollectionProperties: {2613 readonly collectionId: u32;2614 readonly propertyKeys: Vec<Bytes>;2615 } & Struct;2616 readonly isSetTokenProperties: boolean;2617 readonly asSetTokenProperties: {2618 readonly collectionId: u32;2619 readonly tokenId: u32;2620 readonly properties: Vec<UpDataStructsProperty>;2621 } & Struct;2622 readonly isDeleteTokenProperties: boolean;2623 readonly asDeleteTokenProperties: {2624 readonly collectionId: u32;2625 readonly tokenId: u32;2626 readonly propertyKeys: Vec<Bytes>;2627 } & Struct;2628 readonly isSetTokenPropertyPermissions: boolean;2629 readonly asSetTokenPropertyPermissions: {2630 readonly collectionId: u32;2631 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2632 } & Struct;2633 readonly isCreateMultipleItemsEx: boolean;2634 readonly asCreateMultipleItemsEx: {2635 readonly collectionId: u32;2636 readonly data: UpDataStructsCreateItemExData;2637 } & Struct;2638 readonly isSetTransfersEnabledFlag: boolean;2639 readonly asSetTransfersEnabledFlag: {2640 readonly collectionId: u32;2641 readonly value: bool;2642 } & Struct;2643 readonly isBurnItem: boolean;2644 readonly asBurnItem: {2645 readonly collectionId: u32;2646 readonly itemId: u32;2647 readonly value: u128;2648 } & Struct;2649 readonly isBurnFrom: boolean;2650 readonly asBurnFrom: {2651 readonly collectionId: u32;2652 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2653 readonly itemId: u32;2654 readonly value: u128;2655 } & Struct;2656 readonly isTransfer: boolean;2657 readonly asTransfer: {2658 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2659 readonly collectionId: u32;2660 readonly itemId: u32;2661 readonly value: u128;2662 } & Struct;2663 readonly isApprove: boolean;2664 readonly asApprove: {2665 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2666 readonly collectionId: u32;2667 readonly itemId: u32;2668 readonly amount: u128;2669 } & Struct;2670 readonly isTransferFrom: boolean;2671 readonly asTransferFrom: {2672 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2673 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2674 readonly collectionId: u32;2675 readonly itemId: u32;2676 readonly value: u128;2677 } & Struct;2678 readonly isSetCollectionLimits: boolean;2679 readonly asSetCollectionLimits: {2680 readonly collectionId: u32;2681 readonly newLimit: UpDataStructsCollectionLimits;2682 } & Struct;2683 readonly isSetCollectionPermissions: boolean;2684 readonly asSetCollectionPermissions: {2685 readonly collectionId: u32;2686 readonly newPermission: UpDataStructsCollectionPermissions;2687 } & Struct;2688 readonly isRepartition: boolean;2689 readonly asRepartition: {2690 readonly collectionId: u32;2691 readonly tokenId: u32;2692 readonly amount: u128;2693 } & Struct;2694 readonly isSetAllowanceForAll: boolean;2695 readonly asSetAllowanceForAll: {2696 readonly collectionId: u32;2697 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2698 readonly approve: bool;2699 } & Struct;2700 readonly isForceRepairCollection: boolean;2701 readonly asForceRepairCollection: {2702 readonly collectionId: u32;2703 } & Struct;2704 readonly isForceRepairItem: boolean;2705 readonly asForceRepairItem: {2706 readonly collectionId: u32;2707 readonly itemId: u32;2708 } & Struct;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';2710 }27112712 /** @name UpDataStructsCollectionMode (260) */2713 interface UpDataStructsCollectionMode extends Enum {2714 readonly isNft: boolean;2715 readonly isFungible: boolean;2716 readonly asFungible: u8;2717 readonly isReFungible: boolean;2718 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2719 }27202721 /** @name UpDataStructsCreateCollectionData (261) */2722 interface UpDataStructsCreateCollectionData extends Struct {2723 readonly mode: UpDataStructsCollectionMode;2724 readonly access: Option<UpDataStructsAccessMode>;2725 readonly name: Vec<u16>;2726 readonly description: Vec<u16>;2727 readonly tokenPrefix: Bytes;2728 readonly pendingSponsor: Option<AccountId32>;2729 readonly limits: Option<UpDataStructsCollectionLimits>;2730 readonly permissions: Option<UpDataStructsCollectionPermissions>;2731 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2732 readonly properties: Vec<UpDataStructsProperty>;2733 }27342735 /** @name UpDataStructsAccessMode (263) */2736 interface UpDataStructsAccessMode extends Enum {2737 readonly isNormal: boolean;2738 readonly isAllowList: boolean;2739 readonly type: 'Normal' | 'AllowList';2740 }27412742 /** @name UpDataStructsCollectionLimits (265) */2743 interface UpDataStructsCollectionLimits extends Struct {2744 readonly accountTokenOwnershipLimit: Option<u32>;2745 readonly sponsoredDataSize: Option<u32>;2746 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2747 readonly tokenLimit: Option<u32>;2748 readonly sponsorTransferTimeout: Option<u32>;2749 readonly sponsorApproveTimeout: Option<u32>;2750 readonly ownerCanTransfer: Option<bool>;2751 readonly ownerCanDestroy: Option<bool>;2752 readonly transfersEnabled: Option<bool>;2753 }27542755 /** @name UpDataStructsSponsoringRateLimit (267) */2756 interface UpDataStructsSponsoringRateLimit extends Enum {2757 readonly isSponsoringDisabled: boolean;2758 readonly isBlocks: boolean;2759 readonly asBlocks: u32;2760 readonly type: 'SponsoringDisabled' | 'Blocks';2761 }27622763 /** @name UpDataStructsCollectionPermissions (270) */2764 interface UpDataStructsCollectionPermissions extends Struct {2765 readonly access: Option<UpDataStructsAccessMode>;2766 readonly mintMode: Option<bool>;2767 readonly nesting: Option<UpDataStructsNestingPermissions>;2768 }27692770 /** @name UpDataStructsNestingPermissions (272) */2771 interface UpDataStructsNestingPermissions extends Struct {2772 readonly tokenOwner: bool;2773 readonly collectionAdmin: bool;2774 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2775 }27762777 /** @name UpDataStructsOwnerRestrictedSet (274) */2778 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}27792780 /** @name UpDataStructsPropertyKeyPermission (279) */2781 interface UpDataStructsPropertyKeyPermission extends Struct {2782 readonly key: Bytes;2783 readonly permission: UpDataStructsPropertyPermission;2784 }27852786 /** @name UpDataStructsPropertyPermission (280) */2787 interface UpDataStructsPropertyPermission extends Struct {2788 readonly mutable: bool;2789 readonly collectionAdmin: bool;2790 readonly tokenOwner: bool;2791 }27922793 /** @name UpDataStructsProperty (283) */2794 interface UpDataStructsProperty extends Struct {2795 readonly key: Bytes;2796 readonly value: Bytes;2797 }27982799 /** @name UpDataStructsCreateItemData (286) */2800 interface UpDataStructsCreateItemData extends Enum {2801 readonly isNft: boolean;2802 readonly asNft: UpDataStructsCreateNftData;2803 readonly isFungible: boolean;2804 readonly asFungible: UpDataStructsCreateFungibleData;2805 readonly isReFungible: boolean;2806 readonly asReFungible: UpDataStructsCreateReFungibleData;2807 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2808 }28092810 /** @name UpDataStructsCreateNftData (287) */2811 interface UpDataStructsCreateNftData extends Struct {2812 readonly properties: Vec<UpDataStructsProperty>;2813 }28142815 /** @name UpDataStructsCreateFungibleData (288) */2816 interface UpDataStructsCreateFungibleData extends Struct {2817 readonly value: u128;2818 }28192820 /** @name UpDataStructsCreateReFungibleData (289) */2821 interface UpDataStructsCreateReFungibleData extends Struct {2822 readonly pieces: u128;2823 readonly properties: Vec<UpDataStructsProperty>;2824 }28252826 /** @name UpDataStructsCreateItemExData (292) */2827 interface UpDataStructsCreateItemExData extends Enum {2828 readonly isNft: boolean;2829 readonly asNft: Vec<UpDataStructsCreateNftExData>;2830 readonly isFungible: boolean;2831 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2832 readonly isRefungibleMultipleItems: boolean;2833 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2834 readonly isRefungibleMultipleOwners: boolean;2835 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2836 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2837 }28382839 /** @name UpDataStructsCreateNftExData (294) */2840 interface UpDataStructsCreateNftExData extends Struct {2841 readonly properties: Vec<UpDataStructsProperty>;2842 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2843 }28442845 /** @name UpDataStructsCreateRefungibleExSingleOwner (301) */2846 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2847 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2848 readonly pieces: u128;2849 readonly properties: Vec<UpDataStructsProperty>;2850 }28512852 /** @name UpDataStructsCreateRefungibleExMultipleOwners (303) */2853 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2854 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2855 readonly properties: Vec<UpDataStructsProperty>;2856 }28572858 /** @name PalletConfigurationCall (304) */2859 interface PalletConfigurationCall extends Enum {2860 readonly isSetWeightToFeeCoefficientOverride: boolean;2861 readonly asSetWeightToFeeCoefficientOverride: {2862 readonly coeff: Option<u32>;2863 } & Struct;2864 readonly isSetMinGasPriceOverride: boolean;2865 readonly asSetMinGasPriceOverride: {2866 readonly coeff: Option<u64>;2867 } & Struct;2868 readonly isSetXcmAllowedLocations: boolean;2869 readonly asSetXcmAllowedLocations: {2870 readonly locations: Option<Vec<XcmV1MultiLocation>>;2871 } & Struct;2872 readonly isSetAppPromotionConfigurationOverride: boolean;2873 readonly asSetAppPromotionConfigurationOverride: {2874 readonly configuration: PalletConfigurationAppPromotionConfiguration;2875 } & Struct;2876 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2877 }28782879 /** @name PalletConfigurationAppPromotionConfiguration (309) */2880 interface PalletConfigurationAppPromotionConfiguration extends Struct {2881 readonly recalculationInterval: Option<u32>;2882 readonly pendingInterval: Option<u32>;2883 readonly intervalIncome: Option<Perbill>;2884 readonly maxStakersPerCalculation: Option<u8>;2885 }28862887 /** @name PalletTemplateTransactionPaymentCall (312) */2888 type PalletTemplateTransactionPaymentCall = Null;28892890 /** @name PalletStructureCall (313) */2891 type PalletStructureCall = Null;28922893 /** @name PalletRmrkCoreCall (314) */2894 interface PalletRmrkCoreCall extends Enum {2895 readonly isCreateCollection: boolean;2896 readonly asCreateCollection: {2897 readonly metadata: Bytes;2898 readonly max: Option<u32>;2899 readonly symbol: Bytes;2900 } & Struct;2901 readonly isDestroyCollection: boolean;2902 readonly asDestroyCollection: {2903 readonly collectionId: u32;2904 } & Struct;2905 readonly isChangeCollectionIssuer: boolean;2906 readonly asChangeCollectionIssuer: {2907 readonly collectionId: u32;2908 readonly newIssuer: MultiAddress;2909 } & Struct;2910 readonly isLockCollection: boolean;2911 readonly asLockCollection: {2912 readonly collectionId: u32;2913 } & Struct;2914 readonly isMintNft: boolean;2915 readonly asMintNft: {2916 readonly owner: Option<AccountId32>;2917 readonly collectionId: u32;2918 readonly recipient: Option<AccountId32>;2919 readonly royaltyAmount: Option<Permill>;2920 readonly metadata: Bytes;2921 readonly transferable: bool;2922 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2923 } & Struct;2924 readonly isBurnNft: boolean;2925 readonly asBurnNft: {2926 readonly collectionId: u32;2927 readonly nftId: u32;2928 readonly maxBurns: u32;2929 } & Struct;2930 readonly isSend: boolean;2931 readonly asSend: {2932 readonly rmrkCollectionId: u32;2933 readonly rmrkNftId: u32;2934 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2935 } & Struct;2936 readonly isAcceptNft: boolean;2937 readonly asAcceptNft: {2938 readonly rmrkCollectionId: u32;2939 readonly rmrkNftId: u32;2940 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2941 } & Struct;2942 readonly isRejectNft: boolean;2943 readonly asRejectNft: {2944 readonly rmrkCollectionId: u32;2945 readonly rmrkNftId: u32;2946 } & Struct;2947 readonly isAcceptResource: boolean;2948 readonly asAcceptResource: {2949 readonly rmrkCollectionId: u32;2950 readonly rmrkNftId: u32;2951 readonly resourceId: u32;2952 } & Struct;2953 readonly isAcceptResourceRemoval: boolean;2954 readonly asAcceptResourceRemoval: {2955 readonly rmrkCollectionId: u32;2956 readonly rmrkNftId: u32;2957 readonly resourceId: u32;2958 } & Struct;2959 readonly isSetProperty: boolean;2960 readonly asSetProperty: {2961 readonly rmrkCollectionId: Compact<u32>;2962 readonly maybeNftId: Option<u32>;2963 readonly key: Bytes;2964 readonly value: Bytes;2965 } & Struct;2966 readonly isSetPriority: boolean;2967 readonly asSetPriority: {2968 readonly rmrkCollectionId: u32;2969 readonly rmrkNftId: u32;2970 readonly priorities: Vec<u32>;2971 } & Struct;2972 readonly isAddBasicResource: boolean;2973 readonly asAddBasicResource: {2974 readonly rmrkCollectionId: u32;2975 readonly nftId: u32;2976 readonly resource: RmrkTraitsResourceBasicResource;2977 } & Struct;2978 readonly isAddComposableResource: boolean;2979 readonly asAddComposableResource: {2980 readonly rmrkCollectionId: u32;2981 readonly nftId: u32;2982 readonly resource: RmrkTraitsResourceComposableResource;2983 } & Struct;2984 readonly isAddSlotResource: boolean;2985 readonly asAddSlotResource: {2986 readonly rmrkCollectionId: u32;2987 readonly nftId: u32;2988 readonly resource: RmrkTraitsResourceSlotResource;2989 } & Struct;2990 readonly isRemoveResource: boolean;2991 readonly asRemoveResource: {2992 readonly rmrkCollectionId: u32;2993 readonly nftId: u32;2994 readonly resourceId: u32;2995 } & Struct;2996 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2997 }29982999 /** @name RmrkTraitsResourceResourceTypes (320) */3000 interface RmrkTraitsResourceResourceTypes extends Enum {3001 readonly isBasic: boolean;3002 readonly asBasic: RmrkTraitsResourceBasicResource;3003 readonly isComposable: boolean;3004 readonly asComposable: RmrkTraitsResourceComposableResource;3005 readonly isSlot: boolean;3006 readonly asSlot: RmrkTraitsResourceSlotResource;3007 readonly type: 'Basic' | 'Composable' | 'Slot';3008 }30093010 /** @name RmrkTraitsResourceBasicResource (322) */3011 interface RmrkTraitsResourceBasicResource extends Struct {3012 readonly src: Option<Bytes>;3013 readonly metadata: Option<Bytes>;3014 readonly license: Option<Bytes>;3015 readonly thumb: Option<Bytes>;3016 }30173018 /** @name RmrkTraitsResourceComposableResource (324) */3019 interface RmrkTraitsResourceComposableResource extends Struct {3020 readonly parts: Vec<u32>;3021 readonly base: u32;3022 readonly src: Option<Bytes>;3023 readonly metadata: Option<Bytes>;3024 readonly license: Option<Bytes>;3025 readonly thumb: Option<Bytes>;3026 }30273028 /** @name RmrkTraitsResourceSlotResource (325) */3029 interface RmrkTraitsResourceSlotResource extends Struct {3030 readonly base: u32;3031 readonly src: Option<Bytes>;3032 readonly metadata: Option<Bytes>;3033 readonly slot: u32;3034 readonly license: Option<Bytes>;3035 readonly thumb: Option<Bytes>;3036 }30373038 /** @name PalletRmrkEquipCall (328) */3039 interface PalletRmrkEquipCall extends Enum {3040 readonly isCreateBase: boolean;3041 readonly asCreateBase: {3042 readonly baseType: Bytes;3043 readonly symbol: Bytes;3044 readonly parts: Vec<RmrkTraitsPartPartType>;3045 } & Struct;3046 readonly isThemeAdd: boolean;3047 readonly asThemeAdd: {3048 readonly baseId: u32;3049 readonly theme: RmrkTraitsTheme;3050 } & Struct;3051 readonly isEquippable: boolean;3052 readonly asEquippable: {3053 readonly baseId: u32;3054 readonly slotId: u32;3055 readonly equippables: RmrkTraitsPartEquippableList;3056 } & Struct;3057 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';3058 }30593060 /** @name RmrkTraitsPartPartType (331) */3061 interface RmrkTraitsPartPartType extends Enum {3062 readonly isFixedPart: boolean;3063 readonly asFixedPart: RmrkTraitsPartFixedPart;3064 readonly isSlotPart: boolean;3065 readonly asSlotPart: RmrkTraitsPartSlotPart;3066 readonly type: 'FixedPart' | 'SlotPart';3067 }30683069 /** @name RmrkTraitsPartFixedPart (333) */3070 interface RmrkTraitsPartFixedPart extends Struct {3071 readonly id: u32;3072 readonly z: u32;3073 readonly src: Bytes;3074 }30753076 /** @name RmrkTraitsPartSlotPart (334) */3077 interface RmrkTraitsPartSlotPart extends Struct {3078 readonly id: u32;3079 readonly equippable: RmrkTraitsPartEquippableList;3080 readonly src: Bytes;3081 readonly z: u32;3082 }30833084 /** @name RmrkTraitsPartEquippableList (335) */3085 interface RmrkTraitsPartEquippableList extends Enum {3086 readonly isAll: boolean;3087 readonly isEmpty: boolean;3088 readonly isCustom: boolean;3089 readonly asCustom: Vec<u32>;3090 readonly type: 'All' | 'Empty' | 'Custom';3091 }30923093 /** @name RmrkTraitsTheme (337) */3094 interface RmrkTraitsTheme extends Struct {3095 readonly name: Bytes;3096 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;3097 readonly inherit: bool;3098 }30993100 /** @name RmrkTraitsThemeThemeProperty (339) */3101 interface RmrkTraitsThemeThemeProperty extends Struct {3102 readonly key: Bytes;3103 readonly value: Bytes;3104 }31053106 /** @name PalletAppPromotionCall (341) */3107 interface PalletAppPromotionCall extends Enum {3108 readonly isSetAdminAddress: boolean;3109 readonly asSetAdminAddress: {3110 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;3111 } & Struct;3112 readonly isStake: boolean;3113 readonly asStake: {3114 readonly amount: u128;3115 } & Struct;3116 readonly isUnstake: boolean;3117 readonly isSponsorCollection: boolean;3118 readonly asSponsorCollection: {3119 readonly collectionId: u32;3120 } & Struct;3121 readonly isStopSponsoringCollection: boolean;3122 readonly asStopSponsoringCollection: {3123 readonly collectionId: u32;3124 } & Struct;3125 readonly isSponsorContract: boolean;3126 readonly asSponsorContract: {3127 readonly contractId: H160;3128 } & Struct;3129 readonly isStopSponsoringContract: boolean;3130 readonly asStopSponsoringContract: {3131 readonly contractId: H160;3132 } & Struct;3133 readonly isPayoutStakers: boolean;3134 readonly asPayoutStakers: {3135 readonly stakersNumber: Option<u8>;3136 } & Struct;3137 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';3138 }31393140 /** @name PalletForeignAssetsModuleCall (342) */3141 interface PalletForeignAssetsModuleCall extends Enum {3142 readonly isRegisterForeignAsset: boolean;3143 readonly asRegisterForeignAsset: {3144 readonly owner: AccountId32;3145 readonly location: XcmVersionedMultiLocation;3146 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3147 } & Struct;3148 readonly isUpdateForeignAsset: boolean;3149 readonly asUpdateForeignAsset: {3150 readonly foreignAssetId: u32;3151 readonly location: XcmVersionedMultiLocation;3152 readonly metadata: PalletForeignAssetsModuleAssetMetadata;3153 } & Struct;3154 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';3155 }31563157 /** @name PalletEvmCall (343) */3158 interface PalletEvmCall extends Enum {3159 readonly isWithdraw: boolean;3160 readonly asWithdraw: {3161 readonly address: H160;3162 readonly value: u128;3163 } & Struct;3164 readonly isCall: boolean;3165 readonly asCall: {3166 readonly source: H160;3167 readonly target: H160;3168 readonly input: Bytes;3169 readonly value: U256;3170 readonly gasLimit: u64;3171 readonly maxFeePerGas: U256;3172 readonly maxPriorityFeePerGas: Option<U256>;3173 readonly nonce: Option<U256>;3174 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3175 } & Struct;3176 readonly isCreate: boolean;3177 readonly asCreate: {3178 readonly source: H160;3179 readonly init: Bytes;3180 readonly value: U256;3181 readonly gasLimit: u64;3182 readonly maxFeePerGas: U256;3183 readonly maxPriorityFeePerGas: Option<U256>;3184 readonly nonce: Option<U256>;3185 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3186 } & Struct;3187 readonly isCreate2: boolean;3188 readonly asCreate2: {3189 readonly source: H160;3190 readonly init: Bytes;3191 readonly salt: H256;3192 readonly value: U256;3193 readonly gasLimit: u64;3194 readonly maxFeePerGas: U256;3195 readonly maxPriorityFeePerGas: Option<U256>;3196 readonly nonce: Option<U256>;3197 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3198 } & Struct;3199 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3200 }32013202 /** @name PalletEthereumCall (349) */3203 interface PalletEthereumCall extends Enum {3204 readonly isTransact: boolean;3205 readonly asTransact: {3206 readonly transaction: EthereumTransactionTransactionV2;3207 } & Struct;3208 readonly type: 'Transact';3209 }32103211 /** @name EthereumTransactionTransactionV2 (350) */3212 interface EthereumTransactionTransactionV2 extends Enum {3213 readonly isLegacy: boolean;3214 readonly asLegacy: EthereumTransactionLegacyTransaction;3215 readonly isEip2930: boolean;3216 readonly asEip2930: EthereumTransactionEip2930Transaction;3217 readonly isEip1559: boolean;3218 readonly asEip1559: EthereumTransactionEip1559Transaction;3219 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3220 }32213222 /** @name EthereumTransactionLegacyTransaction (351) */3223 interface EthereumTransactionLegacyTransaction extends Struct {3224 readonly nonce: U256;3225 readonly gasPrice: U256;3226 readonly gasLimit: U256;3227 readonly action: EthereumTransactionTransactionAction;3228 readonly value: U256;3229 readonly input: Bytes;3230 readonly signature: EthereumTransactionTransactionSignature;3231 }32323233 /** @name EthereumTransactionTransactionAction (352) */3234 interface EthereumTransactionTransactionAction extends Enum {3235 readonly isCall: boolean;3236 readonly asCall: H160;3237 readonly isCreate: boolean;3238 readonly type: 'Call' | 'Create';3239 }32403241 /** @name EthereumTransactionTransactionSignature (353) */3242 interface EthereumTransactionTransactionSignature extends Struct {3243 readonly v: u64;3244 readonly r: H256;3245 readonly s: H256;3246 }32473248 /** @name EthereumTransactionEip2930Transaction (355) */3249 interface EthereumTransactionEip2930Transaction extends Struct {3250 readonly chainId: u64;3251 readonly nonce: U256;3252 readonly gasPrice: U256;3253 readonly gasLimit: U256;3254 readonly action: EthereumTransactionTransactionAction;3255 readonly value: U256;3256 readonly input: Bytes;3257 readonly accessList: Vec<EthereumTransactionAccessListItem>;3258 readonly oddYParity: bool;3259 readonly r: H256;3260 readonly s: H256;3261 }32623263 /** @name EthereumTransactionAccessListItem (357) */3264 interface EthereumTransactionAccessListItem extends Struct {3265 readonly address: H160;3266 readonly storageKeys: Vec<H256>;3267 }32683269 /** @name EthereumTransactionEip1559Transaction (358) */3270 interface EthereumTransactionEip1559Transaction extends Struct {3271 readonly chainId: u64;3272 readonly nonce: U256;3273 readonly maxPriorityFeePerGas: U256;3274 readonly maxFeePerGas: U256;3275 readonly gasLimit: U256;3276 readonly action: EthereumTransactionTransactionAction;3277 readonly value: U256;3278 readonly input: Bytes;3279 readonly accessList: Vec<EthereumTransactionAccessListItem>;3280 readonly oddYParity: bool;3281 readonly r: H256;3282 readonly s: H256;3283 }32843285 /** @name PalletEvmMigrationCall (359) */3286 interface PalletEvmMigrationCall extends Enum {3287 readonly isBegin: boolean;3288 readonly asBegin: {3289 readonly address: H160;3290 } & Struct;3291 readonly isSetData: boolean;3292 readonly asSetData: {3293 readonly address: H160;3294 readonly data: Vec<ITuple<[H256, H256]>>;3295 } & Struct;3296 readonly isFinish: boolean;3297 readonly asFinish: {3298 readonly address: H160;3299 readonly code: Bytes;3300 } & Struct;3301 readonly isInsertEthLogs: boolean;3302 readonly asInsertEthLogs: {3303 readonly logs: Vec<EthereumLog>;3304 } & Struct;3305 readonly isInsertEvents: boolean;3306 readonly asInsertEvents: {3307 readonly events: Vec<Bytes>;3308 } & Struct;3309 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3310 }33113312 /** @name PalletMaintenanceCall (363) */3313 interface PalletMaintenanceCall extends Enum {3314 readonly isEnable: boolean;3315 readonly isDisable: boolean;3316 readonly type: 'Enable' | 'Disable';3317 }33183319 /** @name PalletTestUtilsCall (364) */3320 interface PalletTestUtilsCall extends Enum {3321 readonly isEnable: boolean;3322 readonly isSetTestValue: boolean;3323 readonly asSetTestValue: {3324 readonly value: u32;3325 } & Struct;3326 readonly isSetTestValueAndRollback: boolean;3327 readonly asSetTestValueAndRollback: {3328 readonly value: u32;3329 } & Struct;3330 readonly isIncTestValue: boolean;3331 readonly isJustTakeFee: boolean;3332 readonly isBatchAll: boolean;3333 readonly asBatchAll: {3334 readonly calls: Vec<Call>;3335 } & Struct;3336 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3337 }33383339 /** @name PalletSudoError (366) */3340 interface PalletSudoError extends Enum {3341 readonly isRequireSudo: boolean;3342 readonly type: 'RequireSudo';3343 }33443345 /** @name OrmlVestingModuleError (368) */3346 interface OrmlVestingModuleError extends Enum {3347 readonly isZeroVestingPeriod: boolean;3348 readonly isZeroVestingPeriodCount: boolean;3349 readonly isInsufficientBalanceToLock: boolean;3350 readonly isTooManyVestingSchedules: boolean;3351 readonly isAmountLow: boolean;3352 readonly isMaxVestingSchedulesExceeded: boolean;3353 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3354 }33553356 /** @name OrmlXtokensModuleError (369) */3357 interface OrmlXtokensModuleError extends Enum {3358 readonly isAssetHasNoReserve: boolean;3359 readonly isNotCrossChainTransfer: boolean;3360 readonly isInvalidDest: boolean;3361 readonly isNotCrossChainTransferableCurrency: boolean;3362 readonly isUnweighableMessage: boolean;3363 readonly isXcmExecutionFailed: boolean;3364 readonly isCannotReanchor: boolean;3365 readonly isInvalidAncestry: boolean;3366 readonly isInvalidAsset: boolean;3367 readonly isDestinationNotInvertible: boolean;3368 readonly isBadVersion: boolean;3369 readonly isDistinctReserveForAssetAndFee: boolean;3370 readonly isZeroFee: boolean;3371 readonly isZeroAmount: boolean;3372 readonly isTooManyAssetsBeingSent: boolean;3373 readonly isAssetIndexNonExistent: boolean;3374 readonly isFeeNotEnough: boolean;3375 readonly isNotSupportedMultiLocation: boolean;3376 readonly isMinXcmFeeNotDefined: boolean;3377 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3378 }33793380 /** @name OrmlTokensBalanceLock (372) */3381 interface OrmlTokensBalanceLock extends Struct {3382 readonly id: U8aFixed;3383 readonly amount: u128;3384 }33853386 /** @name OrmlTokensAccountData (374) */3387 interface OrmlTokensAccountData extends Struct {3388 readonly free: u128;3389 readonly reserved: u128;3390 readonly frozen: u128;3391 }33923393 /** @name OrmlTokensReserveData (376) */3394 interface OrmlTokensReserveData extends Struct {3395 readonly id: Null;3396 readonly amount: u128;3397 }33983399 /** @name OrmlTokensModuleError (378) */3400 interface OrmlTokensModuleError extends Enum {3401 readonly isBalanceTooLow: boolean;3402 readonly isAmountIntoBalanceFailed: boolean;3403 readonly isLiquidityRestrictions: boolean;3404 readonly isMaxLocksExceeded: boolean;3405 readonly isKeepAlive: boolean;3406 readonly isExistentialDeposit: boolean;3407 readonly isDeadAccount: boolean;3408 readonly isTooManyReserves: boolean;3409 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3410 }34113412 /** @name CumulusPalletXcmpQueueInboundChannelDetails (380) */3413 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3414 readonly sender: u32;3415 readonly state: CumulusPalletXcmpQueueInboundState;3416 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3417 }34183419 /** @name CumulusPalletXcmpQueueInboundState (381) */3420 interface CumulusPalletXcmpQueueInboundState extends Enum {3421 readonly isOk: boolean;3422 readonly isSuspended: boolean;3423 readonly type: 'Ok' | 'Suspended';3424 }34253426 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (384) */3427 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3428 readonly isConcatenatedVersionedXcm: boolean;3429 readonly isConcatenatedEncodedBlob: boolean;3430 readonly isSignals: boolean;3431 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3432 }34333434 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (387) */3435 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3436 readonly recipient: u32;3437 readonly state: CumulusPalletXcmpQueueOutboundState;3438 readonly signalsExist: bool;3439 readonly firstIndex: u16;3440 readonly lastIndex: u16;3441 }34423443 /** @name CumulusPalletXcmpQueueOutboundState (388) */3444 interface CumulusPalletXcmpQueueOutboundState extends Enum {3445 readonly isOk: boolean;3446 readonly isSuspended: boolean;3447 readonly type: 'Ok' | 'Suspended';3448 }34493450 /** @name CumulusPalletXcmpQueueQueueConfigData (390) */3451 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3452 readonly suspendThreshold: u32;3453 readonly dropThreshold: u32;3454 readonly resumeThreshold: u32;3455 readonly thresholdWeight: SpWeightsWeightV2Weight;3456 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3457 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3458 }34593460 /** @name CumulusPalletXcmpQueueError (392) */3461 interface CumulusPalletXcmpQueueError extends Enum {3462 readonly isFailedToSend: boolean;3463 readonly isBadXcmOrigin: boolean;3464 readonly isBadXcm: boolean;3465 readonly isBadOverweightIndex: boolean;3466 readonly isWeightOverLimit: boolean;3467 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3468 }34693470 /** @name PalletXcmError (393) */3471 interface PalletXcmError extends Enum {3472 readonly isUnreachable: boolean;3473 readonly isSendFailure: boolean;3474 readonly isFiltered: boolean;3475 readonly isUnweighableMessage: boolean;3476 readonly isDestinationNotInvertible: boolean;3477 readonly isEmpty: boolean;3478 readonly isCannotReanchor: boolean;3479 readonly isTooManyAssets: boolean;3480 readonly isInvalidOrigin: boolean;3481 readonly isBadVersion: boolean;3482 readonly isBadLocation: boolean;3483 readonly isNoSubscription: boolean;3484 readonly isAlreadySubscribed: boolean;3485 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3486 }34873488 /** @name CumulusPalletXcmError (394) */3489 type CumulusPalletXcmError = Null;34903491 /** @name CumulusPalletDmpQueueConfigData (395) */3492 interface CumulusPalletDmpQueueConfigData extends Struct {3493 readonly maxIndividual: SpWeightsWeightV2Weight;3494 }34953496 /** @name CumulusPalletDmpQueuePageIndexData (396) */3497 interface CumulusPalletDmpQueuePageIndexData extends Struct {3498 readonly beginUsed: u32;3499 readonly endUsed: u32;3500 readonly overweightCount: u64;3501 }35023503 /** @name CumulusPalletDmpQueueError (399) */3504 interface CumulusPalletDmpQueueError extends Enum {3505 readonly isUnknown: boolean;3506 readonly isOverLimit: boolean;3507 readonly type: 'Unknown' | 'OverLimit';3508 }35093510 /** @name PalletUniqueError (403) */3511 interface PalletUniqueError extends Enum {3512 readonly isCollectionDecimalPointLimitExceeded: boolean;3513 readonly isEmptyArgument: boolean;3514 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3515 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3516 }35173518 /** @name PalletConfigurationError (404) */3519 interface PalletConfigurationError extends Enum {3520 readonly isInconsistentConfiguration: boolean;3521 readonly type: 'InconsistentConfiguration';3522 }35233524 /** @name UpDataStructsCollection (405) */3525 interface UpDataStructsCollection extends Struct {3526 readonly owner: AccountId32;3527 readonly mode: UpDataStructsCollectionMode;3528 readonly name: Vec<u16>;3529 readonly description: Vec<u16>;3530 readonly tokenPrefix: Bytes;3531 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3532 readonly limits: UpDataStructsCollectionLimits;3533 readonly permissions: UpDataStructsCollectionPermissions;3534 readonly flags: U8aFixed;3535 }35363537 /** @name UpDataStructsSponsorshipStateAccountId32 (406) */3538 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3539 readonly isDisabled: boolean;3540 readonly isUnconfirmed: boolean;3541 readonly asUnconfirmed: AccountId32;3542 readonly isConfirmed: boolean;3543 readonly asConfirmed: AccountId32;3544 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3545 }35463547 /** @name UpDataStructsProperties (408) */3548 interface UpDataStructsProperties extends Struct {3549 readonly map: UpDataStructsPropertiesMapBoundedVec;3550 readonly consumedSpace: u32;3551 readonly spaceLimit: u32;3552 }35533554 /** @name UpDataStructsPropertiesMapBoundedVec (409) */3555 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}35563557 /** @name UpDataStructsPropertiesMapPropertyPermission (414) */3558 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}35593560 /** @name UpDataStructsCollectionStats (421) */3561 interface UpDataStructsCollectionStats extends Struct {3562 readonly created: u32;3563 readonly destroyed: u32;3564 readonly alive: u32;3565 }35663567 /** @name UpDataStructsTokenChild (422) */3568 interface UpDataStructsTokenChild extends Struct {3569 readonly token: u32;3570 readonly collection: u32;3571 }35723573 /** @name PhantomTypeUpDataStructs (423) */3574 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}35753576 /** @name UpDataStructsTokenData (425) */3577 interface UpDataStructsTokenData extends Struct {3578 readonly properties: Vec<UpDataStructsProperty>;3579 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3580 readonly pieces: u128;3581 }35823583 /** @name UpDataStructsRpcCollection (427) */3584 interface UpDataStructsRpcCollection extends Struct {3585 readonly owner: AccountId32;3586 readonly mode: UpDataStructsCollectionMode;3587 readonly name: Vec<u16>;3588 readonly description: Vec<u16>;3589 readonly tokenPrefix: Bytes;3590 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3591 readonly limits: UpDataStructsCollectionLimits;3592 readonly permissions: UpDataStructsCollectionPermissions;3593 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3594 readonly properties: Vec<UpDataStructsProperty>;3595 readonly readOnly: bool;3596 readonly flags: UpDataStructsRpcCollectionFlags;3597 }35983599 /** @name UpDataStructsRpcCollectionFlags (428) */3600 interface UpDataStructsRpcCollectionFlags extends Struct {3601 readonly foreign: bool;3602 readonly erc721metadata: bool;3603 }36043605 /** @name RmrkTraitsCollectionCollectionInfo (429) */3606 interface RmrkTraitsCollectionCollectionInfo extends Struct {3607 readonly issuer: AccountId32;3608 readonly metadata: Bytes;3609 readonly max: Option<u32>;3610 readonly symbol: Bytes;3611 readonly nftsCount: u32;3612 }36133614 /** @name RmrkTraitsNftNftInfo (430) */3615 interface RmrkTraitsNftNftInfo extends Struct {3616 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3617 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3618 readonly metadata: Bytes;3619 readonly equipped: bool;3620 readonly pending: bool;3621 }36223623 /** @name RmrkTraitsNftRoyaltyInfo (432) */3624 interface RmrkTraitsNftRoyaltyInfo extends Struct {3625 readonly recipient: AccountId32;3626 readonly amount: Permill;3627 }36283629 /** @name RmrkTraitsResourceResourceInfo (433) */3630 interface RmrkTraitsResourceResourceInfo extends Struct {3631 readonly id: u32;3632 readonly resource: RmrkTraitsResourceResourceTypes;3633 readonly pending: bool;3634 readonly pendingRemoval: bool;3635 }36363637 /** @name RmrkTraitsPropertyPropertyInfo (434) */3638 interface RmrkTraitsPropertyPropertyInfo extends Struct {3639 readonly key: Bytes;3640 readonly value: Bytes;3641 }36423643 /** @name RmrkTraitsBaseBaseInfo (435) */3644 interface RmrkTraitsBaseBaseInfo extends Struct {3645 readonly issuer: AccountId32;3646 readonly baseType: Bytes;3647 readonly symbol: Bytes;3648 }36493650 /** @name RmrkTraitsNftNftChild (436) */3651 interface RmrkTraitsNftNftChild extends Struct {3652 readonly collectionId: u32;3653 readonly nftId: u32;3654 }36553656 /** @name PalletCommonError (438) */3657 interface PalletCommonError extends Enum {3658 readonly isCollectionNotFound: boolean;3659 readonly isMustBeTokenOwner: boolean;3660 readonly isNoPermission: boolean;3661 readonly isCantDestroyNotEmptyCollection: boolean;3662 readonly isPublicMintingNotAllowed: boolean;3663 readonly isAddressNotInAllowlist: boolean;3664 readonly isCollectionNameLimitExceeded: boolean;3665 readonly isCollectionDescriptionLimitExceeded: boolean;3666 readonly isCollectionTokenPrefixLimitExceeded: boolean;3667 readonly isTotalCollectionsLimitExceeded: boolean;3668 readonly isCollectionAdminCountExceeded: boolean;3669 readonly isCollectionLimitBoundsExceeded: boolean;3670 readonly isOwnerPermissionsCantBeReverted: boolean;3671 readonly isTransferNotAllowed: boolean;3672 readonly isAccountTokenLimitExceeded: boolean;3673 readonly isCollectionTokenLimitExceeded: boolean;3674 readonly isMetadataFlagFrozen: boolean;3675 readonly isTokenNotFound: boolean;3676 readonly isTokenValueTooLow: boolean;3677 readonly isApprovedValueTooLow: boolean;3678 readonly isCantApproveMoreThanOwned: boolean;3679 readonly isAddressIsZero: boolean;3680 readonly isUnsupportedOperation: boolean;3681 readonly isNotSufficientFounds: boolean;3682 readonly isUserIsNotAllowedToNest: boolean;3683 readonly isSourceCollectionIsNotAllowedToNest: boolean;3684 readonly isCollectionFieldSizeExceeded: boolean;3685 readonly isNoSpaceForProperty: boolean;3686 readonly isPropertyLimitReached: boolean;3687 readonly isPropertyKeyIsTooLong: boolean;3688 readonly isInvalidCharacterInPropertyKey: boolean;3689 readonly isEmptyPropertyKey: boolean;3690 readonly isCollectionIsExternal: boolean;3691 readonly isCollectionIsInternal: boolean;3692 readonly isConfirmSponsorshipFail: boolean;3693 readonly isUserIsNotCollectionAdmin: boolean;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';3695 }36963697 /** @name PalletFungibleError (440) */3698 interface PalletFungibleError extends Enum {3699 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3700 readonly isFungibleItemsHaveNoId: boolean;3701 readonly isFungibleItemsDontHaveData: boolean;3702 readonly isFungibleDisallowsNesting: boolean;3703 readonly isSettingPropertiesNotAllowed: boolean;3704 readonly isSettingAllowanceForAllNotAllowed: boolean;3705 readonly isFungibleTokensAreAlwaysValid: boolean;3706 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3707 }37083709 /** @name PalletRefungibleItemData (441) */3710 interface PalletRefungibleItemData extends Struct {3711 readonly constData: Bytes;3712 }37133714 /** @name PalletRefungibleError (446) */3715 interface PalletRefungibleError extends Enum {3716 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3717 readonly isWrongRefungiblePieces: boolean;3718 readonly isRepartitionWhileNotOwningAllPieces: boolean;3719 readonly isRefungibleDisallowsNesting: boolean;3720 readonly isSettingPropertiesNotAllowed: boolean;3721 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3722 }37233724 /** @name PalletNonfungibleItemData (447) */3725 interface PalletNonfungibleItemData extends Struct {3726 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3727 }37283729 /** @name UpDataStructsPropertyScope (449) */3730 interface UpDataStructsPropertyScope extends Enum {3731 readonly isNone: boolean;3732 readonly isRmrk: boolean;3733 readonly type: 'None' | 'Rmrk';3734 }37353736 /** @name PalletNonfungibleError (451) */3737 interface PalletNonfungibleError extends Enum {3738 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3739 readonly isNonfungibleItemsHaveNoAmount: boolean;3740 readonly isCantBurnNftWithChildren: boolean;3741 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3742 }37433744 /** @name PalletStructureError (452) */3745 interface PalletStructureError extends Enum {3746 readonly isOuroborosDetected: boolean;3747 readonly isDepthLimit: boolean;3748 readonly isBreadthLimit: boolean;3749 readonly isTokenNotFound: boolean;3750 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3751 }37523753 /** @name PalletRmrkCoreError (453) */3754 interface PalletRmrkCoreError extends Enum {3755 readonly isCorruptedCollectionType: boolean;3756 readonly isRmrkPropertyKeyIsTooLong: boolean;3757 readonly isRmrkPropertyValueIsTooLong: boolean;3758 readonly isRmrkPropertyIsNotFound: boolean;3759 readonly isUnableToDecodeRmrkData: boolean;3760 readonly isCollectionNotEmpty: boolean;3761 readonly isNoAvailableCollectionId: boolean;3762 readonly isNoAvailableNftId: boolean;3763 readonly isCollectionUnknown: boolean;3764 readonly isNoPermission: boolean;3765 readonly isNonTransferable: boolean;3766 readonly isCollectionFullOrLocked: boolean;3767 readonly isResourceDoesntExist: boolean;3768 readonly isCannotSendToDescendentOrSelf: boolean;3769 readonly isCannotAcceptNonOwnedNft: boolean;3770 readonly isCannotRejectNonOwnedNft: boolean;3771 readonly isCannotRejectNonPendingNft: boolean;3772 readonly isResourceNotPending: boolean;3773 readonly isNoAvailableResourceId: boolean;3774 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3775 }37763777 /** @name PalletRmrkEquipError (455) */3778 interface PalletRmrkEquipError extends Enum {3779 readonly isPermissionError: boolean;3780 readonly isNoAvailableBaseId: boolean;3781 readonly isNoAvailablePartId: boolean;3782 readonly isBaseDoesntExist: boolean;3783 readonly isNeedsDefaultThemeFirst: boolean;3784 readonly isPartDoesntExist: boolean;3785 readonly isNoEquippableOnFixedPart: boolean;3786 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3787 }37883789 /** @name PalletAppPromotionError (461) */3790 interface PalletAppPromotionError extends Enum {3791 readonly isAdminNotSet: boolean;3792 readonly isNoPermission: boolean;3793 readonly isNotSufficientFunds: boolean;3794 readonly isPendingForBlockOverflow: boolean;3795 readonly isSponsorNotSet: boolean;3796 readonly isIncorrectLockedBalanceOperation: boolean;3797 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3798 }37993800 /** @name PalletForeignAssetsModuleError (462) */3801 interface PalletForeignAssetsModuleError extends Enum {3802 readonly isBadLocation: boolean;3803 readonly isMultiLocationExisted: boolean;3804 readonly isAssetIdNotExists: boolean;3805 readonly isAssetIdExisted: boolean;3806 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3807 }38083809 /** @name PalletEvmError (464) */3810 interface PalletEvmError extends Enum {3811 readonly isBalanceLow: boolean;3812 readonly isFeeOverflow: boolean;3813 readonly isPaymentOverflow: boolean;3814 readonly isWithdrawFailed: boolean;3815 readonly isGasPriceTooLow: boolean;3816 readonly isInvalidNonce: boolean;3817 readonly isGasLimitTooLow: boolean;3818 readonly isGasLimitTooHigh: boolean;3819 readonly isUndefined: boolean;3820 readonly isReentrancy: boolean;3821 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3822 }38233824 /** @name FpRpcTransactionStatus (467) */3825 interface FpRpcTransactionStatus extends Struct {3826 readonly transactionHash: H256;3827 readonly transactionIndex: u32;3828 readonly from: H160;3829 readonly to: Option<H160>;3830 readonly contractAddress: Option<H160>;3831 readonly logs: Vec<EthereumLog>;3832 readonly logsBloom: EthbloomBloom;3833 }38343835 /** @name EthbloomBloom (469) */3836 interface EthbloomBloom extends U8aFixed {}38373838 /** @name EthereumReceiptReceiptV3 (471) */3839 interface EthereumReceiptReceiptV3 extends Enum {3840 readonly isLegacy: boolean;3841 readonly asLegacy: EthereumReceiptEip658ReceiptData;3842 readonly isEip2930: boolean;3843 readonly asEip2930: EthereumReceiptEip658ReceiptData;3844 readonly isEip1559: boolean;3845 readonly asEip1559: EthereumReceiptEip658ReceiptData;3846 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3847 }38483849 /** @name EthereumReceiptEip658ReceiptData (472) */3850 interface EthereumReceiptEip658ReceiptData extends Struct {3851 readonly statusCode: u8;3852 readonly usedGas: U256;3853 readonly logsBloom: EthbloomBloom;3854 readonly logs: Vec<EthereumLog>;3855 }38563857 /** @name EthereumBlock (473) */3858 interface EthereumBlock extends Struct {3859 readonly header: EthereumHeader;3860 readonly transactions: Vec<EthereumTransactionTransactionV2>;3861 readonly ommers: Vec<EthereumHeader>;3862 }38633864 /** @name EthereumHeader (474) */3865 interface EthereumHeader extends Struct {3866 readonly parentHash: H256;3867 readonly ommersHash: H256;3868 readonly beneficiary: H160;3869 readonly stateRoot: H256;3870 readonly transactionsRoot: H256;3871 readonly receiptsRoot: H256;3872 readonly logsBloom: EthbloomBloom;3873 readonly difficulty: U256;3874 readonly number: U256;3875 readonly gasLimit: U256;3876 readonly gasUsed: U256;3877 readonly timestamp: u64;3878 readonly extraData: Bytes;3879 readonly mixHash: H256;3880 readonly nonce: EthereumTypesHashH64;3881 }38823883 /** @name EthereumTypesHashH64 (475) */3884 interface EthereumTypesHashH64 extends U8aFixed {}38853886 /** @name PalletEthereumError (480) */3887 interface PalletEthereumError extends Enum {3888 readonly isInvalidSignature: boolean;3889 readonly isPreLogExists: boolean;3890 readonly type: 'InvalidSignature' | 'PreLogExists';3891 }38923893 /** @name PalletEvmCoderSubstrateError (481) */3894 interface PalletEvmCoderSubstrateError extends Enum {3895 readonly isOutOfGas: boolean;3896 readonly isOutOfFund: boolean;3897 readonly type: 'OutOfGas' | 'OutOfFund';3898 }38993900 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (482) */3901 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3902 readonly isDisabled: boolean;3903 readonly isUnconfirmed: boolean;3904 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3905 readonly isConfirmed: boolean;3906 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3907 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3908 }39093910 /** @name PalletEvmContractHelpersSponsoringModeT (483) */3911 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3912 readonly isDisabled: boolean;3913 readonly isAllowlisted: boolean;3914 readonly isGenerous: boolean;3915 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3916 }39173918 /** @name PalletEvmContractHelpersError (489) */3919 interface PalletEvmContractHelpersError extends Enum {3920 readonly isNoPermission: boolean;3921 readonly isNoPendingSponsor: boolean;3922 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3923 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3924 }39253926 /** @name PalletEvmMigrationError (490) */3927 interface PalletEvmMigrationError extends Enum {3928 readonly isAccountNotEmpty: boolean;3929 readonly isAccountIsNotMigrating: boolean;3930 readonly isBadEvent: boolean;3931 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3932 }39333934 /** @name PalletMaintenanceError (491) */3935 type PalletMaintenanceError = Null;39363937 /** @name PalletTestUtilsError (492) */3938 interface PalletTestUtilsError extends Enum {3939 readonly isTestPalletDisabled: boolean;3940 readonly isTriggerRollback: boolean;3941 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3942 }39433944 /** @name SpRuntimeMultiSignature (494) */3945 interface SpRuntimeMultiSignature extends Enum {3946 readonly isEd25519: boolean;3947 readonly asEd25519: SpCoreEd25519Signature;3948 readonly isSr25519: boolean;3949 readonly asSr25519: SpCoreSr25519Signature;3950 readonly isEcdsa: boolean;3951 readonly asEcdsa: SpCoreEcdsaSignature;3952 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3953 }39543955 /** @name SpCoreEd25519Signature (495) */3956 interface SpCoreEd25519Signature extends U8aFixed {}39573958 /** @name SpCoreSr25519Signature (497) */3959 interface SpCoreSr25519Signature extends U8aFixed {}39603961 /** @name SpCoreEcdsaSignature (498) */3962 interface SpCoreEcdsaSignature extends U8aFixed {}39633964 /** @name FrameSystemExtensionsCheckSpecVersion (501) */3965 type FrameSystemExtensionsCheckSpecVersion = Null;39663967 /** @name FrameSystemExtensionsCheckTxVersion (502) */3968 type FrameSystemExtensionsCheckTxVersion = Null;39693970 /** @name FrameSystemExtensionsCheckGenesis (503) */3971 type FrameSystemExtensionsCheckGenesis = Null;39723973 /** @name FrameSystemExtensionsCheckNonce (506) */3974 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}39753976 /** @name FrameSystemExtensionsCheckWeight (507) */3977 type FrameSystemExtensionsCheckWeight = Null;39783979 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (508) */3980 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;39813982 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (509) */3983 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}39843985 /** @name OpalRuntimeRuntime (510) */3986 type OpalRuntimeRuntime = Null;39873988 /** @name PalletEthereumFakeTransactionFinalizer (511) */3989 type PalletEthereumFakeTransactionFinalizer = Null;39903991} // declare moduletests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -445,6 +445,30 @@
return promise;
}
+ /**
+ * Wait for the specified number of sessions to pass.
+ * Only applicable if the Session pallet is turned on.
+ * @param sessionCount number of sessions to wait
+ * @param blockTimeout time in ms until panicking that the chain has stopped producing blocks
+ * @returns
+ */
+ async newSessions(sessionCount = 1, blockTimeout = 60000): Promise<void> {
+ console.log(`Waiting for ${sessionCount} new session${sessionCount > 1 ? 's' : ''}.`
+ + ' This might take a while -- check SessionPeriod in pallet_session::Config for session time.');
+
+ const expectedSessionIndex = await this.helper.session.getIndex() + sessionCount;
+ let currentSessionIndex = -1;
+
+ while (currentSessionIndex < expectedSessionIndex) {
+ // eslint-disable-next-line no-async-promise-executor
+ currentSessionIndex = await this.withTimeout(new Promise(async (resolve) => {
+ await this.newBlocks(1);
+ const res = this.helper.session.getIndex();
+ resolve(res);
+ }), blockTimeout, 'The chain has stopped producing blocks!');
+ }
+ }
+
async forParachainBlockNumber(blockNumber: bigint | number, timeout?: number) {
timeout = timeout ?? 30 * 60 * 1000;
// eslint-disable-next-line no-async-promise-executor
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -11,7 +11,6 @@
import {IKeyringPair} from '@polkadot/types/types';
import {hexToU8a} from '@polkadot/util/hex';
import {u8aConcat} from '@polkadot/util/u8a';
-import {BN} from '@polkadot/util/bn';
import {
IApiListeners,
IBlock,
@@ -46,6 +45,7 @@
import {RuntimeDispatchInfo} from '@polkadot/types/interfaces';
import type {Vec} from '@polkadot/types-codec';
import {FrameSystemEventRecord} from '@polkadot/types/lookup';
+import {DevUniqueHelper} from './unique.dev';
export class CrossAccountId implements ICrossAccountId {
Substrate?: TSubstrateAccount;
@@ -376,6 +376,7 @@
children: ChainHelperBase[];
address: AddressGroup;
chain: ChainGroup;
+ session: SessionGroup;
constructor(logger?: ILogger, helperBase?: any) {
this.helperBase = helperBase;
@@ -391,6 +392,7 @@
this.children = [];
this.address = new AddressGroup(this);
this.chain = new ChainGroup(this);
+ this.session = new SessionGroup(this);
}
clone(helperCls: ChainHelperBaseConstructor, options: {[key: string]: any} = {}) {
@@ -2643,24 +2645,32 @@
}
}
-class CollatorSelectionGroup extends HelperGroup<UniqueHelper> {
+class SessionGroup extends HelperGroup<ChainHelperBase> {
//todo:collator documentation
- setKeys(signer: TSigner, key: string) {
+ async getIndex(): Promise<number> {
+ return (await this.helper.callRpc('api.query.session.currentIndex')).toNumber();
+ }
+
+ newSessions(sessionCount = 1, blockTimeout = 24000): Promise<void> {
+ return (this.helper as DevUniqueHelper).wait.newSessions(sessionCount, blockTimeout);
+ }
+
+ setOwnKeys(signer: TSigner, key: string) {
return this.helper.executeExtrinsic(
signer,
'api.tx.session.setKeys',
- [
- key,
- '0x0',
- ],
+ [key, '0x0'],
true,
);
}
- setOwnKeys(signer: TSigner) {
- return this.setKeys(signer, '0x' + Buffer.from(signer.addressRaw).toString('hex'));
+ setOwnKeysFromAddress(signer: TSigner) {
+ return this.setOwnKeys(signer, '0x' + Buffer.from(signer.addressRaw).toString('hex'));
}
+}
+class CollatorSelectionGroup extends HelperGroup<UniqueHelper> {
+ //todo:collator documentation
addInvulnerable(signer: TSigner, address: string) {
return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.addInvulnerable', [address]);
}
@@ -2669,9 +2679,45 @@
return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.removeInvulnerable', [address]);
}
- async getInvulnerables() {
+ async getInvulnerables(): Promise<string[]> {
return (await this.helper.callRpc('api.query.collatorSelection.invulnerables')).map((x: any) => x.toHuman());
}
+
+ setLicenseBond(signer: TSigner, amount: bigint) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.setLicenseBond', [amount]);
+ }
+
+ async getLicenseBond(): Promise<bigint> {
+ return (await this.helper.callRpc('api.query.collatorSelection.licenseBond')).toBigInt();
+ }
+
+ obtainLicense(signer: TSigner) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.getLicense', []);
+ }
+
+ releaseLicense(signer: TSigner) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.releaseLicense', []);
+ }
+
+ forceRevokeLicense(signer: TSigner, released: string) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.forceRevokeLicense', [released]);
+ }
+
+ async hasLicense(address: string): Promise<bigint> {
+ return (await this.helper.callRpc('api.query.collatorSelection.licenses', [address])).toBigInt();
+ }
+
+ onboard(signer: TSigner) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.onboard', []);
+ }
+
+ offboard(signer: TSigner) {
+ return this.helper.executeExtrinsic(signer, 'api.tx.collatorSelection.offboard', []);
+ }
+
+ async getCandidates(): Promise<string[]> {
+ return (await this.helper.callRpc('api.query.collatorSelection.candidates')).map((x: any) => x.toHuman());
+ }
}
class ForeignAssetsGroup extends HelperGroup<UniqueHelper> {
@@ -3040,12 +3086,15 @@
if (result.status === 'Fail') return result;
- const data = this.eventHelper.extractEvents(result.result.events).find(x => x.section == 'sudo')?.data[0];
- if (data.err) {
- const error = data.err.module;
- // todo:collator
- const metaError = super.getApi()?.registry.findMetaError({index: new BN(error.index), error: new BN(9)});
- throw new Error(`${data.err.module.error} ${metaError.section}.${metaError.name}`);
+ const data = (result.result.events.find(x => x.event.section == 'sudo' && x.event.method == 'Sudid')?.event.data as any).sudoResult;
+ if (data.isErr) {
+ if (data.asErr.isModule) {
+ const error = (result.result.events[1].event.data as any).sudoResult.asErr.asModule;
+ const metaError = super.getApi()?.registry.findMetaError(error);
+ throw new Error(`${metaError.section}.${metaError.name}`);
+ } else {
+ throw new Error(data.asErr.toHuman());
+ }
}
return result;
}