difftreelog
add rpc methods + tests
in: master
17 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -262,6 +262,14 @@
#[method(name = "unique_totalStakingLocked")]
fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)
-> Result<String>;
+
+ /// Return the total amount locked by staking tokens.
+ #[method(name = "unique_pendingUnstake")]
+ fn pending_unstake(
+ &self,
+ staker: Option<CrossAccountId>,
+ at: Option<BlockHash>,
+ ) -> Result<String>;
}
mod rmrk_unique_rpc {
@@ -548,6 +556,7 @@
.map(|(b, a)| (b, a.to_string()))
.collect::<Vec<_>>(), unique_api);
pass_method!(total_staking_locked(staker: CrossAccountId) -> String => |v| v.to_string(), unique_api);
+ pass_method!(pending_unstake(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), unique_api);
}
#[allow(deprecated)]
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -63,7 +63,7 @@
use fc_rpc_core::types::FilterPool;
use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};
-use unique_runtime_common::types::{
+use up_common::types::opaque::{
AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block, BlockNumber,
};
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -31,12 +31,12 @@
#[cfg(feature = "runtime-benchmarks")]
mod benchmarking;
-pub mod types;
-
#[cfg(test)]
mod tests;
+pub mod types;
+pub mod weights;
-use sp_std::vec::Vec;
+use sp_std::{vec::Vec, iter::Sum};
use codec::EncodeLike;
use pallet_balances::BalanceLock;
pub use types::ExtendedLockableCurrency;
@@ -48,6 +48,9 @@
},
ensure,
};
+
+use weights::WeightInfo;
+
pub use pallet::*;
use pallet_evm::account::CrossAccountId;
use sp_runtime::{
@@ -79,6 +82,9 @@
type TreasuryAccountId: Get<Self::AccountId>;
+ /// Weight information for extrinsics in this pallet.
+ type WeightInfo: WeightInfo;
+
// The block number provider
type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
@@ -136,6 +142,7 @@
fn on_initialize(current_block: T::BlockNumber) -> Weight
where
<T as frame_system::Config>::BlockNumber: From<u32>,
+ // <<T as pallet::Config>::Currency as Currency<T::AccountId>>::Balance: Sum,
{
PendingUnstake::<T>::iter()
.filter_map(|((staker, block), amount)| {
@@ -172,7 +179,7 @@
#[pallet::call]
impl<T: Config> Pallet<T> {
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::set_admin_address())]
pub fn set_admin_address(origin: OriginFor<T>, admin: T::AccountId) -> DispatchResult {
ensure_root(origin)?;
<Admin<T>>::set(Some(admin));
@@ -180,7 +187,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::start_app_promotion())]
pub fn start_app_promotion(
origin: OriginFor<T>,
promotion_start_relay_block: T::BlockNumber,
@@ -201,7 +208,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::stake())]
pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -210,10 +217,16 @@
ensure!(balance >= amount, ArithmeticError::Underflow);
- Self::set_lock_unchecked(&staker_id, amount);
+ <<T as Config>::Currency as Currency<T::AccountId>>::ensure_can_withdraw(
+ &staker_id,
+ amount,
+ WithdrawReasons::all(),
+ balance - amount,
+ )?;
+
+ Self::add_lock_balance(&staker_id, amount)?;
- let block_number =
- <T::BlockNumberProvider as BlockNumberProvider>::current_block_number();
+ let block_number = frame_system::Pallet::<T>::block_number();
<Staked<T>>::insert(
(&staker_id, block_number),
@@ -231,7 +244,7 @@
Ok(())
}
- #[pallet::weight(0)]
+ #[pallet::weight(T::WeightInfo::unstake())]
pub fn unstake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -249,7 +262,7 @@
.ok_or(ArithmeticError::Underflow)?,
);
- let block = <T::BlockNumberProvider>::current_block_number() + WEEK.into();
+ let block = frame_system::Pallet::<T>::block_number() + WEEK.into();
<PendingUnstake<T>>::insert(
(&staker_id, block),
<PendingUnstake<T>>::get((&staker_id, block))
@@ -400,8 +413,8 @@
fn add_lock_balance(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
Self::get_locked_balance(staker)
- .map(|l| l.amount)
- .and_then(|b| b.checked_add(&amount))
+ .map_or(<BalanceOf<T>>::default(), |l| l.amount)
+ .checked_add(&amount)
.map(|new_lock| Self::set_lock_unchecked(staker, new_lock))
.ok_or(ArithmeticError::Overflow.into())
}
@@ -437,10 +450,11 @@
pub fn total_staked_by_id_per_block(
staker: impl EncodeLike<T::AccountId>,
) -> Option<Vec<(T::BlockNumber, BalanceOf<T>)>> {
- let staked = Staked::<T>::iter_prefix((staker,))
+ let mut staked = Staked::<T>::iter_prefix((staker,))
.into_iter()
.map(|(block, amount)| (block, amount))
.collect::<Vec<_>>();
+ staked.sort_by_key(|(block, _)| *block);
if !staked.is_empty() {
Some(staked)
} else {
@@ -495,3 +509,14 @@
day_rate * base
}
}
+
+impl<T: Config> Pallet<T>
+where
+ <<T as pallet::Config>::Currency as Currency<T::AccountId>>::Balance: Sum,
+{
+ pub fn cross_id_pending_unstake(staker: Option<T::CrossAccountId>) -> BalanceOf<T> {
+ staker.map_or(PendingUnstake::<T>::iter_values().sum(), |s| {
+ PendingUnstake::<T>::iter_prefix_values((s.as_sub(),)).sum()
+ })
+ }
+}
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -129,5 +129,6 @@
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;
+ fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128>;
}
}
runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -0,0 +1,27 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+use crate::{
+ runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},
+ Runtime, Balances,
+};
+
+impl pallet_app_promotion::Config for Runtime {
+ type Currency = Balances;
+ type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;
+ type TreasuryAccountId = TreasuryAccountId;
+ type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;
+}
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -40,6 +40,9 @@
#[cfg(feature = "scheduler")]
pub mod scheduler;
+#[cfg(feature = "app-promotion")]
+pub mod app_promotion;
+
parameter_types! {
pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -77,6 +77,9 @@
#[runtimes(opal)]
RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
+ #[runtimes(opal)]
+ Promotion: pallet_app_promotion::{Pallet, Call, Storage} = 73,
+
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -190,7 +190,6 @@
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())
- // Ok(0)
}
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
@@ -198,9 +197,12 @@
}
fn total_staking_locked(staker: CrossAccountId) -> Result<u128, DispatchError> {
- // Ok(0)
Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_locked_balance(staker))
}
+
+ fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
+ Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker))
+ }
}
impl rmrk_rpc::RmrkApi<
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -124,11 +124,12 @@
"orml-vesting/std",
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
-opal-runtime = ['refungible', 'scheduler', 'rmrk']
+opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion']
refungible = []
scheduler = []
rmrk = []
+app-promotion = []
################################################################################
# Substrate Dependencies
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -15,7 +15,7 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {default as usingApi, submitTransactionAsync} from './substrate/substrate-api';
-import {IKeyringPair} from '@polkadot/types/types';
+import {IKeyringPair, ITuple} from '@polkadot/types/types';
import {
createMultipleItemsExpectSuccess,
@@ -33,26 +33,38 @@
U128_MAX,
burnFromExpectSuccess,
UNIQUE,
+ getModuleNames,
+ Pallets,
+ getBlockNumber,
} from './util/helpers';
-import chai from 'chai';
+import chai, {use} from 'chai';
import chaiAsPromised from 'chai-as-promised';
-import getBalance from './substrate/get-balance';
-import { unique } from './interfaces/definitions';
+import getBalance, {getBalanceSingle} from './substrate/get-balance';
+import {unique} from './interfaces/definitions';
+import {usingPlaygrounds} from './util/playgrounds';
+import {default as waitNewBlocks} from './substrate/wait-new-blocks';
+
+import BN from 'bn.js';
+import {mnemonicGenerate} from '@polkadot/util-crypto';
+import {UniqueHelper} from './util/playgrounds/unique';
chai.use(chaiAsPromised);
const expect = chai.expect;
let alice: IKeyringPair;
let bob: IKeyringPair;
let palletAdmin: IKeyringPair;
+let nominal: bigint;
describe('integration test: AppPromotion', () => {
- before(async () => {
- await usingApi(async (api, privateKeyWrapper) => {
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
alice = privateKeyWrapper('//Alice');
bob = privateKeyWrapper('//Bob');
palletAdmin = privateKeyWrapper('//palletAdmin');
- const tx = api.tx.sudo.sudo(api.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ nominal = helper.balance.getOneTokenNominal();
await submitTransactionAsync(alice, tx);
});
});
@@ -69,22 +81,110 @@
// assert: query appPromotion.staked(Alice) equal [100, 200]
// assert: query appPromotion.totalStaked() increased by 200
- await usingApi(async (api, privateKeyWrapper) => {
- await submitTransactionAsync(alice, api.tx.balances.transfer(bob.addressRaw, 10n * UNIQUE));
- const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alice.address, bob.address]);
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();
+ const staker = await createUser();
+
+ const firstStakedBlock = await helper.chain.getLatestBlockNumber();
+
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;
+ expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);
+ expect(9n * nominal - await helper.balance.getSubstrate(staker.address) <= nominal / 2n).to.be.true;
+ expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);
+ expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + nominal);
- console.log(`alice: ${alicesBalanceBefore} \n bob: ${bobsBalanceBefore}`);
+ await waitNewBlocks(helper.api!, 1);
+ const secondStakedBlock = await helper.chain.getLatestBlockNumber();
- await submitTransactionAsync(alice, api.tx.promotion.stake(1n * UNIQUE));
- await submitTransactionAsync(bob, api.tx.promotion.stake(1n * UNIQUE));
- const alice_total_staked = (await (api.rpc.unique.totalStaked(normalizeAccountId(alice)))).toBigInt();
- const bob_total_staked = (await api.rpc.unique.totalStaked(normalizeAccountId(bob))).toBigInt();
-
- console.log(`alice staked: ${alice_total_staked} \n bob staked: ${bob_total_staked}, total staked: ${(await api.rpc.unique.totalStaked()).toBigInt()}`);
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
+ expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(3n * nominal);
+
+ const stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]);
+ expect(stakedPerBlock.map((x) => x[1])).to.be.deep.equal([nominal, 2n * nominal]);
+ });
+ });
+
+ it('will throws if stake amount is more than total free balance', async () => {
+ // arrange: Alice balance = 1000
+ // assert: Alice calls appPromotion.stake(1000) throws /// because Alice needs some fee
+
+ // act: Alice calls appPromotion.stake(700)
+ // assert: Alice calls appPromotion.stake(400) throws /// because Alice has ~300 free QTZ and 700 locked
+
+ await usingPlaygrounds(async helper => {
+ const staker = await createUser();
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.rejected;
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(7n * nominal))).to.be.eventually.fulfilled;
+ await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(4n * nominal))).to.be.eventually.rejected;
});
});
+
+ it.skip('for different accounts in one block is possible', async () => {
+ // arrange: Alice, Bob, Charlie, Dave balance = 1000
+ // arrange: Alice, Bob, Charlie, Dave calls appPromotion.stake(100) in the same time
+
+ // assert: query appPromotion.staked(Alice/Bob/Charlie/Dave) equal [100]
+ await usingPlaygrounds(async helper => {
+ const crowd = await creteAccounts([10n, 10n, 10n, 10n], alice, helper);
+ // const promises = crowd.map(async user => submitTransactionAsync(user, helper.api!.tx.promotion.stake(nominal)));
+ // await expect(Promise.all(promises)).to.be.eventually.fulfilled;
+ });
+ });
+
+});
+
+describe.skip('unstake balance extrinsic', () => {
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();
+ alice = privateKeyWrapper('//Alice');
+ bob = privateKeyWrapper('//Bob');
+ palletAdmin = privateKeyWrapper('//palletAdmin');
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ nominal = helper.balance.getOneTokenNominal();
+ await submitTransactionAsync(alice, tx);
+ });
+ });
+ it('will change balance state to "reserved", add it to "pendingUnstake" map, and subtract it from totalStaked', async () => {
+ // arrange: Alice balance = 1000
+ // arrange: Alice calls appPromotion.stake(Alice, 500)
+
+ // act: Alice calls appPromotion.unstake(300)
+ // assert: Alice reserved balance to equal 300
+ // assert: query appPromotion.staked(Alice) equal [200] /// 500 - 300
+ // assert: query appPromotion.pendingUnstake(Alice) to equal [300]
+ // assert: query appPromotion.totalStaked() decreased by 300
+ });
+});
+
+
+
+async function createUser(amount?: bigint) {
+ return await usingPlaygrounds(async (helper, privateKeyWrapper) => {
+ const user: IKeyringPair = privateKeyWrapper(`//Alice+${(new Date()).getTime()}`);
+ await helper.balance.transferToSubstrate(alice, user.address, amount ? amount : 10n * helper.balance.getOneTokenNominal());
+ return user;
+ });
+}
+
+const creteAccounts = async (balances: bigint[], donor: IKeyringPair, helper: UniqueHelper) => {
+ let nonce = await helper.chain.getNonce(donor.address);
+ const tokenNominal = helper.balance.getOneTokenNominal();
+ const transactions = [];
+ const accounts = [];
+ for (const balance of balances) {
+ const recepient = helper.util.fromSeed(mnemonicGenerate());
+ accounts.push(recepient);
+ if (balance !== 0n){
+ const tx = helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, balance * tokenNominal]);
+ transactions.push(helper.signTransaction(donor, tx, 'account generation', {nonce}));
+ nonce++;
+ }
+ }
-});
\ No newline at end of file
+ await Promise.all(transactions);
+ return accounts;
+};
\ No newline at end of file
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -703,6 +703,10 @@
**/
nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
/**
+ * Returns the total amount of unstaked tokens
+ **/
+ pendingUnstake: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
* Get property permissions, optionally limited to the provided keys
**/
propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -5,1266 +5,8 @@
export default {
/**
- * Lookup3: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
- **/
- FrameSystemAccountInfo: {
- nonce: 'u32',
- consumers: 'u32',
- providers: 'u32',
- sufficients: 'u32',
- data: 'PalletBalancesAccountData'
- },
- /**
- * Lookup5: pallet_balances::AccountData<Balance>
- **/
- PalletBalancesAccountData: {
- free: 'u128',
- reserved: 'u128',
- miscFrozen: 'u128',
- feeFrozen: 'u128'
- },
- /**
- * Lookup7: frame_support::weights::PerDispatchClass<T>
- **/
- FrameSupportWeightsPerDispatchClassU64: {
- normal: 'u64',
- operational: 'u64',
- mandatory: 'u64'
- },
- /**
- * Lookup11: sp_runtime::generic::digest::Digest
- **/
- SpRuntimeDigest: {
- logs: 'Vec<SpRuntimeDigestDigestItem>'
- },
- /**
- * Lookup13: sp_runtime::generic::digest::DigestItem
- **/
- SpRuntimeDigestDigestItem: {
- _enum: {
- Other: 'Bytes',
- __Unused1: 'Null',
- __Unused2: 'Null',
- __Unused3: 'Null',
- Consensus: '([u8;4],Bytes)',
- Seal: '([u8;4],Bytes)',
- PreRuntime: '([u8;4],Bytes)',
- __Unused7: 'Null',
- RuntimeEnvironmentUpdated: 'Null'
- }
- },
- /**
- * Lookup16: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
- **/
- FrameSystemEventRecord: {
- phase: 'FrameSystemPhase',
- event: 'Event',
- topics: 'Vec<H256>'
- },
- /**
- * Lookup18: frame_system::pallet::Event<T>
- **/
- FrameSystemEvent: {
- _enum: {
- ExtrinsicSuccess: {
- dispatchInfo: 'FrameSupportWeightsDispatchInfo',
- },
- ExtrinsicFailed: {
- dispatchError: 'SpRuntimeDispatchError',
- dispatchInfo: 'FrameSupportWeightsDispatchInfo',
- },
- CodeUpdated: 'Null',
- NewAccount: {
- account: 'AccountId32',
- },
- KilledAccount: {
- account: 'AccountId32',
- },
- Remarked: {
- _alias: {
- hash_: 'hash',
- },
- sender: 'AccountId32',
- hash_: 'H256'
- }
- }
- },
- /**
- * Lookup19: frame_support::weights::DispatchInfo
- **/
- FrameSupportWeightsDispatchInfo: {
- weight: 'u64',
- class: 'FrameSupportWeightsDispatchClass',
- paysFee: 'FrameSupportWeightsPays'
- },
- /**
- * Lookup20: frame_support::weights::DispatchClass
- **/
- FrameSupportWeightsDispatchClass: {
- _enum: ['Normal', 'Operational', 'Mandatory']
- },
- /**
- * Lookup21: frame_support::weights::Pays
- **/
- FrameSupportWeightsPays: {
- _enum: ['Yes', 'No']
- },
- /**
- * Lookup22: sp_runtime::DispatchError
- **/
- SpRuntimeDispatchError: {
- _enum: {
- Other: 'Null',
- CannotLookup: 'Null',
- BadOrigin: 'Null',
- Module: 'SpRuntimeModuleError',
- ConsumerRemaining: 'Null',
- NoProviders: 'Null',
- TooManyConsumers: 'Null',
- Token: 'SpRuntimeTokenError',
- Arithmetic: 'SpRuntimeArithmeticError',
- Transactional: 'SpRuntimeTransactionalError'
- }
- },
- /**
- * Lookup23: sp_runtime::ModuleError
- **/
- SpRuntimeModuleError: {
- index: 'u8',
- error: '[u8;4]'
- },
- /**
- * Lookup24: sp_runtime::TokenError
- **/
- SpRuntimeTokenError: {
- _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
- },
- /**
- * Lookup25: sp_runtime::ArithmeticError
- **/
- SpRuntimeArithmeticError: {
- _enum: ['Underflow', 'Overflow', 'DivisionByZero']
- },
- /**
- * Lookup26: sp_runtime::TransactionalError
- **/
- SpRuntimeTransactionalError: {
- _enum: ['LimitReached', 'NoLayer']
- },
- /**
- * Lookup27: cumulus_pallet_parachain_system::pallet::Event<T>
- **/
- CumulusPalletParachainSystemEvent: {
- _enum: {
- ValidationFunctionStored: 'Null',
- ValidationFunctionApplied: {
- relayChainBlockNum: 'u32',
- },
- ValidationFunctionDiscarded: 'Null',
- UpgradeAuthorized: {
- codeHash: 'H256',
- },
- DownwardMessagesReceived: {
- count: 'u32',
- },
- DownwardMessagesProcessed: {
- weightUsed: 'u64',
- dmqHead: 'H256'
- }
- }
- },
- /**
- * Lookup28: pallet_balances::pallet::Event<T, I>
- **/
- PalletBalancesEvent: {
- _enum: {
- Endowed: {
- account: 'AccountId32',
- freeBalance: 'u128',
- },
- DustLost: {
- account: 'AccountId32',
- amount: 'u128',
- },
- Transfer: {
- from: 'AccountId32',
- to: 'AccountId32',
- amount: 'u128',
- },
- BalanceSet: {
- who: 'AccountId32',
- free: 'u128',
- reserved: 'u128',
- },
- Reserved: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Unreserved: {
- who: 'AccountId32',
- amount: 'u128',
- },
- ReserveRepatriated: {
- from: 'AccountId32',
- to: 'AccountId32',
- amount: 'u128',
- destinationStatus: 'FrameSupportTokensMiscBalanceStatus',
- },
- Deposit: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Withdraw: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Slashed: {
- who: 'AccountId32',
- amount: 'u128'
- }
- }
- },
- /**
- * Lookup29: frame_support::traits::tokens::misc::BalanceStatus
- **/
- FrameSupportTokensMiscBalanceStatus: {
- _enum: ['Free', 'Reserved']
- },
- /**
- * Lookup30: pallet_transaction_payment::pallet::Event<T>
- **/
- PalletTransactionPaymentEvent: {
- _enum: {
- TransactionFeePaid: {
- who: 'AccountId32',
- actualFee: 'u128',
- tip: 'u128'
- }
- }
- },
- /**
- * Lookup31: pallet_treasury::pallet::Event<T, I>
- **/
- PalletTreasuryEvent: {
- _enum: {
- Proposed: {
- proposalIndex: 'u32',
- },
- Spending: {
- budgetRemaining: 'u128',
- },
- Awarded: {
- proposalIndex: 'u32',
- award: 'u128',
- account: 'AccountId32',
- },
- Rejected: {
- proposalIndex: 'u32',
- slashed: 'u128',
- },
- Burnt: {
- burntFunds: 'u128',
- },
- Rollover: {
- rolloverBalance: 'u128',
- },
- Deposit: {
- value: 'u128',
- },
- SpendApproved: {
- proposalIndex: 'u32',
- amount: 'u128',
- beneficiary: 'AccountId32'
- }
- }
- },
- /**
- * Lookup32: pallet_sudo::pallet::Event<T>
- **/
- PalletSudoEvent: {
- _enum: {
- Sudid: {
- sudoResult: 'Result<Null, SpRuntimeDispatchError>',
- },
- KeyChanged: {
- oldSudoer: 'Option<AccountId32>',
- },
- SudoAsDone: {
- sudoResult: 'Result<Null, SpRuntimeDispatchError>'
- }
- }
- },
- /**
- * Lookup36: orml_vesting::module::Event<T>
- **/
- OrmlVestingModuleEvent: {
- _enum: {
- VestingScheduleAdded: {
- from: 'AccountId32',
- to: 'AccountId32',
- vestingSchedule: 'OrmlVestingVestingSchedule',
- },
- Claimed: {
- who: 'AccountId32',
- amount: 'u128',
- },
- VestingSchedulesUpdated: {
- who: 'AccountId32'
- }
- }
- },
- /**
- * Lookup37: orml_vesting::VestingSchedule<BlockNumber, Balance>
- **/
- OrmlVestingVestingSchedule: {
- start: 'u32',
- period: 'u32',
- periodCount: 'u32',
- perPeriod: 'Compact<u128>'
- },
- /**
- * Lookup39: cumulus_pallet_xcmp_queue::pallet::Event<T>
- **/
- CumulusPalletXcmpQueueEvent: {
- _enum: {
- Success: {
- messageHash: 'Option<H256>',
- weight: 'u64',
- },
- Fail: {
- messageHash: 'Option<H256>',
- error: 'XcmV2TraitsError',
- weight: 'u64',
- },
- BadVersion: {
- messageHash: 'Option<H256>',
- },
- BadFormat: {
- messageHash: 'Option<H256>',
- },
- UpwardMessageSent: {
- messageHash: 'Option<H256>',
- },
- XcmpMessageSent: {
- messageHash: 'Option<H256>',
- },
- OverweightEnqueued: {
- sender: 'u32',
- sentAt: 'u32',
- index: 'u64',
- required: 'u64',
- },
- OverweightServiced: {
- index: 'u64',
- used: 'u64'
- }
- }
- },
- /**
- * Lookup41: xcm::v2::traits::Error
- **/
- XcmV2TraitsError: {
- _enum: {
- Overflow: 'Null',
- Unimplemented: 'Null',
- UntrustedReserveLocation: 'Null',
- UntrustedTeleportLocation: 'Null',
- MultiLocationFull: 'Null',
- MultiLocationNotInvertible: 'Null',
- BadOrigin: 'Null',
- InvalidLocation: 'Null',
- AssetNotFound: 'Null',
- FailedToTransactAsset: 'Null',
- NotWithdrawable: 'Null',
- LocationCannotHold: 'Null',
- ExceedsMaxMessageSize: 'Null',
- DestinationUnsupported: 'Null',
- Transport: 'Null',
- Unroutable: 'Null',
- UnknownClaim: 'Null',
- FailedToDecode: 'Null',
- MaxWeightInvalid: 'Null',
- NotHoldingFees: 'Null',
- TooExpensive: 'Null',
- Trap: 'u64',
- UnhandledXcmVersion: 'Null',
- WeightLimitReached: 'u64',
- Barrier: 'Null',
- WeightNotComputable: 'Null'
- }
- },
- /**
- * Lookup43: pallet_xcm::pallet::Event<T>
- **/
- PalletXcmEvent: {
- _enum: {
- Attempted: 'XcmV2TraitsOutcome',
- Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
- UnexpectedResponse: '(XcmV1MultiLocation,u64)',
- ResponseReady: '(u64,XcmV2Response)',
- Notified: '(u64,u8,u8)',
- NotifyOverweight: '(u64,u8,u8,u64,u64)',
- NotifyDispatchError: '(u64,u8,u8)',
- NotifyDecodeFailed: '(u64,u8,u8)',
- InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
- InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
- ResponseTaken: 'u64',
- AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
- VersionChangeNotified: '(XcmV1MultiLocation,u32)',
- SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
- NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
- NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
- }
- },
- /**
- * Lookup44: xcm::v2::traits::Outcome
- **/
- XcmV2TraitsOutcome: {
- _enum: {
- Complete: 'u64',
- Incomplete: '(u64,XcmV2TraitsError)',
- Error: 'XcmV2TraitsError'
- }
- },
- /**
- * Lookup45: xcm::v1::multilocation::MultiLocation
- **/
- XcmV1MultiLocation: {
- parents: 'u8',
- interior: 'XcmV1MultilocationJunctions'
- },
- /**
- * Lookup46: xcm::v1::multilocation::Junctions
- **/
- XcmV1MultilocationJunctions: {
- _enum: {
- Here: 'Null',
- X1: 'XcmV1Junction',
- X2: '(XcmV1Junction,XcmV1Junction)',
- X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
- }
- },
- /**
- * Lookup47: xcm::v1::junction::Junction
- **/
- XcmV1Junction: {
- _enum: {
- Parachain: 'Compact<u32>',
- AccountId32: {
- network: 'XcmV0JunctionNetworkId',
- id: '[u8;32]',
- },
- AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
- index: 'Compact<u64>',
- },
- AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
- key: '[u8;20]',
- },
- PalletInstance: 'u8',
- GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
- OnlyChild: 'Null',
- Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
- }
- },
- /**
- * Lookup49: xcm::v0::junction::NetworkId
- **/
- XcmV0JunctionNetworkId: {
- _enum: {
- Any: 'Null',
- Named: 'Bytes',
- Polkadot: 'Null',
- Kusama: 'Null'
- }
- },
- /**
- * Lookup53: xcm::v0::junction::BodyId
- **/
- XcmV0JunctionBodyId: {
- _enum: {
- Unit: 'Null',
- Named: 'Bytes',
- Index: 'Compact<u32>',
- Executive: 'Null',
- Technical: 'Null',
- Legislative: 'Null',
- Judicial: 'Null'
- }
- },
- /**
- * Lookup54: xcm::v0::junction::BodyPart
- **/
- XcmV0JunctionBodyPart: {
- _enum: {
- Voice: 'Null',
- Members: {
- count: 'Compact<u32>',
- },
- Fraction: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>',
- },
- AtLeastProportion: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>',
- },
- MoreThanProportion: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>'
- }
- }
- },
- /**
- * Lookup55: xcm::v2::Xcm<Call>
- **/
- XcmV2Xcm: 'Vec<XcmV2Instruction>',
- /**
- * Lookup57: xcm::v2::Instruction<Call>
- **/
- XcmV2Instruction: {
- _enum: {
- WithdrawAsset: 'XcmV1MultiassetMultiAssets',
- ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
- ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV2Response',
- maxWeight: 'Compact<u64>',
- },
- TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'Compact<u64>',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- ClearOrigin: 'Null',
- DescendOrigin: 'XcmV1MultilocationJunctions',
- ReportError: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- maxResponseWeight: 'Compact<u64>',
- },
- DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- beneficiary: 'XcmV1MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
- },
- InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxResponseWeight: 'Compact<u64>',
- },
- BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weightLimit: 'XcmV2WeightLimit',
- },
- RefundSurplus: 'Null',
- SetErrorHandler: 'XcmV2Xcm',
- SetAppendix: 'XcmV2Xcm',
- ClearError: 'Null',
- ClaimAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- ticket: 'XcmV1MultiLocation',
- },
- Trap: 'Compact<u64>',
- SubscribeVersion: {
- queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
- },
- UnsubscribeVersion: 'Null'
- }
- },
- /**
- * Lookup58: xcm::v1::multiasset::MultiAssets
- **/
- XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
- /**
- * Lookup60: xcm::v1::multiasset::MultiAsset
- **/
- XcmV1MultiAsset: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetFungibility'
- },
- /**
- * Lookup61: xcm::v1::multiasset::AssetId
- **/
- XcmV1MultiassetAssetId: {
- _enum: {
- Concrete: 'XcmV1MultiLocation',
- Abstract: 'Bytes'
- }
- },
- /**
- * Lookup62: xcm::v1::multiasset::Fungibility
- **/
- XcmV1MultiassetFungibility: {
- _enum: {
- Fungible: 'Compact<u128>',
- NonFungible: 'XcmV1MultiassetAssetInstance'
- }
- },
- /**
- * Lookup63: xcm::v1::multiasset::AssetInstance
- **/
- XcmV1MultiassetAssetInstance: {
- _enum: {
- Undefined: 'Null',
- Index: 'Compact<u128>',
- Array4: '[u8;4]',
- Array8: '[u8;8]',
- Array16: '[u8;16]',
- Array32: '[u8;32]',
- Blob: 'Bytes'
- }
- },
- /**
- * Lookup66: xcm::v2::Response
- **/
- XcmV2Response: {
- _enum: {
- Null: 'Null',
- Assets: 'XcmV1MultiassetMultiAssets',
- ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
- Version: 'u32'
- }
- },
- /**
- * Lookup69: xcm::v0::OriginKind
- **/
- XcmV0OriginKind: {
- _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
- },
- /**
- * Lookup70: xcm::double_encoded::DoubleEncoded<T>
- **/
- XcmDoubleEncoded: {
- encoded: 'Bytes'
- },
- /**
- * Lookup71: xcm::v1::multiasset::MultiAssetFilter
- **/
- XcmV1MultiassetMultiAssetFilter: {
- _enum: {
- Definite: 'XcmV1MultiassetMultiAssets',
- Wild: 'XcmV1MultiassetWildMultiAsset'
- }
- },
- /**
- * Lookup72: xcm::v1::multiasset::WildMultiAsset
- **/
- XcmV1MultiassetWildMultiAsset: {
- _enum: {
- All: 'Null',
- AllOf: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetWildFungibility'
- }
- }
- },
- /**
- * Lookup73: xcm::v1::multiasset::WildFungibility
- **/
- XcmV1MultiassetWildFungibility: {
- _enum: ['Fungible', 'NonFungible']
- },
- /**
- * Lookup74: xcm::v2::WeightLimit
- **/
- XcmV2WeightLimit: {
- _enum: {
- Unlimited: 'Null',
- Limited: 'Compact<u64>'
- }
- },
- /**
- * Lookup76: xcm::VersionedMultiAssets
- **/
- XcmVersionedMultiAssets: {
- _enum: {
- V0: 'Vec<XcmV0MultiAsset>',
- V1: 'XcmV1MultiassetMultiAssets'
- }
- },
- /**
- * Lookup78: xcm::v0::multi_asset::MultiAsset
- **/
- XcmV0MultiAsset: {
- _enum: {
- None: 'Null',
- All: 'Null',
- AllFungible: 'Null',
- AllNonFungible: 'Null',
- AllAbstractFungible: {
- id: 'Bytes',
- },
- AllAbstractNonFungible: {
- class: 'Bytes',
- },
- AllConcreteFungible: {
- id: 'XcmV0MultiLocation',
- },
- AllConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- },
- AbstractFungible: {
- id: 'Bytes',
- amount: 'Compact<u128>',
- },
- AbstractNonFungible: {
- class: 'Bytes',
- instance: 'XcmV1MultiassetAssetInstance',
- },
- ConcreteFungible: {
- id: 'XcmV0MultiLocation',
- amount: 'Compact<u128>',
- },
- ConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- instance: 'XcmV1MultiassetAssetInstance'
- }
- }
- },
- /**
- * Lookup79: xcm::v0::multi_location::MultiLocation
- **/
- XcmV0MultiLocation: {
- _enum: {
- Null: 'Null',
- X1: 'XcmV0Junction',
- X2: '(XcmV0Junction,XcmV0Junction)',
- X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
- }
- },
- /**
- * Lookup80: xcm::v0::junction::Junction
- **/
- XcmV0Junction: {
- _enum: {
- Parent: 'Null',
- Parachain: 'Compact<u32>',
- AccountId32: {
- network: 'XcmV0JunctionNetworkId',
- id: '[u8;32]',
- },
- AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
- index: 'Compact<u64>',
- },
- AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
- key: '[u8;20]',
- },
- PalletInstance: 'u8',
- GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
- OnlyChild: 'Null',
- Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
- }
- },
- /**
- * Lookup81: xcm::VersionedMultiLocation
- **/
- XcmVersionedMultiLocation: {
- _enum: {
- V0: 'XcmV0MultiLocation',
- V1: 'XcmV1MultiLocation'
- }
- },
- /**
- * Lookup82: cumulus_pallet_xcm::pallet::Event<T>
- **/
- CumulusPalletXcmEvent: {
- _enum: {
- InvalidFormat: '[u8;8]',
- UnsupportedVersion: '[u8;8]',
- ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
- }
- },
- /**
- * Lookup83: cumulus_pallet_dmp_queue::pallet::Event<T>
- **/
- CumulusPalletDmpQueueEvent: {
- _enum: {
- InvalidFormat: {
- messageId: '[u8;32]',
- },
- UnsupportedVersion: {
- messageId: '[u8;32]',
- },
- ExecutedDownward: {
- messageId: '[u8;32]',
- outcome: 'XcmV2TraitsOutcome',
- },
- WeightExhausted: {
- messageId: '[u8;32]',
- remainingWeight: 'u64',
- requiredWeight: 'u64',
- },
- OverweightEnqueued: {
- messageId: '[u8;32]',
- overweightIndex: 'u64',
- requiredWeight: 'u64',
- },
- OverweightServiced: {
- overweightIndex: 'u64',
- weightUsed: 'u64'
- }
- }
- },
- /**
- * Lookup84: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- PalletUniqueRawEvent: {
- _enum: {
- CollectionSponsorRemoved: 'u32',
- CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- CollectionOwnedChanged: '(u32,AccountId32)',
- CollectionSponsorSet: '(u32,AccountId32)',
- SponsorshipConfirmed: '(u32,AccountId32)',
- CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- CollectionLimitSet: 'u32',
- CollectionPermissionSet: 'u32'
- }
- },
- /**
- * Lookup85: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
- **/
- PalletEvmAccountBasicCrossAccountIdRepr: {
- _enum: {
- Substrate: 'AccountId32',
- Ethereum: 'H160'
- }
- },
- /**
- * Lookup88: pallet_unique_scheduler::pallet::Event<T>
- **/
- PalletUniqueSchedulerEvent: {
- _enum: {
- Scheduled: {
- when: 'u32',
- index: 'u32',
- },
- Canceled: {
- when: 'u32',
- index: 'u32',
- },
- Dispatched: {
- task: '(u32,u32)',
- id: 'Option<[u8;16]>',
- result: 'Result<Null, SpRuntimeDispatchError>',
- },
- CallLookupFailed: {
- task: '(u32,u32)',
- id: 'Option<[u8;16]>',
- error: 'FrameSupportScheduleLookupError'
- }
- }
- },
- /**
- * Lookup91: frame_support::traits::schedule::LookupError
- **/
- FrameSupportScheduleLookupError: {
- _enum: ['Unknown', 'BadFormat']
- },
- /**
- * Lookup92: pallet_common::pallet::Event<T>
- **/
- PalletCommonEvent: {
- _enum: {
- CollectionCreated: '(u32,u8,AccountId32)',
- CollectionDestroyed: 'u32',
- ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- CollectionPropertySet: '(u32,Bytes)',
- CollectionPropertyDeleted: '(u32,Bytes)',
- TokenPropertySet: '(u32,u32,Bytes)',
- TokenPropertyDeleted: '(u32,u32,Bytes)',
- PropertyPermissionSet: '(u32,Bytes)'
- }
- },
- /**
- * Lookup95: pallet_structure::pallet::Event<T>
- **/
- PalletStructureEvent: {
- _enum: {
- Executed: 'Result<Null, SpRuntimeDispatchError>'
- }
- },
- /**
- * Lookup96: pallet_rmrk_core::pallet::Event<T>
- **/
- PalletRmrkCoreEvent: {
- _enum: {
- CollectionCreated: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionDestroyed: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- IssuerChanged: {
- oldIssuer: 'AccountId32',
- newIssuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionLocked: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- NftMinted: {
- owner: 'AccountId32',
- collectionId: 'u32',
- nftId: 'u32',
- },
- NFTBurned: {
- owner: 'AccountId32',
- nftId: 'u32',
- },
- NFTSent: {
- sender: 'AccountId32',
- recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- collectionId: 'u32',
- nftId: 'u32',
- approvalRequired: 'bool',
- },
- NFTAccepted: {
- sender: 'AccountId32',
- recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
- collectionId: 'u32',
- nftId: 'u32',
- },
- NFTRejected: {
- sender: 'AccountId32',
- collectionId: 'u32',
- nftId: 'u32',
- },
- PropertySet: {
- collectionId: 'u32',
- maybeNftId: 'Option<u32>',
- key: 'Bytes',
- value: 'Bytes',
- },
- ResourceAdded: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceRemoval: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceAccepted: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- ResourceRemovalAccepted: {
- nftId: 'u32',
- resourceId: 'u32',
- },
- PrioritySet: {
- collectionId: 'u32',
- nftId: 'u32'
- }
- }
- },
- /**
- * Lookup97: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
- **/
- RmrkTraitsNftAccountIdOrCollectionNftTuple: {
- _enum: {
- AccountId: 'AccountId32',
- CollectionAndNftTuple: '(u32,u32)'
- }
- },
- /**
- * Lookup102: pallet_rmrk_equip::pallet::Event<T>
- **/
- PalletRmrkEquipEvent: {
- _enum: {
- BaseCreated: {
- issuer: 'AccountId32',
- baseId: 'u32',
- },
- EquippablesUpdated: {
- baseId: 'u32',
- slotId: 'u32'
- }
- }
- },
- /**
- * Lookup103: pallet_evm::pallet::Event<T>
- **/
- PalletEvmEvent: {
- _enum: {
- Log: 'EthereumLog',
- Created: 'H160',
- CreatedFailed: 'H160',
- Executed: 'H160',
- ExecutedFailed: 'H160',
- BalanceDeposit: '(AccountId32,H160,U256)',
- BalanceWithdraw: '(AccountId32,H160,U256)'
- }
- },
- /**
- * Lookup104: ethereum::log::Log
- **/
- EthereumLog: {
- address: 'H160',
- topics: 'Vec<H256>',
- data: 'Bytes'
- },
- /**
- * Lookup108: pallet_ethereum::pallet::Event
- **/
- PalletEthereumEvent: {
- _enum: {
- Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
- }
- },
- /**
- * Lookup109: evm_core::error::ExitReason
- **/
- EvmCoreErrorExitReason: {
- _enum: {
- Succeed: 'EvmCoreErrorExitSucceed',
- Error: 'EvmCoreErrorExitError',
- Revert: 'EvmCoreErrorExitRevert',
- Fatal: 'EvmCoreErrorExitFatal'
- }
- },
- /**
- * Lookup110: evm_core::error::ExitSucceed
- **/
- EvmCoreErrorExitSucceed: {
- _enum: ['Stopped', 'Returned', 'Suicided']
- },
- /**
- * Lookup111: evm_core::error::ExitError
- **/
- EvmCoreErrorExitError: {
- _enum: {
- StackUnderflow: 'Null',
- StackOverflow: 'Null',
- InvalidJump: 'Null',
- InvalidRange: 'Null',
- DesignatedInvalid: 'Null',
- CallTooDeep: 'Null',
- CreateCollision: 'Null',
- CreateContractLimit: 'Null',
- OutOfOffset: 'Null',
- OutOfGas: 'Null',
- OutOfFund: 'Null',
- PCUnderflow: 'Null',
- CreateEmpty: 'Null',
- Other: 'Text',
- InvalidCode: 'Null'
- }
- },
- /**
- * Lookup114: evm_core::error::ExitRevert
- **/
- EvmCoreErrorExitRevert: {
- _enum: ['Reverted']
- },
- /**
- * Lookup115: evm_core::error::ExitFatal
- **/
- EvmCoreErrorExitFatal: {
- _enum: {
- NotSupported: 'Null',
- UnhandledInterrupt: 'Null',
- CallErrorAsFatal: 'EvmCoreErrorExitError',
- Other: 'Text'
- }
- },
- /**
- * Lookup116: frame_system::Phase
- **/
- FrameSystemPhase: {
- _enum: {
- ApplyExtrinsic: 'u32',
- Finalization: 'Null',
- Initialization: 'Null'
- }
- },
- /**
- * Lookup118: frame_system::LastRuntimeUpgradeInfo
- **/
- FrameSystemLastRuntimeUpgradeInfo: {
- specVersion: 'Compact<u32>',
- specName: 'Text'
- },
- /**
- * Lookup119: frame_system::pallet::Call<T>
- **/
- FrameSystemCall: {
- _enum: {
- fill_block: {
- ratio: 'Perbill',
- },
- remark: {
- remark: 'Bytes',
- },
- set_heap_pages: {
- pages: 'u64',
- },
- set_code: {
- code: 'Bytes',
- },
- set_code_without_checks: {
- code: 'Bytes',
- },
- set_storage: {
- items: 'Vec<(Bytes,Bytes)>',
- },
- kill_storage: {
- _alias: {
- keys_: 'keys',
- },
- keys_: 'Vec<Bytes>',
- },
- kill_prefix: {
- prefix: 'Bytes',
- subkeys: 'u32',
- },
- remark_with_event: {
- remark: 'Bytes'
- }
- }
- },
- /**
- * Lookup124: frame_system::limits::BlockWeights
- **/
- FrameSystemLimitsBlockWeights: {
- baseBlock: 'u64',
- maxBlock: 'u64',
- perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
- },
- /**
- * Lookup125: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
- **/
- FrameSupportWeightsPerDispatchClassWeightsPerClass: {
- normal: 'FrameSystemLimitsWeightsPerClass',
- operational: 'FrameSystemLimitsWeightsPerClass',
- mandatory: 'FrameSystemLimitsWeightsPerClass'
- },
- /**
- * Lookup126: frame_system::limits::WeightsPerClass
- **/
- FrameSystemLimitsWeightsPerClass: {
- baseExtrinsic: 'u64',
- maxExtrinsic: 'Option<u64>',
- maxTotal: 'Option<u64>',
- reserved: 'Option<u64>'
- },
- /**
- * Lookup128: frame_system::limits::BlockLength
+ * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
- FrameSystemLimitsBlockLength: {
- max: 'FrameSupportWeightsPerDispatchClassU32'
- },
- /**
- * Lookup129: frame_support::weights::PerDispatchClass<T>
- **/
- FrameSupportWeightsPerDispatchClassU32: {
- normal: 'u32',
- operational: 'u32',
- mandatory: 'u32'
- },
- /**
- * Lookup130: frame_support::weights::RuntimeDbWeight
- **/
- FrameSupportWeightsRuntimeDbWeight: {
- read: 'u64',
- write: 'u64'
- },
- /**
- * Lookup131: sp_version::RuntimeVersion
- **/
- SpVersionRuntimeVersion: {
- specName: 'Text',
- implName: 'Text',
- authoringVersion: 'u32',
- specVersion: 'u32',
- implVersion: 'u32',
- apis: 'Vec<([u8;8],u32)>',
- transactionVersion: 'u32',
- stateVersion: 'u8'
- },
- /**
- * Lookup136: frame_system::pallet::Error<T>
- **/
- FrameSystemError: {
- _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
- },
- /**
- * Lookup137: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
- **/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
relayParentNumber: 'u32',
@@ -1272,19 +14,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup140: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup9: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup141: sp_trie::storage_proof::StorageProof
+ * Lookup10: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup143: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1293,7 +35,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup146: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1304,7 +46,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup147: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1318,14 +60,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup153: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup154: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1344,7 +86,7 @@
}
},
/**
- * Lookup155: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1353,27 +95,58 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup157: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup160: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup163: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>
+ **/
+ CumulusPalletParachainSystemEvent: {
+ _enum: {
+ ValidationFunctionStored: 'Null',
+ ValidationFunctionApplied: {
+ relayChainBlockNum: 'u32',
+ },
+ ValidationFunctionDiscarded: 'Null',
+ UpgradeAuthorized: {
+ codeHash: 'H256',
+ },
+ DownwardMessagesReceived: {
+ count: 'u32',
+ },
+ DownwardMessagesProcessed: {
+ weightUsed: 'u64',
+ dmqHead: 'H256'
+ }
+ }
+ },
+ /**
+ * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup165: pallet_balances::BalanceLock<Balance>
+ * Lookup41: pallet_balances::AccountData<Balance>
+ **/
+ PalletBalancesAccountData: {
+ free: 'u128',
+ reserved: 'u128',
+ miscFrozen: 'u128',
+ feeFrozen: 'u128'
+ },
+ /**
+ * Lookup43: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1381,13 +154,13 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup166: pallet_balances::Reasons
+ * Lookup45: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup169: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
@@ -2706,13 +1479,13 @@
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup347: pallet_unique::Error<T>
+ * Lookup346: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup350: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup349: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletUniqueSchedulerScheduledV3: {
maybeId: 'Option<[u8;16]>',
@@ -2722,7 +1495,7 @@
origin: 'OpalRuntimeOriginCaller'
},
/**
- * Lookup351: opal_runtime::OriginCaller
+ * Lookup350: opal_runtime::OriginCaller
**/
OpalRuntimeOriginCaller: {
_enum: {
@@ -2831,7 +1604,7 @@
}
},
/**
- * Lookup352: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
+ * Lookup351: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSupportDispatchRawOrigin: {
_enum: {
@@ -2841,7 +1614,7 @@
}
},
/**
- * Lookup353: pallet_xcm::pallet::Origin
+ * Lookup352: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -2850,7 +1623,7 @@
}
},
/**
- * Lookup354: cumulus_pallet_xcm::pallet::Origin
+ * Lookup353: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -2859,7 +1632,7 @@
}
},
/**
- * Lookup355: pallet_ethereum::RawOrigin
+ * Lookup354: pallet_ethereum::RawOrigin
**/
PalletEthereumRawOrigin: {
_enum: {
@@ -2867,17 +1640,17 @@
}
},
/**
- * Lookup356: sp_core::Void
+ * Lookup355: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
- * Lookup357: pallet_unique_scheduler::pallet::Error<T>
+ * Lookup356: pallet_unique_scheduler::pallet::Error<T>
**/
PalletUniqueSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
- * Lookup358: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup357: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2891,7 +1664,7 @@
externalCollection: 'bool'
},
/**
- * Lookup359: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup358: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2901,7 +1674,7 @@
}
},
/**
- * Lookup360: up_data_structs::Properties
+ * Lookup359: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2909,7 +1682,7 @@
spaceLimit: 'u32'
},
/**
- * Lookup361: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup360: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
@@ -2917,7 +1690,7 @@
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup373: up_data_structs::CollectionStats
+ * Lookup372: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2925,18 +1698,18 @@
alive: 'u32'
},
/**
- * Lookup374: up_data_structs::TokenChild
+ * Lookup373: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup375: PhantomType::up_data_structs<T>
+ * Lookup374: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup377: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup376: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -2944,7 +1717,7 @@
pieces: 'u128'
},
/**
- * Lookup379: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup378: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2960,7 +1733,7 @@
readOnly: 'bool'
},
/**
- * Lookup380: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup379: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -2970,7 +1743,7 @@
nftsCount: 'u32'
},
/**
- * Lookup381: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup380: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -2980,14 +1753,14 @@
pending: 'bool'
},
/**
- * Lookup383: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup382: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup384: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup383: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -2996,14 +1769,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup385: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup384: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup386: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup385: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3011,80 +1784,80 @@
symbol: 'Bytes'
},
/**
- * Lookup387: rmrk_traits::nft::NftChild
+ * Lookup386: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup389: pallet_common::pallet::Error<T>
+ * Lookup388: 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']
},
/**
- * Lookup391: pallet_fungible::pallet::Error<T>
+ * Lookup390: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup392: pallet_refungible::ItemData
+ * Lookup391: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup397: pallet_refungible::pallet::Error<T>
+ * Lookup394: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup398: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup395: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup400: up_data_structs::PropertyScope
+ * Lookup397: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk', 'Eth']
},
/**
- * Lookup402: pallet_nonfungible::pallet::Error<T>
+ * Lookup399: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup403: pallet_structure::pallet::Error<T>
+ * Lookup400: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup404: pallet_rmrk_core::pallet::Error<T>
+ * Lookup401: 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']
},
/**
- * Lookup406: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup403: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup409: pallet_evm::pallet::Error<T>
+ * Lookup406: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup412: fp_rpc::TransactionStatus
+ * Lookup409: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3096,11 +1869,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup414: ethbloom::Bloom
+ * Lookup411: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup416: ethereum::receipt::ReceiptV3
+ * Lookup413: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3110,7 +1883,7 @@
}
},
/**
- * Lookup417: ethereum::receipt::EIP658ReceiptData
+ * Lookup414: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3119,7 +1892,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup418: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup415: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3127,7 +1900,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup419: ethereum::header::Header
+ * Lookup416: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3147,41 +1920,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup420: ethereum_types::hash::H64
+ * Lookup417: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup425: pallet_ethereum::pallet::Error<T>
+ * Lookup422: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup426: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup423: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup427: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup424: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup429: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup426: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup430: pallet_evm_migration::pallet::Error<T>
+ * Lookup427: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup432: sp_runtime::MultiSignature
+ * Lookup429: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3191,43 +1964,43 @@
}
},
/**
- * Lookup433: sp_core::ed25519::Signature
+ * Lookup430: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup435: sp_core::sr25519::Signature
+ * Lookup434: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup436: sp_core::ecdsa::Signature
+ * Lookup435: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup439: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup438: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup440: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup439: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup443: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup442: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup444: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup443: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup445: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup444: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup446: opal_runtime::Runtime
+ * Lookup445: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup447: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup444: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
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';1213 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */14 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {15 readonly parentHead: Bytes;16 readonly relayParentNumber: u32;17 readonly relayParentStorageRoot: H256;18 readonly maxPovSize: u32;19 }2021 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */22 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {23 readonly isPresent: boolean;24 readonly type: 'Present';25 }2627 /** @name SpTrieStorageProof (10) */28 export interface SpTrieStorageProof extends Struct {29 readonly trieNodes: BTreeSet<Bytes>;30 }3132 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */33 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {34 readonly dmqMqcHead: H256;35 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;36 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;37 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;38 }3940 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */41 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {42 readonly maxCapacity: u32;43 readonly maxTotalSize: u32;44 readonly maxMessageSize: u32;45 readonly msgCount: u32;46 readonly totalSize: u32;47 readonly mqcHead: Option<H256>;48 }4950 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */51 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {52 readonly maxCodeSize: u32;53 readonly maxHeadDataSize: u32;54 readonly maxUpwardQueueCount: u32;55 readonly maxUpwardQueueSize: u32;56 readonly maxUpwardMessageSize: u32;57 readonly maxUpwardMessageNumPerCandidate: u32;58 readonly hrmpMaxMessageNumPerCandidate: u32;59 readonly validationUpgradeCooldown: u32;60 readonly validationUpgradeDelay: u32;61 }6263 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */64 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {65 readonly recipient: u32;66 readonly data: Bytes;67 }6869 /** @name CumulusPalletParachainSystemCall (28) */70 export interface CumulusPalletParachainSystemCall extends Enum {71 readonly isSetValidationData: boolean;72 readonly asSetValidationData: {73 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;74 } & Struct;75 readonly isExtrinsicFailed: boolean;76 readonly asExtrinsicFailed: {77 readonly dispatchError: SpRuntimeDispatchError;78 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;79 } & Struct;80 readonly isCodeUpdated: boolean;81 readonly isNewAccount: boolean;82 readonly asNewAccount: {83 readonly account: AccountId32;84 } & Struct;85 readonly isKilledAccount: boolean;86 readonly asKilledAccount: {87 readonly account: AccountId32;88 } & Struct;89 readonly isRemarked: boolean;90 readonly asRemarked: {91 readonly sender: AccountId32;92 readonly hash_: H256;93 } & Struct;94 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';95 }9697 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */98 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {99 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;100 readonly relayChainState: SpTrieStorageProof;101 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;102 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;103 }104105 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */106 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {107 readonly sentAt: u32;108 readonly msg: Bytes;109 }110111 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */112 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {113 readonly sentAt: u32;114 readonly data: Bytes;115 }116117 /** @name CumulusPalletParachainSystemEvent (37) */118 export interface CumulusPalletParachainSystemEvent extends Enum {119 readonly isValidationFunctionStored: boolean;120 readonly isValidationFunctionApplied: boolean;121 readonly asValidationFunctionApplied: {122 readonly relayChainBlockNum: u32;123 } & Struct;124 readonly isValidationFunctionDiscarded: boolean;125 readonly isUpgradeAuthorized: boolean;126 readonly asUpgradeAuthorized: {127 readonly codeHash: H256;128 } & Struct;129 readonly isDownwardMessagesReceived: boolean;130 readonly asDownwardMessagesReceived: {131 readonly count: u32;132 } & Struct;133 readonly isDownwardMessagesProcessed: boolean;134 readonly asDownwardMessagesProcessed: {135 readonly weightUsed: u64;136 readonly dmqHead: H256;137 } & Struct;138 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';139 }140141 /** @name CumulusPalletParachainSystemError (38) */142 export interface CumulusPalletParachainSystemError extends Enum {143 readonly isOverlappingUpgrades: boolean;144 readonly isProhibitedByPolkadot: boolean;145 readonly isTooBig: boolean;146 readonly isValidationDataNotAvailable: boolean;147 readonly isHostConfigurationNotAvailable: boolean;148 readonly isNotScheduled: boolean;149 readonly isNothingAuthorized: boolean;150 readonly isUnauthorized: boolean;151 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';152 }153154 /** @name PalletBalancesAccountData (41) */155 export interface PalletBalancesAccountData extends Struct {156 readonly free: u128;157 readonly reserved: u128;158 readonly miscFrozen: u128;159 readonly feeFrozen: u128;160 }161162 /** @name PalletBalancesBalanceLock (43) */163 export interface PalletBalancesBalanceLock extends Struct {164 readonly id: U8aFixed;165 readonly amount: u128;166 readonly reasons: PalletBalancesReasons;167 }168169 /** @name PalletBalancesReasons (45) */170 export interface PalletBalancesReasons extends Enum {171 readonly isFee: boolean;172 readonly isMisc: boolean;173 readonly isAll: boolean;174 readonly type: 'Fee' | 'Misc' | 'All';175 }176177 /** @name PalletBalancesReserveData (48) */178 export interface PalletBalancesReserveData extends Struct {179 readonly id: U8aFixed;180 readonly amount: u128;181 }182183 /** @name PalletBalancesReleases (51) */184 export interface PalletBalancesReleases extends Enum {185 readonly isV100: boolean;186 readonly isV200: boolean;187 readonly type: 'V100' | 'V200';188 }189190 /** @name PalletBalancesCall (52) */191 export interface PalletBalancesCall extends Enum {192 readonly isTransfer: boolean;193 readonly asTransfer: {194 readonly dest: MultiAddress;195 readonly value: Compact<u128>;196 } & Struct;197 readonly isSetBalance: boolean;198 readonly asSetBalance: {199 readonly who: MultiAddress;200 readonly newFree: Compact<u128>;201 readonly newReserved: Compact<u128>;202 } & Struct;203 readonly isForceTransfer: boolean;204 readonly asForceTransfer: {205 readonly source: MultiAddress;206 readonly dest: MultiAddress;207 readonly value: Compact<u128>;208 } & Struct;209 readonly isTransferKeepAlive: boolean;210 readonly asTransferKeepAlive: {211 readonly dest: MultiAddress;212 readonly value: Compact<u128>;213 } & Struct;214 readonly isTransferAll: boolean;215 readonly asTransferAll: {216 readonly dest: MultiAddress;217 readonly keepAlive: bool;218 } & Struct;219 readonly isForceUnreserve: boolean;220 readonly asForceUnreserve: {221 readonly who: MultiAddress;222 readonly amount: u128;223 } & Struct;224 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';225 }226227 /** @name PalletBalancesEvent (58) */228 export interface PalletBalancesEvent extends Enum {229 readonly isEndowed: boolean;230 readonly asEndowed: {231 readonly account: AccountId32;232 readonly freeBalance: u128;233 } & Struct;234 readonly isDustLost: boolean;235 readonly asDustLost: {236 readonly account: AccountId32;237 readonly amount: u128;238 } & Struct;239 readonly isTransfer: boolean;240 readonly asTransfer: {241 readonly from: AccountId32;242 readonly to: AccountId32;243 readonly amount: u128;244 } & Struct;245 readonly isBalanceSet: boolean;246 readonly asBalanceSet: {247 readonly who: AccountId32;248 readonly free: u128;249 readonly reserved: u128;250 } & Struct;251 readonly isReserved: boolean;252 readonly asReserved: {253 readonly who: AccountId32;254 readonly amount: u128;255 } & Struct;256 readonly isUnreserved: boolean;257 readonly asUnreserved: {258 readonly who: AccountId32;259 readonly amount: u128;260 } & Struct;261 readonly isReserveRepatriated: boolean;262 readonly asReserveRepatriated: {263 readonly from: AccountId32;264 readonly to: AccountId32;265 readonly amount: u128;266 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;267 } & Struct;268 readonly isDeposit: boolean;269 readonly asDeposit: {270 readonly who: AccountId32;271 readonly amount: u128;272 } & Struct;273 readonly isWithdraw: boolean;274 readonly asWithdraw: {275 readonly who: AccountId32;276 readonly amount: u128;277 } & Struct;278 readonly isSlashed: boolean;279 readonly asSlashed: {280 readonly who: AccountId32;281 readonly amount: u128;282 } & Struct;283 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';284 }285286 /** @name FrameSupportTokensMiscBalanceStatus (59) */287 export interface FrameSupportTokensMiscBalanceStatus extends Enum {288 readonly isFree: boolean;289 readonly isReserved: boolean;290 readonly type: 'Free' | 'Reserved';291 }292293 /** @name PalletBalancesError (60) */294 export interface PalletBalancesError extends Enum {295 readonly isVestingBalance: boolean;296 readonly isLiquidityRestrictions: boolean;297 readonly isInsufficientBalance: boolean;298 readonly isExistentialDeposit: boolean;299 readonly isKeepAlive: boolean;300 readonly isExistingVestingSchedule: boolean;301 readonly isDeadAccount: boolean;302 readonly isTooManyReserves: boolean;303 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';304 }305306 /** @name PalletTimestampCall (63) */307 export interface PalletTimestampCall extends Enum {308 readonly isSet: boolean;309 readonly asSet: {310 readonly now: Compact<u64>;311 } & Struct;312 readonly type: 'Set';313 }314315 /** @name PalletTransactionPaymentReleases (66) */316 export interface PalletTransactionPaymentReleases extends Enum {317 readonly isV1Ancient: boolean;318 readonly isV2: boolean;319 readonly type: 'V1Ancient' | 'V2';320 }321322 /** @name PalletTreasuryProposal (67) */323 export interface PalletTreasuryProposal extends Struct {324 readonly proposer: AccountId32;325 readonly value: u128;326 readonly beneficiary: AccountId32;327 readonly bond: u128;328 }329330 /** @name PalletTreasuryCall (70) */331 export interface PalletTreasuryCall extends Enum {332 readonly isProposeSpend: boolean;333 readonly asProposeSpend: {334 readonly value: Compact<u128>;335 readonly beneficiary: MultiAddress;336 } & Struct;337 readonly isRejectProposal: boolean;338 readonly asRejectProposal: {339 readonly proposalId: Compact<u32>;340 } & Struct;341 readonly isApproveProposal: boolean;342 readonly asApproveProposal: {343 readonly proposalId: Compact<u32>;344 } & Struct;345 readonly isRemoveApproval: boolean;346 readonly asRemoveApproval: {347 readonly proposalId: Compact<u32>;348 } & Struct;349 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';350 }351352 /** @name PalletTreasuryEvent (72) */353 export interface PalletTreasuryEvent extends Enum {354 readonly isProposed: boolean;355 readonly asProposed: {356 readonly proposalIndex: u32;357 } & Struct;358 readonly isSpending: boolean;359 readonly asSpending: {360 readonly budgetRemaining: u128;361 } & Struct;362 readonly isAwarded: boolean;363 readonly asAwarded: {364 readonly proposalIndex: u32;365 readonly award: u128;366 readonly account: AccountId32;367 } & Struct;368 readonly isRejected: boolean;369 readonly asRejected: {370 readonly proposalIndex: u32;371 readonly slashed: u128;372 } & Struct;373 readonly isBurnt: boolean;374 readonly asBurnt: {375 readonly burntFunds: u128;376 } & Struct;377 readonly isRollover: boolean;378 readonly asRollover: {379 readonly rolloverBalance: u128;380 } & Struct;381 readonly isDeposit: boolean;382 readonly asDeposit: {383 readonly value: u128;384 } & Struct;385 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';386 }387388 /** @name FrameSupportPalletId (75) */389 export interface FrameSupportPalletId extends U8aFixed {}390391 /** @name PalletTreasuryError (76) */392 export interface PalletTreasuryError extends Enum {393 readonly isInsufficientProposersBalance: boolean;394 readonly isInvalidIndex: boolean;395 readonly isTooManyApprovals: boolean;396 readonly isProposalNotApproved: boolean;397 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';398 }399400 /** @name PalletSudoCall (77) */401 export interface PalletSudoCall extends Enum {402 readonly isSudo: boolean;403 readonly asSudo: {404 readonly call: Call;405 } & Struct;406 readonly isSudoUncheckedWeight: boolean;407 readonly asSudoUncheckedWeight: {408 readonly call: Call;409 readonly weight: u64;410 } & Struct;411 readonly isSetKey: boolean;412 readonly asSetKey: {413 readonly new_: MultiAddress;414 } & Struct;415 readonly isSudoAs: boolean;416 readonly asSudoAs: {417 readonly who: MultiAddress;418 readonly call: Call;419 } & Struct;420 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';421 }422423 /** @name FrameSystemCall (79) */424 export interface FrameSystemCall extends Enum {425 readonly isFillBlock: boolean;426 readonly asFillBlock: {427 readonly ratio: Perbill;428 } & Struct;429 readonly isRemark: boolean;430 readonly asRemark: {431 readonly remark: Bytes;432 } & Struct;433 readonly isSetHeapPages: boolean;434 readonly asSetHeapPages: {435 readonly pages: u64;436 } & Struct;437 readonly isSetCode: boolean;438 readonly asSetCode: {439 readonly code: Bytes;440 } & Struct;441 readonly isSetCodeWithoutChecks: boolean;442 readonly asSetCodeWithoutChecks: {443 readonly code: Bytes;444 } & Struct;445 readonly isSetStorage: boolean;446 readonly asSetStorage: {447 readonly items: Vec<ITuple<[Bytes, Bytes]>>;448 } & Struct;449 readonly isKillStorage: boolean;450 readonly asKillStorage: {451 readonly keys_: Vec<Bytes>;452 } & Struct;453 readonly isKillPrefix: boolean;454 readonly asKillPrefix: {455 readonly prefix: Bytes;456 readonly subkeys: u32;457 } & Struct;458 readonly isRemarkWithEvent: boolean;459 readonly asRemarkWithEvent: {460 readonly remark: Bytes;461 } & Struct;462 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';463 }464465 /** @name OrmlVestingModuleCall (83) */466 export interface OrmlVestingModuleCall extends Enum {467 readonly isClaim: boolean;468 readonly isVestedTransfer: boolean;469 readonly asVestedTransfer: {470 readonly dest: MultiAddress;471 readonly schedule: OrmlVestingVestingSchedule;472 } & Struct;473 readonly isClaimed: boolean;474 readonly asClaimed: {475 readonly who: AccountId32;476 readonly amount: u128;477 } & Struct;478 readonly isVestingSchedulesUpdated: boolean;479 readonly asVestingSchedulesUpdated: {480 readonly who: AccountId32;481 } & Struct;482 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';483 }484485 /** @name OrmlVestingVestingSchedule (84) */486 export interface OrmlVestingVestingSchedule extends Struct {487 readonly start: u32;488 readonly period: u32;489 readonly periodCount: u32;490 readonly perPeriod: Compact<u128>;491 }492493 /** @name CumulusPalletXcmpQueueCall (86) */494 export interface CumulusPalletXcmpQueueCall extends Enum {495 readonly isServiceOverweight: boolean;496 readonly asServiceOverweight: {497 readonly index: u64;498 readonly weightLimit: u64;499 } & Struct;500 readonly isFail: boolean;501 readonly asFail: {502 readonly messageHash: Option<H256>;503 readonly error: XcmV2TraitsError;504 readonly weight: u64;505 } & Struct;506 readonly isBadVersion: boolean;507 readonly asBadVersion: {508 readonly messageHash: Option<H256>;509 } & Struct;510 readonly isBadFormat: boolean;511 readonly asBadFormat: {512 readonly messageHash: Option<H256>;513 } & Struct;514 readonly isUpwardMessageSent: boolean;515 readonly asUpwardMessageSent: {516 readonly messageHash: Option<H256>;517 } & Struct;518 readonly isXcmpMessageSent: boolean;519 readonly asXcmpMessageSent: {520 readonly messageHash: Option<H256>;521 } & Struct;522 readonly isOverweightEnqueued: boolean;523 readonly asOverweightEnqueued: {524 readonly sender: u32;525 readonly sentAt: u32;526 readonly index: u64;527 readonly required: u64;528 } & Struct;529 readonly isOverweightServiced: boolean;530 readonly asOverweightServiced: {531 readonly index: u64;532 readonly used: u64;533 } & Struct;534 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';535 }536537 /** @name PalletXcmCall (87) */538 export interface PalletXcmCall extends Enum {539 readonly isSend: boolean;540 readonly asSend: {541 readonly dest: XcmVersionedMultiLocation;542 readonly message: XcmVersionedXcm;543 } & Struct;544 readonly isTeleportAssets: boolean;545 readonly asTeleportAssets: {546 readonly dest: XcmVersionedMultiLocation;547 readonly beneficiary: XcmVersionedMultiLocation;548 readonly assets: XcmVersionedMultiAssets;549 readonly feeAssetItem: u32;550 } & Struct;551 readonly isReserveTransferAssets: boolean;552 readonly asReserveTransferAssets: {553 readonly dest: XcmVersionedMultiLocation;554 readonly beneficiary: XcmVersionedMultiLocation;555 readonly assets: XcmVersionedMultiAssets;556 readonly feeAssetItem: u32;557 } & Struct;558 readonly isExecute: boolean;559 readonly asExecute: {560 readonly message: XcmVersionedXcm;561 readonly maxWeight: u64;562 } & Struct;563 readonly isForceXcmVersion: boolean;564 readonly asForceXcmVersion: {565 readonly location: XcmV1MultiLocation;566 readonly xcmVersion: u32;567 } & Struct;568 readonly isForceDefaultXcmVersion: boolean;569 readonly asForceDefaultXcmVersion: {570 readonly maybeXcmVersion: Option<u32>;571 } & Struct;572 readonly isForceSubscribeVersionNotify: boolean;573 readonly asForceSubscribeVersionNotify: {574 readonly location: XcmVersionedMultiLocation;575 } & Struct;576 readonly isForceUnsubscribeVersionNotify: boolean;577 readonly asForceUnsubscribeVersionNotify: {578 readonly location: XcmVersionedMultiLocation;579 } & Struct;580 readonly isLimitedReserveTransferAssets: boolean;581 readonly asLimitedReserveTransferAssets: {582 readonly dest: XcmVersionedMultiLocation;583 readonly beneficiary: XcmVersionedMultiLocation;584 readonly assets: XcmVersionedMultiAssets;585 readonly feeAssetItem: u32;586 readonly weightLimit: XcmV2WeightLimit;587 } & Struct;588 readonly isLimitedTeleportAssets: boolean;589 readonly asLimitedTeleportAssets: {590 readonly dest: XcmVersionedMultiLocation;591 readonly beneficiary: XcmVersionedMultiLocation;592 readonly assets: XcmVersionedMultiAssets;593 readonly feeAssetItem: u32;594 readonly weightLimit: XcmV2WeightLimit;595 } & Struct;596 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';597 }598599 /** @name XcmVersionedMultiLocation (88) */600 export interface XcmVersionedMultiLocation extends Enum {601 readonly isV0: boolean;602 readonly asV0: XcmV0MultiLocation;603 readonly isV1: boolean;604 readonly asV1: XcmV1MultiLocation;605 readonly type: 'V0' | 'V1';606 }607608 /** @name XcmV0MultiLocation (89) */609 export interface XcmV0MultiLocation extends Enum {610 readonly isNull: boolean;611 readonly isX1: boolean;612 readonly asX1: XcmV0Junction;613 readonly isX2: boolean;614 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;615 readonly isX3: boolean;616 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;617 readonly isX4: boolean;618 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;619 readonly isX5: boolean;620 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;621 readonly isX6: boolean;622 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;623 readonly isX7: boolean;624 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;625 readonly isX8: boolean;626 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;627 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';628 }629630 /** @name XcmV0Junction (90) */631 export interface XcmV0Junction extends Enum {632 readonly isParent: boolean;633 readonly isParachain: boolean;634 readonly asParachain: Compact<u32>;635 readonly isAccountId32: boolean;636 readonly asAccountId32: {637 readonly network: XcmV0JunctionNetworkId;638 readonly id: U8aFixed;639 } & Struct;640 readonly isAccountIndex64: boolean;641 readonly asAccountIndex64: {642 readonly network: XcmV0JunctionNetworkId;643 readonly index: Compact<u64>;644 } & Struct;645 readonly isAccountKey20: boolean;646 readonly asAccountKey20: {647 readonly network: XcmV0JunctionNetworkId;648 readonly key: U8aFixed;649 } & Struct;650 readonly isPalletInstance: boolean;651 readonly asPalletInstance: u8;652 readonly isGeneralIndex: boolean;653 readonly asGeneralIndex: Compact<u128>;654 readonly isGeneralKey: boolean;655 readonly asGeneralKey: Bytes;656 readonly isOnlyChild: boolean;657 readonly isPlurality: boolean;658 readonly asPlurality: {659 readonly id: XcmV0JunctionBodyId;660 readonly part: XcmV0JunctionBodyPart;661 } & Struct;662 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';663 }664665 /** @name XcmV0JunctionNetworkId (91) */666 export interface XcmV0JunctionNetworkId extends Enum {667 readonly isAny: boolean;668 readonly isNamed: boolean;669 readonly asNamed: Bytes;670 readonly isPolkadot: boolean;671 readonly isKusama: boolean;672 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';673 }674675 /** @name XcmV0JunctionBodyId (92) */676 export interface XcmV0JunctionBodyId extends Enum {677 readonly isUnit: boolean;678 readonly isNamed: boolean;679 readonly asNamed: Bytes;680 readonly isIndex: boolean;681 readonly asIndex: Compact<u32>;682 readonly isExecutive: boolean;683 readonly isTechnical: boolean;684 readonly isLegislative: boolean;685 readonly isJudicial: boolean;686 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';687 }688689 /** @name XcmV0JunctionBodyPart (93) */690 export interface XcmV0JunctionBodyPart extends Enum {691 readonly isVoice: boolean;692 readonly isMembers: boolean;693 readonly asMembers: {694 readonly count: Compact<u32>;695 } & Struct;696 readonly isFraction: boolean;697 readonly asFraction: {698 readonly nom: Compact<u32>;699 readonly denom: Compact<u32>;700 } & Struct;701 readonly isAtLeastProportion: boolean;702 readonly asAtLeastProportion: {703 readonly nom: Compact<u32>;704 readonly denom: Compact<u32>;705 } & Struct;706 readonly isMoreThanProportion: boolean;707 readonly asMoreThanProportion: {708 readonly nom: Compact<u32>;709 readonly denom: Compact<u32>;710 } & Struct;711 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';712 }713714 /** @name XcmV1MultiLocation (94) */715 export interface XcmV1MultiLocation extends Struct {716 readonly parents: u8;717 readonly interior: XcmV1MultilocationJunctions;718 }719720 /** @name XcmV1MultilocationJunctions (95) */721 export interface XcmV1MultilocationJunctions extends Enum {722 readonly isHere: boolean;723 readonly isX1: boolean;724 readonly asX1: XcmV1Junction;725 readonly isX2: boolean;726 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;727 readonly isX3: boolean;728 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;729 readonly isX4: boolean;730 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;731 readonly isX5: boolean;732 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;733 readonly isX6: boolean;734 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;735 readonly isX7: boolean;736 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;737 readonly isX8: boolean;738 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;739 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';740 }741742 /** @name XcmV1Junction (96) */743 export interface XcmV1Junction extends Enum {744 readonly isParachain: boolean;745 readonly asParachain: Compact<u32>;746 readonly isAccountId32: boolean;747 readonly asAccountId32: {748 readonly network: XcmV0JunctionNetworkId;749 readonly id: U8aFixed;750 } & Struct;751 readonly isAccountIndex64: boolean;752 readonly asAccountIndex64: {753 readonly network: XcmV0JunctionNetworkId;754 readonly index: Compact<u64>;755 } & Struct;756 readonly isAccountKey20: boolean;757 readonly asAccountKey20: {758 readonly network: XcmV0JunctionNetworkId;759 readonly key: U8aFixed;760 } & Struct;761 readonly isPalletInstance: boolean;762 readonly asPalletInstance: u8;763 readonly isGeneralIndex: boolean;764 readonly asGeneralIndex: Compact<u128>;765 readonly isGeneralKey: boolean;766 readonly asGeneralKey: Bytes;767 readonly isOnlyChild: boolean;768 readonly isPlurality: boolean;769 readonly asPlurality: {770 readonly id: XcmV0JunctionBodyId;771 readonly part: XcmV0JunctionBodyPart;772 } & Struct;773 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';774 }775776 /** @name XcmVersionedXcm (97) */777 export interface XcmVersionedXcm extends Enum {778 readonly isV0: boolean;779 readonly asV0: XcmV0Xcm;780 readonly isV1: boolean;781 readonly asV1: XcmV1Xcm;782 readonly isV2: boolean;783 readonly asV2: XcmV2Xcm;784 readonly type: 'V0' | 'V1' | 'V2';785 }786787 /** @name XcmV0Xcm (98) */788 export interface XcmV0Xcm extends Enum {789 readonly isWithdrawAsset: boolean;790 readonly asWithdrawAsset: {791 readonly assets: Vec<XcmV0MultiAsset>;792 readonly effects: Vec<XcmV0Order>;793 } & Struct;794 readonly isReserveAssetDeposit: boolean;795 readonly asReserveAssetDeposit: {796 readonly assets: Vec<XcmV0MultiAsset>;797 readonly effects: Vec<XcmV0Order>;798 } & Struct;799 readonly isTeleportAsset: boolean;800 readonly asTeleportAsset: {801 readonly assets: Vec<XcmV0MultiAsset>;802 readonly effects: Vec<XcmV0Order>;803 } & Struct;804 readonly isQueryResponse: boolean;805 readonly asQueryResponse: {806 readonly queryId: Compact<u64>;807 readonly response: XcmV0Response;808 } & Struct;809 readonly isTransferAsset: boolean;810 readonly asTransferAsset: {811 readonly assets: Vec<XcmV0MultiAsset>;812 readonly dest: XcmV0MultiLocation;813 } & Struct;814 readonly isTransferReserveAsset: boolean;815 readonly asTransferReserveAsset: {816 readonly assets: Vec<XcmV0MultiAsset>;817 readonly dest: XcmV0MultiLocation;818 readonly effects: Vec<XcmV0Order>;819 } & Struct;820 readonly isTransact: boolean;821 readonly asTransact: {822 readonly originType: XcmV0OriginKind;823 readonly requireWeightAtMost: u64;824 readonly call: XcmDoubleEncoded;825 } & Struct;826 readonly isHrmpNewChannelOpenRequest: boolean;827 readonly asHrmpNewChannelOpenRequest: {828 readonly sender: Compact<u32>;829 readonly maxMessageSize: Compact<u32>;830 readonly maxCapacity: Compact<u32>;831 } & Struct;832 readonly isHrmpChannelAccepted: boolean;833 readonly asHrmpChannelAccepted: {834 readonly recipient: Compact<u32>;835 } & Struct;836 readonly isHrmpChannelClosing: boolean;837 readonly asHrmpChannelClosing: {838 readonly initiator: Compact<u32>;839 readonly sender: Compact<u32>;840 readonly recipient: Compact<u32>;841 } & Struct;842 readonly isRelayedFrom: boolean;843 readonly asRelayedFrom: {844 readonly who: XcmV0MultiLocation;845 readonly message: XcmV0Xcm;846 } & Struct;847 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';848 }849850 /** @name XcmV0MultiAsset (100) */851 export interface XcmV0MultiAsset extends Enum {852 readonly isNone: boolean;853 readonly isAll: boolean;854 readonly isAllFungible: boolean;855 readonly isAllNonFungible: boolean;856 readonly isAllAbstractFungible: boolean;857 readonly asAllAbstractFungible: {858 readonly id: Bytes;859 } & Struct;860 readonly isAllAbstractNonFungible: boolean;861 readonly asAllAbstractNonFungible: {862 readonly class: Bytes;863 } & Struct;864 readonly isAllConcreteFungible: boolean;865 readonly asAllConcreteFungible: {866 readonly id: XcmV0MultiLocation;867 } & Struct;868 readonly isAllConcreteNonFungible: boolean;869 readonly asAllConcreteNonFungible: {870 readonly class: XcmV0MultiLocation;871 } & Struct;872 readonly isAbstractFungible: boolean;873 readonly asAbstractFungible: {874 readonly id: Bytes;875 readonly amount: Compact<u128>;876 } & Struct;877 readonly isAbstractNonFungible: boolean;878 readonly asAbstractNonFungible: {879 readonly class: Bytes;880 readonly instance: XcmV1MultiassetAssetInstance;881 } & Struct;882 readonly isConcreteFungible: boolean;883 readonly asConcreteFungible: {884 readonly id: XcmV0MultiLocation;885 readonly amount: Compact<u128>;886 } & Struct;887 readonly isConcreteNonFungible: boolean;888 readonly asConcreteNonFungible: {889 readonly class: XcmV0MultiLocation;890 readonly instance: XcmV1MultiassetAssetInstance;891 } & Struct;892 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';893 }894895 /** @name XcmV1MultiassetAssetInstance (101) */896 export interface XcmV1MultiassetAssetInstance extends Enum {897 readonly isUndefined: boolean;898 readonly isIndex: boolean;899 readonly asIndex: Compact<u128>;900 readonly isArray4: boolean;901 readonly asArray4: U8aFixed;902 readonly isArray8: boolean;903 readonly asArray8: U8aFixed;904 readonly isArray16: boolean;905 readonly asArray16: U8aFixed;906 readonly isArray32: boolean;907 readonly asArray32: U8aFixed;908 readonly isBlob: boolean;909 readonly asBlob: Bytes;910 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';911 }912913 /** @name XcmV0Order (104) */914 export interface XcmV0Order extends Enum {915 readonly isNull: boolean;916 readonly isDepositAsset: boolean;917 readonly asDepositAsset: {918 readonly assets: Vec<XcmV0MultiAsset>;919 readonly dest: XcmV0MultiLocation;920 } & Struct;921 readonly isDepositReserveAsset: boolean;922 readonly asDepositReserveAsset: {923 readonly assets: Vec<XcmV0MultiAsset>;924 readonly dest: XcmV0MultiLocation;925 readonly effects: Vec<XcmV0Order>;926 } & Struct;927 readonly isExchangeAsset: boolean;928 readonly asExchangeAsset: {929 readonly give: Vec<XcmV0MultiAsset>;930 readonly receive: Vec<XcmV0MultiAsset>;931 } & Struct;932 readonly isInitiateReserveWithdraw: boolean;933 readonly asInitiateReserveWithdraw: {934 readonly assets: Vec<XcmV0MultiAsset>;935 readonly reserve: XcmV0MultiLocation;936 readonly effects: Vec<XcmV0Order>;937 } & Struct;938 readonly isInitiateTeleport: boolean;939 readonly asInitiateTeleport: {940 readonly assets: Vec<XcmV0MultiAsset>;941 readonly dest: XcmV0MultiLocation;942 readonly effects: Vec<XcmV0Order>;943 } & Struct;944 readonly isQueryHolding: boolean;945 readonly asQueryHolding: {946 readonly queryId: Compact<u64>;947 readonly dest: XcmV0MultiLocation;948 readonly assets: Vec<XcmV0MultiAsset>;949 } & Struct;950 readonly isBuyExecution: boolean;951 readonly asBuyExecution: {952 readonly fees: XcmV0MultiAsset;953 readonly weight: u64;954 readonly debt: u64;955 readonly haltOnError: bool;956 readonly xcm: Vec<XcmV0Xcm>;957 } & Struct;958 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';959 }960961 /** @name XcmV0Response (106) */962 export interface XcmV0Response extends Enum {963 readonly isAssets: boolean;964 readonly asAssets: Vec<XcmV0MultiAsset>;965 readonly type: 'Assets';966 }967968 /** @name XcmV0OriginKind (107) */969 export interface XcmV0OriginKind extends Enum {970 readonly isNative: boolean;971 readonly isSovereignAccount: boolean;972 readonly isSuperuser: boolean;973 readonly isXcm: boolean;974 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';975 }976977 /** @name XcmDoubleEncoded (108) */978 export interface XcmDoubleEncoded extends Struct {979 readonly encoded: Bytes;980 }981982 /** @name XcmV1Xcm (109) */983 export interface XcmV1Xcm extends Enum {984 readonly isWithdrawAsset: boolean;985 readonly asWithdrawAsset: {986 readonly assets: XcmV1MultiassetMultiAssets;987 readonly effects: Vec<XcmV1Order>;988 } & Struct;989 readonly isReserveAssetDeposited: boolean;990 readonly asReserveAssetDeposited: {991 readonly assets: XcmV1MultiassetMultiAssets;992 readonly effects: Vec<XcmV1Order>;993 } & Struct;994 readonly isReceiveTeleportedAsset: boolean;995 readonly asReceiveTeleportedAsset: {996 readonly assets: XcmV1MultiassetMultiAssets;997 readonly effects: Vec<XcmV1Order>;998 } & Struct;999 readonly isQueryResponse: boolean;1000 readonly asQueryResponse: {1001 readonly queryId: Compact<u64>;1002 readonly response: XcmV1Response;1003 } & Struct;1004 readonly isTransferAsset: boolean;1005 readonly asTransferAsset: {1006 readonly assets: XcmV1MultiassetMultiAssets;1007 readonly beneficiary: XcmV1MultiLocation;1008 } & Struct;1009 readonly isTransferReserveAsset: boolean;1010 readonly asTransferReserveAsset: {1011 readonly assets: XcmV1MultiassetMultiAssets;1012 readonly dest: XcmV1MultiLocation;1013 readonly effects: Vec<XcmV1Order>;1014 } & Struct;1015 readonly isTransact: boolean;1016 readonly asTransact: {1017 readonly originType: XcmV0OriginKind;1018 readonly requireWeightAtMost: u64;1019 readonly call: XcmDoubleEncoded;1020 } & Struct;1021 readonly isHrmpNewChannelOpenRequest: boolean;1022 readonly asHrmpNewChannelOpenRequest: {1023 readonly sender: Compact<u32>;1024 readonly maxMessageSize: Compact<u32>;1025 readonly maxCapacity: Compact<u32>;1026 } & Struct;1027 readonly isHrmpChannelAccepted: boolean;1028 readonly asHrmpChannelAccepted: {1029 readonly recipient: Compact<u32>;1030 } & Struct;1031 readonly isHrmpChannelClosing: boolean;1032 readonly asHrmpChannelClosing: {1033 readonly initiator: Compact<u32>;1034 readonly sender: Compact<u32>;1035 readonly recipient: Compact<u32>;1036 } & Struct;1037 readonly isRelayedFrom: boolean;1038 readonly asRelayedFrom: {1039 readonly who: XcmV1MultilocationJunctions;1040 readonly message: XcmV1Xcm;1041 } & Struct;1042 readonly isSubscribeVersion: boolean;1043 readonly asSubscribeVersion: {1044 readonly queryId: Compact<u64>;1045 readonly maxResponseWeight: Compact<u64>;1046 } & Struct;1047 readonly isUnsubscribeVersion: boolean;1048 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1049 }10501051 /** @name XcmV1MultiassetMultiAssets (110) */1052 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10531054 /** @name XcmV1MultiAsset (112) */1055 export interface XcmV1MultiAsset extends Struct {1056 readonly id: XcmV1MultiassetAssetId;1057 readonly fun: XcmV1MultiassetFungibility;1058 }10591060 /** @name XcmV1MultiassetAssetId (113) */1061 export interface XcmV1MultiassetAssetId extends Enum {1062 readonly isConcrete: boolean;1063 readonly asConcrete: XcmV1MultiLocation;1064 readonly isAbstract: boolean;1065 readonly asAbstract: Bytes;1066 readonly type: 'Concrete' | 'Abstract';1067 }10681069 /** @name XcmV1MultiassetFungibility (114) */1070 export interface XcmV1MultiassetFungibility extends Enum {1071 readonly isFungible: boolean;1072 readonly asFungible: Compact<u128>;1073 readonly isNonFungible: boolean;1074 readonly asNonFungible: XcmV1MultiassetAssetInstance;1075 readonly type: 'Fungible' | 'NonFungible';1076 }10771078 /** @name XcmV1Order (116) */1079 export interface XcmV1Order extends Enum {1080 readonly isNoop: boolean;1081 readonly isDepositAsset: boolean;1082 readonly asDepositAsset: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly maxAssets: u32;1085 readonly beneficiary: XcmV1MultiLocation;1086 } & Struct;1087 readonly isDepositReserveAsset: boolean;1088 readonly asDepositReserveAsset: {1089 readonly assets: XcmV1MultiassetMultiAssetFilter;1090 readonly maxAssets: u32;1091 readonly dest: XcmV1MultiLocation;1092 readonly effects: Vec<XcmV1Order>;1093 } & Struct;1094 readonly isExchangeAsset: boolean;1095 readonly asExchangeAsset: {1096 readonly give: XcmV1MultiassetMultiAssetFilter;1097 readonly receive: XcmV1MultiassetMultiAssets;1098 } & Struct;1099 readonly isInitiateReserveWithdraw: boolean;1100 readonly asInitiateReserveWithdraw: {1101 readonly assets: XcmV1MultiassetMultiAssetFilter;1102 readonly reserve: XcmV1MultiLocation;1103 readonly effects: Vec<XcmV1Order>;1104 } & Struct;1105 readonly isInitiateTeleport: boolean;1106 readonly asInitiateTeleport: {1107 readonly assets: XcmV1MultiassetMultiAssetFilter;1108 readonly dest: XcmV1MultiLocation;1109 readonly effects: Vec<XcmV1Order>;1110 } & Struct;1111 readonly isQueryHolding: boolean;1112 readonly asQueryHolding: {1113 readonly queryId: Compact<u64>;1114 readonly dest: XcmV1MultiLocation;1115 readonly assets: XcmV1MultiassetMultiAssetFilter;1116 } & Struct;1117 readonly isBuyExecution: boolean;1118 readonly asBuyExecution: {1119 readonly fees: XcmV1MultiAsset;1120 readonly weight: u64;1121 readonly debt: u64;1122 readonly haltOnError: bool;1123 readonly instructions: Vec<XcmV1Xcm>;1124 } & Struct;1125 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1126 }11271128 /** @name XcmV1MultiassetMultiAssetFilter (117) */1129 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1130 readonly isDefinite: boolean;1131 readonly asDefinite: XcmV1MultiassetMultiAssets;1132 readonly isWild: boolean;1133 readonly asWild: XcmV1MultiassetWildMultiAsset;1134 readonly type: 'Definite' | 'Wild';1135 }11361137 /** @name XcmV1MultiassetWildMultiAsset (118) */1138 export interface XcmV1MultiassetWildMultiAsset extends Enum {1139 readonly isAll: boolean;1140 readonly isAllOf: boolean;1141 readonly asAllOf: {1142 readonly id: XcmV1MultiassetAssetId;1143 readonly fun: XcmV1MultiassetWildFungibility;1144 } & Struct;1145 readonly type: 'All' | 'AllOf';1146 }11471148 /** @name XcmV1MultiassetWildFungibility (119) */1149 export interface XcmV1MultiassetWildFungibility extends Enum {1150 readonly isFungible: boolean;1151 readonly isNonFungible: boolean;1152 readonly type: 'Fungible' | 'NonFungible';1153 }11541155 /** @name XcmV1Response (121) */1156 export interface XcmV1Response extends Enum {1157 readonly isAssets: boolean;1158 readonly asAssets: XcmV1MultiassetMultiAssets;1159 readonly isVersion: boolean;1160 readonly asVersion: u32;1161 readonly type: 'Assets' | 'Version';1162 }11631164 /** @name XcmV2Xcm (122) */1165 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11661167 /** @name XcmV2Instruction (124) */1168 export interface XcmV2Instruction extends Enum {1169 readonly isWithdrawAsset: boolean;1170 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1171 readonly isReserveAssetDeposited: boolean;1172 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1173 readonly isReceiveTeleportedAsset: boolean;1174 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1175 readonly isQueryResponse: boolean;1176 readonly asQueryResponse: {1177 readonly queryId: Compact<u64>;1178 readonly response: XcmV2Response;1179 readonly maxWeight: Compact<u64>;1180 } & Struct;1181 readonly isTransferAsset: boolean;1182 readonly asTransferAsset: {1183 readonly assets: XcmV1MultiassetMultiAssets;1184 readonly beneficiary: XcmV1MultiLocation;1185 } & Struct;1186 readonly isTransferReserveAsset: boolean;1187 readonly asTransferReserveAsset: {1188 readonly assets: XcmV1MultiassetMultiAssets;1189 readonly dest: XcmV1MultiLocation;1190 readonly xcm: XcmV2Xcm;1191 } & Struct;1192 readonly isTransact: boolean;1193 readonly asTransact: {1194 readonly originType: XcmV0OriginKind;1195 readonly requireWeightAtMost: Compact<u64>;1196 readonly call: XcmDoubleEncoded;1197 } & Struct;1198 readonly isHrmpNewChannelOpenRequest: boolean;1199 readonly asHrmpNewChannelOpenRequest: {1200 readonly sender: Compact<u32>;1201 readonly maxMessageSize: Compact<u32>;1202 readonly maxCapacity: Compact<u32>;1203 } & Struct;1204 readonly isHrmpChannelAccepted: boolean;1205 readonly asHrmpChannelAccepted: {1206 readonly recipient: Compact<u32>;1207 } & Struct;1208 readonly isHrmpChannelClosing: boolean;1209 readonly asHrmpChannelClosing: {1210 readonly initiator: Compact<u32>;1211 readonly sender: Compact<u32>;1212 readonly recipient: Compact<u32>;1213 } & Struct;1214 readonly isClearOrigin: boolean;1215 readonly isDescendOrigin: boolean;1216 readonly asDescendOrigin: XcmV1MultilocationJunctions;1217 readonly isReportError: boolean;1218 readonly asReportError: {1219 readonly queryId: Compact<u64>;1220 readonly dest: XcmV1MultiLocation;1221 readonly maxResponseWeight: Compact<u64>;1222 } & Struct;1223 readonly isDepositAsset: boolean;1224 readonly asDepositAsset: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly maxAssets: Compact<u32>;1227 readonly beneficiary: XcmV1MultiLocation;1228 } & Struct;1229 readonly isDepositReserveAsset: boolean;1230 readonly asDepositReserveAsset: {1231 readonly assets: XcmV1MultiassetMultiAssetFilter;1232 readonly maxAssets: Compact<u32>;1233 readonly dest: XcmV1MultiLocation;1234 readonly xcm: XcmV2Xcm;1235 } & Struct;1236 readonly isExchangeAsset: boolean;1237 readonly asExchangeAsset: {1238 readonly give: XcmV1MultiassetMultiAssetFilter;1239 readonly receive: XcmV1MultiassetMultiAssets;1240 } & Struct;1241 readonly isInitiateReserveWithdraw: boolean;1242 readonly asInitiateReserveWithdraw: {1243 readonly assets: XcmV1MultiassetMultiAssetFilter;1244 readonly reserve: XcmV1MultiLocation;1245 readonly xcm: XcmV2Xcm;1246 } & Struct;1247 readonly isInitiateTeleport: boolean;1248 readonly asInitiateTeleport: {1249 readonly assets: XcmV1MultiassetMultiAssetFilter;1250 readonly dest: XcmV1MultiLocation;1251 readonly xcm: XcmV2Xcm;1252 } & Struct;1253 readonly isQueryHolding: boolean;1254 readonly asQueryHolding: {1255 readonly queryId: Compact<u64>;1256 readonly dest: XcmV1MultiLocation;1257 readonly assets: XcmV1MultiassetMultiAssetFilter;1258 readonly maxResponseWeight: Compact<u64>;1259 } & Struct;1260 readonly isBuyExecution: boolean;1261 readonly asBuyExecution: {1262 readonly fees: XcmV1MultiAsset;1263 readonly weightLimit: XcmV2WeightLimit;1264 } & Struct;1265 readonly isRefundSurplus: boolean;1266 readonly isSetErrorHandler: boolean;1267 readonly asSetErrorHandler: XcmV2Xcm;1268 readonly isSetAppendix: boolean;1269 readonly asSetAppendix: XcmV2Xcm;1270 readonly isClearError: boolean;1271 readonly isClaimAsset: boolean;1272 readonly asClaimAsset: {1273 readonly assets: XcmV1MultiassetMultiAssets;1274 readonly ticket: XcmV1MultiLocation;1275 } & Struct;1276 readonly isTrap: boolean;1277 readonly asTrap: Compact<u64>;1278 readonly isSubscribeVersion: boolean;1279 readonly asSubscribeVersion: {1280 readonly queryId: Compact<u64>;1281 readonly maxResponseWeight: Compact<u64>;1282 } & Struct;1283 readonly isUnsubscribeVersion: boolean;1284 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';1285 }12861287 /** @name XcmV2Response (125) */1288 export interface XcmV2Response extends Enum {1289 readonly isNull: boolean;1290 readonly isAssets: boolean;1291 readonly asAssets: XcmV1MultiassetMultiAssets;1292 readonly isExecutionResult: boolean;1293 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1294 readonly isVersion: boolean;1295 readonly asVersion: u32;1296 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1297 }12981299 /** @name XcmV2TraitsError (128) */1300 export interface XcmV2TraitsError extends Enum {1301 readonly isOverflow: boolean;1302 readonly isUnimplemented: boolean;1303 readonly isUntrustedReserveLocation: boolean;1304 readonly isUntrustedTeleportLocation: boolean;1305 readonly isMultiLocationFull: boolean;1306 readonly isMultiLocationNotInvertible: boolean;1307 readonly isBadOrigin: boolean;1308 readonly isInvalidLocation: boolean;1309 readonly isAssetNotFound: boolean;1310 readonly isFailedToTransactAsset: boolean;1311 readonly isNotWithdrawable: boolean;1312 readonly isLocationCannotHold: boolean;1313 readonly isExceedsMaxMessageSize: boolean;1314 readonly isDestinationUnsupported: boolean;1315 readonly isTransport: boolean;1316 readonly isUnroutable: boolean;1317 readonly isUnknownClaim: boolean;1318 readonly isFailedToDecode: boolean;1319 readonly isMaxWeightInvalid: boolean;1320 readonly isNotHoldingFees: boolean;1321 readonly isTooExpensive: boolean;1322 readonly isTrap: boolean;1323 readonly asTrap: u64;1324 readonly isUnhandledXcmVersion: boolean;1325 readonly isWeightLimitReached: boolean;1326 readonly asWeightLimitReached: u64;1327 readonly isBarrier: boolean;1328 readonly isWeightNotComputable: boolean;1329 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';1330 }13311332 /** @name XcmV2WeightLimit (129) */1333 export interface XcmV2WeightLimit extends Enum {1334 readonly isUnlimited: boolean;1335 readonly isLimited: boolean;1336 readonly asLimited: Compact<u64>;1337 readonly type: 'Unlimited' | 'Limited';1338 }13391340 /** @name XcmVersionedMultiAssets (130) */1341 export interface XcmVersionedMultiAssets extends Enum {1342 readonly isV0: boolean;1343 readonly asV0: Vec<XcmV0MultiAsset>;1344 readonly isV1: boolean;1345 readonly asV1: XcmV1MultiassetMultiAssets;1346 readonly type: 'V0' | 'V1';1347 }13481349 /** @name CumulusPalletXcmCall (145) */1350 export type CumulusPalletXcmCall = Null;13511352 /** @name CumulusPalletDmpQueueCall (146) */1353 export interface CumulusPalletDmpQueueCall extends Enum {1354 readonly isServiceOverweight: boolean;1355 readonly asServiceOverweight: {1356 readonly index: u64;1357 readonly weightLimit: u64;1358 } & Struct;1359 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1360 }13611362 /** @name XcmVersionedMultiLocation (81) */1363 interface XcmVersionedMultiLocation extends Enum {1364 readonly isV0: boolean;1365 readonly asV0: XcmV0MultiLocation;1366 readonly isV1: boolean;1367 readonly asV1: XcmV1MultiLocation;1368 readonly type: 'V0' | 'V1';1369 }13701371 /** @name CumulusPalletXcmEvent (82) */1372 interface CumulusPalletXcmEvent extends Enum {1373 readonly isInvalidFormat: boolean;1374 readonly asInvalidFormat: U8aFixed;1375 readonly isUnsupportedVersion: boolean;1376 readonly asUnsupportedVersion: U8aFixed;1377 readonly isExecutedDownward: boolean;1378 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1379 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1380 }13811382 /** @name PalletInflationCall (147) */1383 export interface PalletInflationCall extends Enum {1384 readonly isStartInflation: boolean;1385 readonly asStartInflation: {1386 readonly inflationStartRelayBlock: u32;1387 } & Struct;1388<<<<<<< HEAD1389 readonly isUnsupportedVersion: boolean;1390 readonly asUnsupportedVersion: {1391 readonly messageId: U8aFixed;1392=======1393 readonly type: 'StartInflation';1394 }13951396 /** @name PalletAppPromotionCall (148) */1397 export interface PalletAppPromotionCall extends Enum {1398 readonly isSetAdminAddress: boolean;1399 readonly asSetAdminAddress: {1400 readonly admin: AccountId32;1401 } & Struct;1402 readonly isStartAppPromotion: boolean;1403 readonly asStartAppPromotion: {1404 readonly promotionStartRelayBlock: u32;1405 } & Struct;1406 readonly isStake: boolean;1407 readonly asStake: {1408 readonly amount: u128;1409 } & Struct;1410 readonly isUnstake: boolean;1411 readonly asUnstake: {1412 readonly amount: u128;1413 } & Struct;1414 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';1415 }14161417 /** @name PalletUniqueCall (149) */1418 export interface PalletUniqueCall extends Enum {1419 readonly isCreateCollection: boolean;1420 readonly asCreateCollection: {1421 readonly collectionName: Vec<u16>;1422 readonly collectionDescription: Vec<u16>;1423 readonly tokenPrefix: Bytes;1424 readonly mode: UpDataStructsCollectionMode;1425>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1426 } & Struct;1427 readonly isExecutedDownward: boolean;1428 readonly asExecutedDownward: {1429 readonly messageId: U8aFixed;1430 readonly outcome: XcmV2TraitsOutcome;1431 } & Struct;1432 readonly isWeightExhausted: boolean;1433 readonly asWeightExhausted: {1434 readonly messageId: U8aFixed;1435 readonly remainingWeight: u64;1436 readonly requiredWeight: u64;1437 } & Struct;1438 readonly isOverweightEnqueued: boolean;1439 readonly asOverweightEnqueued: {1440 readonly messageId: U8aFixed;1441 readonly overweightIndex: u64;1442 readonly requiredWeight: u64;1443 } & Struct;1444 readonly isOverweightServiced: boolean;1445 readonly asOverweightServiced: {1446 readonly overweightIndex: u64;1447 readonly weightUsed: u64;1448 } & Struct;1449 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1450 }14511452 /** @name PalletUniqueRawEvent (84) */1453 interface PalletUniqueRawEvent extends Enum {1454 readonly isCollectionSponsorRemoved: boolean;1455 readonly asCollectionSponsorRemoved: u32;1456 readonly isCollectionAdminAdded: boolean;1457 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1458 readonly isCollectionOwnedChanged: boolean;1459 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1460 readonly isCollectionSponsorSet: boolean;1461 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1462 readonly isSponsorshipConfirmed: boolean;1463 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1464 readonly isCollectionAdminRemoved: boolean;1465 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1466 readonly isAllowListAddressRemoved: boolean;1467 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1468 readonly isAllowListAddressAdded: boolean;1469 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1470 readonly isCollectionLimitSet: boolean;1471 readonly asCollectionLimitSet: u32;1472 readonly isCollectionPermissionSet: boolean;1473 readonly asCollectionPermissionSet: u32;1474 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1475 }14761477 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1478 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1479 readonly isSubstrate: boolean;1480 readonly asSubstrate: AccountId32;1481 readonly isEthereum: boolean;1482 readonly asEthereum: H160;1483 readonly type: 'Substrate' | 'Ethereum';1484 }14851486 /** @name PalletUniqueSchedulerEvent (88) */1487 interface PalletUniqueSchedulerEvent extends Enum {1488 readonly isScheduled: boolean;1489 readonly asScheduled: {1490 readonly when: u32;1491 readonly index: u32;1492 } & Struct;1493 readonly isCanceled: boolean;1494 readonly asCanceled: {1495 readonly when: u32;1496 readonly index: u32;1497 } & Struct;1498 readonly isDispatched: boolean;1499 readonly asDispatched: {1500 readonly task: ITuple<[u32, u32]>;1501 readonly id: Option<U8aFixed>;1502 readonly result: Result<Null, SpRuntimeDispatchError>;1503 } & Struct;1504 readonly isCallLookupFailed: boolean;1505 readonly asCallLookupFailed: {1506 readonly task: ITuple<[u32, u32]>;1507 readonly id: Option<U8aFixed>;1508 readonly error: FrameSupportScheduleLookupError;1509 } & Struct;1510 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1511 }15121513 /** @name FrameSupportScheduleLookupError (91) */1514 interface FrameSupportScheduleLookupError extends Enum {1515 readonly isUnknown: boolean;1516 readonly isBadFormat: boolean;1517 readonly type: 'Unknown' | 'BadFormat';1518 }15191520 /** @name PalletCommonEvent (92) */1521 interface PalletCommonEvent extends Enum {1522 readonly isCollectionCreated: boolean;1523 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1524 readonly isCollectionDestroyed: boolean;1525 readonly asCollectionDestroyed: u32;1526 readonly isItemCreated: boolean;1527 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1528 readonly isItemDestroyed: boolean;1529 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1530 readonly isTransfer: boolean;1531 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1532 readonly isApproved: boolean;1533 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1534 readonly isCollectionPropertySet: boolean;1535 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1536 readonly isCollectionPropertyDeleted: boolean;1537 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1538 readonly isTokenPropertySet: boolean;1539 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1540 readonly isTokenPropertyDeleted: boolean;1541 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1542 readonly isPropertyPermissionSet: boolean;1543 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1544 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1545 }15461547 /** @name PalletStructureEvent (95) */1548 interface PalletStructureEvent extends Enum {1549 readonly isExecuted: boolean;1550 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1551 readonly type: 'Executed';1552 }15531554 /** @name PalletRmrkCoreEvent (96) */1555 interface PalletRmrkCoreEvent extends Enum {1556 readonly isCollectionCreated: boolean;1557 readonly asCollectionCreated: {1558 readonly issuer: AccountId32;1559 readonly collectionId: u32;1560 } & Struct;1561 readonly isCollectionDestroyed: boolean;1562 readonly asCollectionDestroyed: {1563 readonly issuer: AccountId32;1564 readonly collectionId: u32;1565 readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;1566 } & Struct;1567 readonly isIssuerChanged: boolean;1568 readonly asIssuerChanged: {1569 readonly oldIssuer: AccountId32;1570 readonly newIssuer: AccountId32;1571 readonly collectionId: u32;1572 } & Struct;1573 readonly isCollectionLocked: boolean;1574 readonly asCollectionLocked: {1575 readonly issuer: AccountId32;1576 readonly collectionId: u32;1577 } & Struct;1578 readonly isNftMinted: boolean;1579 readonly asNftMinted: {1580 readonly owner: AccountId32;1581 readonly collectionId: u32;1582 readonly nftId: u32;1583 } & Struct;1584 readonly isNftBurned: boolean;1585 readonly asNftBurned: {1586 readonly owner: AccountId32;1587 readonly nftId: u32;1588 } & Struct;1589 readonly isNftSent: boolean;1590 readonly asNftSent: {1591 readonly sender: AccountId32;1592 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1593 readonly collectionId: u32;1594 readonly nftId: u32;1595 readonly approvalRequired: bool;1596 } & Struct;1597 readonly isNftAccepted: boolean;1598 readonly asNftAccepted: {1599 readonly sender: AccountId32;1600 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1601 readonly collectionId: u32;1602 readonly nftId: u32;1603 } & Struct;1604 readonly isNftRejected: boolean;1605 readonly asNftRejected: {1606 readonly sender: AccountId32;1607 readonly collectionId: u32;1608 readonly nftId: u32;1609 } & Struct;1610 readonly isPropertySet: boolean;1611 readonly asPropertySet: {1612 readonly collectionId: u32;1613 readonly maybeNftId: Option<u32>;1614 readonly key: Bytes;1615 readonly value: Bytes;1616 } & Struct;1617 readonly isResourceAdded: boolean;1618 readonly asResourceAdded: {1619 readonly nftId: u32;1620 readonly resourceId: u32;1621 } & Struct;1622 readonly isResourceRemoval: boolean;1623 readonly asResourceRemoval: {1624 readonly nftId: u32;1625 readonly resourceId: u32;1626 } & Struct;1627 readonly isResourceAccepted: boolean;1628 readonly asResourceAccepted: {1629 readonly nftId: u32;1630 readonly resourceId: u32;1631 } & Struct;1632 readonly isResourceRemovalAccepted: boolean;1633 readonly asResourceRemovalAccepted: {1634 readonly nftId: u32;1635 readonly resourceId: u32;1636 } & Struct;1637 readonly isPrioritySet: boolean;1638 readonly asPrioritySet: {1639 readonly collectionId: u32;1640 readonly nftId: u32;1641 } & Struct;1642 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1643 }16441645<<<<<<< HEAD1646 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1647 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1648 readonly isAccountId: boolean;1649 readonly asAccountId: AccountId32;1650 readonly isCollectionAndNftTuple: boolean;1651 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1652 readonly type: 'AccountId' | 'CollectionAndNftTuple';1653 }16541655 /** @name PalletRmrkEquipEvent (102) */1656 interface PalletRmrkEquipEvent extends Enum {1657 readonly isBaseCreated: boolean;1658 readonly asBaseCreated: {1659 readonly issuer: AccountId32;1660 readonly baseId: u32;1661 } & Struct;1662 readonly isEquippablesUpdated: boolean;1663 readonly asEquippablesUpdated: {1664 readonly baseId: u32;1665 readonly slotId: u32;1666 } & Struct;1667 readonly type: 'BaseCreated' | 'EquippablesUpdated';1668 }16691670 /** @name PalletEvmEvent (103) */1671 interface PalletEvmEvent extends Enum {1672 readonly isLog: boolean;1673 readonly asLog: EthereumLog;1674 readonly isCreated: boolean;1675 readonly asCreated: H160;1676 readonly isCreatedFailed: boolean;1677 readonly asCreatedFailed: H160;1678 readonly isExecuted: boolean;1679 readonly asExecuted: H160;1680 readonly isExecutedFailed: boolean;1681 readonly asExecutedFailed: H160;1682 readonly isBalanceDeposit: boolean;1683 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1684 readonly isBalanceWithdraw: boolean;1685 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1686 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1687 }16881689 /** @name EthereumLog (104) */1690 interface EthereumLog extends Struct {1691 readonly address: H160;1692 readonly topics: Vec<H256>;1693 readonly data: Bytes;1694 }16951696 /** @name PalletEthereumEvent (108) */1697 interface PalletEthereumEvent extends Enum {1698 readonly isExecuted: boolean;1699 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1700 readonly type: 'Executed';1701 }17021703 /** @name EvmCoreErrorExitReason (109) */1704 interface EvmCoreErrorExitReason extends Enum {1705 readonly isSucceed: boolean;1706 readonly asSucceed: EvmCoreErrorExitSucceed;1707 readonly isError: boolean;1708 readonly asError: EvmCoreErrorExitError;1709 readonly isRevert: boolean;1710 readonly asRevert: EvmCoreErrorExitRevert;1711 readonly isFatal: boolean;1712 readonly asFatal: EvmCoreErrorExitFatal;1713 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1714 }17151716 /** @name EvmCoreErrorExitSucceed (110) */1717 interface EvmCoreErrorExitSucceed extends Enum {1718 readonly isStopped: boolean;1719 readonly isReturned: boolean;1720 readonly isSuicided: boolean;1721 readonly type: 'Stopped' | 'Returned' | 'Suicided';1722 }17231724 /** @name EvmCoreErrorExitError (111) */1725 interface EvmCoreErrorExitError extends Enum {1726 readonly isStackUnderflow: boolean;1727 readonly isStackOverflow: boolean;1728 readonly isInvalidJump: boolean;1729 readonly isInvalidRange: boolean;1730 readonly isDesignatedInvalid: boolean;1731 readonly isCallTooDeep: boolean;1732 readonly isCreateCollision: boolean;1733 readonly isCreateContractLimit: boolean;1734 readonly isOutOfOffset: boolean;1735 readonly isOutOfGas: boolean;1736 readonly isOutOfFund: boolean;1737 readonly isPcUnderflow: boolean;1738 readonly isCreateEmpty: boolean;1739 readonly isOther: boolean;1740 readonly asOther: Text;1741 readonly isInvalidCode: boolean;1742 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1743 }17441745 /** @name EvmCoreErrorExitRevert (114) */1746 interface EvmCoreErrorExitRevert extends Enum {1747 readonly isReverted: boolean;1748 readonly type: 'Reverted';1749 }17501751 /** @name EvmCoreErrorExitFatal (115) */1752 interface EvmCoreErrorExitFatal extends Enum {1753 readonly isNotSupported: boolean;1754 readonly isUnhandledInterrupt: boolean;1755 readonly isCallErrorAsFatal: boolean;1756 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1757 readonly isOther: boolean;1758 readonly asOther: Text;1759 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1760 }17611762 /** @name FrameSystemPhase (116) */1763 interface FrameSystemPhase extends Enum {1764 readonly isApplyExtrinsic: boolean;1765 readonly asApplyExtrinsic: u32;1766 readonly isFinalization: boolean;1767 readonly isInitialization: boolean;1768 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1769 }17701771 /** @name FrameSystemLastRuntimeUpgradeInfo (118) */1772 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1773 readonly specVersion: Compact<u32>;1774 readonly specName: Text;1775 }17761777 /** @name FrameSystemCall (119) */1778 interface FrameSystemCall extends Enum {1779 readonly isFillBlock: boolean;1780 readonly asFillBlock: {1781 readonly ratio: Perbill;1782 } & Struct;1783 readonly isRemark: boolean;1784 readonly asRemark: {1785 readonly remark: Bytes;1786 } & Struct;1787 readonly isSetHeapPages: boolean;1788 readonly asSetHeapPages: {1789 readonly pages: u64;1790 } & Struct;1791 readonly isSetCode: boolean;1792 readonly asSetCode: {1793 readonly code: Bytes;1794 } & Struct;1795 readonly isSetCodeWithoutChecks: boolean;1796 readonly asSetCodeWithoutChecks: {1797 readonly code: Bytes;1798 } & Struct;1799 readonly isSetStorage: boolean;1800 readonly asSetStorage: {1801 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1802 } & Struct;1803 readonly isKillStorage: boolean;1804 readonly asKillStorage: {1805 readonly keys_: Vec<Bytes>;1806 } & Struct;1807 readonly isKillPrefix: boolean;1808 readonly asKillPrefix: {1809 readonly prefix: Bytes;1810 readonly subkeys: u32;1811 } & Struct;1812 readonly isRemarkWithEvent: boolean;1813 readonly asRemarkWithEvent: {1814 readonly remark: Bytes;1815 } & Struct;1816 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1817 }18181819 /** @name FrameSystemLimitsBlockWeights (124) */1820 interface FrameSystemLimitsBlockWeights extends Struct {1821 readonly baseBlock: u64;1822 readonly maxBlock: u64;1823 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1824 }18251826 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */1827 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1828 readonly normal: FrameSystemLimitsWeightsPerClass;1829 readonly operational: FrameSystemLimitsWeightsPerClass;1830 readonly mandatory: FrameSystemLimitsWeightsPerClass;1831 }18321833 /** @name UpDataStructsCollectionMode (155) */1834 export interface UpDataStructsCollectionMode extends Enum {1835 readonly isNft: boolean;1836 readonly isFungible: boolean;1837 readonly asFungible: u8;1838 readonly isReFungible: boolean;1839 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1840 }18411842 /** @name UpDataStructsCreateCollectionData (156) */1843 export interface UpDataStructsCreateCollectionData extends Struct {1844 readonly mode: UpDataStructsCollectionMode;1845 readonly access: Option<UpDataStructsAccessMode>;1846 readonly name: Vec<u16>;1847 readonly description: Vec<u16>;1848 readonly tokenPrefix: Bytes;1849 readonly pendingSponsor: Option<AccountId32>;1850 readonly limits: Option<UpDataStructsCollectionLimits>;1851 readonly permissions: Option<UpDataStructsCollectionPermissions>;1852 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1853 readonly properties: Vec<UpDataStructsProperty>;1854 }18551856 /** @name UpDataStructsAccessMode (158) */1857 export interface UpDataStructsAccessMode extends Enum {1858 readonly isNormal: boolean;1859 readonly isAllowList: boolean;1860 readonly type: 'Normal' | 'AllowList';1861 }18621863 /** @name UpDataStructsCollectionLimits (161) */1864 export interface UpDataStructsCollectionLimits extends Struct {1865 readonly accountTokenOwnershipLimit: Option<u32>;1866 readonly sponsoredDataSize: Option<u32>;1867 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1868 readonly tokenLimit: Option<u32>;1869 readonly sponsorTransferTimeout: Option<u32>;1870 readonly sponsorApproveTimeout: Option<u32>;1871 readonly ownerCanTransfer: Option<bool>;1872 readonly ownerCanDestroy: Option<bool>;1873 readonly transfersEnabled: Option<bool>;1874 }18751876 /** @name UpDataStructsSponsoringRateLimit (163) */1877 export interface UpDataStructsSponsoringRateLimit extends Enum {1878 readonly isSponsoringDisabled: boolean;1879 readonly isBlocks: boolean;1880 readonly asBlocks: u32;1881 readonly type: 'SponsoringDisabled' | 'Blocks';1882 }18831884 /** @name UpDataStructsCollectionPermissions (166) */1885 export interface UpDataStructsCollectionPermissions extends Struct {1886 readonly access: Option<UpDataStructsAccessMode>;1887 readonly mintMode: Option<bool>;1888 readonly nesting: Option<UpDataStructsNestingPermissions>;1889 }18901891 /** @name UpDataStructsNestingPermissions (168) */1892 export interface UpDataStructsNestingPermissions extends Struct {1893 readonly tokenOwner: bool;1894 readonly collectionAdmin: bool;1895 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;1896 }18971898 /** @name UpDataStructsOwnerRestrictedSet (170) */1899 export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}19001901 /** @name UpDataStructsPropertyKeyPermission (176) */1902 export interface UpDataStructsPropertyKeyPermission extends Struct {1903 readonly key: Bytes;1904 readonly permission: UpDataStructsPropertyPermission;1905 }19061907 /** @name UpDataStructsPropertyPermission (178) */1908 export interface UpDataStructsPropertyPermission extends Struct {1909 readonly mutable: bool;1910 readonly collectionAdmin: bool;1911 readonly tokenOwner: bool;1912 }19131914 /** @name UpDataStructsProperty (181) */1915 export interface UpDataStructsProperty extends Struct {1916 readonly key: Bytes;1917 readonly value: Bytes;1918 }19191920 /** @name PalletEvmAccountBasicCrossAccountIdRepr (184) */1921 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1922 readonly isSubstrate: boolean;1923 readonly asSubstrate: AccountId32;1924 readonly isEthereum: boolean;1925 readonly asEthereum: H160;1926 readonly type: 'Substrate' | 'Ethereum';1927 }19281929 /** @name UpDataStructsCreateItemData (186) */1930 export interface UpDataStructsCreateItemData extends Enum {1931 readonly isNft: boolean;1932 readonly asNft: UpDataStructsCreateNftData;1933 readonly isFungible: boolean;1934 readonly asFungible: UpDataStructsCreateFungibleData;1935 readonly isReFungible: boolean;1936 readonly asReFungible: UpDataStructsCreateReFungibleData;1937 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1938 }19391940 /** @name UpDataStructsCreateNftData (187) */1941 export interface UpDataStructsCreateNftData extends Struct {1942 readonly properties: Vec<UpDataStructsProperty>;1943 }19441945 /** @name UpDataStructsCreateFungibleData (188) */1946 export interface UpDataStructsCreateFungibleData extends Struct {1947 readonly value: u128;1948 }19491950 /** @name UpDataStructsCreateReFungibleData (189) */1951 export interface UpDataStructsCreateReFungibleData extends Struct {1952 readonly pieces: u128;1953 readonly properties: Vec<UpDataStructsProperty>;1954>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1955 }19561957 /** @name FrameSystemLimitsBlockLength (128) */1958 interface FrameSystemLimitsBlockLength extends Struct {1959 readonly max: FrameSupportWeightsPerDispatchClassU32;1960 }19611962 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1963 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1964 readonly normal: u32;1965 readonly operational: u32;1966 readonly mandatory: u32;1967 }19681969 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1970 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1971 readonly read: u64;1972 readonly write: u64;1973 }19741975 /** @name SpVersionRuntimeVersion (131) */1976 interface SpVersionRuntimeVersion extends Struct {1977 readonly specName: Text;1978 readonly implName: Text;1979 readonly authoringVersion: u32;1980 readonly specVersion: u32;1981 readonly implVersion: u32;1982 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1983 readonly transactionVersion: u32;1984 readonly stateVersion: u8;1985 }19861987<<<<<<< HEAD1988 /** @name FrameSystemError (136) */1989 interface FrameSystemError extends Enum {1990 readonly isInvalidSpecName: boolean;1991 readonly isSpecVersionNeedsToIncrease: boolean;1992 readonly isFailedToExtractRuntimeVersion: boolean;1993 readonly isNonDefaultComposite: boolean;1994 readonly isNonZeroRefCount: boolean;1995 readonly isCallFiltered: boolean;1996 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1997 }19981999 /** @name UpDataStructsCreateItemExData (192) */2000 export interface UpDataStructsCreateItemExData extends Enum {2001 readonly isNft: boolean;2002 readonly asNft: Vec<UpDataStructsCreateNftExData>;2003 readonly isFungible: boolean;2004 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2005 readonly isRefungibleMultipleItems: boolean;2006 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2007 readonly isRefungibleMultipleOwners: boolean;2008 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2009 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2010 }20112012 /** @name UpDataStructsCreateNftExData (194) */2013 export interface UpDataStructsCreateNftExData extends Struct {2014 readonly properties: Vec<UpDataStructsProperty>;2015 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2016 }20172018 /** @name UpDataStructsCreateRefungibleExSingleOwner (201) */2019 export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2020 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2021 readonly pieces: u128;2022 readonly properties: Vec<UpDataStructsProperty>;2023 }20242025 /** @name UpDataStructsCreateRefungibleExMultipleOwners (203) */2026 export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2027 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2028 readonly properties: Vec<UpDataStructsProperty>;2029 }20302031 /** @name PalletUniqueSchedulerCall (205) */2032 export interface PalletUniqueSchedulerCall extends Enum {2033 readonly isScheduleNamed: boolean;2034 readonly asScheduleNamed: {2035 readonly id: U8aFixed;2036 readonly when: u32;2037 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2038 readonly priority: u8;2039 readonly call: FrameSupportScheduleMaybeHashed;2040 } & Struct;2041 readonly isCancelNamed: boolean;2042 readonly asCancelNamed: {2043 readonly id: U8aFixed;2044 } & Struct;2045 readonly isScheduleNamedAfter: boolean;2046 readonly asScheduleNamedAfter: {2047 readonly id: U8aFixed;2048 readonly after: u32;2049 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2050 readonly priority: u8;2051 readonly call: FrameSupportScheduleMaybeHashed;2052 } & Struct;2053 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2054 }20552056 /** @name FrameSupportScheduleMaybeHashed (207) */2057 export interface FrameSupportScheduleMaybeHashed extends Enum {2058 readonly isValue: boolean;2059 readonly asValue: Call;2060 readonly isHash: boolean;2061 readonly asHash: H256;2062 readonly type: 'Value' | 'Hash';2063 }20642065 /** @name PalletTemplateTransactionPaymentCall (208) */2066 export type PalletTemplateTransactionPaymentCall = Null;20672068 /** @name PalletStructureCall (209) */2069 export type PalletStructureCall = Null;20702071 /** @name PalletRmrkCoreCall (210) */2072 export interface PalletRmrkCoreCall extends Enum {2073 readonly isCreateCollection: boolean;2074 readonly asCreateCollection: {2075 readonly metadata: Bytes;2076 readonly max: Option<u32>;2077 readonly symbol: Bytes;2078 } & Struct;2079 readonly isDestroyCollection: boolean;2080 readonly asDestroyCollection: {2081 readonly collectionId: u32;2082 } & Struct;2083 readonly isChangeCollectionIssuer: boolean;2084 readonly asChangeCollectionIssuer: {2085 readonly collectionId: u32;2086 readonly newIssuer: MultiAddress;2087 } & Struct;2088 readonly isLockCollection: boolean;2089 readonly asLockCollection: {2090 readonly collectionId: u32;2091 } & Struct;2092 readonly isMintNft: boolean;2093 readonly asMintNft: {2094 readonly owner: Option<AccountId32>;2095 readonly collectionId: u32;2096 readonly recipient: Option<AccountId32>;2097 readonly royaltyAmount: Option<Permill>;2098 readonly metadata: Bytes;2099 readonly transferable: bool;2100 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2101 } & Struct;2102 readonly isBurnNft: boolean;2103 readonly asBurnNft: {2104 readonly collectionId: u32;2105 readonly nftId: u32;2106 readonly maxBurns: u32;2107 } & Struct;2108 readonly isSend: boolean;2109 readonly asSend: {2110 readonly rmrkCollectionId: u32;2111 readonly rmrkNftId: u32;2112 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2113 } & Struct;2114 readonly isAcceptNft: boolean;2115 readonly asAcceptNft: {2116 readonly rmrkCollectionId: u32;2117 readonly rmrkNftId: u32;2118 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2119 } & Struct;2120 readonly isRejectNft: boolean;2121 readonly asRejectNft: {2122 readonly rmrkCollectionId: u32;2123 readonly rmrkNftId: u32;2124 } & Struct;2125 readonly isAcceptResource: boolean;2126 readonly asAcceptResource: {2127 readonly rmrkCollectionId: u32;2128 readonly rmrkNftId: u32;2129 readonly resourceId: u32;2130 } & Struct;2131 readonly isAcceptResourceRemoval: boolean;2132 readonly asAcceptResourceRemoval: {2133 readonly rmrkCollectionId: u32;2134 readonly rmrkNftId: u32;2135 readonly resourceId: u32;2136 } & Struct;2137 readonly isSetProperty: boolean;2138 readonly asSetProperty: {2139 readonly rmrkCollectionId: Compact<u32>;2140 readonly maybeNftId: Option<u32>;2141 readonly key: Bytes;2142 readonly value: Bytes;2143 } & Struct;2144 readonly isSetPriority: boolean;2145 readonly asSetPriority: {2146 readonly rmrkCollectionId: u32;2147 readonly rmrkNftId: u32;2148 readonly priorities: Vec<u32>;2149 } & Struct;2150 readonly isAddBasicResource: boolean;2151 readonly asAddBasicResource: {2152 readonly rmrkCollectionId: u32;2153 readonly nftId: u32;2154 readonly resource: RmrkTraitsResourceBasicResource;2155 } & Struct;2156 readonly isAddComposableResource: boolean;2157 readonly asAddComposableResource: {2158 readonly rmrkCollectionId: u32;2159 readonly nftId: u32;2160 readonly resource: RmrkTraitsResourceComposableResource;2161 } & Struct;2162 readonly isAddSlotResource: boolean;2163 readonly asAddSlotResource: {2164 readonly rmrkCollectionId: u32;2165 readonly nftId: u32;2166 readonly resource: RmrkTraitsResourceSlotResource;2167 } & Struct;2168 readonly isRemoveResource: boolean;2169 readonly asRemoveResource: {2170 readonly rmrkCollectionId: u32;2171 readonly nftId: u32;2172 readonly resourceId: u32;2173 } & Struct;2174 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2175 }21762177 /** @name RmrkTraitsResourceResourceTypes (216) */2178 export interface RmrkTraitsResourceResourceTypes extends Enum {2179 readonly isBasic: boolean;2180 readonly asBasic: RmrkTraitsResourceBasicResource;2181 readonly isComposable: boolean;2182 readonly asComposable: RmrkTraitsResourceComposableResource;2183 readonly isSlot: boolean;2184 readonly asSlot: RmrkTraitsResourceSlotResource;2185 readonly type: 'Basic' | 'Composable' | 'Slot';2186 }21872188 /** @name RmrkTraitsResourceBasicResource (218) */2189 export interface RmrkTraitsResourceBasicResource extends Struct {2190 readonly src: Option<Bytes>;2191 readonly metadata: Option<Bytes>;2192 readonly license: Option<Bytes>;2193 readonly thumb: Option<Bytes>;2194 }21952196 /** @name RmrkTraitsResourceComposableResource (220) */2197 export interface RmrkTraitsResourceComposableResource extends Struct {2198 readonly parts: Vec<u32>;2199 readonly base: u32;2200 readonly src: Option<Bytes>;2201 readonly metadata: Option<Bytes>;2202 readonly license: Option<Bytes>;2203 readonly thumb: Option<Bytes>;2204 }22052206 /** @name RmrkTraitsResourceSlotResource (221) */2207 export interface RmrkTraitsResourceSlotResource extends Struct {2208 readonly base: u32;2209 readonly src: Option<Bytes>;2210 readonly metadata: Option<Bytes>;2211 readonly slot: u32;2212 readonly license: Option<Bytes>;2213 readonly thumb: Option<Bytes>;2214 }22152216 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (223) */2217 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2218 readonly isAccountId: boolean;2219 readonly asAccountId: AccountId32;2220 readonly isCollectionAndNftTuple: boolean;2221 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2222 readonly type: 'AccountId' | 'CollectionAndNftTuple';2223 }22242225 /** @name PalletRmrkEquipCall (227) */2226 export interface PalletRmrkEquipCall extends Enum {2227 readonly isCreateBase: boolean;2228 readonly asCreateBase: {2229 readonly baseType: Bytes;2230 readonly symbol: Bytes;2231 readonly parts: Vec<RmrkTraitsPartPartType>;2232 } & Struct;2233 readonly isThemeAdd: boolean;2234 readonly asThemeAdd: {2235 readonly baseId: u32;2236 readonly theme: RmrkTraitsTheme;2237 } & Struct;2238 readonly isEquippable: boolean;2239 readonly asEquippable: {2240 readonly baseId: u32;2241 readonly slotId: u32;2242 readonly equippables: RmrkTraitsPartEquippableList;2243 } & Struct;2244 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2245 }22462247 /** @name RmrkTraitsPartPartType (230) */2248 export interface RmrkTraitsPartPartType extends Enum {2249 readonly isFixedPart: boolean;2250 readonly asFixedPart: RmrkTraitsPartFixedPart;2251 readonly isSlotPart: boolean;2252 readonly asSlotPart: RmrkTraitsPartSlotPart;2253 readonly type: 'FixedPart' | 'SlotPart';2254 }22552256 /** @name RmrkTraitsPartFixedPart (232) */2257 export interface RmrkTraitsPartFixedPart extends Struct {2258 readonly id: u32;2259 readonly z: u32;2260 readonly src: Bytes;2261 }22622263 /** @name RmrkTraitsPartSlotPart (233) */2264 export interface RmrkTraitsPartSlotPart extends Struct {2265 readonly id: u32;2266 readonly equippable: RmrkTraitsPartEquippableList;2267 readonly src: Bytes;2268 readonly z: u32;2269 }22702271 /** @name RmrkTraitsPartEquippableList (234) */2272 export interface RmrkTraitsPartEquippableList extends Enum {2273 readonly isAll: boolean;2274 readonly type: 'Fee' | 'Misc' | 'All';2275 }22762277 /** @name RmrkTraitsTheme (236) */2278 export interface RmrkTraitsTheme extends Struct {2279 readonly name: Bytes;2280 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2281 readonly inherit: bool;2282 }22832284 /** @name RmrkTraitsThemeThemeProperty (238) */2285 export interface RmrkTraitsThemeThemeProperty extends Struct {2286 readonly key: Bytes;2287 readonly value: Bytes;2288 }22892290 /** @name PalletEvmCall (240) */2291 export interface PalletEvmCall extends Enum {2292 readonly isWithdraw: boolean;2293 readonly asWithdraw: {2294 readonly address: H160;2295 readonly value: u128;2296>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2297 } & Struct;2298 readonly isSetBalance: boolean;2299 readonly asSetBalance: {2300 readonly who: MultiAddress;2301 readonly newFree: Compact<u128>;2302 readonly newReserved: Compact<u128>;2303 } & Struct;2304 readonly isForceTransfer: boolean;2305 readonly asForceTransfer: {2306 readonly source: MultiAddress;2307 readonly dest: MultiAddress;2308 readonly value: Compact<u128>;2309 } & Struct;2310 readonly isTransferKeepAlive: boolean;2311 readonly asTransferKeepAlive: {2312 readonly dest: MultiAddress;2313 readonly value: Compact<u128>;2314 } & Struct;2315<<<<<<< HEAD2316 readonly isTransferAll: boolean;2317 readonly asTransferAll: {2318 readonly dest: MultiAddress;2319 readonly keepAlive: bool;2320=======2321 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2322 }23232324 /** @name PalletEthereumCall (246) */2325 export interface PalletEthereumCall extends Enum {2326 readonly isTransact: boolean;2327 readonly asTransact: {2328 readonly transaction: EthereumTransactionTransactionV2;2329>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2330 } & Struct;2331 readonly isForceUnreserve: boolean;2332 readonly asForceUnreserve: {2333 readonly who: MultiAddress;2334 readonly amount: u128;2335 } & Struct;2336 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2337 }23382339 /** @name EthereumTransactionTransactionV2 (247) */2340 export interface EthereumTransactionTransactionV2 extends Enum {2341 readonly isLegacy: boolean;2342 readonly asLegacy: EthereumTransactionLegacyTransaction;2343 readonly isEip2930: boolean;2344 readonly asEip2930: EthereumTransactionEip2930Transaction;2345 readonly isEip1559: boolean;2346 readonly asEip1559: EthereumTransactionEip1559Transaction;2347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2348 }23492350 /** @name EthereumTransactionLegacyTransaction (248) */2351 export interface EthereumTransactionLegacyTransaction extends Struct {2352 readonly nonce: U256;2353 readonly gasPrice: U256;2354 readonly gasLimit: U256;2355 readonly action: EthereumTransactionTransactionAction;2356 readonly value: U256;2357 readonly input: Bytes;2358 readonly signature: EthereumTransactionTransactionSignature;2359 }23602361 /** @name EthereumTransactionTransactionAction (249) */2362 export interface EthereumTransactionTransactionAction extends Enum {2363 readonly isCall: boolean;2364 readonly asCall: H160;2365 readonly isCreate: boolean;2366 readonly type: 'Call' | 'Create';2367 }23682369 /** @name EthereumTransactionTransactionSignature (250) */2370 export interface EthereumTransactionTransactionSignature extends Struct {2371 readonly v: u64;2372 readonly r: H256;2373 readonly s: H256;2374 }23752376 /** @name EthereumTransactionEip2930Transaction (252) */2377 export interface EthereumTransactionEip2930Transaction extends Struct {2378 readonly chainId: u64;2379 readonly nonce: U256;2380 readonly gasPrice: U256;2381 readonly gasLimit: U256;2382 readonly action: EthereumTransactionTransactionAction;2383 readonly value: U256;2384 readonly input: Bytes;2385 readonly accessList: Vec<EthereumTransactionAccessListItem>;2386 readonly oddYParity: bool;2387 readonly r: H256;2388 readonly s: H256;2389 }23902391 /** @name EthereumTransactionAccessListItem (254) */2392 export interface EthereumTransactionAccessListItem extends Struct {2393 readonly address: H160;2394 readonly storageKeys: Vec<H256>;2395 }23962397 /** @name EthereumTransactionEip1559Transaction (255) */2398 export interface EthereumTransactionEip1559Transaction extends Struct {2399 readonly chainId: u64;2400 readonly nonce: U256;2401 readonly maxPriorityFeePerGas: U256;2402 readonly maxFeePerGas: U256;2403 readonly gasLimit: U256;2404 readonly action: EthereumTransactionTransactionAction;2405 readonly value: U256;2406 readonly input: Bytes;2407 readonly accessList: Vec<EthereumTransactionAccessListItem>;2408 readonly oddYParity: bool;2409 readonly r: H256;2410 readonly s: H256;2411 }24122413 /** @name PalletEvmMigrationCall (256) */2414 export interface PalletEvmMigrationCall extends Enum {2415 readonly isBegin: boolean;2416 readonly asBegin: {2417 readonly address: H160;2418>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2419 } & Struct;2420 readonly isSudoUncheckedWeight: boolean;2421 readonly asSudoUncheckedWeight: {2422 readonly call: Call;2423 readonly weight: u64;2424 } & Struct;2425 readonly isSetKey: boolean;2426 readonly asSetKey: {2427 readonly new_: MultiAddress;2428 } & Struct;2429 readonly isSudoAs: boolean;2430 readonly asSudoAs: {2431 readonly who: MultiAddress;2432 readonly call: Call;2433 } & Struct;2434 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2435 }24362437 /** @name PalletSudoEvent (259) */2438 export interface PalletSudoEvent extends Enum {2439 readonly isSudid: boolean;2440 readonly asSudid: {2441 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2442 } & Struct;2443 readonly isKeyChanged: boolean;2444 readonly asKeyChanged: {2445 readonly oldSudoer: Option<AccountId32>;2446 } & Struct;2447 readonly isSudoAsDone: boolean;2448 readonly asSudoAsDone: {2449 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2450 } & Struct;2451 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2452 }24532454 /** @name SpRuntimeDispatchError (261) */2455 export interface SpRuntimeDispatchError extends Enum {2456 readonly isOther: boolean;2457 readonly isCannotLookup: boolean;2458 readonly isBadOrigin: boolean;2459 readonly isModule: boolean;2460 readonly asModule: SpRuntimeModuleError;2461 readonly isConsumerRemaining: boolean;2462 readonly isNoProviders: boolean;2463 readonly isTooManyConsumers: boolean;2464 readonly isToken: boolean;2465 readonly asToken: SpRuntimeTokenError;2466 readonly isArithmetic: boolean;2467 readonly asArithmetic: SpRuntimeArithmeticError;2468 readonly isTransactional: boolean;2469 readonly asTransactional: SpRuntimeTransactionalError;2470 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2471 }24722473 /** @name SpRuntimeModuleError (262) */2474 export interface SpRuntimeModuleError extends Struct {2475 readonly index: u8;2476 readonly error: U8aFixed;2477 }24782479 /** @name SpRuntimeTokenError (263) */2480 export interface SpRuntimeTokenError extends Enum {2481 readonly isNoFunds: boolean;2482 readonly isWouldDie: boolean;2483 readonly isBelowMinimum: boolean;2484 readonly isCannotCreate: boolean;2485 readonly isUnknownAsset: boolean;2486 readonly isFrozen: boolean;2487 readonly isUnsupported: boolean;2488 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2489 }24902491 /** @name SpRuntimeArithmeticError (264) */2492 export interface SpRuntimeArithmeticError extends Enum {2493 readonly isUnderflow: boolean;2494 readonly isOverflow: boolean;2495 readonly isDivisionByZero: boolean;2496 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2497 }24982499 /** @name SpRuntimeTransactionalError (265) */2500 export interface SpRuntimeTransactionalError extends Enum {2501 readonly isLimitReached: boolean;2502 readonly isNoLayer: boolean;2503 readonly type: 'LimitReached' | 'NoLayer';2504 }25052506 /** @name PalletSudoError (266) */2507 export interface PalletSudoError extends Enum {2508 readonly isRequireSudo: boolean;2509 readonly type: 'RequireSudo';2510 }25112512 /** @name FrameSystemAccountInfo (267) */2513 export interface FrameSystemAccountInfo extends Struct {2514 readonly nonce: u32;2515 readonly consumers: u32;2516 readonly providers: u32;2517 readonly sufficients: u32;2518 readonly data: PalletBalancesAccountData;2519 }25202521 /** @name FrameSupportWeightsPerDispatchClassU64 (268) */2522 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2523 readonly normal: u64;2524 readonly operational: u64;2525 readonly mandatory: u64;2526 }25272528 /** @name SpRuntimeDigest (269) */2529 export interface SpRuntimeDigest extends Struct {2530 readonly logs: Vec<SpRuntimeDigestDigestItem>;2531 }25322533 /** @name SpRuntimeDigestDigestItem (271) */2534 export interface SpRuntimeDigestDigestItem extends Enum {2535 readonly isOther: boolean;2536 readonly asOther: Bytes;2537 readonly isConsensus: boolean;2538 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2539 readonly isSeal: boolean;2540 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2541 readonly isPreRuntime: boolean;2542 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2543 readonly isRuntimeEnvironmentUpdated: boolean;2544 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2545 }25462547 /** @name FrameSystemEventRecord (273) */2548 export interface FrameSystemEventRecord extends Struct {2549 readonly phase: FrameSystemPhase;2550 readonly event: Event;2551 readonly topics: Vec<H256>;2552 }25532554 /** @name FrameSystemEvent (275) */2555 export interface FrameSystemEvent extends Enum {2556 readonly isExtrinsicSuccess: boolean;2557 readonly asExtrinsicSuccess: {2558 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2559 } & Struct;2560 readonly isExtrinsicFailed: boolean;2561 readonly asExtrinsicFailed: {2562 readonly dispatchError: SpRuntimeDispatchError;2563 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2564 } & Struct;2565 readonly isCodeUpdated: boolean;2566 readonly isNewAccount: boolean;2567 readonly asNewAccount: {2568 readonly account: AccountId32;2569 } & Struct;2570 readonly isKilledAccount: boolean;2571 readonly asKilledAccount: {2572 readonly account: AccountId32;2573 } & Struct;2574 readonly isRemarked: boolean;2575 readonly asRemarked: {2576 readonly sender: AccountId32;2577 readonly hash_: H256;2578 } & Struct;2579 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2580 }25812582 /** @name FrameSupportWeightsDispatchInfo (276) */2583 export interface FrameSupportWeightsDispatchInfo extends Struct {2584 readonly weight: u64;2585 readonly class: FrameSupportWeightsDispatchClass;2586 readonly paysFee: FrameSupportWeightsPays;2587 }25882589 /** @name FrameSupportWeightsDispatchClass (277) */2590 export interface FrameSupportWeightsDispatchClass extends Enum {2591 readonly isNormal: boolean;2592 readonly isOperational: boolean;2593 readonly isMandatory: boolean;2594 readonly type: 'Normal' | 'Operational' | 'Mandatory';2595 }25962597 /** @name FrameSupportWeightsPays (278) */2598 export interface FrameSupportWeightsPays extends Enum {2599 readonly isYes: boolean;2600 readonly isNo: boolean;2601 readonly type: 'Yes' | 'No';2602 }26032604 /** @name OrmlVestingModuleEvent (279) */2605 export interface OrmlVestingModuleEvent extends Enum {2606 readonly isVestingScheduleAdded: boolean;2607 readonly asVestingScheduleAdded: {2608 readonly from: AccountId32;2609 readonly to: AccountId32;2610 readonly vestingSchedule: OrmlVestingVestingSchedule;2611 } & Struct;2612 readonly isClaimed: boolean;2613 readonly asClaimed: {2614 readonly who: AccountId32;2615 readonly amount: u128;2616 } & Struct;2617 readonly isVestingSchedulesUpdated: boolean;2618 readonly asVestingSchedulesUpdated: {2619 readonly who: AccountId32;2620 } & Struct;2621 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2622 }26232624 /** @name CumulusPalletXcmpQueueEvent (280) */2625 export interface CumulusPalletXcmpQueueEvent extends Enum {2626 readonly isSuccess: boolean;2627 readonly asSuccess: Option<H256>;2628 readonly isFail: boolean;2629 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2630 readonly isBadVersion: boolean;2631 readonly asBadVersion: Option<H256>;2632 readonly isBadFormat: boolean;2633 readonly asBadFormat: Option<H256>;2634 readonly isUpwardMessageSent: boolean;2635 readonly asUpwardMessageSent: Option<H256>;2636 readonly isXcmpMessageSent: boolean;2637 readonly asXcmpMessageSent: Option<H256>;2638 readonly isOverweightEnqueued: boolean;2639 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2640 readonly isOverweightServiced: boolean;2641 readonly asOverweightServiced: ITuple<[u64, u64]>;2642 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2643 }26442645 /** @name PalletXcmEvent (281) */2646 export interface PalletXcmEvent extends Enum {2647 readonly isAttempted: boolean;2648 readonly asAttempted: XcmV2TraitsOutcome;2649 readonly isSent: boolean;2650 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2651 readonly isUnexpectedResponse: boolean;2652 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2653 readonly isResponseReady: boolean;2654 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2655 readonly isNotified: boolean;2656 readonly asNotified: ITuple<[u64, u8, u8]>;2657 readonly isNotifyOverweight: boolean;2658 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2659 readonly isNotifyDispatchError: boolean;2660 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2661 readonly isNotifyDecodeFailed: boolean;2662 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2663 readonly isInvalidResponder: boolean;2664 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2665 readonly isInvalidResponderVersion: boolean;2666 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2667 readonly isResponseTaken: boolean;2668 readonly asResponseTaken: u64;2669 readonly isAssetsTrapped: boolean;2670 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2671 readonly isVersionChangeNotified: boolean;2672 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2673 readonly isSupportedVersionChanged: boolean;2674 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2675 readonly isNotifyTargetSendFail: boolean;2676 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2677 readonly isNotifyTargetMigrationFail: boolean;2678 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2679 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2680 }26812682 /** @name XcmV2TraitsOutcome (282) */2683 export interface XcmV2TraitsOutcome extends Enum {2684 readonly isComplete: boolean;2685 readonly asComplete: u64;2686 readonly isIncomplete: boolean;2687 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2688 readonly isError: boolean;2689 readonly asError: XcmV2TraitsError;2690 readonly type: 'Complete' | 'Incomplete' | 'Error';2691 }26922693 /** @name CumulusPalletXcmEvent (284) */2694 export interface CumulusPalletXcmEvent extends Enum {2695 readonly isInvalidFormat: boolean;2696 readonly asInvalidFormat: U8aFixed;2697 readonly isUnsupportedVersion: boolean;2698 readonly asUnsupportedVersion: U8aFixed;2699 readonly isExecutedDownward: boolean;2700 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2701 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2702 }27032704 /** @name CumulusPalletDmpQueueEvent (285) */2705 export interface CumulusPalletDmpQueueEvent extends Enum {2706 readonly isInvalidFormat: boolean;2707 readonly asInvalidFormat: {2708 readonly messageId: U8aFixed;2709 } & Struct;2710 readonly isUnsupportedVersion: boolean;2711 readonly asUnsupportedVersion: {2712 readonly messageId: U8aFixed;2713 } & Struct;2714 readonly isExecutedDownward: boolean;2715 readonly asExecutedDownward: {2716 readonly messageId: U8aFixed;2717 readonly outcome: XcmV2TraitsOutcome;2718 } & Struct;2719 readonly isWeightExhausted: boolean;2720 readonly asWeightExhausted: {2721 readonly messageId: U8aFixed;2722 readonly remainingWeight: u64;2723 readonly requiredWeight: u64;2724 } & Struct;2725 readonly isOverweightEnqueued: boolean;2726 readonly asOverweightEnqueued: {2727 readonly messageId: U8aFixed;2728 readonly overweightIndex: u64;2729 readonly requiredWeight: u64;2730 } & Struct;2731 readonly isOverweightServiced: boolean;2732 readonly asOverweightServiced: {2733 readonly overweightIndex: u64;2734 readonly weightUsed: u64;2735 } & Struct;2736 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2737 }27382739 /** @name PalletUniqueRawEvent (286) */2740 export interface PalletUniqueRawEvent extends Enum {2741 readonly isCollectionSponsorRemoved: boolean;2742 readonly asCollectionSponsorRemoved: u32;2743 readonly isCollectionAdminAdded: boolean;2744 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2745 readonly isCollectionOwnedChanged: boolean;2746 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2747 readonly isCollectionSponsorSet: boolean;2748 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2749 readonly isSponsorshipConfirmed: boolean;2750 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2751 readonly isCollectionAdminRemoved: boolean;2752 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2753 readonly isAllowListAddressRemoved: boolean;2754 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2755 readonly isAllowListAddressAdded: boolean;2756 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2757 readonly isCollectionLimitSet: boolean;2758 readonly asCollectionLimitSet: u32;2759 readonly isCollectionPermissionSet: boolean;2760 readonly asCollectionPermissionSet: u32;2761 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2762 }27632764 /** @name PalletUniqueSchedulerEvent (287) */2765 export interface PalletUniqueSchedulerEvent extends Enum {2766 readonly isScheduled: boolean;2767 readonly asScheduled: {2768 readonly when: u32;2769 readonly index: u32;2770 } & Struct;2771 readonly isCanceled: boolean;2772 readonly asCanceled: {2773 readonly when: u32;2774 readonly index: u32;2775 } & Struct;2776 readonly isDispatched: boolean;2777 readonly asDispatched: {2778 readonly task: ITuple<[u32, u32]>;2779 readonly id: Option<U8aFixed>;2780 readonly result: Result<Null, SpRuntimeDispatchError>;2781 } & Struct;2782 readonly isCallLookupFailed: boolean;2783 readonly asCallLookupFailed: {2784 readonly task: ITuple<[u32, u32]>;2785 readonly id: Option<U8aFixed>;2786 readonly error: FrameSupportScheduleLookupError;2787 } & Struct;2788 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2789 }27902791 /** @name FrameSupportScheduleLookupError (289) */2792 export interface FrameSupportScheduleLookupError extends Enum {2793 readonly isUnknown: boolean;2794 readonly isBadFormat: boolean;2795 readonly type: 'Unknown' | 'BadFormat';2796 }27972798 /** @name PalletCommonEvent (290) */2799 export interface PalletCommonEvent extends Enum {2800 readonly isCollectionCreated: boolean;2801 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2802 readonly isCollectionDestroyed: boolean;2803 readonly asCollectionDestroyed: u32;2804 readonly isItemCreated: boolean;2805 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2806 readonly isItemDestroyed: boolean;2807 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2808 readonly isTransfer: boolean;2809 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2810 readonly isApproved: boolean;2811 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2812 readonly isCollectionPropertySet: boolean;2813 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2814 readonly isCollectionPropertyDeleted: boolean;2815 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2816 readonly isTokenPropertySet: boolean;2817 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2818 readonly isTokenPropertyDeleted: boolean;2819 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2820 readonly isPropertyPermissionSet: boolean;2821 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2822 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2823 }28242825 /** @name PalletStructureEvent (291) */2826 export interface PalletStructureEvent extends Enum {2827 readonly isExecuted: boolean;2828 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2829 readonly type: 'Executed';2830 }28312832 /** @name PalletRmrkCoreEvent (292) */2833 export interface PalletRmrkCoreEvent extends Enum {2834 readonly isCollectionCreated: boolean;2835 readonly asCollectionCreated: {2836 readonly issuer: AccountId32;2837 readonly collectionId: u32;2838 } & Struct;2839 readonly isCollectionDestroyed: boolean;2840 readonly asCollectionDestroyed: {2841 readonly issuer: AccountId32;2842 readonly collectionId: u32;2843 } & Struct;2844 readonly isIssuerChanged: boolean;2845 readonly asIssuerChanged: {2846 readonly oldIssuer: AccountId32;2847 readonly newIssuer: AccountId32;2848 readonly collectionId: u32;2849 } & Struct;2850 readonly isCollectionLocked: boolean;2851 readonly asCollectionLocked: {2852 readonly issuer: AccountId32;2853 readonly collectionId: u32;2854 } & Struct;2855 readonly isNftMinted: boolean;2856 readonly asNftMinted: {2857 readonly owner: AccountId32;2858 readonly collectionId: u32;2859 readonly nftId: u32;2860 } & Struct;2861 readonly isNftBurned: boolean;2862 readonly asNftBurned: {2863 readonly owner: AccountId32;2864 readonly nftId: u32;2865 } & Struct;2866 readonly isNftSent: boolean;2867 readonly asNftSent: {2868 readonly sender: AccountId32;2869 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2870 readonly collectionId: u32;2871 readonly nftId: u32;2872 readonly approvalRequired: bool;2873 } & Struct;2874 readonly isNftAccepted: boolean;2875 readonly asNftAccepted: {2876 readonly sender: AccountId32;2877 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2878 readonly collectionId: u32;2879 readonly nftId: u32;2880 } & Struct;2881 readonly isNftRejected: boolean;2882 readonly asNftRejected: {2883 readonly sender: AccountId32;2884 readonly collectionId: u32;2885 readonly nftId: u32;2886 } & Struct;2887 readonly isPropertySet: boolean;2888 readonly asPropertySet: {2889 readonly collectionId: u32;2890 readonly maybeNftId: Option<u32>;2891 readonly key: Bytes;2892 readonly value: Bytes;2893 } & Struct;2894 readonly isResourceAdded: boolean;2895 readonly asResourceAdded: {2896 readonly nftId: u32;2897 readonly resourceId: u32;2898 } & Struct;2899 readonly isResourceRemoval: boolean;2900 readonly asResourceRemoval: {2901 readonly nftId: u32;2902 readonly resourceId: u32;2903 } & Struct;2904 readonly isResourceAccepted: boolean;2905 readonly asResourceAccepted: {2906 readonly nftId: u32;2907 readonly resourceId: u32;2908 } & Struct;2909 readonly isResourceRemovalAccepted: boolean;2910 readonly asResourceRemovalAccepted: {2911 readonly nftId: u32;2912 readonly resourceId: u32;2913 } & Struct;2914 readonly isPrioritySet: boolean;2915 readonly asPrioritySet: {2916 readonly collectionId: u32;2917 readonly nftId: u32;2918 } & Struct;2919 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2920 }29212922 /** @name PalletRmrkEquipEvent (293) */2923 export interface PalletRmrkEquipEvent extends Enum {2924 readonly isBaseCreated: boolean;2925 readonly asBaseCreated: {2926 readonly issuer: AccountId32;2927 readonly baseId: u32;2928 } & Struct;2929 readonly isEquippablesUpdated: boolean;2930 readonly asEquippablesUpdated: {2931 readonly baseId: u32;2932 readonly slotId: u32;2933 } & Struct;2934 readonly type: 'BaseCreated' | 'EquippablesUpdated';2935 }29362937 /** @name PalletEvmEvent (294) */2938 export interface PalletEvmEvent extends Enum {2939 readonly isLog: boolean;2940 readonly asLog: EthereumLog;2941 readonly isCreated: boolean;2942 readonly asCreated: H160;2943 readonly isCreatedFailed: boolean;2944 readonly asCreatedFailed: H160;2945 readonly isExecuted: boolean;2946 readonly asExecuted: H160;2947 readonly isExecutedFailed: boolean;2948 readonly asExecutedFailed: H160;2949 readonly isBalanceDeposit: boolean;2950 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2951 readonly isBalanceWithdraw: boolean;2952 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2953 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2954 }29552956 /** @name EthereumLog (295) */2957 export interface EthereumLog extends Struct {2958 readonly address: H160;2959 readonly topics: Vec<H256>;2960 readonly data: Bytes;2961 }29622963 /** @name PalletEthereumEvent (296) */2964 export interface PalletEthereumEvent extends Enum {2965 readonly isExecuted: boolean;2966 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2967 readonly type: 'Executed';2968 }29692970 /** @name EvmCoreErrorExitReason (297) */2971 export interface EvmCoreErrorExitReason extends Enum {2972 readonly isSucceed: boolean;2973 readonly asSucceed: EvmCoreErrorExitSucceed;2974 readonly isError: boolean;2975 readonly asError: EvmCoreErrorExitError;2976 readonly isRevert: boolean;2977 readonly asRevert: EvmCoreErrorExitRevert;2978 readonly isFatal: boolean;2979 readonly asFatal: EvmCoreErrorExitFatal;2980 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2981 }29822983 /** @name EvmCoreErrorExitSucceed (298) */2984 export interface EvmCoreErrorExitSucceed extends Enum {2985 readonly isStopped: boolean;2986 readonly isReturned: boolean;2987 readonly isSuicided: boolean;2988 readonly type: 'Stopped' | 'Returned' | 'Suicided';2989 }29902991 /** @name EvmCoreErrorExitError (299) */2992 export interface EvmCoreErrorExitError extends Enum {2993 readonly isStackUnderflow: boolean;2994 readonly isStackOverflow: boolean;2995 readonly isInvalidJump: boolean;2996 readonly isInvalidRange: boolean;2997 readonly isDesignatedInvalid: boolean;2998 readonly isCallTooDeep: boolean;2999 readonly isCreateCollision: boolean;3000 readonly isCreateContractLimit: boolean;3001 readonly isOutOfOffset: boolean;3002 readonly isOutOfGas: boolean;3003 readonly isOutOfFund: boolean;3004 readonly isPcUnderflow: boolean;3005 readonly isCreateEmpty: boolean;3006 readonly isOther: boolean;3007 readonly asOther: Text;3008 readonly isInvalidCode: boolean;3009 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';3010 }30113012 /** @name EvmCoreErrorExitRevert (302) */3013 export interface EvmCoreErrorExitRevert extends Enum {3014 readonly isReverted: boolean;3015 readonly type: 'Reverted';3016 }30173018 /** @name EvmCoreErrorExitFatal (303) */3019 export interface EvmCoreErrorExitFatal extends Enum {3020 readonly isNotSupported: boolean;3021 readonly isUnhandledInterrupt: boolean;3022 readonly isCallErrorAsFatal: boolean;3023 readonly asCallErrorAsFatal: EvmCoreErrorExitError;3024 readonly isOther: boolean;3025 readonly asOther: Text;3026 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';3027 }30283029 /** @name FrameSystemPhase (304) */3030 export interface FrameSystemPhase extends Enum {3031 readonly isApplyExtrinsic: boolean;3032 readonly asApplyExtrinsic: u32;3033 readonly isFinalization: boolean;3034 readonly isInitialization: boolean;3035 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';3036 }30373038 /** @name FrameSystemLastRuntimeUpgradeInfo (306) */3039 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {3040 readonly specVersion: Compact<u32>;3041 readonly specName: Text;3042 }30433044 /** @name FrameSystemLimitsBlockWeights (307) */3045 export interface FrameSystemLimitsBlockWeights extends Struct {3046 readonly baseBlock: u64;3047 readonly maxBlock: u64;3048 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;3049 }30503051 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (308) */3052 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {3053 readonly normal: FrameSystemLimitsWeightsPerClass;3054 readonly operational: FrameSystemLimitsWeightsPerClass;3055 readonly mandatory: FrameSystemLimitsWeightsPerClass;3056 }30573058 /** @name FrameSystemLimitsWeightsPerClass (309) */3059 export interface FrameSystemLimitsWeightsPerClass extends Struct {3060 readonly baseExtrinsic: u64;3061 readonly maxExtrinsic: Option<u64>;3062 readonly maxTotal: Option<u64>;3063 readonly reserved: Option<u64>;3064 }30653066 /** @name FrameSystemLimitsBlockLength (311) */3067 export interface FrameSystemLimitsBlockLength extends Struct {3068 readonly max: FrameSupportWeightsPerDispatchClassU32;3069 }30703071 /** @name FrameSupportWeightsPerDispatchClassU32 (312) */3072 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {3073 readonly normal: u32;3074 readonly operational: u32;3075 readonly mandatory: u32;3076 }30773078 /** @name FrameSupportWeightsRuntimeDbWeight (313) */3079 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {3080 readonly read: u64;3081 readonly write: u64;3082 }30833084 /** @name SpVersionRuntimeVersion (314) */3085 export interface SpVersionRuntimeVersion extends Struct {3086 readonly specName: Text;3087 readonly implName: Text;3088 readonly authoringVersion: u32;3089 readonly specVersion: u32;3090 readonly implVersion: u32;3091 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3092 readonly transactionVersion: u32;3093 readonly stateVersion: u8;3094 }30953096 /** @name FrameSystemError (318) */3097 export interface FrameSystemError extends Enum {3098 readonly isInvalidSpecName: boolean;3099 readonly isSpecVersionNeedsToIncrease: boolean;3100 readonly isFailedToExtractRuntimeVersion: boolean;3101 readonly isNonDefaultComposite: boolean;3102 readonly isNonZeroRefCount: boolean;3103 readonly isCallFiltered: boolean;3104 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';3105 }31063107 /** @name OrmlVestingModuleError (320) */3108 export interface OrmlVestingModuleError extends Enum {3109 readonly isZeroVestingPeriod: boolean;3110 readonly isZeroVestingPeriodCount: boolean;3111 readonly isInsufficientBalanceToLock: boolean;3112 readonly isTooManyVestingSchedules: boolean;3113 readonly isAmountLow: boolean;3114 readonly isMaxVestingSchedulesExceeded: boolean;3115 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3116 }31173118 /** @name CumulusPalletXcmpQueueInboundChannelDetails (322) */3119 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3120 readonly sender: u32;3121 readonly state: CumulusPalletXcmpQueueInboundState;3122 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3123 }31243125 /** @name CumulusPalletXcmpQueueInboundState (323) */3126 export interface CumulusPalletXcmpQueueInboundState extends Enum {3127 readonly isOk: boolean;3128 readonly isSuspended: boolean;3129 readonly type: 'Ok' | 'Suspended';3130 }31313132 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (326) */3133 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3134 readonly isConcatenatedVersionedXcm: boolean;3135 readonly isConcatenatedEncodedBlob: boolean;3136 readonly isSignals: boolean;3137 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3138 }31393140 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (329) */3141 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3142 readonly recipient: u32;3143 readonly state: CumulusPalletXcmpQueueOutboundState;3144 readonly signalsExist: bool;3145 readonly firstIndex: u16;3146 readonly lastIndex: u16;3147 }31483149 /** @name CumulusPalletXcmpQueueOutboundState (330) */3150 export interface CumulusPalletXcmpQueueOutboundState extends Enum {3151 readonly isOk: boolean;3152 readonly isSuspended: boolean;3153 readonly type: 'Ok' | 'Suspended';3154 }31553156 /** @name CumulusPalletXcmpQueueQueueConfigData (332) */3157 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3158 readonly suspendThreshold: u32;3159 readonly dropThreshold: u32;3160 readonly resumeThreshold: u32;3161 readonly thresholdWeight: u64;3162 readonly weightRestrictDecay: u64;3163 readonly xcmpMaxIndividualWeight: u64;3164 }31653166 /** @name CumulusPalletXcmpQueueError (334) */3167 export interface CumulusPalletXcmpQueueError extends Enum {3168 readonly isFailedToSend: boolean;3169 readonly isBadXcmOrigin: boolean;3170 readonly isBadXcm: boolean;3171 readonly isBadOverweightIndex: boolean;3172 readonly isWeightOverLimit: boolean;3173 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3174 }31753176 /** @name PalletXcmError (335) */3177 export interface PalletXcmError extends Enum {3178 readonly isUnreachable: boolean;3179 readonly isSendFailure: boolean;3180 readonly isFiltered: boolean;3181 readonly isUnweighableMessage: boolean;3182 readonly isDestinationNotInvertible: boolean;3183 readonly isEmpty: boolean;3184 readonly isCannotReanchor: boolean;3185 readonly isTooManyAssets: boolean;3186 readonly isInvalidOrigin: boolean;3187 readonly isBadVersion: boolean;3188 readonly isBadLocation: boolean;3189 readonly isNoSubscription: boolean;3190 readonly isAlreadySubscribed: boolean;3191 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3192 }31933194 /** @name CumulusPalletXcmError (336) */3195 export type CumulusPalletXcmError = Null;31963197 /** @name CumulusPalletDmpQueueConfigData (337) */3198 export interface CumulusPalletDmpQueueConfigData extends Struct {3199 readonly maxIndividual: u64;3200 }32013202 /** @name CumulusPalletDmpQueuePageIndexData (338) */3203 export interface CumulusPalletDmpQueuePageIndexData extends Struct {3204 readonly beginUsed: u32;3205 readonly endUsed: u32;3206 readonly overweightCount: u64;3207 }32083209 /** @name CumulusPalletDmpQueueError (341) */3210 export interface CumulusPalletDmpQueueError extends Enum {3211 readonly isUnknown: boolean;3212 readonly isOverLimit: boolean;3213 readonly type: 'Unknown' | 'OverLimit';3214 }32153216 /** @name PalletUniqueError (346) */3217 export interface PalletUniqueError extends Enum {3218 readonly isCollectionDecimalPointLimitExceeded: boolean;3219 readonly isConfirmUnsetSponsorFail: boolean;3220 readonly isEmptyArgument: boolean;3221 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3222 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3223 }32243225 /** @name PalletUniqueSchedulerScheduledV3 (349) */3226 export interface PalletUniqueSchedulerScheduledV3 extends Struct {3227 readonly maybeId: Option<U8aFixed>;3228 readonly priority: u8;3229 readonly call: FrameSupportScheduleMaybeHashed;3230 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3231 readonly origin: OpalRuntimeOriginCaller;3232 }32333234 /** @name OpalRuntimeOriginCaller (350) */3235 export interface OpalRuntimeOriginCaller extends Enum {3236 readonly isVoid: boolean;3237 readonly isSystem: boolean;3238 readonly asSystem: FrameSupportDispatchRawOrigin;3239 readonly isVoid: boolean;3240 readonly isPolkadotXcm: boolean;3241 readonly asPolkadotXcm: PalletXcmOrigin;3242 readonly isCumulusXcm: boolean;3243 readonly asCumulusXcm: CumulusPalletXcmOrigin;3244 readonly isEthereum: boolean;3245 readonly asEthereum: PalletEthereumRawOrigin;3246 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3247 }32483249 /** @name FrameSupportDispatchRawOrigin (351) */3250 export interface FrameSupportDispatchRawOrigin extends Enum {3251 readonly isRoot: boolean;3252 readonly isSigned: boolean;3253 readonly asSigned: AccountId32;3254 readonly isNone: boolean;3255 readonly type: 'Root' | 'Signed' | 'None';3256 }32573258 /** @name PalletXcmOrigin (352) */3259 export interface PalletXcmOrigin extends Enum {3260 readonly isXcm: boolean;3261 readonly asXcm: XcmV1MultiLocation;3262 readonly isResponse: boolean;3263 readonly asResponse: XcmV1MultiLocation;3264 readonly type: 'Xcm' | 'Response';3265 }32663267 /** @name CumulusPalletXcmOrigin (353) */3268 export interface CumulusPalletXcmOrigin extends Enum {3269 readonly isRelay: boolean;3270 readonly isSiblingParachain: boolean;3271 readonly asSiblingParachain: u32;3272 readonly type: 'Relay' | 'SiblingParachain';3273 }32743275 /** @name PalletEthereumRawOrigin (354) */3276 export interface PalletEthereumRawOrigin extends Enum {3277 readonly isEthereumTransaction: boolean;3278 readonly asEthereumTransaction: H160;3279 readonly type: 'EthereumTransaction';3280 }32813282 /** @name SpCoreVoid (355) */3283 export type SpCoreVoid = Null;32843285 /** @name PalletUniqueSchedulerError (356) */3286 export interface PalletUniqueSchedulerError extends Enum {3287 readonly isFailedToSchedule: boolean;3288 readonly isNotFound: boolean;3289 readonly isTargetBlockNumberInPast: boolean;3290 readonly isRescheduleNoChange: boolean;3291 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3292 }32933294 /** @name UpDataStructsCollection (357) */3295 export interface UpDataStructsCollection extends Struct {3296 readonly owner: AccountId32;3297 readonly mode: UpDataStructsCollectionMode;3298 readonly name: Vec<u16>;3299 readonly description: Vec<u16>;3300 readonly tokenPrefix: Bytes;3301 readonly sponsorship: UpDataStructsSponsorshipState;3302 readonly limits: UpDataStructsCollectionLimits;3303 readonly permissions: UpDataStructsCollectionPermissions;3304 readonly externalCollection: bool;3305 }33063307 /** @name UpDataStructsSponsorshipState (358) */3308 export interface UpDataStructsSponsorshipState extends Enum {3309 readonly isDisabled: boolean;3310 readonly isUnconfirmed: boolean;3311 readonly asUnconfirmed: AccountId32;3312 readonly isConfirmed: boolean;3313 readonly asConfirmed: AccountId32;3314 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3315 }33163317 /** @name UpDataStructsProperties (359) */3318 export interface UpDataStructsProperties extends Struct {3319 readonly map: UpDataStructsPropertiesMapBoundedVec;3320 readonly consumedSpace: u32;3321 readonly spaceLimit: u32;3322 }33233324 /** @name UpDataStructsPropertiesMapBoundedVec (360) */3325 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33263327 /** @name UpDataStructsPropertiesMapPropertyPermission (365) */3328 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33293330 /** @name UpDataStructsCollectionStats (372) */3331 export interface UpDataStructsCollectionStats extends Struct {3332 readonly created: u32;3333 readonly destroyed: u32;3334 readonly alive: u32;3335 }33363337 /** @name UpDataStructsTokenChild (373) */3338 export interface UpDataStructsTokenChild extends Struct {3339 readonly token: u32;3340 readonly collection: u32;3341 }33423343 /** @name PhantomTypeUpDataStructs (374) */3344 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}33453346 /** @name UpDataStructsTokenData (376) */3347 export interface UpDataStructsTokenData extends Struct {3348 readonly properties: Vec<UpDataStructsProperty>;3349 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3350 readonly pieces: u128;3351 }33523353 /** @name UpDataStructsRpcCollection (378) */3354 export interface UpDataStructsRpcCollection extends Struct {3355 readonly owner: AccountId32;3356 readonly mode: UpDataStructsCollectionMode;3357 readonly name: Vec<u16>;3358 readonly description: Vec<u16>;3359 readonly tokenPrefix: Bytes;3360 readonly sponsorship: UpDataStructsSponsorshipState;3361 readonly limits: UpDataStructsCollectionLimits;3362 readonly permissions: UpDataStructsCollectionPermissions;3363 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3364 readonly properties: Vec<UpDataStructsProperty>;3365 readonly readOnly: bool;3366 }33673368 /** @name RmrkTraitsCollectionCollectionInfo (379) */3369 export interface RmrkTraitsCollectionCollectionInfo extends Struct {3370 readonly issuer: AccountId32;3371 readonly metadata: Bytes;3372 readonly max: Option<u32>;3373 readonly symbol: Bytes;3374 readonly nftsCount: u32;3375 }33763377 /** @name RmrkTraitsNftNftInfo (380) */3378 export interface RmrkTraitsNftNftInfo extends Struct {3379 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3380 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3381 readonly metadata: Bytes;3382 readonly equipped: bool;3383 readonly pending: bool;3384 }33853386 /** @name RmrkTraitsNftRoyaltyInfo (382) */3387 export interface RmrkTraitsNftRoyaltyInfo extends Struct {3388 readonly recipient: AccountId32;3389 readonly amount: Permill;3390 }33913392 /** @name RmrkTraitsResourceResourceInfo (383) */3393 export interface RmrkTraitsResourceResourceInfo extends Struct {3394 readonly id: u32;3395 readonly resource: RmrkTraitsResourceResourceTypes;3396 readonly pending: bool;3397 readonly pendingRemoval: bool;3398 }33993400 /** @name RmrkTraitsPropertyPropertyInfo (384) */3401 export interface RmrkTraitsPropertyPropertyInfo extends Struct {3402 readonly key: Bytes;3403 readonly value: Bytes;3404 }34053406 /** @name RmrkTraitsBaseBaseInfo (385) */3407 export interface RmrkTraitsBaseBaseInfo extends Struct {3408 readonly issuer: AccountId32;3409 readonly baseType: Bytes;3410 readonly symbol: Bytes;3411 }34123413 /** @name RmrkTraitsNftNftChild (386) */3414 export interface RmrkTraitsNftNftChild extends Struct {3415 readonly collectionId: u32;3416 readonly nftId: u32;3417 }34183419 /** @name PalletCommonError (388) */3420 export interface PalletCommonError extends Enum {3421 readonly isCollectionNotFound: boolean;3422 readonly isMustBeTokenOwner: boolean;3423 readonly isNoPermission: boolean;3424 readonly isCantDestroyNotEmptyCollection: boolean;3425 readonly isPublicMintingNotAllowed: boolean;3426 readonly isAddressNotInAllowlist: boolean;3427 readonly isCollectionNameLimitExceeded: boolean;3428 readonly isCollectionDescriptionLimitExceeded: boolean;3429 readonly isCollectionTokenPrefixLimitExceeded: boolean;3430 readonly isTotalCollectionsLimitExceeded: boolean;3431 readonly isCollectionAdminCountExceeded: boolean;3432 readonly isCollectionLimitBoundsExceeded: boolean;3433 readonly isOwnerPermissionsCantBeReverted: boolean;3434 readonly isTransferNotAllowed: boolean;3435 readonly isAccountTokenLimitExceeded: boolean;3436 readonly isCollectionTokenLimitExceeded: boolean;3437 readonly isMetadataFlagFrozen: boolean;3438 readonly isTokenNotFound: boolean;3439 readonly isTokenValueTooLow: boolean;3440 readonly isApprovedValueTooLow: boolean;3441 readonly isCantApproveMoreThanOwned: boolean;3442 readonly isAddressIsZero: boolean;3443 readonly isUnsupportedOperation: boolean;3444 readonly isNotSufficientFounds: boolean;3445 readonly isUserIsNotAllowedToNest: boolean;3446 readonly isSourceCollectionIsNotAllowedToNest: boolean;3447 readonly isCollectionFieldSizeExceeded: boolean;3448 readonly isNoSpaceForProperty: boolean;3449 readonly isPropertyLimitReached: boolean;3450 readonly isPropertyKeyIsTooLong: boolean;3451 readonly isInvalidCharacterInPropertyKey: boolean;3452 readonly isEmptyPropertyKey: boolean;3453 readonly isCollectionIsExternal: boolean;3454 readonly isCollectionIsInternal: boolean;3455 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';3456 }34573458 /** @name PalletFungibleError (390) */3459 export interface PalletFungibleError extends Enum {3460 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3461 readonly isFungibleItemsHaveNoId: boolean;3462 readonly isFungibleItemsDontHaveData: boolean;3463 readonly isFungibleDisallowsNesting: boolean;3464 readonly isSettingPropertiesNotAllowed: boolean;3465 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3466 }34673468 /** @name PalletRefungibleItemData (391) */3469 export interface PalletRefungibleItemData extends Struct {3470 readonly constData: Bytes;3471 }34723473 /** @name PalletRefungibleError (397) */3474 interface PalletRefungibleError extends Enum {3475 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3476 readonly isWrongRefungiblePieces: boolean;3477 readonly isRepartitionWhileNotOwningAllPieces: boolean;3478 readonly isRefungibleDisallowsNesting: boolean;3479 readonly isSettingPropertiesNotAllowed: boolean;3480 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3481 }34823483 /** @name PalletNonfungibleItemData (398) */3484 interface PalletNonfungibleItemData extends Struct {3485 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3486 }34873488 /** @name UpDataStructsPropertyScope (400) */3489 interface UpDataStructsPropertyScope extends Enum {3490 readonly isNone: boolean;3491 readonly isRmrk: boolean;3492 readonly isEth: boolean;3493 readonly type: 'None' | 'Rmrk' | 'Eth';3494 }34953496 /** @name PalletNonfungibleError (402) */3497 interface PalletNonfungibleError extends Enum {3498 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3499 readonly isNonfungibleItemsHaveNoAmount: boolean;3500 readonly isCantBurnNftWithChildren: boolean;3501 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3502 }35033504 /** @name PalletStructureError (403) */3505 interface PalletStructureError extends Enum {3506 readonly isOuroborosDetected: boolean;3507 readonly isDepthLimit: boolean;3508 readonly isBreadthLimit: boolean;3509 readonly isTokenNotFound: boolean;3510 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3511 }35123513 /** @name PalletRmrkCoreError (404) */3514 interface PalletRmrkCoreError extends Enum {3515 readonly isCorruptedCollectionType: boolean;3516 readonly isRmrkPropertyKeyIsTooLong: boolean;3517 readonly isRmrkPropertyValueIsTooLong: boolean;3518 readonly isRmrkPropertyIsNotFound: boolean;3519 readonly isUnableToDecodeRmrkData: boolean;3520 readonly isCollectionNotEmpty: boolean;3521 readonly isNoAvailableCollectionId: boolean;3522 readonly isNoAvailableNftId: boolean;3523 readonly isCollectionUnknown: boolean;3524 readonly isNoPermission: boolean;3525 readonly isNonTransferable: boolean;3526 readonly isCollectionFullOrLocked: boolean;3527 readonly isResourceDoesntExist: boolean;3528 readonly isCannotSendToDescendentOrSelf: boolean;3529 readonly isCannotAcceptNonOwnedNft: boolean;3530 readonly isCannotRejectNonOwnedNft: boolean;3531 readonly isCannotRejectNonPendingNft: boolean;3532 readonly isResourceNotPending: boolean;3533 readonly isNoAvailableResourceId: boolean;3534 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3535 }35363537 /** @name PalletRmrkEquipError (406) */3538 interface PalletRmrkEquipError extends Enum {3539 readonly isPermissionError: boolean;3540 readonly isNoAvailableBaseId: boolean;3541 readonly isNoAvailablePartId: boolean;3542 readonly isBaseDoesntExist: boolean;3543 readonly isNeedsDefaultThemeFirst: boolean;3544 readonly isPartDoesntExist: boolean;3545 readonly isNoEquippableOnFixedPart: boolean;3546 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3547 }35483549 /** @name PalletEvmError (409) */3550 interface PalletEvmError extends Enum {3551 readonly isBalanceLow: boolean;3552 readonly isFeeOverflow: boolean;3553 readonly isPaymentOverflow: boolean;3554 readonly isWithdrawFailed: boolean;3555 readonly isGasPriceTooLow: boolean;3556 readonly isInvalidNonce: boolean;3557 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3558 }35593560 /** @name FpRpcTransactionStatus (412) */3561 interface FpRpcTransactionStatus extends Struct {3562 readonly transactionHash: H256;3563 readonly transactionIndex: u32;3564 readonly from: H160;3565 readonly to: Option<H160>;3566 readonly contractAddress: Option<H160>;3567 readonly logs: Vec<EthereumLog>;3568 readonly logsBloom: EthbloomBloom;3569 }35703571 /** @name EthbloomBloom (414) */3572 interface EthbloomBloom extends U8aFixed {}35733574 /** @name EthereumReceiptReceiptV3 (416) */3575 interface EthereumReceiptReceiptV3 extends Enum {3576 readonly isLegacy: boolean;3577 readonly asLegacy: EthereumReceiptEip658ReceiptData;3578 readonly isEip2930: boolean;3579 readonly asEip2930: EthereumReceiptEip658ReceiptData;3580 readonly isEip1559: boolean;3581 readonly asEip1559: EthereumReceiptEip658ReceiptData;3582 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3583 }35843585 /** @name EthereumReceiptEip658ReceiptData (417) */3586 interface EthereumReceiptEip658ReceiptData extends Struct {3587 readonly statusCode: u8;3588 readonly usedGas: U256;3589 readonly logsBloom: EthbloomBloom;3590 readonly logs: Vec<EthereumLog>;3591 }35923593 /** @name EthereumBlock (418) */3594 interface EthereumBlock extends Struct {3595 readonly header: EthereumHeader;3596 readonly transactions: Vec<EthereumTransactionTransactionV2>;3597 readonly ommers: Vec<EthereumHeader>;3598 }35993600 /** @name EthereumHeader (419) */3601 interface EthereumHeader extends Struct {3602 readonly parentHash: H256;3603 readonly ommersHash: H256;3604 readonly beneficiary: H160;3605 readonly stateRoot: H256;3606 readonly transactionsRoot: H256;3607 readonly receiptsRoot: H256;3608 readonly logsBloom: EthbloomBloom;3609 readonly difficulty: U256;3610 readonly number: U256;3611 readonly gasLimit: U256;3612 readonly gasUsed: U256;3613 readonly timestamp: u64;3614 readonly extraData: Bytes;3615 readonly mixHash: H256;3616 readonly nonce: EthereumTypesHashH64;3617 }36183619 /** @name EthereumTypesHashH64 (420) */3620 interface EthereumTypesHashH64 extends U8aFixed {}36213622 /** @name PalletEthereumError (425) */3623 interface PalletEthereumError extends Enum {3624 readonly isInvalidSignature: boolean;3625 readonly isPreLogExists: boolean;3626 readonly type: 'InvalidSignature' | 'PreLogExists';3627 }36283629 /** @name PalletEvmCoderSubstrateError (426) */3630 interface PalletEvmCoderSubstrateError extends Enum {3631 readonly isOutOfGas: boolean;3632 readonly isOutOfFund: boolean;3633 readonly type: 'OutOfGas' | 'OutOfFund';3634 }36353636 /** @name PalletEvmContractHelpersSponsoringModeT (427) */3637 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3638 readonly isDisabled: boolean;3639 readonly isAllowlisted: boolean;3640 readonly isGenerous: boolean;3641 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3642 }36433644 /** @name PalletEvmContractHelpersError (429) */3645 interface PalletEvmContractHelpersError extends Enum {3646 readonly isNoPermission: boolean;3647 readonly type: 'NoPermission';3648 }36493650 /** @name PalletEvmMigrationError (430) */3651 interface PalletEvmMigrationError extends Enum {3652 readonly isAccountNotEmpty: boolean;3653 readonly isAccountIsNotMigrating: boolean;3654 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3655 }36563657 /** @name SpRuntimeMultiSignature (432) */3658 interface SpRuntimeMultiSignature extends Enum {3659 readonly isEd25519: boolean;3660 readonly asEd25519: SpCoreEd25519Signature;3661 readonly isSr25519: boolean;3662 readonly asSr25519: SpCoreSr25519Signature;3663 readonly isEcdsa: boolean;3664 readonly asEcdsa: SpCoreEcdsaSignature;3665 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3666 }36673668 /** @name SpCoreEd25519Signature (433) */3669 interface SpCoreEd25519Signature extends U8aFixed {}36703671 /** @name SpCoreSr25519Signature (435) */3672 interface SpCoreSr25519Signature extends U8aFixed {}36733674 /** @name SpCoreEcdsaSignature (436) */3675 interface SpCoreEcdsaSignature extends U8aFixed {}36763677 /** @name FrameSystemExtensionsCheckSpecVersion (439) */3678 type FrameSystemExtensionsCheckSpecVersion = Null;36793680 /** @name FrameSystemExtensionsCheckGenesis (440) */3681 type FrameSystemExtensionsCheckGenesis = Null;36823683 /** @name FrameSystemExtensionsCheckNonce (443) */3684 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}36853686 /** @name FrameSystemExtensionsCheckWeight (444) */3687 type FrameSystemExtensionsCheckWeight = Null;36883689 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */3690 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}36913692 /** @name OpalRuntimeRuntime (446) */3693 type OpalRuntimeRuntime = Null;36943695 /** @name PalletEthereumFakeTransactionFinalizer (447) */3696 type PalletEthereumFakeTransactionFinalizer = Null;36973698} // 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';1213 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */14 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {15 readonly parentHead: Bytes;16 readonly relayParentNumber: u32;17 readonly relayParentStorageRoot: H256;18 readonly maxPovSize: u32;19 }2021 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */22 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {23 readonly isPresent: boolean;24 readonly type: 'Present';25 }2627 /** @name SpTrieStorageProof (10) */28 export interface SpTrieStorageProof extends Struct {29 readonly trieNodes: BTreeSet<Bytes>;30 }3132 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */33 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {34 readonly dmqMqcHead: H256;35 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;36 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;37 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;38 }3940 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */41 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {42 readonly maxCapacity: u32;43 readonly maxTotalSize: u32;44 readonly maxMessageSize: u32;45 readonly msgCount: u32;46 readonly totalSize: u32;47 readonly mqcHead: Option<H256>;48 }4950 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */51 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {52 readonly maxCodeSize: u32;53 readonly maxHeadDataSize: u32;54 readonly maxUpwardQueueCount: u32;55 readonly maxUpwardQueueSize: u32;56 readonly maxUpwardMessageSize: u32;57 readonly maxUpwardMessageNumPerCandidate: u32;58 readonly hrmpMaxMessageNumPerCandidate: u32;59 readonly validationUpgradeCooldown: u32;60 readonly validationUpgradeDelay: u32;61 }6263 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */64 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {65 readonly recipient: u32;66 readonly data: Bytes;67 }6869 /** @name CumulusPalletParachainSystemCall (28) */70 export interface CumulusPalletParachainSystemCall extends Enum {71 readonly isSetValidationData: boolean;72 readonly asSetValidationData: {73 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;74 } & Struct;75 readonly isExtrinsicFailed: boolean;76 readonly asExtrinsicFailed: {77 readonly dispatchError: SpRuntimeDispatchError;78 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;79 } & Struct;80 readonly isCodeUpdated: boolean;81 readonly isNewAccount: boolean;82 readonly asNewAccount: {83 readonly account: AccountId32;84 } & Struct;85 readonly isKilledAccount: boolean;86 readonly asKilledAccount: {87 readonly account: AccountId32;88 } & Struct;89 readonly isRemarked: boolean;90 readonly asRemarked: {91 readonly sender: AccountId32;92 readonly hash_: H256;93 } & Struct;94 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';95 }9697 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */98 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {99 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;100 readonly relayChainState: SpTrieStorageProof;101 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;102 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;103 }104105 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */106 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {107 readonly sentAt: u32;108 readonly msg: Bytes;109 }110111 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */112 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {113 readonly sentAt: u32;114 readonly data: Bytes;115 }116117 /** @name CumulusPalletParachainSystemEvent (37) */118 export interface CumulusPalletParachainSystemEvent extends Enum {119 readonly isValidationFunctionStored: boolean;120 readonly isValidationFunctionApplied: boolean;121 readonly asValidationFunctionApplied: {122 readonly relayChainBlockNum: u32;123 } & Struct;124 readonly isValidationFunctionDiscarded: boolean;125 readonly isUpgradeAuthorized: boolean;126 readonly asUpgradeAuthorized: {127 readonly codeHash: H256;128 } & Struct;129 readonly isDownwardMessagesReceived: boolean;130 readonly asDownwardMessagesReceived: {131 readonly count: u32;132 } & Struct;133 readonly isDownwardMessagesProcessed: boolean;134 readonly asDownwardMessagesProcessed: {135 readonly weightUsed: u64;136 readonly dmqHead: H256;137 } & Struct;138 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';139 }140141 /** @name CumulusPalletParachainSystemError (38) */142 export interface CumulusPalletParachainSystemError extends Enum {143 readonly isOverlappingUpgrades: boolean;144 readonly isProhibitedByPolkadot: boolean;145 readonly isTooBig: boolean;146 readonly isValidationDataNotAvailable: boolean;147 readonly isHostConfigurationNotAvailable: boolean;148 readonly isNotScheduled: boolean;149 readonly isNothingAuthorized: boolean;150 readonly isUnauthorized: boolean;151 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';152 }153154 /** @name PalletBalancesAccountData (41) */155 export interface PalletBalancesAccountData extends Struct {156 readonly free: u128;157 readonly reserved: u128;158 readonly miscFrozen: u128;159 readonly feeFrozen: u128;160 }161162 /** @name PalletBalancesBalanceLock (43) */163 export interface PalletBalancesBalanceLock extends Struct {164 readonly id: U8aFixed;165 readonly amount: u128;166 readonly reasons: PalletBalancesReasons;167 }168169 /** @name PalletBalancesReasons (45) */170 export interface PalletBalancesReasons extends Enum {171 readonly isFee: boolean;172 readonly isMisc: boolean;173 readonly isAll: boolean;174 readonly type: 'Fee' | 'Misc' | 'All';175 }176177 /** @name PalletBalancesReserveData (48) */178 export interface PalletBalancesReserveData extends Struct {179 readonly id: U8aFixed;180 readonly amount: u128;181 }182183 /** @name PalletBalancesReleases (51) */184 export interface PalletBalancesReleases extends Enum {185 readonly isV100: boolean;186 readonly isV200: boolean;187 readonly type: 'V100' | 'V200';188 }189190 /** @name PalletBalancesCall (52) */191 export interface PalletBalancesCall extends Enum {192 readonly isTransfer: boolean;193 readonly asTransfer: {194 readonly dest: MultiAddress;195 readonly value: Compact<u128>;196 } & Struct;197 readonly isSetBalance: boolean;198 readonly asSetBalance: {199 readonly who: MultiAddress;200 readonly newFree: Compact<u128>;201 readonly newReserved: Compact<u128>;202 } & Struct;203 readonly isForceTransfer: boolean;204 readonly asForceTransfer: {205 readonly source: MultiAddress;206 readonly dest: MultiAddress;207 readonly value: Compact<u128>;208 } & Struct;209 readonly isTransferKeepAlive: boolean;210 readonly asTransferKeepAlive: {211 readonly dest: MultiAddress;212 readonly value: Compact<u128>;213 } & Struct;214 readonly isTransferAll: boolean;215 readonly asTransferAll: {216 readonly dest: MultiAddress;217 readonly keepAlive: bool;218 } & Struct;219 readonly isForceUnreserve: boolean;220 readonly asForceUnreserve: {221 readonly who: MultiAddress;222 readonly amount: u128;223 } & Struct;224 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';225 }226227 /** @name PalletBalancesEvent (58) */228 export interface PalletBalancesEvent extends Enum {229 readonly isEndowed: boolean;230 readonly asEndowed: {231 readonly account: AccountId32;232 readonly freeBalance: u128;233 } & Struct;234 readonly isDustLost: boolean;235 readonly asDustLost: {236 readonly account: AccountId32;237 readonly amount: u128;238 } & Struct;239 readonly isTransfer: boolean;240 readonly asTransfer: {241 readonly from: AccountId32;242 readonly to: AccountId32;243 readonly amount: u128;244 } & Struct;245 readonly isBalanceSet: boolean;246 readonly asBalanceSet: {247 readonly who: AccountId32;248 readonly free: u128;249 readonly reserved: u128;250 } & Struct;251 readonly isReserved: boolean;252 readonly asReserved: {253 readonly who: AccountId32;254 readonly amount: u128;255 } & Struct;256 readonly isUnreserved: boolean;257 readonly asUnreserved: {258 readonly who: AccountId32;259 readonly amount: u128;260 } & Struct;261 readonly isReserveRepatriated: boolean;262 readonly asReserveRepatriated: {263 readonly from: AccountId32;264 readonly to: AccountId32;265 readonly amount: u128;266 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;267 } & Struct;268 readonly isDeposit: boolean;269 readonly asDeposit: {270 readonly who: AccountId32;271 readonly amount: u128;272 } & Struct;273 readonly isWithdraw: boolean;274 readonly asWithdraw: {275 readonly who: AccountId32;276 readonly amount: u128;277 } & Struct;278 readonly isSlashed: boolean;279 readonly asSlashed: {280 readonly who: AccountId32;281 readonly amount: u128;282 } & Struct;283 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';284 }285286 /** @name FrameSupportTokensMiscBalanceStatus (59) */287 export interface FrameSupportTokensMiscBalanceStatus extends Enum {288 readonly isFree: boolean;289 readonly isReserved: boolean;290 readonly type: 'Free' | 'Reserved';291 }292293 /** @name PalletBalancesError (60) */294 export interface PalletBalancesError extends Enum {295 readonly isVestingBalance: boolean;296 readonly isLiquidityRestrictions: boolean;297 readonly isInsufficientBalance: boolean;298 readonly isExistentialDeposit: boolean;299 readonly isKeepAlive: boolean;300 readonly isExistingVestingSchedule: boolean;301 readonly isDeadAccount: boolean;302 readonly isTooManyReserves: boolean;303 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';304 }305306 /** @name PalletTimestampCall (63) */307 export interface PalletTimestampCall extends Enum {308 readonly isSet: boolean;309 readonly asSet: {310 readonly now: Compact<u64>;311 } & Struct;312 readonly type: 'Set';313 }314315 /** @name PalletTransactionPaymentReleases (66) */316 export interface PalletTransactionPaymentReleases extends Enum {317 readonly isV1Ancient: boolean;318 readonly isV2: boolean;319 readonly type: 'V1Ancient' | 'V2';320 }321322 /** @name PalletTreasuryProposal (67) */323 export interface PalletTreasuryProposal extends Struct {324 readonly proposer: AccountId32;325 readonly value: u128;326 readonly beneficiary: AccountId32;327 readonly bond: u128;328 }329330 /** @name PalletTreasuryCall (70) */331 export interface PalletTreasuryCall extends Enum {332 readonly isProposeSpend: boolean;333 readonly asProposeSpend: {334 readonly value: Compact<u128>;335 readonly beneficiary: MultiAddress;336 } & Struct;337 readonly isRejectProposal: boolean;338 readonly asRejectProposal: {339 readonly proposalId: Compact<u32>;340 } & Struct;341 readonly isApproveProposal: boolean;342 readonly asApproveProposal: {343 readonly proposalId: Compact<u32>;344 } & Struct;345 readonly isRemoveApproval: boolean;346 readonly asRemoveApproval: {347 readonly proposalId: Compact<u32>;348 } & Struct;349 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';350 }351352 /** @name PalletTreasuryEvent (72) */353 export interface PalletTreasuryEvent extends Enum {354 readonly isProposed: boolean;355 readonly asProposed: {356 readonly proposalIndex: u32;357 } & Struct;358 readonly isSpending: boolean;359 readonly asSpending: {360 readonly budgetRemaining: u128;361 } & Struct;362 readonly isAwarded: boolean;363 readonly asAwarded: {364 readonly proposalIndex: u32;365 readonly award: u128;366 readonly account: AccountId32;367 } & Struct;368 readonly isRejected: boolean;369 readonly asRejected: {370 readonly proposalIndex: u32;371 readonly slashed: u128;372 } & Struct;373 readonly isBurnt: boolean;374 readonly asBurnt: {375 readonly burntFunds: u128;376 } & Struct;377 readonly isRollover: boolean;378 readonly asRollover: {379 readonly rolloverBalance: u128;380 } & Struct;381 readonly isDeposit: boolean;382 readonly asDeposit: {383 readonly value: u128;384 } & Struct;385 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';386 }387388 /** @name FrameSupportPalletId (75) */389 export interface FrameSupportPalletId extends U8aFixed {}390391 /** @name PalletTreasuryError (76) */392 export interface PalletTreasuryError extends Enum {393 readonly isInsufficientProposersBalance: boolean;394 readonly isInvalidIndex: boolean;395 readonly isTooManyApprovals: boolean;396 readonly isProposalNotApproved: boolean;397 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';398 }399400 /** @name PalletSudoCall (77) */401 export interface PalletSudoCall extends Enum {402 readonly isSudo: boolean;403 readonly asSudo: {404 readonly call: Call;405 } & Struct;406 readonly isSudoUncheckedWeight: boolean;407 readonly asSudoUncheckedWeight: {408 readonly call: Call;409 readonly weight: u64;410 } & Struct;411 readonly isSetKey: boolean;412 readonly asSetKey: {413 readonly new_: MultiAddress;414 } & Struct;415 readonly isSudoAs: boolean;416 readonly asSudoAs: {417 readonly who: MultiAddress;418 readonly call: Call;419 } & Struct;420 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';421 }422423 /** @name FrameSystemCall (79) */424 export interface FrameSystemCall extends Enum {425 readonly isFillBlock: boolean;426 readonly asFillBlock: {427 readonly ratio: Perbill;428 } & Struct;429 readonly isRemark: boolean;430 readonly asRemark: {431 readonly remark: Bytes;432 } & Struct;433 readonly isSetHeapPages: boolean;434 readonly asSetHeapPages: {435 readonly pages: u64;436 } & Struct;437 readonly isSetCode: boolean;438 readonly asSetCode: {439 readonly code: Bytes;440 } & Struct;441 readonly isSetCodeWithoutChecks: boolean;442 readonly asSetCodeWithoutChecks: {443 readonly code: Bytes;444 } & Struct;445 readonly isSetStorage: boolean;446 readonly asSetStorage: {447 readonly items: Vec<ITuple<[Bytes, Bytes]>>;448 } & Struct;449 readonly isKillStorage: boolean;450 readonly asKillStorage: {451 readonly keys_: Vec<Bytes>;452 } & Struct;453 readonly isKillPrefix: boolean;454 readonly asKillPrefix: {455 readonly prefix: Bytes;456 readonly subkeys: u32;457 } & Struct;458 readonly isRemarkWithEvent: boolean;459 readonly asRemarkWithEvent: {460 readonly remark: Bytes;461 } & Struct;462 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';463 }464465 /** @name OrmlVestingModuleCall (83) */466 export interface OrmlVestingModuleCall extends Enum {467 readonly isClaim: boolean;468 readonly isVestedTransfer: boolean;469 readonly asVestedTransfer: {470 readonly dest: MultiAddress;471 readonly schedule: OrmlVestingVestingSchedule;472 } & Struct;473 readonly isClaimed: boolean;474 readonly asClaimed: {475 readonly who: AccountId32;476 readonly amount: u128;477 } & Struct;478 readonly isVestingSchedulesUpdated: boolean;479 readonly asVestingSchedulesUpdated: {480 readonly who: AccountId32;481 } & Struct;482 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';483 }484485 /** @name OrmlVestingVestingSchedule (84) */486 export interface OrmlVestingVestingSchedule extends Struct {487 readonly start: u32;488 readonly period: u32;489 readonly periodCount: u32;490 readonly perPeriod: Compact<u128>;491 }492493 /** @name CumulusPalletXcmpQueueCall (86) */494 export interface CumulusPalletXcmpQueueCall extends Enum {495 readonly isServiceOverweight: boolean;496 readonly asServiceOverweight: {497 readonly index: u64;498 readonly weightLimit: u64;499 } & Struct;500 readonly isFail: boolean;501 readonly asFail: {502 readonly messageHash: Option<H256>;503 readonly error: XcmV2TraitsError;504 readonly weight: u64;505 } & Struct;506 readonly isBadVersion: boolean;507 readonly asBadVersion: {508 readonly messageHash: Option<H256>;509 } & Struct;510 readonly isBadFormat: boolean;511 readonly asBadFormat: {512 readonly messageHash: Option<H256>;513 } & Struct;514 readonly isUpwardMessageSent: boolean;515 readonly asUpwardMessageSent: {516 readonly messageHash: Option<H256>;517 } & Struct;518 readonly isXcmpMessageSent: boolean;519 readonly asXcmpMessageSent: {520 readonly messageHash: Option<H256>;521 } & Struct;522 readonly isOverweightEnqueued: boolean;523 readonly asOverweightEnqueued: {524 readonly sender: u32;525 readonly sentAt: u32;526 readonly index: u64;527 readonly required: u64;528 } & Struct;529 readonly isOverweightServiced: boolean;530 readonly asOverweightServiced: {531 readonly index: u64;532 readonly used: u64;533 } & Struct;534 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';535 }536537 /** @name PalletXcmCall (87) */538 export interface PalletXcmCall extends Enum {539 readonly isSend: boolean;540 readonly asSend: {541 readonly dest: XcmVersionedMultiLocation;542 readonly message: XcmVersionedXcm;543 } & Struct;544 readonly isTeleportAssets: boolean;545 readonly asTeleportAssets: {546 readonly dest: XcmVersionedMultiLocation;547 readonly beneficiary: XcmVersionedMultiLocation;548 readonly assets: XcmVersionedMultiAssets;549 readonly feeAssetItem: u32;550 } & Struct;551 readonly isReserveTransferAssets: boolean;552 readonly asReserveTransferAssets: {553 readonly dest: XcmVersionedMultiLocation;554 readonly beneficiary: XcmVersionedMultiLocation;555 readonly assets: XcmVersionedMultiAssets;556 readonly feeAssetItem: u32;557 } & Struct;558 readonly isExecute: boolean;559 readonly asExecute: {560 readonly message: XcmVersionedXcm;561 readonly maxWeight: u64;562 } & Struct;563 readonly isForceXcmVersion: boolean;564 readonly asForceXcmVersion: {565 readonly location: XcmV1MultiLocation;566 readonly xcmVersion: u32;567 } & Struct;568 readonly isForceDefaultXcmVersion: boolean;569 readonly asForceDefaultXcmVersion: {570 readonly maybeXcmVersion: Option<u32>;571 } & Struct;572 readonly isForceSubscribeVersionNotify: boolean;573 readonly asForceSubscribeVersionNotify: {574 readonly location: XcmVersionedMultiLocation;575 } & Struct;576 readonly isForceUnsubscribeVersionNotify: boolean;577 readonly asForceUnsubscribeVersionNotify: {578 readonly location: XcmVersionedMultiLocation;579 } & Struct;580 readonly isLimitedReserveTransferAssets: boolean;581 readonly asLimitedReserveTransferAssets: {582 readonly dest: XcmVersionedMultiLocation;583 readonly beneficiary: XcmVersionedMultiLocation;584 readonly assets: XcmVersionedMultiAssets;585 readonly feeAssetItem: u32;586 readonly weightLimit: XcmV2WeightLimit;587 } & Struct;588 readonly isLimitedTeleportAssets: boolean;589 readonly asLimitedTeleportAssets: {590 readonly dest: XcmVersionedMultiLocation;591 readonly beneficiary: XcmVersionedMultiLocation;592 readonly assets: XcmVersionedMultiAssets;593 readonly feeAssetItem: u32;594 readonly weightLimit: XcmV2WeightLimit;595 } & Struct;596 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';597 }598599 /** @name XcmVersionedMultiLocation (88) */600 export interface XcmVersionedMultiLocation extends Enum {601 readonly isV0: boolean;602 readonly asV0: XcmV0MultiLocation;603 readonly isV1: boolean;604 readonly asV1: XcmV1MultiLocation;605 readonly type: 'V0' | 'V1';606 }607608 /** @name XcmV0MultiLocation (89) */609 export interface XcmV0MultiLocation extends Enum {610 readonly isNull: boolean;611 readonly isX1: boolean;612 readonly asX1: XcmV0Junction;613 readonly isX2: boolean;614 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;615 readonly isX3: boolean;616 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;617 readonly isX4: boolean;618 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;619 readonly isX5: boolean;620 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;621 readonly isX6: boolean;622 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;623 readonly isX7: boolean;624 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;625 readonly isX8: boolean;626 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;627 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';628 }629630 /** @name XcmV0Junction (90) */631 export interface XcmV0Junction extends Enum {632 readonly isParent: boolean;633 readonly isParachain: boolean;634 readonly asParachain: Compact<u32>;635 readonly isAccountId32: boolean;636 readonly asAccountId32: {637 readonly network: XcmV0JunctionNetworkId;638 readonly id: U8aFixed;639 } & Struct;640 readonly isAccountIndex64: boolean;641 readonly asAccountIndex64: {642 readonly network: XcmV0JunctionNetworkId;643 readonly index: Compact<u64>;644 } & Struct;645 readonly isAccountKey20: boolean;646 readonly asAccountKey20: {647 readonly network: XcmV0JunctionNetworkId;648 readonly key: U8aFixed;649 } & Struct;650 readonly isPalletInstance: boolean;651 readonly asPalletInstance: u8;652 readonly isGeneralIndex: boolean;653 readonly asGeneralIndex: Compact<u128>;654 readonly isGeneralKey: boolean;655 readonly asGeneralKey: Bytes;656 readonly isOnlyChild: boolean;657 readonly isPlurality: boolean;658 readonly asPlurality: {659 readonly id: XcmV0JunctionBodyId;660 readonly part: XcmV0JunctionBodyPart;661 } & Struct;662 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';663 }664665 /** @name XcmV0JunctionNetworkId (91) */666 export interface XcmV0JunctionNetworkId extends Enum {667 readonly isAny: boolean;668 readonly isNamed: boolean;669 readonly asNamed: Bytes;670 readonly isPolkadot: boolean;671 readonly isKusama: boolean;672 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';673 }674675 /** @name XcmV0JunctionBodyId (92) */676 export interface XcmV0JunctionBodyId extends Enum {677 readonly isUnit: boolean;678 readonly isNamed: boolean;679 readonly asNamed: Bytes;680 readonly isIndex: boolean;681 readonly asIndex: Compact<u32>;682 readonly isExecutive: boolean;683 readonly isTechnical: boolean;684 readonly isLegislative: boolean;685 readonly isJudicial: boolean;686 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';687 }688689 /** @name XcmV0JunctionBodyPart (93) */690 export interface XcmV0JunctionBodyPart extends Enum {691 readonly isVoice: boolean;692 readonly isMembers: boolean;693 readonly asMembers: {694 readonly count: Compact<u32>;695 } & Struct;696 readonly isFraction: boolean;697 readonly asFraction: {698 readonly nom: Compact<u32>;699 readonly denom: Compact<u32>;700 } & Struct;701 readonly isAtLeastProportion: boolean;702 readonly asAtLeastProportion: {703 readonly nom: Compact<u32>;704 readonly denom: Compact<u32>;705 } & Struct;706 readonly isMoreThanProportion: boolean;707 readonly asMoreThanProportion: {708 readonly nom: Compact<u32>;709 readonly denom: Compact<u32>;710 } & Struct;711 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';712 }713714 /** @name XcmV1MultiLocation (94) */715 export interface XcmV1MultiLocation extends Struct {716 readonly parents: u8;717 readonly interior: XcmV1MultilocationJunctions;718 }719720 /** @name XcmV1MultilocationJunctions (95) */721 export interface XcmV1MultilocationJunctions extends Enum {722 readonly isHere: boolean;723 readonly isX1: boolean;724 readonly asX1: XcmV1Junction;725 readonly isX2: boolean;726 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;727 readonly isX3: boolean;728 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;729 readonly isX4: boolean;730 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;731 readonly isX5: boolean;732 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;733 readonly isX6: boolean;734 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;735 readonly isX7: boolean;736 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;737 readonly isX8: boolean;738 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;739 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';740 }741742 /** @name XcmV1Junction (96) */743 export interface XcmV1Junction extends Enum {744 readonly isParachain: boolean;745 readonly asParachain: Compact<u32>;746 readonly isAccountId32: boolean;747 readonly asAccountId32: {748 readonly network: XcmV0JunctionNetworkId;749 readonly id: U8aFixed;750 } & Struct;751 readonly isAccountIndex64: boolean;752 readonly asAccountIndex64: {753 readonly network: XcmV0JunctionNetworkId;754 readonly index: Compact<u64>;755 } & Struct;756 readonly isAccountKey20: boolean;757 readonly asAccountKey20: {758 readonly network: XcmV0JunctionNetworkId;759 readonly key: U8aFixed;760 } & Struct;761 readonly isPalletInstance: boolean;762 readonly asPalletInstance: u8;763 readonly isGeneralIndex: boolean;764 readonly asGeneralIndex: Compact<u128>;765 readonly isGeneralKey: boolean;766 readonly asGeneralKey: Bytes;767 readonly isOnlyChild: boolean;768 readonly isPlurality: boolean;769 readonly asPlurality: {770 readonly id: XcmV0JunctionBodyId;771 readonly part: XcmV0JunctionBodyPart;772 } & Struct;773 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';774 }775776 /** @name XcmVersionedXcm (97) */777 export interface XcmVersionedXcm extends Enum {778 readonly isV0: boolean;779 readonly asV0: XcmV0Xcm;780 readonly isV1: boolean;781 readonly asV1: XcmV1Xcm;782 readonly isV2: boolean;783 readonly asV2: XcmV2Xcm;784 readonly type: 'V0' | 'V1' | 'V2';785 }786787 /** @name XcmV0Xcm (98) */788 export interface XcmV0Xcm extends Enum {789 readonly isWithdrawAsset: boolean;790 readonly asWithdrawAsset: {791 readonly assets: Vec<XcmV0MultiAsset>;792 readonly effects: Vec<XcmV0Order>;793 } & Struct;794 readonly isReserveAssetDeposit: boolean;795 readonly asReserveAssetDeposit: {796 readonly assets: Vec<XcmV0MultiAsset>;797 readonly effects: Vec<XcmV0Order>;798 } & Struct;799 readonly isTeleportAsset: boolean;800 readonly asTeleportAsset: {801 readonly assets: Vec<XcmV0MultiAsset>;802 readonly effects: Vec<XcmV0Order>;803 } & Struct;804 readonly isQueryResponse: boolean;805 readonly asQueryResponse: {806 readonly queryId: Compact<u64>;807 readonly response: XcmV0Response;808 } & Struct;809 readonly isTransferAsset: boolean;810 readonly asTransferAsset: {811 readonly assets: Vec<XcmV0MultiAsset>;812 readonly dest: XcmV0MultiLocation;813 } & Struct;814 readonly isTransferReserveAsset: boolean;815 readonly asTransferReserveAsset: {816 readonly assets: Vec<XcmV0MultiAsset>;817 readonly dest: XcmV0MultiLocation;818 readonly effects: Vec<XcmV0Order>;819 } & Struct;820 readonly isTransact: boolean;821 readonly asTransact: {822 readonly originType: XcmV0OriginKind;823 readonly requireWeightAtMost: u64;824 readonly call: XcmDoubleEncoded;825 } & Struct;826 readonly isHrmpNewChannelOpenRequest: boolean;827 readonly asHrmpNewChannelOpenRequest: {828 readonly sender: Compact<u32>;829 readonly maxMessageSize: Compact<u32>;830 readonly maxCapacity: Compact<u32>;831 } & Struct;832 readonly isHrmpChannelAccepted: boolean;833 readonly asHrmpChannelAccepted: {834 readonly recipient: Compact<u32>;835 } & Struct;836 readonly isHrmpChannelClosing: boolean;837 readonly asHrmpChannelClosing: {838 readonly initiator: Compact<u32>;839 readonly sender: Compact<u32>;840 readonly recipient: Compact<u32>;841 } & Struct;842 readonly isRelayedFrom: boolean;843 readonly asRelayedFrom: {844 readonly who: XcmV0MultiLocation;845 readonly message: XcmV0Xcm;846 } & Struct;847 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';848 }849850 /** @name XcmV0MultiAsset (100) */851 export interface XcmV0MultiAsset extends Enum {852 readonly isNone: boolean;853 readonly isAll: boolean;854 readonly isAllFungible: boolean;855 readonly isAllNonFungible: boolean;856 readonly isAllAbstractFungible: boolean;857 readonly asAllAbstractFungible: {858 readonly id: Bytes;859 } & Struct;860 readonly isAllAbstractNonFungible: boolean;861 readonly asAllAbstractNonFungible: {862 readonly class: Bytes;863 } & Struct;864 readonly isAllConcreteFungible: boolean;865 readonly asAllConcreteFungible: {866 readonly id: XcmV0MultiLocation;867 } & Struct;868 readonly isAllConcreteNonFungible: boolean;869 readonly asAllConcreteNonFungible: {870 readonly class: XcmV0MultiLocation;871 } & Struct;872 readonly isAbstractFungible: boolean;873 readonly asAbstractFungible: {874 readonly id: Bytes;875 readonly amount: Compact<u128>;876 } & Struct;877 readonly isAbstractNonFungible: boolean;878 readonly asAbstractNonFungible: {879 readonly class: Bytes;880 readonly instance: XcmV1MultiassetAssetInstance;881 } & Struct;882 readonly isConcreteFungible: boolean;883 readonly asConcreteFungible: {884 readonly id: XcmV0MultiLocation;885 readonly amount: Compact<u128>;886 } & Struct;887 readonly isConcreteNonFungible: boolean;888 readonly asConcreteNonFungible: {889 readonly class: XcmV0MultiLocation;890 readonly instance: XcmV1MultiassetAssetInstance;891 } & Struct;892 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';893 }894895 /** @name XcmV1MultiassetAssetInstance (101) */896 export interface XcmV1MultiassetAssetInstance extends Enum {897 readonly isUndefined: boolean;898 readonly isIndex: boolean;899 readonly asIndex: Compact<u128>;900 readonly isArray4: boolean;901 readonly asArray4: U8aFixed;902 readonly isArray8: boolean;903 readonly asArray8: U8aFixed;904 readonly isArray16: boolean;905 readonly asArray16: U8aFixed;906 readonly isArray32: boolean;907 readonly asArray32: U8aFixed;908 readonly isBlob: boolean;909 readonly asBlob: Bytes;910 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';911 }912913 /** @name XcmV0Order (104) */914 export interface XcmV0Order extends Enum {915 readonly isNull: boolean;916 readonly isDepositAsset: boolean;917 readonly asDepositAsset: {918 readonly assets: Vec<XcmV0MultiAsset>;919 readonly dest: XcmV0MultiLocation;920 } & Struct;921 readonly isDepositReserveAsset: boolean;922 readonly asDepositReserveAsset: {923 readonly assets: Vec<XcmV0MultiAsset>;924 readonly dest: XcmV0MultiLocation;925 readonly effects: Vec<XcmV0Order>;926 } & Struct;927 readonly isExchangeAsset: boolean;928 readonly asExchangeAsset: {929 readonly give: Vec<XcmV0MultiAsset>;930 readonly receive: Vec<XcmV0MultiAsset>;931 } & Struct;932 readonly isInitiateReserveWithdraw: boolean;933 readonly asInitiateReserveWithdraw: {934 readonly assets: Vec<XcmV0MultiAsset>;935 readonly reserve: XcmV0MultiLocation;936 readonly effects: Vec<XcmV0Order>;937 } & Struct;938 readonly isInitiateTeleport: boolean;939 readonly asInitiateTeleport: {940 readonly assets: Vec<XcmV0MultiAsset>;941 readonly dest: XcmV0MultiLocation;942 readonly effects: Vec<XcmV0Order>;943 } & Struct;944 readonly isQueryHolding: boolean;945 readonly asQueryHolding: {946 readonly queryId: Compact<u64>;947 readonly dest: XcmV0MultiLocation;948 readonly assets: Vec<XcmV0MultiAsset>;949 } & Struct;950 readonly isBuyExecution: boolean;951 readonly asBuyExecution: {952 readonly fees: XcmV0MultiAsset;953 readonly weight: u64;954 readonly debt: u64;955 readonly haltOnError: bool;956 readonly xcm: Vec<XcmV0Xcm>;957 } & Struct;958 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';959 }960961 /** @name XcmV0Response (106) */962 export interface XcmV0Response extends Enum {963 readonly isAssets: boolean;964 readonly asAssets: Vec<XcmV0MultiAsset>;965 readonly type: 'Assets';966 }967968 /** @name XcmV0OriginKind (107) */969 export interface XcmV0OriginKind extends Enum {970 readonly isNative: boolean;971 readonly isSovereignAccount: boolean;972 readonly isSuperuser: boolean;973 readonly isXcm: boolean;974 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';975 }976977 /** @name XcmDoubleEncoded (108) */978 export interface XcmDoubleEncoded extends Struct {979 readonly encoded: Bytes;980 }981982 /** @name XcmV1Xcm (109) */983 export interface XcmV1Xcm extends Enum {984 readonly isWithdrawAsset: boolean;985 readonly asWithdrawAsset: {986 readonly assets: XcmV1MultiassetMultiAssets;987 readonly effects: Vec<XcmV1Order>;988 } & Struct;989 readonly isReserveAssetDeposited: boolean;990 readonly asReserveAssetDeposited: {991 readonly assets: XcmV1MultiassetMultiAssets;992 readonly effects: Vec<XcmV1Order>;993 } & Struct;994 readonly isReceiveTeleportedAsset: boolean;995 readonly asReceiveTeleportedAsset: {996 readonly assets: XcmV1MultiassetMultiAssets;997 readonly effects: Vec<XcmV1Order>;998 } & Struct;999 readonly isQueryResponse: boolean;1000 readonly asQueryResponse: {1001 readonly queryId: Compact<u64>;1002 readonly response: XcmV1Response;1003 } & Struct;1004 readonly isTransferAsset: boolean;1005 readonly asTransferAsset: {1006 readonly assets: XcmV1MultiassetMultiAssets;1007 readonly beneficiary: XcmV1MultiLocation;1008 } & Struct;1009 readonly isTransferReserveAsset: boolean;1010 readonly asTransferReserveAsset: {1011 readonly assets: XcmV1MultiassetMultiAssets;1012 readonly dest: XcmV1MultiLocation;1013 readonly effects: Vec<XcmV1Order>;1014 } & Struct;1015 readonly isTransact: boolean;1016 readonly asTransact: {1017 readonly originType: XcmV0OriginKind;1018 readonly requireWeightAtMost: u64;1019 readonly call: XcmDoubleEncoded;1020 } & Struct;1021 readonly isHrmpNewChannelOpenRequest: boolean;1022 readonly asHrmpNewChannelOpenRequest: {1023 readonly sender: Compact<u32>;1024 readonly maxMessageSize: Compact<u32>;1025 readonly maxCapacity: Compact<u32>;1026 } & Struct;1027 readonly isHrmpChannelAccepted: boolean;1028 readonly asHrmpChannelAccepted: {1029 readonly recipient: Compact<u32>;1030 } & Struct;1031 readonly isHrmpChannelClosing: boolean;1032 readonly asHrmpChannelClosing: {1033 readonly initiator: Compact<u32>;1034 readonly sender: Compact<u32>;1035 readonly recipient: Compact<u32>;1036 } & Struct;1037 readonly isRelayedFrom: boolean;1038 readonly asRelayedFrom: {1039 readonly who: XcmV1MultilocationJunctions;1040 readonly message: XcmV1Xcm;1041 } & Struct;1042 readonly isSubscribeVersion: boolean;1043 readonly asSubscribeVersion: {1044 readonly queryId: Compact<u64>;1045 readonly maxResponseWeight: Compact<u64>;1046 } & Struct;1047 readonly isUnsubscribeVersion: boolean;1048 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1049 }10501051 /** @name XcmV1MultiassetMultiAssets (110) */1052 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10531054 /** @name XcmV1MultiAsset (112) */1055 export interface XcmV1MultiAsset extends Struct {1056 readonly id: XcmV1MultiassetAssetId;1057 readonly fun: XcmV1MultiassetFungibility;1058 }10591060 /** @name XcmV1MultiassetAssetId (113) */1061 export interface XcmV1MultiassetAssetId extends Enum {1062 readonly isConcrete: boolean;1063 readonly asConcrete: XcmV1MultiLocation;1064 readonly isAbstract: boolean;1065 readonly asAbstract: Bytes;1066 readonly type: 'Concrete' | 'Abstract';1067 }10681069 /** @name XcmV1MultiassetFungibility (114) */1070 export interface XcmV1MultiassetFungibility extends Enum {1071 readonly isFungible: boolean;1072 readonly asFungible: Compact<u128>;1073 readonly isNonFungible: boolean;1074 readonly asNonFungible: XcmV1MultiassetAssetInstance;1075 readonly type: 'Fungible' | 'NonFungible';1076 }10771078 /** @name XcmV1Order (116) */1079 export interface XcmV1Order extends Enum {1080 readonly isNoop: boolean;1081 readonly isDepositAsset: boolean;1082 readonly asDepositAsset: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly maxAssets: u32;1085 readonly beneficiary: XcmV1MultiLocation;1086 } & Struct;1087 readonly isDepositReserveAsset: boolean;1088 readonly asDepositReserveAsset: {1089 readonly assets: XcmV1MultiassetMultiAssetFilter;1090 readonly maxAssets: u32;1091 readonly dest: XcmV1MultiLocation;1092 readonly effects: Vec<XcmV1Order>;1093 } & Struct;1094 readonly isExchangeAsset: boolean;1095 readonly asExchangeAsset: {1096 readonly give: XcmV1MultiassetMultiAssetFilter;1097 readonly receive: XcmV1MultiassetMultiAssets;1098 } & Struct;1099 readonly isInitiateReserveWithdraw: boolean;1100 readonly asInitiateReserveWithdraw: {1101 readonly assets: XcmV1MultiassetMultiAssetFilter;1102 readonly reserve: XcmV1MultiLocation;1103 readonly effects: Vec<XcmV1Order>;1104 } & Struct;1105 readonly isInitiateTeleport: boolean;1106 readonly asInitiateTeleport: {1107 readonly assets: XcmV1MultiassetMultiAssetFilter;1108 readonly dest: XcmV1MultiLocation;1109 readonly effects: Vec<XcmV1Order>;1110 } & Struct;1111 readonly isQueryHolding: boolean;1112 readonly asQueryHolding: {1113 readonly queryId: Compact<u64>;1114 readonly dest: XcmV1MultiLocation;1115 readonly assets: XcmV1MultiassetMultiAssetFilter;1116 } & Struct;1117 readonly isBuyExecution: boolean;1118 readonly asBuyExecution: {1119 readonly fees: XcmV1MultiAsset;1120 readonly weight: u64;1121 readonly debt: u64;1122 readonly haltOnError: bool;1123 readonly instructions: Vec<XcmV1Xcm>;1124 } & Struct;1125 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1126 }11271128 /** @name XcmV1MultiassetMultiAssetFilter (117) */1129 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1130 readonly isDefinite: boolean;1131 readonly asDefinite: XcmV1MultiassetMultiAssets;1132 readonly isWild: boolean;1133 readonly asWild: XcmV1MultiassetWildMultiAsset;1134 readonly type: 'Definite' | 'Wild';1135 }11361137 /** @name XcmV1MultiassetWildMultiAsset (118) */1138 export interface XcmV1MultiassetWildMultiAsset extends Enum {1139 readonly isAll: boolean;1140 readonly isAllOf: boolean;1141 readonly asAllOf: {1142 readonly id: XcmV1MultiassetAssetId;1143 readonly fun: XcmV1MultiassetWildFungibility;1144 } & Struct;1145 readonly type: 'All' | 'AllOf';1146 }11471148 /** @name XcmV1MultiassetWildFungibility (119) */1149 export interface XcmV1MultiassetWildFungibility extends Enum {1150 readonly isFungible: boolean;1151 readonly isNonFungible: boolean;1152 readonly type: 'Fungible' | 'NonFungible';1153 }11541155 /** @name XcmV1Response (121) */1156 export interface XcmV1Response extends Enum {1157 readonly isAssets: boolean;1158 readonly asAssets: XcmV1MultiassetMultiAssets;1159 readonly isVersion: boolean;1160 readonly asVersion: u32;1161 readonly type: 'Assets' | 'Version';1162 }11631164 /** @name XcmV2Xcm (122) */1165 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11661167 /** @name XcmV2Instruction (124) */1168 export interface XcmV2Instruction extends Enum {1169 readonly isWithdrawAsset: boolean;1170 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1171 readonly isReserveAssetDeposited: boolean;1172 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1173 readonly isReceiveTeleportedAsset: boolean;1174 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1175 readonly isQueryResponse: boolean;1176 readonly asQueryResponse: {1177 readonly queryId: Compact<u64>;1178 readonly response: XcmV2Response;1179 readonly maxWeight: Compact<u64>;1180 } & Struct;1181 readonly isTransferAsset: boolean;1182 readonly asTransferAsset: {1183 readonly assets: XcmV1MultiassetMultiAssets;1184 readonly beneficiary: XcmV1MultiLocation;1185 } & Struct;1186 readonly isTransferReserveAsset: boolean;1187 readonly asTransferReserveAsset: {1188 readonly assets: XcmV1MultiassetMultiAssets;1189 readonly dest: XcmV1MultiLocation;1190 readonly xcm: XcmV2Xcm;1191 } & Struct;1192 readonly isTransact: boolean;1193 readonly asTransact: {1194 readonly originType: XcmV0OriginKind;1195 readonly requireWeightAtMost: Compact<u64>;1196 readonly call: XcmDoubleEncoded;1197 } & Struct;1198 readonly isHrmpNewChannelOpenRequest: boolean;1199 readonly asHrmpNewChannelOpenRequest: {1200 readonly sender: Compact<u32>;1201 readonly maxMessageSize: Compact<u32>;1202 readonly maxCapacity: Compact<u32>;1203 } & Struct;1204 readonly isHrmpChannelAccepted: boolean;1205 readonly asHrmpChannelAccepted: {1206 readonly recipient: Compact<u32>;1207 } & Struct;1208 readonly isHrmpChannelClosing: boolean;1209 readonly asHrmpChannelClosing: {1210 readonly initiator: Compact<u32>;1211 readonly sender: Compact<u32>;1212 readonly recipient: Compact<u32>;1213 } & Struct;1214 readonly isClearOrigin: boolean;1215 readonly isDescendOrigin: boolean;1216 readonly asDescendOrigin: XcmV1MultilocationJunctions;1217 readonly isReportError: boolean;1218 readonly asReportError: {1219 readonly queryId: Compact<u64>;1220 readonly dest: XcmV1MultiLocation;1221 readonly maxResponseWeight: Compact<u64>;1222 } & Struct;1223 readonly isDepositAsset: boolean;1224 readonly asDepositAsset: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly maxAssets: Compact<u32>;1227 readonly beneficiary: XcmV1MultiLocation;1228 } & Struct;1229 readonly isDepositReserveAsset: boolean;1230 readonly asDepositReserveAsset: {1231 readonly assets: XcmV1MultiassetMultiAssetFilter;1232 readonly maxAssets: Compact<u32>;1233 readonly dest: XcmV1MultiLocation;1234 readonly xcm: XcmV2Xcm;1235 } & Struct;1236 readonly isExchangeAsset: boolean;1237 readonly asExchangeAsset: {1238 readonly give: XcmV1MultiassetMultiAssetFilter;1239 readonly receive: XcmV1MultiassetMultiAssets;1240 } & Struct;1241 readonly isInitiateReserveWithdraw: boolean;1242 readonly asInitiateReserveWithdraw: {1243 readonly assets: XcmV1MultiassetMultiAssetFilter;1244 readonly reserve: XcmV1MultiLocation;1245 readonly xcm: XcmV2Xcm;1246 } & Struct;1247 readonly isInitiateTeleport: boolean;1248 readonly asInitiateTeleport: {1249 readonly assets: XcmV1MultiassetMultiAssetFilter;1250 readonly dest: XcmV1MultiLocation;1251 readonly xcm: XcmV2Xcm;1252 } & Struct;1253 readonly isQueryHolding: boolean;1254 readonly asQueryHolding: {1255 readonly queryId: Compact<u64>;1256 readonly dest: XcmV1MultiLocation;1257 readonly assets: XcmV1MultiassetMultiAssetFilter;1258 readonly maxResponseWeight: Compact<u64>;1259 } & Struct;1260 readonly isBuyExecution: boolean;1261 readonly asBuyExecution: {1262 readonly fees: XcmV1MultiAsset;1263 readonly weightLimit: XcmV2WeightLimit;1264 } & Struct;1265 readonly isRefundSurplus: boolean;1266 readonly isSetErrorHandler: boolean;1267 readonly asSetErrorHandler: XcmV2Xcm;1268 readonly isSetAppendix: boolean;1269 readonly asSetAppendix: XcmV2Xcm;1270 readonly isClearError: boolean;1271 readonly isClaimAsset: boolean;1272 readonly asClaimAsset: {1273 readonly assets: XcmV1MultiassetMultiAssets;1274 readonly ticket: XcmV1MultiLocation;1275 } & Struct;1276 readonly isTrap: boolean;1277 readonly asTrap: Compact<u64>;1278 readonly isSubscribeVersion: boolean;1279 readonly asSubscribeVersion: {1280 readonly queryId: Compact<u64>;1281 readonly maxResponseWeight: Compact<u64>;1282 } & Struct;1283 readonly isUnsubscribeVersion: boolean;1284 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';1285 }12861287 /** @name XcmV2Response (125) */1288 export interface XcmV2Response extends Enum {1289 readonly isNull: boolean;1290 readonly isAssets: boolean;1291 readonly asAssets: XcmV1MultiassetMultiAssets;1292 readonly isExecutionResult: boolean;1293 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1294 readonly isVersion: boolean;1295 readonly asVersion: u32;1296 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1297 }12981299 /** @name XcmV2TraitsError (128) */1300 export interface XcmV2TraitsError extends Enum {1301 readonly isOverflow: boolean;1302 readonly isUnimplemented: boolean;1303 readonly isUntrustedReserveLocation: boolean;1304 readonly isUntrustedTeleportLocation: boolean;1305 readonly isMultiLocationFull: boolean;1306 readonly isMultiLocationNotInvertible: boolean;1307 readonly isBadOrigin: boolean;1308 readonly isInvalidLocation: boolean;1309 readonly isAssetNotFound: boolean;1310 readonly isFailedToTransactAsset: boolean;1311 readonly isNotWithdrawable: boolean;1312 readonly isLocationCannotHold: boolean;1313 readonly isExceedsMaxMessageSize: boolean;1314 readonly isDestinationUnsupported: boolean;1315 readonly isTransport: boolean;1316 readonly isUnroutable: boolean;1317 readonly isUnknownClaim: boolean;1318 readonly isFailedToDecode: boolean;1319 readonly isMaxWeightInvalid: boolean;1320 readonly isNotHoldingFees: boolean;1321 readonly isTooExpensive: boolean;1322 readonly isTrap: boolean;1323 readonly asTrap: u64;1324 readonly isUnhandledXcmVersion: boolean;1325 readonly isWeightLimitReached: boolean;1326 readonly asWeightLimitReached: u64;1327 readonly isBarrier: boolean;1328 readonly isWeightNotComputable: boolean;1329 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';1330 }13311332 /** @name XcmV2WeightLimit (129) */1333 export interface XcmV2WeightLimit extends Enum {1334 readonly isUnlimited: boolean;1335 readonly isLimited: boolean;1336 readonly asLimited: Compact<u64>;1337 readonly type: 'Unlimited' | 'Limited';1338 }13391340 /** @name XcmVersionedMultiAssets (130) */1341 export interface XcmVersionedMultiAssets extends Enum {1342 readonly isV0: boolean;1343 readonly asV0: Vec<XcmV0MultiAsset>;1344 readonly isV1: boolean;1345 readonly asV1: XcmV1MultiassetMultiAssets;1346 readonly type: 'V0' | 'V1';1347 }13481349 /** @name CumulusPalletXcmCall (145) */1350 export type CumulusPalletXcmCall = Null;13511352 /** @name CumulusPalletDmpQueueCall (146) */1353 export interface CumulusPalletDmpQueueCall extends Enum {1354 readonly isServiceOverweight: boolean;1355 readonly asServiceOverweight: {1356 readonly index: u64;1357 readonly weightLimit: u64;1358 } & Struct;1359 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1360 }13611362 /** @name XcmVersionedMultiLocation (81) */1363 interface XcmVersionedMultiLocation extends Enum {1364 readonly isV0: boolean;1365 readonly asV0: XcmV0MultiLocation;1366 readonly isV1: boolean;1367 readonly asV1: XcmV1MultiLocation;1368 readonly type: 'V0' | 'V1';1369 }13701371 /** @name CumulusPalletXcmEvent (82) */1372 interface CumulusPalletXcmEvent extends Enum {1373 readonly isInvalidFormat: boolean;1374 readonly asInvalidFormat: U8aFixed;1375 readonly isUnsupportedVersion: boolean;1376 readonly asUnsupportedVersion: U8aFixed;1377 readonly isExecutedDownward: boolean;1378 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1379 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1380 }13811382 /** @name PalletInflationCall (147) */1383 export interface PalletInflationCall extends Enum {1384 readonly isStartInflation: boolean;1385 readonly asStartInflation: {1386 readonly inflationStartRelayBlock: u32;1387 } & Struct;1388<<<<<<< HEAD1389 readonly isUnsupportedVersion: boolean;1390 readonly asUnsupportedVersion: {1391 readonly messageId: U8aFixed;1392=======1393 readonly type: 'StartInflation';1394 }13951396 /** @name PalletUniqueCall (148) */1397 export interface PalletUniqueCall extends Enum {1398 readonly isCreateCollection: boolean;1399 readonly asCreateCollection: {1400 readonly collectionName: Vec<u16>;1401 readonly collectionDescription: Vec<u16>;1402 readonly tokenPrefix: Bytes;1403 readonly mode: UpDataStructsCollectionMode;1404>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1405 } & Struct;1406 readonly isExecutedDownward: boolean;1407 readonly asExecutedDownward: {1408 readonly messageId: U8aFixed;1409 readonly outcome: XcmV2TraitsOutcome;1410 } & Struct;1411 readonly isWeightExhausted: boolean;1412 readonly asWeightExhausted: {1413 readonly messageId: U8aFixed;1414 readonly remainingWeight: u64;1415 readonly requiredWeight: u64;1416 } & Struct;1417 readonly isOverweightEnqueued: boolean;1418 readonly asOverweightEnqueued: {1419 readonly messageId: U8aFixed;1420 readonly overweightIndex: u64;1421 readonly requiredWeight: u64;1422 } & Struct;1423 readonly isOverweightServiced: boolean;1424 readonly asOverweightServiced: {1425 readonly overweightIndex: u64;1426 readonly weightUsed: u64;1427 } & Struct;1428 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1429 }14301431 /** @name PalletUniqueRawEvent (84) */1432 interface PalletUniqueRawEvent extends Enum {1433 readonly isCollectionSponsorRemoved: boolean;1434 readonly asCollectionSponsorRemoved: u32;1435 readonly isCollectionAdminAdded: boolean;1436 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1437 readonly isCollectionOwnedChanged: boolean;1438 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1439 readonly isCollectionSponsorSet: boolean;1440 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1441 readonly isSponsorshipConfirmed: boolean;1442 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1443 readonly isCollectionAdminRemoved: boolean;1444 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1445 readonly isAllowListAddressRemoved: boolean;1446 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1447 readonly isAllowListAddressAdded: boolean;1448 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1449 readonly isCollectionLimitSet: boolean;1450 readonly asCollectionLimitSet: u32;1451 readonly isCollectionPermissionSet: boolean;1452 readonly asCollectionPermissionSet: u32;1453 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1454 }14551456 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1457 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1458 readonly isSubstrate: boolean;1459 readonly asSubstrate: AccountId32;1460 readonly isEthereum: boolean;1461 readonly asEthereum: H160;1462 readonly type: 'Substrate' | 'Ethereum';1463 }14641465 /** @name PalletUniqueSchedulerEvent (88) */1466 interface PalletUniqueSchedulerEvent extends Enum {1467 readonly isScheduled: boolean;1468 readonly asScheduled: {1469 readonly when: u32;1470 readonly index: u32;1471 } & Struct;1472 readonly isCanceled: boolean;1473 readonly asCanceled: {1474 readonly when: u32;1475 readonly index: u32;1476 } & Struct;1477 readonly isDispatched: boolean;1478 readonly asDispatched: {1479 readonly task: ITuple<[u32, u32]>;1480 readonly id: Option<U8aFixed>;1481 readonly result: Result<Null, SpRuntimeDispatchError>;1482 } & Struct;1483 readonly isCallLookupFailed: boolean;1484 readonly asCallLookupFailed: {1485 readonly task: ITuple<[u32, u32]>;1486 readonly id: Option<U8aFixed>;1487 readonly error: FrameSupportScheduleLookupError;1488 } & Struct;1489 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1490 }14911492 /** @name FrameSupportScheduleLookupError (91) */1493 interface FrameSupportScheduleLookupError extends Enum {1494 readonly isUnknown: boolean;1495 readonly isBadFormat: boolean;1496 readonly type: 'Unknown' | 'BadFormat';1497 }14981499 /** @name PalletCommonEvent (92) */1500 interface PalletCommonEvent extends Enum {1501 readonly isCollectionCreated: boolean;1502 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1503 readonly isCollectionDestroyed: boolean;1504 readonly asCollectionDestroyed: u32;1505 readonly isItemCreated: boolean;1506 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1507 readonly isItemDestroyed: boolean;1508 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1509 readonly isTransfer: boolean;1510 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1511 readonly isApproved: boolean;1512 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1513 readonly isCollectionPropertySet: boolean;1514 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1515 readonly isCollectionPropertyDeleted: boolean;1516 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1517 readonly isTokenPropertySet: boolean;1518 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1519 readonly isTokenPropertyDeleted: boolean;1520 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1521 readonly isPropertyPermissionSet: boolean;1522 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1523 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1524 }15251526 /** @name PalletStructureEvent (95) */1527 interface PalletStructureEvent extends Enum {1528 readonly isExecuted: boolean;1529 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1530 readonly type: 'Executed';1531 }15321533 /** @name PalletRmrkCoreEvent (96) */1534 interface PalletRmrkCoreEvent extends Enum {1535 readonly isCollectionCreated: boolean;1536 readonly asCollectionCreated: {1537 readonly issuer: AccountId32;1538 readonly collectionId: u32;1539 } & Struct;1540 readonly isCollectionDestroyed: boolean;1541 readonly asCollectionDestroyed: {1542 readonly issuer: AccountId32;1543 readonly collectionId: u32;1544 readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;1545 } & Struct;1546 readonly isIssuerChanged: boolean;1547 readonly asIssuerChanged: {1548 readonly oldIssuer: AccountId32;1549 readonly newIssuer: AccountId32;1550 readonly collectionId: u32;1551 } & Struct;1552 readonly isCollectionLocked: boolean;1553 readonly asCollectionLocked: {1554 readonly issuer: AccountId32;1555 readonly collectionId: u32;1556 } & Struct;1557 readonly isNftMinted: boolean;1558 readonly asNftMinted: {1559 readonly owner: AccountId32;1560 readonly collectionId: u32;1561 readonly nftId: u32;1562 } & Struct;1563 readonly isNftBurned: boolean;1564 readonly asNftBurned: {1565 readonly owner: AccountId32;1566 readonly nftId: u32;1567 } & Struct;1568 readonly isNftSent: boolean;1569 readonly asNftSent: {1570 readonly sender: AccountId32;1571 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1572 readonly collectionId: u32;1573 readonly nftId: u32;1574 readonly approvalRequired: bool;1575 } & Struct;1576 readonly isNftAccepted: boolean;1577 readonly asNftAccepted: {1578 readonly sender: AccountId32;1579 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1580 readonly collectionId: u32;1581 readonly nftId: u32;1582 } & Struct;1583 readonly isNftRejected: boolean;1584 readonly asNftRejected: {1585 readonly sender: AccountId32;1586 readonly collectionId: u32;1587 readonly nftId: u32;1588 } & Struct;1589 readonly isPropertySet: boolean;1590 readonly asPropertySet: {1591 readonly collectionId: u32;1592 readonly maybeNftId: Option<u32>;1593 readonly key: Bytes;1594 readonly value: Bytes;1595 } & Struct;1596 readonly isResourceAdded: boolean;1597 readonly asResourceAdded: {1598 readonly nftId: u32;1599 readonly resourceId: u32;1600 } & Struct;1601 readonly isResourceRemoval: boolean;1602 readonly asResourceRemoval: {1603 readonly nftId: u32;1604 readonly resourceId: u32;1605 } & Struct;1606 readonly isResourceAccepted: boolean;1607 readonly asResourceAccepted: {1608 readonly nftId: u32;1609 readonly resourceId: u32;1610 } & Struct;1611 readonly isCreateMultipleItemsEx: boolean;1612 readonly asCreateMultipleItemsEx: {1613 readonly collectionId: u32;1614 readonly data: UpDataStructsCreateItemExData;1615 } & Struct;1616 readonly isSetTransfersEnabledFlag: boolean;1617 readonly asSetTransfersEnabledFlag: {1618 readonly collectionId: u32;1619 readonly value: bool;1620 } & Struct;1621 readonly isBurnItem: boolean;1622 readonly asBurnItem: {1623 readonly collectionId: u32;1624 readonly itemId: u32;1625 readonly value: u128;1626 } & Struct;1627 readonly isBurnFrom: boolean;1628 readonly asBurnFrom: {1629 readonly collectionId: u32;1630 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1631 readonly itemId: u32;1632 readonly value: u128;1633 } & Struct;1634 readonly isSetCode: boolean;1635 readonly asSetCode: {1636 readonly code: Bytes;1637 } & Struct;1638 readonly isSetCodeWithoutChecks: boolean;1639 readonly asSetCodeWithoutChecks: {1640 readonly code: Bytes;1641 } & Struct;1642 readonly isSetStorage: boolean;1643 readonly asSetStorage: {1644 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1645 } & Struct;1646 readonly isKillStorage: boolean;1647 readonly asKillStorage: {1648 readonly keys_: Vec<Bytes>;1649 } & Struct;1650 readonly isKillPrefix: boolean;1651 readonly asKillPrefix: {1652 readonly prefix: Bytes;1653 readonly subkeys: u32;1654 } & Struct;1655 readonly isRemarkWithEvent: boolean;1656 readonly asRemarkWithEvent: {1657 readonly remark: Bytes;1658 } & Struct;1659 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';1660 }16611662 /** @name UpDataStructsCollectionMode (155) */1663 export interface UpDataStructsCollectionMode extends Enum {1664 readonly isNft: boolean;1665 readonly isFungible: boolean;1666 readonly asFungible: u8;1667 readonly isReFungible: boolean;1668 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1669 }16701671 /** @name UpDataStructsCreateCollectionData (155) */1672 export interface UpDataStructsCreateCollectionData extends Struct {1673 readonly mode: UpDataStructsCollectionMode;1674 readonly access: Option<UpDataStructsAccessMode>;1675 readonly name: Vec<u16>;1676 readonly description: Vec<u16>;1677 readonly tokenPrefix: Bytes;1678 readonly pendingSponsor: Option<AccountId32>;1679 readonly limits: Option<UpDataStructsCollectionLimits>;1680 readonly permissions: Option<UpDataStructsCollectionPermissions>;1681 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1682 readonly properties: Vec<UpDataStructsProperty>;1683 }16841685 /** @name UpDataStructsAccessMode (157) */1686 export interface UpDataStructsAccessMode extends Enum {1687 readonly isNormal: boolean;1688 readonly isAllowList: boolean;1689 readonly type: 'Normal' | 'AllowList';1690 }16911692 /** @name UpDataStructsCollectionLimits (160) */1693 export interface UpDataStructsCollectionLimits extends Struct {1694 readonly accountTokenOwnershipLimit: Option<u32>;1695 readonly sponsoredDataSize: Option<u32>;1696 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1697 readonly tokenLimit: Option<u32>;1698 readonly sponsorTransferTimeout: Option<u32>;1699 readonly sponsorApproveTimeout: Option<u32>;1700 readonly ownerCanTransfer: Option<bool>;1701 readonly ownerCanDestroy: Option<bool>;1702 readonly transfersEnabled: Option<bool>;1703 }17041705 /** @name UpDataStructsSponsoringRateLimit (162) */1706 export interface UpDataStructsSponsoringRateLimit extends Enum {1707 readonly isSponsoringDisabled: boolean;1708 readonly isBlocks: boolean;1709 readonly asBlocks: u32;1710 readonly type: 'SponsoringDisabled' | 'Blocks';1711 }17121713 /** @name UpDataStructsCollectionPermissions (165) */1714 export interface UpDataStructsCollectionPermissions extends Struct {1715 readonly access: Option<UpDataStructsAccessMode>;1716 readonly mintMode: Option<bool>;1717 readonly nesting: Option<UpDataStructsNestingPermissions>;1718 }17191720 /** @name UpDataStructsNestingPermissions (167) */1721 export interface UpDataStructsNestingPermissions extends Struct {1722 readonly tokenOwner: bool;1723 readonly collectionAdmin: bool;1724 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;1725 }17261727 /** @name UpDataStructsOwnerRestrictedSet (169) */1728 export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}17291730 /** @name UpDataStructsPropertyKeyPermission (175) */1731 export interface UpDataStructsPropertyKeyPermission extends Struct {1732 readonly key: Bytes;1733 readonly permission: UpDataStructsPropertyPermission;1734 }17351736 /** @name UpDataStructsPropertyPermission (177) */1737 export interface UpDataStructsPropertyPermission extends Struct {1738 readonly mutable: bool;1739 readonly collectionAdmin: bool;1740 readonly tokenOwner: bool;1741 }17421743 /** @name UpDataStructsProperty (180) */1744 export interface UpDataStructsProperty extends Struct {1745 readonly key: Bytes;1746 readonly value: Bytes;1747 }17481749 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1750 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1751 readonly isSubstrate: boolean;1752 readonly asSubstrate: AccountId32;1753 readonly isEthereum: boolean;1754 readonly asEthereum: H160;1755 readonly type: 'Substrate' | 'Ethereum';1756 }17571758 /** @name UpDataStructsCreateItemData (185) */1759 export interface UpDataStructsCreateItemData extends Enum {1760 readonly isNft: boolean;1761 readonly asNft: UpDataStructsCreateNftData;1762 readonly isFungible: boolean;1763 readonly asFungible: UpDataStructsCreateFungibleData;1764 readonly isReFungible: boolean;1765 readonly asReFungible: UpDataStructsCreateReFungibleData;1766 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1767 }17681769 /** @name UpDataStructsCreateNftData (186) */1770 export interface UpDataStructsCreateNftData extends Struct {1771 readonly properties: Vec<UpDataStructsProperty>;1772 }17731774 /** @name UpDataStructsCreateFungibleData (187) */1775 export interface UpDataStructsCreateFungibleData extends Struct {1776 readonly value: u128;1777 }17781779 /** @name UpDataStructsCreateReFungibleData (188) */1780 export interface UpDataStructsCreateReFungibleData extends Struct {1781 readonly pieces: u128;1782 readonly properties: Vec<UpDataStructsProperty>;1783>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1784 }17851786 /** @name FrameSystemLimitsBlockLength (128) */1787 interface FrameSystemLimitsBlockLength extends Struct {1788 readonly max: FrameSupportWeightsPerDispatchClassU32;1789 }17901791 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1792 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1793 readonly normal: u32;1794 readonly operational: u32;1795 readonly mandatory: u32;1796 }17971798 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1799 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1800 readonly read: u64;1801 readonly write: u64;1802 }18031804 /** @name SpVersionRuntimeVersion (131) */1805 interface SpVersionRuntimeVersion extends Struct {1806 readonly specName: Text;1807 readonly implName: Text;1808 readonly authoringVersion: u32;1809 readonly specVersion: u32;1810 readonly implVersion: u32;1811 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1812 readonly transactionVersion: u32;1813 readonly stateVersion: u8;1814 }18151816<<<<<<< HEAD1817 /** @name FrameSystemError (136) */1818 interface FrameSystemError extends Enum {1819 readonly isInvalidSpecName: boolean;1820 readonly isSpecVersionNeedsToIncrease: boolean;1821 readonly isFailedToExtractRuntimeVersion: boolean;1822 readonly isNonDefaultComposite: boolean;1823 readonly isNonZeroRefCount: boolean;1824 readonly isCallFiltered: boolean;1825 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1826 }18271828 /** @name UpDataStructsCreateItemExData (192) */1829 export interface UpDataStructsCreateItemExData extends Enum {1830 readonly isNft: boolean;1831 readonly asNft: Vec<UpDataStructsCreateNftExData>;1832 readonly isFungible: boolean;1833 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1834 readonly isRefungibleMultipleItems: boolean;1835 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;1836 readonly isRefungibleMultipleOwners: boolean;1837 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;1838 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1839 }18401841 /** @name UpDataStructsCreateNftExData (194) */1842 export interface UpDataStructsCreateNftExData extends Struct {1843 readonly properties: Vec<UpDataStructsProperty>;1844 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1845 }18461847 /** @name UpDataStructsCreateRefungibleExSingleOwner (201) */1848 export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {1849 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;1850 readonly pieces: u128;1851 readonly properties: Vec<UpDataStructsProperty>;1852 }18531854 /** @name UpDataStructsCreateRefungibleExMultipleOwners (203) */1855 export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {1856 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1857 readonly properties: Vec<UpDataStructsProperty>;1858 }18591860 /** @name PalletUniqueSchedulerCall (204) */1861 export interface PalletUniqueSchedulerCall extends Enum {1862 readonly isScheduleNamed: boolean;1863 readonly asScheduleNamed: {1864 readonly id: U8aFixed;1865 readonly when: u32;1866 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1867 readonly priority: u8;1868 readonly call: FrameSupportScheduleMaybeHashed;1869 } & Struct;1870 readonly isCancelNamed: boolean;1871 readonly asCancelNamed: {1872 readonly id: U8aFixed;1873 } & Struct;1874 readonly isScheduleNamedAfter: boolean;1875 readonly asScheduleNamedAfter: {1876 readonly id: U8aFixed;1877 readonly after: u32;1878 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1879 readonly priority: u8;1880 readonly call: FrameSupportScheduleMaybeHashed;1881 } & Struct;1882 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1883 }18841885 /** @name FrameSupportScheduleMaybeHashed (206) */1886 export interface FrameSupportScheduleMaybeHashed extends Enum {1887 readonly isValue: boolean;1888 readonly asValue: Call;1889 readonly isHash: boolean;1890 readonly asHash: H256;1891 readonly type: 'Value' | 'Hash';1892 }18931894 /** @name PalletTemplateTransactionPaymentCall (207) */1895 export type PalletTemplateTransactionPaymentCall = Null;18961897 /** @name PalletStructureCall (208) */1898 export type PalletStructureCall = Null;18991900 /** @name PalletRmrkCoreCall (209) */1901 export interface PalletRmrkCoreCall extends Enum {1902 readonly isCreateCollection: boolean;1903 readonly asCreateCollection: {1904 readonly metadata: Bytes;1905 readonly max: Option<u32>;1906 readonly symbol: Bytes;1907 } & Struct;1908 readonly isDestroyCollection: boolean;1909 readonly asDestroyCollection: {1910 readonly collectionId: u32;1911 } & Struct;1912 readonly isChangeCollectionIssuer: boolean;1913 readonly asChangeCollectionIssuer: {1914 readonly collectionId: u32;1915 readonly newIssuer: MultiAddress;1916 } & Struct;1917 readonly isLockCollection: boolean;1918 readonly asLockCollection: {1919 readonly collectionId: u32;1920 } & Struct;1921 readonly isMintNft: boolean;1922 readonly asMintNft: {1923 readonly owner: Option<AccountId32>;1924 readonly collectionId: u32;1925 readonly recipient: Option<AccountId32>;1926 readonly royaltyAmount: Option<Permill>;1927 readonly metadata: Bytes;1928 readonly transferable: bool;1929 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1930 } & Struct;1931 readonly isBurnNft: boolean;1932 readonly asBurnNft: {1933 readonly collectionId: u32;1934 readonly nftId: u32;1935 readonly maxBurns: u32;1936 } & Struct;1937 readonly isSend: boolean;1938 readonly asSend: {1939 readonly rmrkCollectionId: u32;1940 readonly rmrkNftId: u32;1941 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1942 } & Struct;1943 readonly isAcceptNft: boolean;1944 readonly asAcceptNft: {1945 readonly rmrkCollectionId: u32;1946 readonly rmrkNftId: u32;1947 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1948 } & Struct;1949 readonly isRejectNft: boolean;1950 readonly asRejectNft: {1951 readonly rmrkCollectionId: u32;1952 readonly rmrkNftId: u32;1953 } & Struct;1954 readonly isAcceptResource: boolean;1955 readonly asAcceptResource: {1956 readonly rmrkCollectionId: u32;1957 readonly rmrkNftId: u32;1958 readonly resourceId: u32;1959 } & Struct;1960 readonly isAcceptResourceRemoval: boolean;1961 readonly asAcceptResourceRemoval: {1962 readonly rmrkCollectionId: u32;1963 readonly rmrkNftId: u32;1964 readonly resourceId: u32;1965 } & Struct;1966 readonly isSetProperty: boolean;1967 readonly asSetProperty: {1968 readonly rmrkCollectionId: Compact<u32>;1969 readonly maybeNftId: Option<u32>;1970 readonly key: Bytes;1971 readonly value: Bytes;1972 } & Struct;1973 readonly isSetPriority: boolean;1974 readonly asSetPriority: {1975 readonly rmrkCollectionId: u32;1976 readonly rmrkNftId: u32;1977 readonly priorities: Vec<u32>;1978 } & Struct;1979 readonly isAddBasicResource: boolean;1980 readonly asAddBasicResource: {1981 readonly rmrkCollectionId: u32;1982 readonly nftId: u32;1983 readonly resource: RmrkTraitsResourceBasicResource;1984 } & Struct;1985 readonly isAddComposableResource: boolean;1986 readonly asAddComposableResource: {1987 readonly rmrkCollectionId: u32;1988 readonly nftId: u32;1989 readonly resource: RmrkTraitsResourceComposableResource;1990 } & Struct;1991 readonly isAddSlotResource: boolean;1992 readonly asAddSlotResource: {1993 readonly rmrkCollectionId: u32;1994 readonly nftId: u32;1995 readonly resource: RmrkTraitsResourceSlotResource;1996 } & Struct;1997 readonly isRemoveResource: boolean;1998 readonly asRemoveResource: {1999 readonly rmrkCollectionId: u32;2000 readonly nftId: u32;2001 readonly resourceId: u32;2002 } & Struct;2003 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2004 }20052006 /** @name RmrkTraitsResourceResourceTypes (215) */2007 export interface RmrkTraitsResourceResourceTypes extends Enum {2008 readonly isBasic: boolean;2009 readonly asBasic: RmrkTraitsResourceBasicResource;2010 readonly isComposable: boolean;2011 readonly asComposable: RmrkTraitsResourceComposableResource;2012 readonly isSlot: boolean;2013 readonly asSlot: RmrkTraitsResourceSlotResource;2014 readonly type: 'Basic' | 'Composable' | 'Slot';2015 }20162017 /** @name RmrkTraitsResourceBasicResource (217) */2018 export interface RmrkTraitsResourceBasicResource extends Struct {2019 readonly src: Option<Bytes>;2020 readonly metadata: Option<Bytes>;2021 readonly license: Option<Bytes>;2022 readonly thumb: Option<Bytes>;2023 }20242025 /** @name RmrkTraitsResourceComposableResource (219) */2026 export interface RmrkTraitsResourceComposableResource extends Struct {2027 readonly parts: Vec<u32>;2028 readonly base: u32;2029 readonly src: Option<Bytes>;2030 readonly metadata: Option<Bytes>;2031 readonly license: Option<Bytes>;2032 readonly thumb: Option<Bytes>;2033 }20342035 /** @name RmrkTraitsResourceSlotResource (220) */2036 export interface RmrkTraitsResourceSlotResource extends Struct {2037 readonly base: u32;2038 readonly src: Option<Bytes>;2039 readonly metadata: Option<Bytes>;2040 readonly slot: u32;2041 readonly license: Option<Bytes>;2042 readonly thumb: Option<Bytes>;2043 }20442045 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */2046 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2047 readonly isAccountId: boolean;2048 readonly asAccountId: AccountId32;2049 readonly isCollectionAndNftTuple: boolean;2050 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2051 readonly type: 'AccountId' | 'CollectionAndNftTuple';2052 }20532054 /** @name PalletRmrkEquipCall (226) */2055 export interface PalletRmrkEquipCall extends Enum {2056 readonly isCreateBase: boolean;2057 readonly asCreateBase: {2058 readonly baseType: Bytes;2059 readonly symbol: Bytes;2060 readonly parts: Vec<RmrkTraitsPartPartType>;2061 } & Struct;2062 readonly isThemeAdd: boolean;2063 readonly asThemeAdd: {2064 readonly baseId: u32;2065 readonly theme: RmrkTraitsTheme;2066 } & Struct;2067 readonly isEquippable: boolean;2068 readonly asEquippable: {2069 readonly baseId: u32;2070 readonly slotId: u32;2071 readonly equippables: RmrkTraitsPartEquippableList;2072 } & Struct;2073 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2074 }20752076 /** @name RmrkTraitsPartPartType (229) */2077 export interface RmrkTraitsPartPartType extends Enum {2078 readonly isFixedPart: boolean;2079 readonly asFixedPart: RmrkTraitsPartFixedPart;2080 readonly isSlotPart: boolean;2081 readonly asSlotPart: RmrkTraitsPartSlotPart;2082 readonly type: 'FixedPart' | 'SlotPart';2083 }20842085 /** @name RmrkTraitsPartFixedPart (231) */2086 export interface RmrkTraitsPartFixedPart extends Struct {2087 readonly id: u32;2088 readonly z: u32;2089 readonly src: Bytes;2090 }20912092 /** @name RmrkTraitsPartSlotPart (232) */2093 export interface RmrkTraitsPartSlotPart extends Struct {2094 readonly id: u32;2095 readonly equippable: RmrkTraitsPartEquippableList;2096 readonly src: Bytes;2097 readonly z: u32;2098 }20992100 /** @name RmrkTraitsPartEquippableList (233) */2101 export interface RmrkTraitsPartEquippableList extends Enum {2102 readonly isAll: boolean;2103 readonly type: 'Fee' | 'Misc' | 'All';2104 }21052106 /** @name RmrkTraitsTheme (235) */2107 export interface RmrkTraitsTheme extends Struct {2108 readonly name: Bytes;2109 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2110 readonly inherit: bool;2111 }21122113 /** @name RmrkTraitsThemeThemeProperty (237) */2114 export interface RmrkTraitsThemeThemeProperty extends Struct {2115 readonly key: Bytes;2116 readonly value: Bytes;2117 }21182119 /** @name PalletAppPromotionCall (239) */2120 export interface PalletAppPromotionCall extends Enum {2121 readonly isSetAdminAddress: boolean;2122 readonly asSetAdminAddress: {2123 readonly admin: AccountId32;2124 } & Struct;2125 readonly isStartAppPromotion: boolean;2126 readonly asStartAppPromotion: {2127 readonly promotionStartRelayBlock: u32;2128 } & Struct;2129 readonly isStake: boolean;2130 readonly asStake: {2131 readonly amount: u128;2132 } & Struct;2133 readonly isUnstake: boolean;2134 readonly asUnstake: {2135 readonly amount: u128;2136 } & Struct;2137 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';2138 }21392140 /** @name PalletEvmCall (240) */2141 export interface PalletEvmCall extends Enum {2142 readonly isWithdraw: boolean;2143 readonly asWithdraw: {2144 readonly address: H160;2145 readonly value: u128;2146>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2147 } & Struct;2148 readonly isSetBalance: boolean;2149 readonly asSetBalance: {2150 readonly who: MultiAddress;2151 readonly newFree: Compact<u128>;2152 readonly newReserved: Compact<u128>;2153 } & Struct;2154 readonly isForceTransfer: boolean;2155 readonly asForceTransfer: {2156 readonly source: MultiAddress;2157 readonly dest: MultiAddress;2158 readonly value: Compact<u128>;2159 } & Struct;2160 readonly isTransferKeepAlive: boolean;2161 readonly asTransferKeepAlive: {2162 readonly dest: MultiAddress;2163 readonly value: Compact<u128>;2164 } & Struct;2165<<<<<<< HEAD2166 readonly isTransferAll: boolean;2167 readonly asTransferAll: {2168 readonly dest: MultiAddress;2169 readonly keepAlive: bool;2170=======2171 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2172 }21732174 /** @name PalletEthereumCall (246) */2175 export interface PalletEthereumCall extends Enum {2176 readonly isTransact: boolean;2177 readonly asTransact: {2178 readonly transaction: EthereumTransactionTransactionV2;2179>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2180 } & Struct;2181 readonly isForceUnreserve: boolean;2182 readonly asForceUnreserve: {2183 readonly who: MultiAddress;2184 readonly amount: u128;2185 } & Struct;2186 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2187 }21882189 /** @name EthereumTransactionTransactionV2 (247) */2190 export interface EthereumTransactionTransactionV2 extends Enum {2191 readonly isLegacy: boolean;2192 readonly asLegacy: EthereumTransactionLegacyTransaction;2193 readonly isEip2930: boolean;2194 readonly asEip2930: EthereumTransactionEip2930Transaction;2195 readonly isEip1559: boolean;2196 readonly asEip1559: EthereumTransactionEip1559Transaction;2197 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2198 }21992200 /** @name EthereumTransactionLegacyTransaction (248) */2201 export interface EthereumTransactionLegacyTransaction extends Struct {2202 readonly nonce: U256;2203 readonly gasPrice: U256;2204 readonly gasLimit: U256;2205 readonly action: EthereumTransactionTransactionAction;2206 readonly value: U256;2207 readonly input: Bytes;2208 readonly signature: EthereumTransactionTransactionSignature;2209 }22102211 /** @name EthereumTransactionTransactionAction (249) */2212 export interface EthereumTransactionTransactionAction extends Enum {2213 readonly isCall: boolean;2214 readonly asCall: H160;2215 readonly isCreate: boolean;2216 readonly type: 'Call' | 'Create';2217 }22182219 /** @name EthereumTransactionTransactionSignature (250) */2220 export interface EthereumTransactionTransactionSignature extends Struct {2221 readonly v: u64;2222 readonly r: H256;2223 readonly s: H256;2224 }22252226 /** @name EthereumTransactionEip2930Transaction (252) */2227 export interface EthereumTransactionEip2930Transaction extends Struct {2228 readonly chainId: u64;2229 readonly nonce: U256;2230 readonly gasPrice: U256;2231 readonly gasLimit: U256;2232 readonly action: EthereumTransactionTransactionAction;2233 readonly value: U256;2234 readonly input: Bytes;2235 readonly accessList: Vec<EthereumTransactionAccessListItem>;2236 readonly oddYParity: bool;2237 readonly r: H256;2238 readonly s: H256;2239 }22402241 /** @name EthereumTransactionAccessListItem (254) */2242 export interface EthereumTransactionAccessListItem extends Struct {2243 readonly address: H160;2244 readonly storageKeys: Vec<H256>;2245 }22462247 /** @name EthereumTransactionEip1559Transaction (255) */2248 export interface EthereumTransactionEip1559Transaction extends Struct {2249 readonly chainId: u64;2250 readonly nonce: U256;2251 readonly maxPriorityFeePerGas: U256;2252 readonly maxFeePerGas: U256;2253 readonly gasLimit: U256;2254 readonly action: EthereumTransactionTransactionAction;2255 readonly value: U256;2256 readonly input: Bytes;2257 readonly accessList: Vec<EthereumTransactionAccessListItem>;2258 readonly oddYParity: bool;2259 readonly r: H256;2260 readonly s: H256;2261 }22622263 /** @name PalletEvmMigrationCall (256) */2264 export interface PalletEvmMigrationCall extends Enum {2265 readonly isBegin: boolean;2266 readonly asBegin: {2267 readonly address: H160;2268>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2269 } & Struct;2270 readonly isSudoUncheckedWeight: boolean;2271 readonly asSudoUncheckedWeight: {2272 readonly call: Call;2273 readonly weight: u64;2274 } & Struct;2275 readonly isSetKey: boolean;2276 readonly asSetKey: {2277 readonly new_: MultiAddress;2278 } & Struct;2279 readonly isSudoAs: boolean;2280 readonly asSudoAs: {2281 readonly who: MultiAddress;2282 readonly call: Call;2283 } & Struct;2284 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2285 }22862287 /** @name PalletSudoEvent (259) */2288 export interface PalletSudoEvent extends Enum {2289 readonly isSudid: boolean;2290 readonly asSudid: {2291 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2292 } & Struct;2293 readonly isKeyChanged: boolean;2294 readonly asKeyChanged: {2295 readonly oldSudoer: Option<AccountId32>;2296 } & Struct;2297 readonly isSudoAsDone: boolean;2298 readonly asSudoAsDone: {2299 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2300 } & Struct;2301 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2302 }23032304 /** @name SpRuntimeDispatchError (261) */2305 export interface SpRuntimeDispatchError extends Enum {2306 readonly isOther: boolean;2307 readonly isCannotLookup: boolean;2308 readonly isBadOrigin: boolean;2309 readonly isModule: boolean;2310 readonly asModule: SpRuntimeModuleError;2311 readonly isConsumerRemaining: boolean;2312 readonly isNoProviders: boolean;2313 readonly isTooManyConsumers: boolean;2314 readonly isToken: boolean;2315 readonly asToken: SpRuntimeTokenError;2316 readonly isArithmetic: boolean;2317 readonly asArithmetic: SpRuntimeArithmeticError;2318 readonly isTransactional: boolean;2319 readonly asTransactional: SpRuntimeTransactionalError;2320 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2321 }23222323 /** @name SpRuntimeModuleError (262) */2324 export interface SpRuntimeModuleError extends Struct {2325 readonly index: u8;2326 readonly error: U8aFixed;2327 }23282329 /** @name SpRuntimeTokenError (263) */2330 export interface SpRuntimeTokenError extends Enum {2331 readonly isNoFunds: boolean;2332 readonly isWouldDie: boolean;2333 readonly isBelowMinimum: boolean;2334 readonly isCannotCreate: boolean;2335 readonly isUnknownAsset: boolean;2336 readonly isFrozen: boolean;2337 readonly isUnsupported: boolean;2338 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2339 }23402341 /** @name SpRuntimeArithmeticError (264) */2342 export interface SpRuntimeArithmeticError extends Enum {2343 readonly isUnderflow: boolean;2344 readonly isOverflow: boolean;2345 readonly isDivisionByZero: boolean;2346 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2347 }23482349 /** @name SpRuntimeTransactionalError (265) */2350 export interface SpRuntimeTransactionalError extends Enum {2351 readonly isLimitReached: boolean;2352 readonly isNoLayer: boolean;2353 readonly type: 'LimitReached' | 'NoLayer';2354 }23552356 /** @name PalletSudoError (266) */2357 export interface PalletSudoError extends Enum {2358 readonly isRequireSudo: boolean;2359 readonly type: 'RequireSudo';2360 }23612362 /** @name FrameSystemAccountInfo (267) */2363 export interface FrameSystemAccountInfo extends Struct {2364 readonly nonce: u32;2365 readonly consumers: u32;2366 readonly providers: u32;2367 readonly sufficients: u32;2368 readonly data: PalletBalancesAccountData;2369 }23702371 /** @name FrameSupportWeightsPerDispatchClassU64 (268) */2372 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2373 readonly normal: u64;2374 readonly operational: u64;2375 readonly mandatory: u64;2376 }23772378 /** @name SpRuntimeDigest (269) */2379 export interface SpRuntimeDigest extends Struct {2380 readonly logs: Vec<SpRuntimeDigestDigestItem>;2381 }23822383 /** @name SpRuntimeDigestDigestItem (271) */2384 export interface SpRuntimeDigestDigestItem extends Enum {2385 readonly isOther: boolean;2386 readonly asOther: Bytes;2387 readonly isConsensus: boolean;2388 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2389 readonly isSeal: boolean;2390 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2391 readonly isPreRuntime: boolean;2392 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2393 readonly isRuntimeEnvironmentUpdated: boolean;2394 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2395 }23962397 /** @name FrameSystemEventRecord (273) */2398 export interface FrameSystemEventRecord extends Struct {2399 readonly phase: FrameSystemPhase;2400 readonly event: Event;2401 readonly topics: Vec<H256>;2402 }24032404 /** @name FrameSystemEvent (275) */2405 export interface FrameSystemEvent extends Enum {2406 readonly isExtrinsicSuccess: boolean;2407 readonly asExtrinsicSuccess: {2408 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2409 } & Struct;2410 readonly isExtrinsicFailed: boolean;2411 readonly asExtrinsicFailed: {2412 readonly dispatchError: SpRuntimeDispatchError;2413 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2414 } & Struct;2415 readonly isCodeUpdated: boolean;2416 readonly isNewAccount: boolean;2417 readonly asNewAccount: {2418 readonly account: AccountId32;2419 } & Struct;2420 readonly isKilledAccount: boolean;2421 readonly asKilledAccount: {2422 readonly account: AccountId32;2423 } & Struct;2424 readonly isRemarked: boolean;2425 readonly asRemarked: {2426 readonly sender: AccountId32;2427 readonly hash_: H256;2428 } & Struct;2429 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2430 }24312432 /** @name FrameSupportWeightsDispatchInfo (276) */2433 export interface FrameSupportWeightsDispatchInfo extends Struct {2434 readonly weight: u64;2435 readonly class: FrameSupportWeightsDispatchClass;2436 readonly paysFee: FrameSupportWeightsPays;2437 }24382439 /** @name FrameSupportWeightsDispatchClass (277) */2440 export interface FrameSupportWeightsDispatchClass extends Enum {2441 readonly isNormal: boolean;2442 readonly isOperational: boolean;2443 readonly isMandatory: boolean;2444 readonly type: 'Normal' | 'Operational' | 'Mandatory';2445 }24462447 /** @name FrameSupportWeightsPays (278) */2448 export interface FrameSupportWeightsPays extends Enum {2449 readonly isYes: boolean;2450 readonly isNo: boolean;2451 readonly type: 'Yes' | 'No';2452 }24532454 /** @name OrmlVestingModuleEvent (279) */2455 export interface OrmlVestingModuleEvent extends Enum {2456 readonly isVestingScheduleAdded: boolean;2457 readonly asVestingScheduleAdded: {2458 readonly from: AccountId32;2459 readonly to: AccountId32;2460 readonly vestingSchedule: OrmlVestingVestingSchedule;2461 } & Struct;2462 readonly isClaimed: boolean;2463 readonly asClaimed: {2464 readonly who: AccountId32;2465 readonly amount: u128;2466 } & Struct;2467 readonly isVestingSchedulesUpdated: boolean;2468 readonly asVestingSchedulesUpdated: {2469 readonly who: AccountId32;2470 } & Struct;2471 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2472 }24732474 /** @name CumulusPalletXcmpQueueEvent (280) */2475 export interface CumulusPalletXcmpQueueEvent extends Enum {2476 readonly isSuccess: boolean;2477 readonly asSuccess: Option<H256>;2478 readonly isFail: boolean;2479 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2480 readonly isBadVersion: boolean;2481 readonly asBadVersion: Option<H256>;2482 readonly isBadFormat: boolean;2483 readonly asBadFormat: Option<H256>;2484 readonly isUpwardMessageSent: boolean;2485 readonly asUpwardMessageSent: Option<H256>;2486 readonly isXcmpMessageSent: boolean;2487 readonly asXcmpMessageSent: Option<H256>;2488 readonly isOverweightEnqueued: boolean;2489 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2490 readonly isOverweightServiced: boolean;2491 readonly asOverweightServiced: ITuple<[u64, u64]>;2492 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2493 }24942495 /** @name PalletXcmEvent (281) */2496 export interface PalletXcmEvent extends Enum {2497 readonly isAttempted: boolean;2498 readonly asAttempted: XcmV2TraitsOutcome;2499 readonly isSent: boolean;2500 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2501 readonly isUnexpectedResponse: boolean;2502 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2503 readonly isResponseReady: boolean;2504 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2505 readonly isNotified: boolean;2506 readonly asNotified: ITuple<[u64, u8, u8]>;2507 readonly isNotifyOverweight: boolean;2508 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2509 readonly isNotifyDispatchError: boolean;2510 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2511 readonly isNotifyDecodeFailed: boolean;2512 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2513 readonly isInvalidResponder: boolean;2514 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2515 readonly isInvalidResponderVersion: boolean;2516 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2517 readonly isResponseTaken: boolean;2518 readonly asResponseTaken: u64;2519 readonly isAssetsTrapped: boolean;2520 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2521 readonly isVersionChangeNotified: boolean;2522 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2523 readonly isSupportedVersionChanged: boolean;2524 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2525 readonly isNotifyTargetSendFail: boolean;2526 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2527 readonly isNotifyTargetMigrationFail: boolean;2528 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2529 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2530 }25312532 /** @name XcmV2TraitsOutcome (282) */2533 export interface XcmV2TraitsOutcome extends Enum {2534 readonly isComplete: boolean;2535 readonly asComplete: u64;2536 readonly isIncomplete: boolean;2537 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2538 readonly isError: boolean;2539 readonly asError: XcmV2TraitsError;2540 readonly type: 'Complete' | 'Incomplete' | 'Error';2541 }25422543 /** @name CumulusPalletXcmEvent (284) */2544 export interface CumulusPalletXcmEvent extends Enum {2545 readonly isInvalidFormat: boolean;2546 readonly asInvalidFormat: U8aFixed;2547 readonly isUnsupportedVersion: boolean;2548 readonly asUnsupportedVersion: U8aFixed;2549 readonly isExecutedDownward: boolean;2550 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2551 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2552 }25532554 /** @name CumulusPalletDmpQueueEvent (285) */2555 export interface CumulusPalletDmpQueueEvent extends Enum {2556 readonly isInvalidFormat: boolean;2557 readonly asInvalidFormat: {2558 readonly messageId: U8aFixed;2559 } & Struct;2560 readonly isUnsupportedVersion: boolean;2561 readonly asUnsupportedVersion: {2562 readonly messageId: U8aFixed;2563 } & Struct;2564 readonly isExecutedDownward: boolean;2565 readonly asExecutedDownward: {2566 readonly messageId: U8aFixed;2567 readonly outcome: XcmV2TraitsOutcome;2568 } & Struct;2569 readonly isWeightExhausted: boolean;2570 readonly asWeightExhausted: {2571 readonly messageId: U8aFixed;2572 readonly remainingWeight: u64;2573 readonly requiredWeight: u64;2574 } & Struct;2575 readonly isOverweightEnqueued: boolean;2576 readonly asOverweightEnqueued: {2577 readonly messageId: U8aFixed;2578 readonly overweightIndex: u64;2579 readonly requiredWeight: u64;2580 } & Struct;2581 readonly isOverweightServiced: boolean;2582 readonly asOverweightServiced: {2583 readonly overweightIndex: u64;2584 readonly weightUsed: u64;2585 } & Struct;2586 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2587 }25882589 /** @name PalletUniqueRawEvent (286) */2590 export interface PalletUniqueRawEvent extends Enum {2591 readonly isCollectionSponsorRemoved: boolean;2592 readonly asCollectionSponsorRemoved: u32;2593 readonly isCollectionAdminAdded: boolean;2594 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2595 readonly isCollectionOwnedChanged: boolean;2596 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2597 readonly isCollectionSponsorSet: boolean;2598 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2599 readonly isSponsorshipConfirmed: boolean;2600 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2601 readonly isCollectionAdminRemoved: boolean;2602 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2603 readonly isAllowListAddressRemoved: boolean;2604 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2605 readonly isAllowListAddressAdded: boolean;2606 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2607 readonly isCollectionLimitSet: boolean;2608 readonly asCollectionLimitSet: u32;2609 readonly isCollectionPermissionSet: boolean;2610 readonly asCollectionPermissionSet: u32;2611 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2612 }26132614 /** @name PalletUniqueSchedulerEvent (287) */2615 export interface PalletUniqueSchedulerEvent extends Enum {2616 readonly isScheduled: boolean;2617 readonly asScheduled: {2618 readonly when: u32;2619 readonly index: u32;2620 } & Struct;2621 readonly isCanceled: boolean;2622 readonly asCanceled: {2623 readonly when: u32;2624 readonly index: u32;2625 } & Struct;2626 readonly isDispatched: boolean;2627 readonly asDispatched: {2628 readonly task: ITuple<[u32, u32]>;2629 readonly id: Option<U8aFixed>;2630 readonly result: Result<Null, SpRuntimeDispatchError>;2631 } & Struct;2632 readonly isCallLookupFailed: boolean;2633 readonly asCallLookupFailed: {2634 readonly task: ITuple<[u32, u32]>;2635 readonly id: Option<U8aFixed>;2636 readonly error: FrameSupportScheduleLookupError;2637 } & Struct;2638 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2639 }26402641 /** @name FrameSupportScheduleLookupError (289) */2642 export interface FrameSupportScheduleLookupError extends Enum {2643 readonly isUnknown: boolean;2644 readonly isBadFormat: boolean;2645 readonly type: 'Unknown' | 'BadFormat';2646 }26472648 /** @name PalletCommonEvent (290) */2649 export interface PalletCommonEvent extends Enum {2650 readonly isCollectionCreated: boolean;2651 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2652 readonly isCollectionDestroyed: boolean;2653 readonly asCollectionDestroyed: u32;2654 readonly isItemCreated: boolean;2655 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2656 readonly isItemDestroyed: boolean;2657 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2658 readonly isTransfer: boolean;2659 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2660 readonly isApproved: boolean;2661 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2662 readonly isCollectionPropertySet: boolean;2663 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2664 readonly isCollectionPropertyDeleted: boolean;2665 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2666 readonly isTokenPropertySet: boolean;2667 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2668 readonly isTokenPropertyDeleted: boolean;2669 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2670 readonly isPropertyPermissionSet: boolean;2671 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2672 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2673 }26742675 /** @name PalletStructureEvent (291) */2676 export interface PalletStructureEvent extends Enum {2677 readonly isExecuted: boolean;2678 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2679 readonly type: 'Executed';2680 }26812682 /** @name PalletRmrkCoreEvent (292) */2683 export interface PalletRmrkCoreEvent extends Enum {2684 readonly isCollectionCreated: boolean;2685 readonly asCollectionCreated: {2686 readonly issuer: AccountId32;2687 readonly collectionId: u32;2688 } & Struct;2689 readonly isCollectionDestroyed: boolean;2690 readonly asCollectionDestroyed: {2691 readonly issuer: AccountId32;2692 readonly collectionId: u32;2693 } & Struct;2694 readonly isIssuerChanged: boolean;2695 readonly asIssuerChanged: {2696 readonly oldIssuer: AccountId32;2697 readonly newIssuer: AccountId32;2698 readonly collectionId: u32;2699 } & Struct;2700 readonly isCollectionLocked: boolean;2701 readonly asCollectionLocked: {2702 readonly issuer: AccountId32;2703 readonly collectionId: u32;2704 } & Struct;2705 readonly isNftMinted: boolean;2706 readonly asNftMinted: {2707 readonly owner: AccountId32;2708 readonly collectionId: u32;2709 readonly nftId: u32;2710 } & Struct;2711 readonly isNftBurned: boolean;2712 readonly asNftBurned: {2713 readonly owner: AccountId32;2714 readonly nftId: u32;2715 } & Struct;2716 readonly isNftSent: boolean;2717 readonly asNftSent: {2718 readonly sender: AccountId32;2719 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2720 readonly collectionId: u32;2721 readonly nftId: u32;2722 readonly approvalRequired: bool;2723 } & Struct;2724 readonly isNftAccepted: boolean;2725 readonly asNftAccepted: {2726 readonly sender: AccountId32;2727 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2728 readonly collectionId: u32;2729 readonly nftId: u32;2730 } & Struct;2731 readonly isNftRejected: boolean;2732 readonly asNftRejected: {2733 readonly sender: AccountId32;2734 readonly collectionId: u32;2735 readonly nftId: u32;2736 } & Struct;2737 readonly isPropertySet: boolean;2738 readonly asPropertySet: {2739 readonly collectionId: u32;2740 readonly maybeNftId: Option<u32>;2741 readonly key: Bytes;2742 readonly value: Bytes;2743 } & Struct;2744 readonly isResourceAdded: boolean;2745 readonly asResourceAdded: {2746 readonly nftId: u32;2747 readonly resourceId: u32;2748 } & Struct;2749 readonly isResourceRemoval: boolean;2750 readonly asResourceRemoval: {2751 readonly nftId: u32;2752 readonly resourceId: u32;2753 } & Struct;2754 readonly isResourceAccepted: boolean;2755 readonly asResourceAccepted: {2756 readonly nftId: u32;2757 readonly resourceId: u32;2758 } & Struct;2759 readonly isResourceRemovalAccepted: boolean;2760 readonly asResourceRemovalAccepted: {2761 readonly nftId: u32;2762 readonly resourceId: u32;2763 } & Struct;2764 readonly isPrioritySet: boolean;2765 readonly asPrioritySet: {2766 readonly collectionId: u32;2767 readonly nftId: u32;2768 } & Struct;2769 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2770 }27712772 /** @name PalletRmrkEquipEvent (293) */2773 export interface PalletRmrkEquipEvent extends Enum {2774 readonly isBaseCreated: boolean;2775 readonly asBaseCreated: {2776 readonly issuer: AccountId32;2777 readonly baseId: u32;2778 } & Struct;2779 readonly isEquippablesUpdated: boolean;2780 readonly asEquippablesUpdated: {2781 readonly baseId: u32;2782 readonly slotId: u32;2783 } & Struct;2784 readonly type: 'BaseCreated' | 'EquippablesUpdated';2785 }27862787 /** @name PalletEvmEvent (294) */2788 export interface PalletEvmEvent extends Enum {2789 readonly isLog: boolean;2790 readonly asLog: EthereumLog;2791 readonly isCreated: boolean;2792 readonly asCreated: H160;2793 readonly isCreatedFailed: boolean;2794 readonly asCreatedFailed: H160;2795 readonly isExecuted: boolean;2796 readonly asExecuted: H160;2797 readonly isExecutedFailed: boolean;2798 readonly asExecutedFailed: H160;2799 readonly isBalanceDeposit: boolean;2800 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2801 readonly isBalanceWithdraw: boolean;2802 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2803 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2804 }28052806 /** @name EthereumLog (295) */2807 export interface EthereumLog extends Struct {2808 readonly address: H160;2809 readonly topics: Vec<H256>;2810 readonly data: Bytes;2811 }28122813 /** @name PalletEthereumEvent (296) */2814 export interface PalletEthereumEvent extends Enum {2815 readonly isExecuted: boolean;2816 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2817 readonly type: 'Executed';2818 }28192820 /** @name EvmCoreErrorExitReason (297) */2821 export interface EvmCoreErrorExitReason extends Enum {2822 readonly isSucceed: boolean;2823 readonly asSucceed: EvmCoreErrorExitSucceed;2824 readonly isError: boolean;2825 readonly asError: EvmCoreErrorExitError;2826 readonly isRevert: boolean;2827 readonly asRevert: EvmCoreErrorExitRevert;2828 readonly isFatal: boolean;2829 readonly asFatal: EvmCoreErrorExitFatal;2830 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2831 }28322833 /** @name EvmCoreErrorExitSucceed (298) */2834 export interface EvmCoreErrorExitSucceed extends Enum {2835 readonly isStopped: boolean;2836 readonly isReturned: boolean;2837 readonly isSuicided: boolean;2838 readonly type: 'Stopped' | 'Returned' | 'Suicided';2839 }28402841 /** @name EvmCoreErrorExitError (299) */2842 export interface EvmCoreErrorExitError extends Enum {2843 readonly isStackUnderflow: boolean;2844 readonly isStackOverflow: boolean;2845 readonly isInvalidJump: boolean;2846 readonly isInvalidRange: boolean;2847 readonly isDesignatedInvalid: boolean;2848 readonly isCallTooDeep: boolean;2849 readonly isCreateCollision: boolean;2850 readonly isCreateContractLimit: boolean;2851 readonly isOutOfOffset: boolean;2852 readonly isOutOfGas: boolean;2853 readonly isOutOfFund: boolean;2854 readonly isPcUnderflow: boolean;2855 readonly isCreateEmpty: boolean;2856 readonly isOther: boolean;2857 readonly asOther: Text;2858 readonly isInvalidCode: boolean;2859 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2860 }28612862 /** @name EvmCoreErrorExitRevert (302) */2863 export interface EvmCoreErrorExitRevert extends Enum {2864 readonly isReverted: boolean;2865 readonly type: 'Reverted';2866 }28672868 /** @name EvmCoreErrorExitFatal (303) */2869 export interface EvmCoreErrorExitFatal extends Enum {2870 readonly isNotSupported: boolean;2871 readonly isUnhandledInterrupt: boolean;2872 readonly isCallErrorAsFatal: boolean;2873 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2874 readonly isOther: boolean;2875 readonly asOther: Text;2876 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2877 }28782879 /** @name FrameSystemPhase (304) */2880 export interface FrameSystemPhase extends Enum {2881 readonly isApplyExtrinsic: boolean;2882 readonly asApplyExtrinsic: u32;2883 readonly isFinalization: boolean;2884 readonly isInitialization: boolean;2885 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2886 }28872888 /** @name FrameSystemLastRuntimeUpgradeInfo (306) */2889 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2890 readonly specVersion: Compact<u32>;2891 readonly specName: Text;2892 }28932894 /** @name FrameSystemLimitsBlockWeights (307) */2895 export interface FrameSystemLimitsBlockWeights extends Struct {2896 readonly baseBlock: u64;2897 readonly maxBlock: u64;2898 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2899 }29002901 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (308) */2902 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2903 readonly normal: FrameSystemLimitsWeightsPerClass;2904 readonly operational: FrameSystemLimitsWeightsPerClass;2905 readonly mandatory: FrameSystemLimitsWeightsPerClass;2906 }29072908 /** @name FrameSystemLimitsWeightsPerClass (309) */2909 export interface FrameSystemLimitsWeightsPerClass extends Struct {2910 readonly baseExtrinsic: u64;2911 readonly maxExtrinsic: Option<u64>;2912 readonly maxTotal: Option<u64>;2913 readonly reserved: Option<u64>;2914 }29152916 /** @name FrameSystemLimitsBlockLength (311) */2917 export interface FrameSystemLimitsBlockLength extends Struct {2918 readonly max: FrameSupportWeightsPerDispatchClassU32;2919 }29202921 /** @name FrameSupportWeightsPerDispatchClassU32 (312) */2922 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2923 readonly normal: u32;2924 readonly operational: u32;2925 readonly mandatory: u32;2926 }29272928 /** @name FrameSupportWeightsRuntimeDbWeight (313) */2929 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2930 readonly read: u64;2931 readonly write: u64;2932 }29332934 /** @name SpVersionRuntimeVersion (314) */2935 export interface SpVersionRuntimeVersion extends Struct {2936 readonly specName: Text;2937 readonly implName: Text;2938 readonly authoringVersion: u32;2939 readonly specVersion: u32;2940 readonly implVersion: u32;2941 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2942 readonly transactionVersion: u32;2943 readonly stateVersion: u8;2944 }29452946 /** @name FrameSystemError (318) */2947 export interface FrameSystemError extends Enum {2948 readonly isInvalidSpecName: boolean;2949 readonly isSpecVersionNeedsToIncrease: boolean;2950 readonly isFailedToExtractRuntimeVersion: boolean;2951 readonly isNonDefaultComposite: boolean;2952 readonly isNonZeroRefCount: boolean;2953 readonly isCallFiltered: boolean;2954 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2955 }29562957 /** @name OrmlVestingModuleError (320) */2958 export interface OrmlVestingModuleError extends Enum {2959 readonly isZeroVestingPeriod: boolean;2960 readonly isZeroVestingPeriodCount: boolean;2961 readonly isInsufficientBalanceToLock: boolean;2962 readonly isTooManyVestingSchedules: boolean;2963 readonly isAmountLow: boolean;2964 readonly isMaxVestingSchedulesExceeded: boolean;2965 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2966 }29672968 /** @name CumulusPalletXcmpQueueInboundChannelDetails (322) */2969 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2970 readonly sender: u32;2971 readonly state: CumulusPalletXcmpQueueInboundState;2972 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2973 }29742975 /** @name CumulusPalletXcmpQueueInboundState (323) */2976 export interface CumulusPalletXcmpQueueInboundState extends Enum {2977 readonly isOk: boolean;2978 readonly isSuspended: boolean;2979 readonly type: 'Ok' | 'Suspended';2980 }29812982 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (326) */2983 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2984 readonly isConcatenatedVersionedXcm: boolean;2985 readonly isConcatenatedEncodedBlob: boolean;2986 readonly isSignals: boolean;2987 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2988 }29892990 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (329) */2991 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2992 readonly recipient: u32;2993 readonly state: CumulusPalletXcmpQueueOutboundState;2994 readonly signalsExist: bool;2995 readonly firstIndex: u16;2996 readonly lastIndex: u16;2997 }29982999 /** @name CumulusPalletXcmpQueueOutboundState (330) */3000 export interface CumulusPalletXcmpQueueOutboundState extends Enum {3001 readonly isOk: boolean;3002 readonly isSuspended: boolean;3003 readonly type: 'Ok' | 'Suspended';3004 }30053006 /** @name CumulusPalletXcmpQueueQueueConfigData (332) */3007 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3008 readonly suspendThreshold: u32;3009 readonly dropThreshold: u32;3010 readonly resumeThreshold: u32;3011 readonly thresholdWeight: u64;3012 readonly weightRestrictDecay: u64;3013 readonly xcmpMaxIndividualWeight: u64;3014 }30153016 /** @name CumulusPalletXcmpQueueError (334) */3017 export interface CumulusPalletXcmpQueueError extends Enum {3018 readonly isFailedToSend: boolean;3019 readonly isBadXcmOrigin: boolean;3020 readonly isBadXcm: boolean;3021 readonly isBadOverweightIndex: boolean;3022 readonly isWeightOverLimit: boolean;3023 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3024 }30253026 /** @name PalletXcmError (335) */3027 export interface PalletXcmError extends Enum {3028 readonly isUnreachable: boolean;3029 readonly isSendFailure: boolean;3030 readonly isFiltered: boolean;3031 readonly isUnweighableMessage: boolean;3032 readonly isDestinationNotInvertible: boolean;3033 readonly isEmpty: boolean;3034 readonly isCannotReanchor: boolean;3035 readonly isTooManyAssets: boolean;3036 readonly isInvalidOrigin: boolean;3037 readonly isBadVersion: boolean;3038 readonly isBadLocation: boolean;3039 readonly isNoSubscription: boolean;3040 readonly isAlreadySubscribed: boolean;3041 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3042 }30433044 /** @name CumulusPalletXcmError (336) */3045 export type CumulusPalletXcmError = Null;30463047 /** @name CumulusPalletDmpQueueConfigData (337) */3048 export interface CumulusPalletDmpQueueConfigData extends Struct {3049 readonly maxIndividual: u64;3050 }30513052 /** @name CumulusPalletDmpQueuePageIndexData (338) */3053 export interface CumulusPalletDmpQueuePageIndexData extends Struct {3054 readonly beginUsed: u32;3055 readonly endUsed: u32;3056 readonly overweightCount: u64;3057 }30583059 /** @name CumulusPalletDmpQueueError (341) */3060 export interface CumulusPalletDmpQueueError extends Enum {3061 readonly isUnknown: boolean;3062 readonly isOverLimit: boolean;3063 readonly type: 'Unknown' | 'OverLimit';3064 }30653066 /** @name PalletUniqueError (345) */3067 export interface PalletUniqueError extends Enum {3068 readonly isCollectionDecimalPointLimitExceeded: boolean;3069 readonly isConfirmUnsetSponsorFail: boolean;3070 readonly isEmptyArgument: boolean;3071 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3072 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3073 }30743075 /** @name PalletUniqueSchedulerScheduledV3 (348) */3076 export interface PalletUniqueSchedulerScheduledV3 extends Struct {3077 readonly maybeId: Option<U8aFixed>;3078 readonly priority: u8;3079 readonly call: FrameSupportScheduleMaybeHashed;3080 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3081 readonly origin: OpalRuntimeOriginCaller;3082 }30833084 /** @name OpalRuntimeOriginCaller (349) */3085 export interface OpalRuntimeOriginCaller extends Enum {3086 readonly isVoid: boolean;3087 readonly isSystem: boolean;3088 readonly asSystem: FrameSupportDispatchRawOrigin;3089 readonly isVoid: boolean;3090 readonly isPolkadotXcm: boolean;3091 readonly asPolkadotXcm: PalletXcmOrigin;3092 readonly isCumulusXcm: boolean;3093 readonly asCumulusXcm: CumulusPalletXcmOrigin;3094 readonly isEthereum: boolean;3095 readonly asEthereum: PalletEthereumRawOrigin;3096 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3097 }30983099 /** @name FrameSupportDispatchRawOrigin (350) */3100 export interface FrameSupportDispatchRawOrigin extends Enum {3101 readonly isRoot: boolean;3102 readonly isSigned: boolean;3103 readonly asSigned: AccountId32;3104 readonly isNone: boolean;3105 readonly type: 'Root' | 'Signed' | 'None';3106 }31073108 /** @name PalletXcmOrigin (351) */3109 export interface PalletXcmOrigin extends Enum {3110 readonly isXcm: boolean;3111 readonly asXcm: XcmV1MultiLocation;3112 readonly isResponse: boolean;3113 readonly asResponse: XcmV1MultiLocation;3114 readonly type: 'Xcm' | 'Response';3115 }31163117 /** @name CumulusPalletXcmOrigin (352) */3118 export interface CumulusPalletXcmOrigin extends Enum {3119 readonly isRelay: boolean;3120 readonly isSiblingParachain: boolean;3121 readonly asSiblingParachain: u32;3122 readonly type: 'Relay' | 'SiblingParachain';3123 }31243125 /** @name PalletEthereumRawOrigin (353) */3126 export interface PalletEthereumRawOrigin extends Enum {3127 readonly isEthereumTransaction: boolean;3128 readonly asEthereumTransaction: H160;3129 readonly type: 'EthereumTransaction';3130 }31313132 /** @name SpCoreVoid (354) */3133 export type SpCoreVoid = Null;31343135 /** @name PalletUniqueSchedulerError (355) */3136 export interface PalletUniqueSchedulerError extends Enum {3137 readonly isFailedToSchedule: boolean;3138 readonly isNotFound: boolean;3139 readonly isTargetBlockNumberInPast: boolean;3140 readonly isRescheduleNoChange: boolean;3141 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3142 }31433144 /** @name UpDataStructsCollection (356) */3145 export interface UpDataStructsCollection extends Struct {3146 readonly owner: AccountId32;3147 readonly mode: UpDataStructsCollectionMode;3148 readonly name: Vec<u16>;3149 readonly description: Vec<u16>;3150 readonly tokenPrefix: Bytes;3151 readonly sponsorship: UpDataStructsSponsorshipState;3152 readonly limits: UpDataStructsCollectionLimits;3153 readonly permissions: UpDataStructsCollectionPermissions;3154 readonly externalCollection: bool;3155 }31563157 /** @name UpDataStructsSponsorshipState (357) */3158 export interface UpDataStructsSponsorshipState extends Enum {3159 readonly isDisabled: boolean;3160 readonly isUnconfirmed: boolean;3161 readonly asUnconfirmed: AccountId32;3162 readonly isConfirmed: boolean;3163 readonly asConfirmed: AccountId32;3164 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3165 }31663167 /** @name UpDataStructsProperties (358) */3168 export interface UpDataStructsProperties extends Struct {3169 readonly map: UpDataStructsPropertiesMapBoundedVec;3170 readonly consumedSpace: u32;3171 readonly spaceLimit: u32;3172 }31733174 /** @name UpDataStructsPropertiesMapBoundedVec (359) */3175 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}31763177 /** @name UpDataStructsPropertiesMapPropertyPermission (364) */3178 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}31793180 /** @name UpDataStructsCollectionStats (371) */3181 export interface UpDataStructsCollectionStats extends Struct {3182 readonly created: u32;3183 readonly destroyed: u32;3184 readonly alive: u32;3185 }31863187 /** @name UpDataStructsTokenChild (372) */3188 export interface UpDataStructsTokenChild extends Struct {3189 readonly token: u32;3190 readonly collection: u32;3191 }31923193 /** @name PhantomTypeUpDataStructs (373) */3194 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}31953196 /** @name UpDataStructsTokenData (375) */3197 export interface UpDataStructsTokenData extends Struct {3198 readonly properties: Vec<UpDataStructsProperty>;3199 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3200 readonly pieces: u128;3201 }32023203 /** @name UpDataStructsRpcCollection (377) */3204 export interface UpDataStructsRpcCollection extends Struct {3205 readonly owner: AccountId32;3206 readonly mode: UpDataStructsCollectionMode;3207 readonly name: Vec<u16>;3208 readonly description: Vec<u16>;3209 readonly tokenPrefix: Bytes;3210 readonly sponsorship: UpDataStructsSponsorshipState;3211 readonly limits: UpDataStructsCollectionLimits;3212 readonly permissions: UpDataStructsCollectionPermissions;3213 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3214 readonly properties: Vec<UpDataStructsProperty>;3215 readonly readOnly: bool;3216 }32173218 /** @name RmrkTraitsCollectionCollectionInfo (378) */3219 export interface RmrkTraitsCollectionCollectionInfo extends Struct {3220 readonly issuer: AccountId32;3221 readonly metadata: Bytes;3222 readonly max: Option<u32>;3223 readonly symbol: Bytes;3224 readonly nftsCount: u32;3225 }32263227 /** @name RmrkTraitsNftNftInfo (379) */3228 export interface RmrkTraitsNftNftInfo extends Struct {3229 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3230 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3231 readonly metadata: Bytes;3232 readonly equipped: bool;3233 readonly pending: bool;3234 }32353236 /** @name RmrkTraitsNftRoyaltyInfo (381) */3237 export interface RmrkTraitsNftRoyaltyInfo extends Struct {3238 readonly recipient: AccountId32;3239 readonly amount: Permill;3240 }32413242 /** @name RmrkTraitsResourceResourceInfo (382) */3243 export interface RmrkTraitsResourceResourceInfo extends Struct {3244 readonly id: u32;3245 readonly resource: RmrkTraitsResourceResourceTypes;3246 readonly pending: bool;3247 readonly pendingRemoval: bool;3248 }32493250 /** @name RmrkTraitsPropertyPropertyInfo (383) */3251 export interface RmrkTraitsPropertyPropertyInfo extends Struct {3252 readonly key: Bytes;3253 readonly value: Bytes;3254 }32553256 /** @name RmrkTraitsBaseBaseInfo (384) */3257 export interface RmrkTraitsBaseBaseInfo extends Struct {3258 readonly issuer: AccountId32;3259 readonly baseType: Bytes;3260 readonly symbol: Bytes;3261 }32623263 /** @name RmrkTraitsNftNftChild (385) */3264 export interface RmrkTraitsNftNftChild extends Struct {3265 readonly collectionId: u32;3266 readonly nftId: u32;3267 }32683269 /** @name PalletCommonError (387) */3270 export interface PalletCommonError extends Enum {3271 readonly isCollectionNotFound: boolean;3272 readonly isMustBeTokenOwner: boolean;3273 readonly isNoPermission: boolean;3274 readonly isCantDestroyNotEmptyCollection: boolean;3275 readonly isPublicMintingNotAllowed: boolean;3276 readonly isAddressNotInAllowlist: boolean;3277 readonly isCollectionNameLimitExceeded: boolean;3278 readonly isCollectionDescriptionLimitExceeded: boolean;3279 readonly isCollectionTokenPrefixLimitExceeded: boolean;3280 readonly isTotalCollectionsLimitExceeded: boolean;3281 readonly isCollectionAdminCountExceeded: boolean;3282 readonly isCollectionLimitBoundsExceeded: boolean;3283 readonly isOwnerPermissionsCantBeReverted: boolean;3284 readonly isTransferNotAllowed: boolean;3285 readonly isAccountTokenLimitExceeded: boolean;3286 readonly isCollectionTokenLimitExceeded: boolean;3287 readonly isMetadataFlagFrozen: boolean;3288 readonly isTokenNotFound: boolean;3289 readonly isTokenValueTooLow: boolean;3290 readonly isApprovedValueTooLow: boolean;3291 readonly isCantApproveMoreThanOwned: boolean;3292 readonly isAddressIsZero: boolean;3293 readonly isUnsupportedOperation: boolean;3294 readonly isNotSufficientFounds: boolean;3295 readonly isUserIsNotAllowedToNest: boolean;3296 readonly isSourceCollectionIsNotAllowedToNest: boolean;3297 readonly isCollectionFieldSizeExceeded: boolean;3298 readonly isNoSpaceForProperty: boolean;3299 readonly isPropertyLimitReached: boolean;3300 readonly isPropertyKeyIsTooLong: boolean;3301 readonly isInvalidCharacterInPropertyKey: boolean;3302 readonly isEmptyPropertyKey: boolean;3303 readonly isCollectionIsExternal: boolean;3304 readonly isCollectionIsInternal: boolean;3305 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';3306 }33073308 /** @name PalletFungibleError (389) */3309 export interface PalletFungibleError extends Enum {3310 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3311 readonly isFungibleItemsHaveNoId: boolean;3312 readonly isFungibleItemsDontHaveData: boolean;3313 readonly isFungibleDisallowsNesting: boolean;3314 readonly isSettingPropertiesNotAllowed: boolean;3315 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3316 }33173318 /** @name PalletRefungibleItemData (390) */3319 export interface PalletRefungibleItemData extends Struct {3320 readonly constData: Bytes;3321 }33223323 /** @name PalletRefungibleError (394) */3324 export interface PalletRefungibleError extends Enum {3325 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3326 readonly isWrongRefungiblePieces: boolean;3327 readonly isRepartitionWhileNotOwningAllPieces: boolean;3328 readonly isRefungibleDisallowsNesting: boolean;3329 readonly isSettingPropertiesNotAllowed: boolean;3330 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3331 }33323333 /** @name PalletNonfungibleItemData (395) */3334 export interface PalletNonfungibleItemData extends Struct {3335 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3336 }33373338 /** @name UpDataStructsPropertyScope (397) */3339 export interface UpDataStructsPropertyScope extends Enum {3340 readonly isNone: boolean;3341 readonly isRmrk: boolean;3342 readonly isEth: boolean;3343 readonly type: 'None' | 'Rmrk' | 'Eth';3344 }33453346 /** @name PalletNonfungibleError (399) */3347 export interface PalletNonfungibleError extends Enum {3348 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3349 readonly isNonfungibleItemsHaveNoAmount: boolean;3350 readonly isCantBurnNftWithChildren: boolean;3351 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3352 }33533354 /** @name PalletStructureError (400) */3355 export interface PalletStructureError extends Enum {3356 readonly isOuroborosDetected: boolean;3357 readonly isDepthLimit: boolean;3358 readonly isBreadthLimit: boolean;3359 readonly isTokenNotFound: boolean;3360 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3361 }33623363 /** @name PalletRmrkCoreError (401) */3364 export interface PalletRmrkCoreError extends Enum {3365 readonly isCorruptedCollectionType: boolean;3366 readonly isRmrkPropertyKeyIsTooLong: boolean;3367 readonly isRmrkPropertyValueIsTooLong: boolean;3368 readonly isRmrkPropertyIsNotFound: boolean;3369 readonly isUnableToDecodeRmrkData: boolean;3370 readonly isCollectionNotEmpty: boolean;3371 readonly isNoAvailableCollectionId: boolean;3372 readonly isNoAvailableNftId: boolean;3373 readonly isCollectionUnknown: boolean;3374 readonly isNoPermission: boolean;3375 readonly isNonTransferable: boolean;3376 readonly isCollectionFullOrLocked: boolean;3377 readonly isResourceDoesntExist: boolean;3378 readonly isCannotSendToDescendentOrSelf: boolean;3379 readonly isCannotAcceptNonOwnedNft: boolean;3380 readonly isCannotRejectNonOwnedNft: boolean;3381 readonly isCannotRejectNonPendingNft: boolean;3382 readonly isResourceNotPending: boolean;3383 readonly isNoAvailableResourceId: boolean;3384 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3385 }33863387 /** @name PalletRmrkEquipError (403) */3388 export interface PalletRmrkEquipError extends Enum {3389 readonly isPermissionError: boolean;3390 readonly isNoAvailableBaseId: boolean;3391 readonly isNoAvailablePartId: boolean;3392 readonly isBaseDoesntExist: boolean;3393 readonly isNeedsDefaultThemeFirst: boolean;3394 readonly isPartDoesntExist: boolean;3395 readonly isNoEquippableOnFixedPart: boolean;3396 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3397 }33983399 /** @name PalletEvmError (406) */3400 export interface PalletEvmError extends Enum {3401 readonly isBalanceLow: boolean;3402 readonly isFeeOverflow: boolean;3403 readonly isPaymentOverflow: boolean;3404 readonly isWithdrawFailed: boolean;3405 readonly isGasPriceTooLow: boolean;3406 readonly isInvalidNonce: boolean;3407 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3408 }34093410 /** @name FpRpcTransactionStatus (409) */3411 export interface FpRpcTransactionStatus extends Struct {3412 readonly transactionHash: H256;3413 readonly transactionIndex: u32;3414 readonly from: H160;3415 readonly to: Option<H160>;3416 readonly contractAddress: Option<H160>;3417 readonly logs: Vec<EthereumLog>;3418 readonly logsBloom: EthbloomBloom;3419 }34203421 /** @name EthbloomBloom (411) */3422 export interface EthbloomBloom extends U8aFixed {}34233424 /** @name EthereumReceiptReceiptV3 (413) */3425 export interface EthereumReceiptReceiptV3 extends Enum {3426 readonly isLegacy: boolean;3427 readonly asLegacy: EthereumReceiptEip658ReceiptData;3428 readonly isEip2930: boolean;3429 readonly asEip2930: EthereumReceiptEip658ReceiptData;3430 readonly isEip1559: boolean;3431 readonly asEip1559: EthereumReceiptEip658ReceiptData;3432 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3433 }34343435 /** @name EthereumReceiptEip658ReceiptData (414) */3436 export interface EthereumReceiptEip658ReceiptData extends Struct {3437 readonly statusCode: u8;3438 readonly usedGas: U256;3439 readonly logsBloom: EthbloomBloom;3440 readonly logs: Vec<EthereumLog>;3441 }34423443 /** @name EthereumBlock (415) */3444 export interface EthereumBlock extends Struct {3445 readonly header: EthereumHeader;3446 readonly transactions: Vec<EthereumTransactionTransactionV2>;3447 readonly ommers: Vec<EthereumHeader>;3448 }34493450 /** @name EthereumHeader (416) */3451 export interface EthereumHeader extends Struct {3452 readonly parentHash: H256;3453 readonly ommersHash: H256;3454 readonly beneficiary: H160;3455 readonly stateRoot: H256;3456 readonly transactionsRoot: H256;3457 readonly receiptsRoot: H256;3458 readonly logsBloom: EthbloomBloom;3459 readonly difficulty: U256;3460 readonly number: U256;3461 readonly gasLimit: U256;3462 readonly gasUsed: U256;3463 readonly timestamp: u64;3464 readonly extraData: Bytes;3465 readonly mixHash: H256;3466 readonly nonce: EthereumTypesHashH64;3467 }34683469 /** @name EthereumTypesHashH64 (417) */3470 export interface EthereumTypesHashH64 extends U8aFixed {}34713472 /** @name PalletEthereumError (422) */3473 export interface PalletEthereumError extends Enum {3474 readonly isInvalidSignature: boolean;3475 readonly isPreLogExists: boolean;3476 readonly type: 'InvalidSignature' | 'PreLogExists';3477 }34783479 /** @name PalletEvmCoderSubstrateError (423) */3480 export interface PalletEvmCoderSubstrateError extends Enum {3481 readonly isOutOfGas: boolean;3482 readonly isOutOfFund: boolean;3483 readonly type: 'OutOfGas' | 'OutOfFund';3484 }34853486 /** @name PalletEvmContractHelpersSponsoringModeT (424) */3487 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3488 readonly isDisabled: boolean;3489 readonly isAllowlisted: boolean;3490 readonly isGenerous: boolean;3491 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3492 }34933494 /** @name PalletEvmContractHelpersError (426) */3495 export interface PalletEvmContractHelpersError extends Enum {3496 readonly isNoPermission: boolean;3497 readonly type: 'NoPermission';3498 }34993500 /** @name PalletEvmMigrationError (427) */3501 export interface PalletEvmMigrationError extends Enum {3502 readonly isAccountNotEmpty: boolean;3503 readonly isAccountIsNotMigrating: boolean;3504 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3505 }35063507 /** @name SpRuntimeMultiSignature (429) */3508 export interface SpRuntimeMultiSignature extends Enum {3509 readonly isEd25519: boolean;3510 readonly asEd25519: SpCoreEd25519Signature;3511 readonly isSr25519: boolean;3512 readonly asSr25519: SpCoreSr25519Signature;3513 readonly isEcdsa: boolean;3514 readonly asEcdsa: SpCoreEcdsaSignature;3515 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3516 }35173518 /** @name SpCoreEd25519Signature (430) */3519 export interface SpCoreEd25519Signature extends U8aFixed {}35203521 /** @name SpCoreSr25519Signature (434) */3522 export interface SpCoreSr25519Signature extends U8aFixed {}35233524 /** @name SpCoreEcdsaSignature (435) */3525 export interface SpCoreEcdsaSignature extends U8aFixed {}35263527 /** @name FrameSystemExtensionsCheckSpecVersion (438) */3528 export type FrameSystemExtensionsCheckSpecVersion = Null;35293530 /** @name FrameSystemExtensionsCheckGenesis (439) */3531 export type FrameSystemExtensionsCheckGenesis = Null;35323533 /** @name FrameSystemExtensionsCheckNonce (442) */3534 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}35353536 /** @name FrameSystemExtensionsCheckWeight (443) */3537 export type FrameSystemExtensionsCheckWeight = Null;35383539 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (444) */3540 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}35413542 /** @name OpalRuntimeRuntime (445) */3543 export type OpalRuntimeRuntime = Null;35443545 /** @name PalletEthereumFakeTransactionFinalizer (444) */3546 export type PalletEthereumFakeTransactionFinalizer = Null;35473548} // declare moduletests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -190,5 +190,10 @@
[crossAccountParam('staker')],
'u128',
),
+ pendingUnstake: fun(
+ 'Returns the total amount of unstaked tokens',
+ [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
+ 'u128',
+ ),
},
};
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -68,9 +68,10 @@
const refungible = 'refungible';
const scheduler = 'scheduler';
const rmrkPallets = ['rmrkcore', 'rmrkequip'];
+ const appPromotion = 'promotion';
if (chain.eq('OPAL by UNIQUE')) {
- requiredPallets.push(refungible, scheduler, ...rmrkPallets);
+ requiredPallets.push(refungible, scheduler, appPromotion, ...rmrkPallets);
} else if (chain.eq('QUARTZ by UNIQUE')) {
// Insert Quartz additional pallets here
} else if (chain.eq('UNIQUE')) {
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -48,6 +48,7 @@
Fungible = 'fungible',
NFT = 'nonfungible',
Scheduler = 'scheduler',
+ AppPromotion = 'promotion',
}
export async function isUnique(): Promise<boolean> {
tests/src/util/playgrounds/index.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/index.ts
+++ b/tests/src/util/playgrounds/index.ts
@@ -4,7 +4,10 @@
import {IKeyringPair} from '@polkadot/types/types';
import config from '../../config';
import '../../interfaces/augment-api-events';
-import {DevUniqueHelper} from './unique.dev';
+import * as defs from '../../interfaces/definitions';
+import {ApiPromise, WsProvider} from '@polkadot/api';
+import { UniqueHelper } from './unique';
+
class SilentLogger {
log(msg: any, level: any): void { }
@@ -15,13 +18,53 @@
};
}
-export const usingPlaygrounds = async (code: (helper: DevUniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<void>) => {
+
+class DevUniqueHelper extends UniqueHelper {
+ async connect(wsEndpoint: string, listeners?: any): Promise<void> {
+ const wsProvider = new WsProvider(wsEndpoint);
+ this.api = new ApiPromise({
+ provider: wsProvider,
+ signedExtensions: {
+ ContractHelpers: {
+ extrinsic: {},
+ payload: {},
+ },
+ FakeTransactionFinalizer: {
+ extrinsic: {},
+ payload: {},
+ },
+ },
+ rpc: {
+ unique: defs.unique.rpc,
+ rmrk: defs.rmrk.rpc,
+ eth: {
+ feeHistory: {
+ description: 'Dummy',
+ params: [],
+ type: 'u8',
+ },
+ maxPriorityFeePerGas: {
+ description: 'Dummy',
+ params: [],
+ type: 'u8',
+ },
+ },
+ },
+ });
+ await this.api.isReadyOrError;
+ this.network = await UniqueHelper.detectNetwork(this.api);
+ }
+}
+
+
+export const usingPlaygrounds = async <T = void> (code: (helper: UniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {
// TODO: Remove, this is temporary: Filter unneeded API output
// (Jaco promised it will be removed in the next version)
const consoleErr = console.error;
const consoleLog = console.log;
const consoleWarn = console.warn;
-
+ let result: T = null as unknown as T;
+
const outFn = (printer: any) => (...args: any[]) => {
for (const arg of args) {
if (typeof arg !== 'string')
@@ -41,7 +84,7 @@
await helper.connect(config.substrateUrl);
const ss58Format = helper.chain.getChainProperties().ss58Format;
const privateKey = (seed: string) => helper.util.fromSeed(seed, ss58Format);
- await code(helper, privateKey);
+ result = await code(helper, privateKey);
}
finally {
await helper.disconnect();
@@ -49,4 +92,5 @@
console.log = consoleLog;
console.warn = consoleWarn;
}
+ return result as T;
};
\ No newline at end of file