difftreelog
features : added full test coverage(except contract sponsoting) + switch to realay block for income calc + add recalc event
in: master
19 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5304,9 +5304,11 @@
"frame-support",
"frame-system",
"pallet-balances",
+ "pallet-common",
"pallet-evm",
"pallet-randomness-collective-flip",
"pallet-timestamp",
+ "pallet-unique",
"parity-scale-codec 3.1.5",
"scale-info",
"serde",
@@ -5314,6 +5316,7 @@
"sp-io",
"sp-runtime",
"sp-std",
+ "up-data-structs",
]
[[package]]
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -104,6 +104,22 @@
git = "https://github.com/uniquenetwork/frontier"
branch = "unique-polkadot-v0.9.27"
+################################################################################
+# local dependencies
+[dependencies.up-data-structs]
+default-features = false
+path = "../../primitives/data-structs"
+
+[dependencies.pallet-common]
+default-features = false
+path = "../common"
+
+[dependencies.pallet-unique]
+default-features = false
+path = "../unique"
+
+################################################################################
+
[dependencies]
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/benchmarking.rs
+++ b/pallets/app-promotion/src/benchmarking.rs
@@ -59,7 +59,7 @@
let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());
let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?;
- } : {PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}
+ } : {PromototionPallet::<T>::unstake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}
recalculate_stake {
let caller = account::<T::AccountId>("caller", 0, SEED);
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -36,11 +36,14 @@
pub mod types;
pub mod weights;
-use sp_std::{vec::Vec, iter::Sum};
+use sp_std::{vec::Vec, iter::Sum, borrow::ToOwned};
use codec::EncodeLike;
use pallet_balances::BalanceLock;
pub use types::ExtendedLockableCurrency;
+// use up_common::constants::{DAYS, UNIQUE};
+use up_data_structs::CollectionId;
+
use frame_support::{
dispatch::{DispatchResult},
traits::{
@@ -55,38 +58,68 @@
use pallet_evm::account::CrossAccountId;
use sp_runtime::{
Perbill,
- traits::{BlockNumberProvider, CheckedAdd, CheckedSub},
+ traits::{BlockNumberProvider, CheckedAdd, CheckedSub, AccountIdConversion},
ArithmeticError,
};
type BalanceOf<T> =
<<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
-const SECONDS_TO_BLOCK: u32 = 6;
-const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;
-const WEEK: u32 = 7 * DAY;
-const TWO_WEEK: u32 = 2 * WEEK;
-const YEAR: u32 = DAY * 365;
+// const SECONDS_TO_BLOCK: u32 = 6;
+// const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;
+// const WEEK: u32 = 7 * DAY;
+// const TWO_WEEK: u32 = 2 * WEEK;
+// const YEAR: u32 = DAY * 365;
pub const LOCK_IDENTIFIER: [u8; 8] = *b"appstake";
#[frame_support::pallet]
pub mod pallet {
use super::*;
- use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key};
+ use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key, PalletId};
use frame_system::pallet_prelude::*;
+ use types::CollectionHandler;
#[pallet::config]
pub trait Config: frame_system::Config + pallet_evm::account::Config {
type Currency: ExtendedLockableCurrency<Self::AccountId>;
+ type CollectionHandler: CollectionHandler<
+ AccountId = Self::AccountId,
+ CollectionId = CollectionId,
+ >;
+
type TreasuryAccountId: Get<Self::AccountId>;
+ /// The app's pallet id, used for deriving its sovereign account ID.
+ #[pallet::constant]
+ type PalletId: Get<PalletId>;
+
+ /// In relay blocks.
+ #[pallet::constant]
+ type RecalculationInterval: Get<Self::BlockNumber>;
+ /// In chain blocks.
+ #[pallet::constant]
+ type PendingInterval: Get<Self::BlockNumber>;
+
+ /// In chain blocks.
+ #[pallet::constant]
+ type Day: Get<Self::BlockNumber>; // useless
+
+ #[pallet::constant]
+ type Nominal: Get<BalanceOf<Self>>;
+
+ #[pallet::constant]
+ type IntervalIncome: Get<Perbill>;
+
/// Weight information for extrinsics in this pallet.
type WeightInfo: WeightInfo;
- // The block number provider
- type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
+ // The relay block number provider
+ type RelayBlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
+
+ /// Events compatible with [`frame_system::Config::Event`].
+ type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;
// /// Number of blocks that pass between treasury balance updates due to inflation
// #[pallet::constant]
@@ -100,6 +133,28 @@
#[pallet::generate_store(pub(super) trait Store)]
pub struct Pallet<T>(_);
+ #[pallet::event]
+ #[pallet::generate_deposit(fn deposit_event)]
+ pub enum Event<T: Config> {
+ StakingRecalculation(
+ /// Base on which interest is calculated
+ BalanceOf<T>,
+ /// Amount of accrued interest
+ BalanceOf<T>,
+ ),
+ }
+
+ #[pallet::error]
+ pub enum Error<T> {
+ AdminNotSet,
+ /// No permission to perform action
+ NoPermission,
+ /// Insufficient funds to perform an action
+ NotSufficientFounds,
+ InvalidArgument,
+ AlreadySponsored,
+ }
+
#[pallet::storage]
pub type TotalStaked<T: Config> = StorageValue<Value = BalanceOf<T>, QueryKind = ValueQuery>;
@@ -164,23 +219,33 @@
});
let next_interest_block = Self::get_interest_block();
-
- if next_interest_block != 0.into() && current_block >= next_interest_block {
+ let current_relay_block = T::RelayBlockNumberProvider::current_block_number();
+ if next_interest_block != 0.into() && current_relay_block >= next_interest_block {
let mut acc = <BalanceOf<T>>::default();
+ let mut base_acc = <BalanceOf<T>>::default();
- NextInterestBlock::<T>::set(current_block + DAY.into());
+ NextInterestBlock::<T>::set(
+ NextInterestBlock::<T>::get() + T::RecalculationInterval::get(),
+ );
add_weight(0, 1, 0);
Staked::<T>::iter()
- .filter(|((_, block), _)| *block + DAY.into() <= current_block)
+ .filter(|((_, block), _)| {
+ *block + T::RecalculationInterval::get() <= current_relay_block
+ })
.for_each(|((staker, block), amount)| {
Self::recalculate_stake(&staker, block, amount, &mut acc);
add_weight(0, 0, T::WeightInfo::recalculate_stake());
+ base_acc += amount;
});
<TotalStaked<T>>::get()
.checked_add(&acc)
.map(|res| <TotalStaked<T>>::set(res));
+
+ Self::deposit_event(Event::StakingRecalculation(base_acc, acc));
add_weight(0, 1, 0);
+ } else {
+ add_weight(1, 0, 0)
};
consumed_weight
}
@@ -189,9 +254,9 @@
#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::weight(T::WeightInfo::set_admin_address())]
- pub fn set_admin_address(origin: OriginFor<T>, admin: T::AccountId) -> DispatchResult {
+ pub fn set_admin_address(origin: OriginFor<T>, admin: T::CrossAccountId) -> DispatchResult {
ensure_root(origin)?;
- <Admin<T>>::set(Some(admin));
+ <Admin<T>>::set(Some(admin.as_sub().to_owned()));
Ok(())
}
@@ -199,7 +264,7 @@
#[pallet::weight(T::WeightInfo::start_app_promotion())]
pub fn start_app_promotion(
origin: OriginFor<T>,
- promotion_start_relay_block: T::BlockNumber,
+ promotion_start_relay_block: Option<T::BlockNumber>,
) -> DispatchResult
where
<T as frame_system::Config>::BlockNumber: From<u32>,
@@ -208,10 +273,13 @@
// Start app-promotion mechanics if it has not been yet initialized
if <StartBlock<T>>::get() == 0u32.into() {
+ let start_block = promotion_start_relay_block
+ .unwrap_or(T::RelayBlockNumberProvider::current_block_number());
+
// Set promotion global start block
- <StartBlock<T>>::set(promotion_start_relay_block);
+ <StartBlock<T>>::set(start_block);
- <NextInterestBlock<T>>::set(promotion_start_relay_block + DAY.into());
+ <NextInterestBlock<T>>::set(start_block + T::RecalculationInterval::get());
}
Ok(())
@@ -221,6 +289,8 @@
pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
+ ensure!(amount >= T::Nominal::get(), ArithmeticError::Underflow);
+
let balance =
<<T as Config>::Currency as Currency<T::AccountId>>::free_balance(&staker_id);
@@ -235,7 +305,7 @@
Self::add_lock_balance(&staker_id, amount)?;
- let block_number = frame_system::Pallet::<T>::block_number();
+ let block_number = T::RelayBlockNumberProvider::current_block_number();
<Staked<T>>::insert(
(&staker_id, block_number),
@@ -271,7 +341,7 @@
.ok_or(ArithmeticError::Underflow)?,
);
- let block = frame_system::Pallet::<T>::block_number() + WEEK.into();
+ let block = frame_system::Pallet::<T>::block_number() + T::PendingInterval::get();
<PendingUnstake<T>>::insert(
(&staker_id, block),
<PendingUnstake<T>>::get((&staker_id, block))
@@ -311,6 +381,40 @@
Ok(())
}
+
+ #[pallet::weight(0)]
+ pub fn sponsor_collection(
+ admin: OriginFor<T>,
+ collection_id: CollectionId,
+ ) -> DispatchResult {
+ let admin_id = ensure_signed(admin)?;
+ ensure!(
+ admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+ Error::<T>::NoPermission
+ );
+
+ T::CollectionHandler::set_sponsor(Self::account_id(), collection_id)
+ }
+ #[pallet::weight(0)]
+ pub fn stop_sponsorign_collection(
+ admin: OriginFor<T>,
+ collection_id: CollectionId,
+ ) -> DispatchResult {
+ let admin_id = ensure_signed(admin)?;
+
+ ensure!(
+ admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+ Error::<T>::NoPermission
+ );
+
+ ensure!(
+ T::CollectionHandler::get_sponsor(collection_id)?
+ .ok_or(<Error<T>>::InvalidArgument)?
+ == Self::account_id(),
+ <Error<T>>::NoPermission
+ );
+ T::CollectionHandler::remove_collection_sponsor(collection_id)
+ }
}
}
@@ -396,13 +500,13 @@
// Ok(())
// }
- pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
- Ok(())
- }
+ // pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
+ // Ok(())
+ // }
- pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
- Ok(())
- }
+ // pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
+ // Ok(())
+ // }
pub fn sponsor_conract(admin: T::AccountId, app_id: u32) -> DispatchResult {
Ok(())
@@ -411,6 +515,10 @@
pub fn stop_sponsorign_contract(admin: T::AccountId, app_id: u32) -> DispatchResult {
Ok(())
}
+
+ pub fn account_id() -> T::AccountId {
+ T::PalletId::get().into_account_truncating()
+ }
}
impl<T: Config> Pallet<T> {
@@ -514,8 +622,7 @@
where
I: EncodeLike<BalanceOf<T>> + Balance,
{
- let day_rate = Perbill::from_rational(5u32, 1_0000);
- day_rate * base
+ T::IntervalIncome::get() * base
}
}
pallets/app-promotion/src/tests.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/tests.rs
+++ b/pallets/app-promotion/src/tests.rs
@@ -28,7 +28,7 @@
use sp_runtime::{
traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup},
testing::Header,
- Perbill,
+ Perbill, Perquintill,
};
// type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
@@ -126,3 +126,25 @@
// test_benchmark_stake::<Test>();
// } )
// }
+
+#[test]
+fn test_perbill() {
+ const ONE_UNIQE: u128 = 1_000_000_000_000_000_000;
+ const SECONDS_TO_BLOCK: u32 = 12;
+ const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;
+ const RECALCULATION_INTERVAL: u32 = 10;
+ let day_rate = Perbill::from_rational(5u64, 10_000);
+ let interval_rate =
+ Perbill::from_rational::<u64>(RECALCULATION_INTERVAL.into(), DAY.into()) * day_rate;
+ println!("{:?}", interval_rate * ONE_UNIQE + ONE_UNIQE);
+ println!("{:?}", day_rate * ONE_UNIQE);
+ println!("{:?}", Perbill::one() * ONE_UNIQE);
+ println!("{:?}", ONE_UNIQE);
+ let mut next_iters = ONE_UNIQE + interval_rate * ONE_UNIQE;
+ next_iters += interval_rate * next_iters;
+ println!("{:?}", next_iters);
+ let day_income = day_rate * ONE_UNIQE;
+ let interval_income = interval_rate * ONE_UNIQE;
+ let ratio = day_income / interval_income;
+ println!("{:?} || {:?}", ratio, DAY / RECALCULATION_INTERVAL);
+}
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -1,6 +1,14 @@
use codec::EncodeLike;
-use frame_support::{traits::LockableCurrency, WeakBoundedVec, Parameter};
+use frame_support::{
+ traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,
+};
+use frame_system::Config;
use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};
+use pallet_common::CollectionHandle;
+use pallet_unique::{Event as UniqueEvent, Error as UniqueError};
+use sp_runtime::DispatchError;
+use up_data_structs::{CollectionId, SponsorshipState};
+use sp_std::borrow::ToOwned;
pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {
fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>
@@ -18,3 +26,70 @@
Self::locks(who)
}
}
+
+pub trait CollectionHandler {
+ type CollectionId;
+ type AccountId;
+
+ fn set_sponsor(
+ sponsor_id: Self::AccountId,
+ collection_id: Self::CollectionId,
+ ) -> DispatchResult;
+
+ fn remove_collection_sponsor(collection_id: Self::CollectionId) -> DispatchResult;
+
+ fn get_sponsor(
+ collection_id: Self::CollectionId,
+ ) -> Result<Option<Self::AccountId>, DispatchError>;
+}
+
+impl<T: pallet_unique::Config> CollectionHandler for pallet_unique::Pallet<T> {
+ type CollectionId = CollectionId;
+
+ type AccountId = T::AccountId;
+
+ fn set_sponsor(
+ sponsor_id: Self::AccountId,
+ collection_id: Self::CollectionId,
+ ) -> DispatchResult {
+ let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
+ target_collection.check_is_internal()?;
+ target_collection.set_sponsor(sponsor_id.clone())?;
+
+ Self::deposit_event(UniqueEvent::<T>::CollectionSponsorSet(
+ collection_id,
+ sponsor_id.clone(),
+ ));
+
+ ensure!(
+ target_collection.confirm_sponsorship(&sponsor_id)?,
+ UniqueError::<T>::ConfirmUnsetSponsorFail
+ );
+
+ Self::deposit_event(UniqueEvent::<T>::SponsorshipConfirmed(
+ collection_id,
+ sponsor_id,
+ ));
+
+ target_collection.save()
+ }
+
+ fn remove_collection_sponsor(collection_id: Self::CollectionId) -> DispatchResult {
+ let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
+ target_collection.check_is_internal()?;
+ target_collection.sponsorship = SponsorshipState::Disabled;
+
+ Self::deposit_event(UniqueEvent::<T>::CollectionSponsorRemoved(collection_id));
+
+ target_collection.save()
+ }
+
+ fn get_sponsor(
+ collection_id: Self::CollectionId,
+ ) -> Result<Option<Self::AccountId>, DispatchError> {
+ Ok(<CollectionHandle<T>>::try_get(collection_id)?
+ .sponsorship
+ .pending_sponsor()
+ .map(|acc| acc.to_owned()))
+ }
+}
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -277,7 +277,7 @@
{
type Error = Error<T>;
- fn deposit_event() = default;
+ pub fn deposit_event() = default;
fn on_initialize(_now: T::BlockNumber) -> Weight {
0
runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/app_promotion.rs
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -16,12 +16,36 @@
use crate::{
runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},
- Runtime, Balances,
+ Runtime, Balances, BlockNumber, Unique, Event,
+};
+
+use frame_support::{parameter_types, PalletId};
+use sp_arithmetic::Perbill;
+use up_common::{
+ constants::{DAYS, UNIQUE},
+ types::Balance,
};
+parameter_types! {
+ pub const AppPromotionId: PalletId = PalletId(*b"appstake");
+ pub const RecalculationInterval: BlockNumber = 20;
+ pub const PendingInterval: BlockNumber = 10;
+ pub const Nominal: Balance = UNIQUE;
+ pub const Day: BlockNumber = DAYS;
+ pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), 2 * DAYS) * Perbill::from_rational(5u32, 10_000);
+}
+
impl pallet_app_promotion::Config for Runtime {
+ type PalletId = AppPromotionId;
+ type CollectionHandler = Unique;
type Currency = Balances;
type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;
type TreasuryAccountId = TreasuryAccountId;
- type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;
+ type RelayBlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;
+ type RecalculationInterval = RecalculationInterval;
+ type PendingInterval = PendingInterval;
+ type Day = Day;
+ type Nominal = Nominal;
+ type IntervalIncome = IntervalIncome;
+ type Event = Event;
}
runtime/common/construct_runtime/mod.rsdiffbeforeafterboth--- a/runtime/common/construct_runtime/mod.rs
+++ b/runtime/common/construct_runtime/mod.rs
@@ -78,7 +78,7 @@
RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,
#[runtimes(opal)]
- Promotion: pallet_app_promotion::{Pallet, Call, Storage} = 73,
+ Promotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -40,32 +40,32 @@
import chai, {use} from 'chai';
import chaiAsPromised from 'chai-as-promised';
-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 {encodeAddress, hdEthereum, mnemonicGenerate} from '@polkadot/util-crypto';
+import {stringToU8a} from '@polkadot/util';
import {UniqueHelper} from './util/playgrounds/unique';
+import {ApiPromise} from '@polkadot/api';
chai.use(chaiAsPromised);
const expect = chai.expect;
let alice: IKeyringPair;
let bob: IKeyringPair;
let palletAdmin: IKeyringPair;
-let nominal: bigint;
+let nominal: bigint;
+let promotionStartBlock: number | null = null;
-describe('integration test: AppPromotion', () => {
+describe('app-promotions.stake 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));
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
nominal = helper.balance.getOneTokenNominal();
- await submitTransactionAsync(alice, tx);
+ await helper.signTransaction(alice, tx);
});
});
it('will change balance state to "locked", add it to "staked" map, and increase "totalStaked" amount', async () => {
@@ -85,18 +85,19 @@
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;
+
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(nominal / 2n))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(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);
await waitNewBlocks(helper.api!, 1);
- const secondStakedBlock = await helper.chain.getLatestBlockNumber();
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
+
+ await expect(helper.signTransaction(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()]);
@@ -115,9 +116,9 @@
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;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(7n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(4n * nominal))).to.be.eventually.rejected;
});
});
@@ -128,17 +129,10 @@
// assert: query appPromotion.staked(Alice/Bob/Charlie/Dave) equal [100]
await usingPlaygrounds(async helper => {
- // const userOne = await createUser();
- // const userTwo = await createUser();
- // const userThree = await createUser();
- // const userFour = await createUser();
const crowd = [];
for(let i = 4; i--;) crowd.push(await createUser());
- // const crowd = await creteAccounts([10n, 10n, 10n, 10n], alice, helper);
- // const crowd = [userOne, userTwo, userThree, userFour];
-
- const promises = crowd.map(async user => submitTransactionAsync(user, helper.api!.tx.promotion.stake(nominal)));
+ const promises = crowd.map(async user => helper.signTransaction(user, helper.api!.tx.promotion.stake(nominal)));
await expect(Promise.all(promises)).to.be.eventually.fulfilled;
for (let i = 0; i < crowd.length; i++){
@@ -156,9 +150,9 @@
alice = privateKeyWrapper('//Alice');
bob = privateKeyWrapper('//Bob');
palletAdmin = privateKeyWrapper('//palletAdmin');
- const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
nominal = helper.balance.getOneTokenNominal();
- await submitTransactionAsync(alice, tx);
+ await helper.signTransaction(alice, tx);
});
});
@@ -174,8 +168,8 @@
await usingPlaygrounds(async helper => {
const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();
const staker = await createUser();
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(5n * nominal))).to.be.eventually.fulfilled;
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(3n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(5n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(3n * nominal))).to.be.eventually.fulfilled;
expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal);
expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(2n * nominal);
expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + 2n * nominal);
@@ -204,18 +198,18 @@
await usingPlaygrounds(async helper => {
const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();
const staker = await createUser();
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(3n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(3n * nominal))).to.be.eventually.fulfilled;
let stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());
expect(stakedPerBlock).to.be.deep.equal([nominal, 2n * nominal, 3n * nominal]);
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(3n * nominal / 10n))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(3n * nominal / 10n))).to.be.eventually.fulfilled;
expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal / 10n);
stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());
expect(stakedPerBlock).to.be.deep.equal([7n * nominal / 10n, 2n * nominal, 3n * nominal]);
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(17n * nominal / 10n))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(17n * nominal / 10n))).to.be.eventually.fulfilled;
stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());
expect(stakedPerBlock).to.be.deep.equal([nominal, 3n * nominal]);
const unstakedPerBlock = (await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());
@@ -223,7 +217,7 @@
expect(unstakedPerBlock).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n]);
await waitNewBlocks(helper.api!, 1);
- await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(4n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(4n * nominal))).to.be.eventually.fulfilled;
expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([]);
expect((await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n, 4n * nominal]);
});
@@ -232,9 +226,643 @@
});
+
+describe('Admin adress', () => {
+ 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');
+ await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
+
+ await helper.signTransaction(alice, tx);
+
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ it('can be set by sudo only', async () => {
+ // assert: Sudo calls appPromotion.setAdminAddress(Alice) /// Sudo successfully sets Alice as admin
+ // assert: Bob calls appPromotion.setAdminAddress(Bob) throws /// Random account can not set admin
+ // assert: Alice calls appPromotion.setAdminAddress(Bob) throws /// Admin account can not set admin
+ await usingPlaygrounds(async (helper) => {
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(alice))))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(bob, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.fulfilled;
+ });
+
+ });
+
+ it('can be any valid CrossAccountId', async () => {
+ /// We are not going to set an eth address as a sponsor,
+ /// but we do want to check, it doesn't break anything;
+
+ // arrange: Charlie creates Punks
+ // arrange: Sudo calls appPromotion.setAdminAddress(0x0...) success
+ // arrange: Sudo calls appPromotion.setAdminAddress(Alice) success
+
+ // assert: Alice calls appPromotion.sponsorCollection(Punks.id) success
+
+ await usingPlaygrounds(async (helper) => {
+
+ const ethAcc = {Ethereum: '0x67fb3503a61b284dc83fa96dceec4192db47dc7c'};
+
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(ethAcc)))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin))))).to.be.eventually.fulfilled;
+
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
+ });
+
+ });
+
+ it('can be reassigned', async () => {
+ // arrange: Charlie creates Punks
+ // arrange: Sudo calls appPromotion.setAdminAddress(Alice)
+ // act: Sudo calls appPromotion.setAdminAddress(Bob)
+
+ // assert: Alice calls appPromotion.sponsorCollection(Punks.id) throws /// Alice can not set collection sponsor
+ // assert: Bob calls appPromotion.sponsorCollection(Punks.id) successful /// Bob can set collection sponsor
+
+ // act: Sudo calls appPromotion.setAdminAddress(null) successful /// Sudo can set null as a sponsor
+ // assert: Bob calls appPromotion.stopSponsoringCollection(Punks.id) throws /// Bob is no longer an admin
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(alice))))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(alice, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;
+
+ await expect(helper.signTransaction(bob, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;
+ });
+
+ });
+
+});
+
+describe('App-promotion collection sponsoring', () => {
+ 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');
+ await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());
+ await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());
+
+
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
+ await helper.signTransaction(alice, tx);
+
+ // const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock));
+ // await helper.signTransaction(alice, txStart);
+
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ it('can not be set by non admin', async () => {
+
+
+ // arrange: Charlie creates Punks
+ // arrange: Sudo calls appPromotion.setAdminAddress(Alice)
+
+ // assert: Random calls appPromotion.sponsorCollection(Punks.id) throws /// Random account can not set sponsoring
+ // assert: Alice calls appPromotion.sponsorCollection(Punks.id) success /// Admin account can set sponsoring
+
+ await usingPlaygrounds(async (helper) => {
+ const colletcion = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+
+ const collectionId = colletcion.collectionId;
+
+ await expect(helper.signTransaction(bob, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.rejected;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ });
+
+ });
+
+ it('will set pallet address as confirmed admin for collection without sponsor', async () => {
+ // arrange: Charlie creates Punks
+
+ // act: Admin calls appPromotion.sponsorCollection(Punks.id)
+
+ // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});
+ });
+
+ });
+
+ it('will set pallet address as confirmed admin for collection with unconfirmed sponsor', async () => {
+ // arrange: Charlie creates Punks
+ // arrange: Charlie calls setCollectionSponsor(Punks.Id, Dave) /// Dave is unconfirmed sponsor
+
+ // act: Admin calls appPromotion.sponsorCollection(Punks.id)
+
+ // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ await collection.setSponsor(alice, bob.address);
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});
+
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});
+ });
+
+ });
+
+ it('will set pallet address as confirmed admin for collection with confirmed sponsor', async () => {
+ // arrange: Charlie creates Punks
+ // arrange: setCollectionSponsor(Punks.Id, Dave)
+ // arrange: confirmSponsorship(Punks.Id, Dave) /// Dave is confirmed sponsor
+
+ // act: Admin calls appPromotion.sponsorCollection(Punks.id)
+
+ // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ await collection.setSponsor(alice, bob.address);
+
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});
+ expect(await collection.confirmSponsorship(bob)).to.be.true;
+
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});
+ });
+ });
+
+ it('can be overwritten by collection owner', async () => {
+ // arrange: Charlie creates Punks
+ // arrange: appPromotion.sponsorCollection(Punks.Id) /// Sponsor of Punks is pallete
+
+ // act: Charlie calls unique.setCollectionLimits(limits) /// Charlie as owner can successfully change limits
+ // assert: query collectionById(Punks.id) 1. sponsored by pallete, 2. limits has been changed
+
+ // act: Charlie calls setCollectionSponsor(Dave) /// Collection owner reasignes sponsoring
+ // assert: query collectionById: Punks sponsoring is unconfirmed by Dave
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});
+
+ expect(await collection.setLimits(alice, {sponsorTransferTimeout: 0})).to.be.true;
+ expect((await collection.getData())?.raw.limits.sponsorTransferTimeout).to.be.equal(0);
+
+ expect((await collection.setSponsor(alice, bob.address))).to.be.true;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});
+ });
+
+ });
+
+ it('will keep collection limits set by the owner earlier', async () => {
+ // arrange: const limits = {...all possible collection limits}
+ // arrange: Charlie creates Punks
+ // arrange: Charlie calls unique.setCollectionLimits(limits) /// Owner sets all possible limits
+
+ // act: Admin calls appPromotion.sponsorCollection(Punks.id)
+ // assert: query collectionById(Punks.id) returns limits
+
+ await usingPlaygrounds(async (helper) => {
+
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ expect(await collection.setLimits(alice, {sponsorTransferTimeout: 0})).to.be.true;
+ const limits = (await collection.getData())?.raw.limits;
+
+ const collectionId = collection.collectionId;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ expect((await collection.getData())?.raw.limits).to.be.deep.equal(limits);
+ });
+
+ });
+
+ it('will throw if collection doesn\'t exist', async () => {
+ // assert: Admin calls appPromotion.sponsorCollection(999999999999999) throw
+ await usingPlaygrounds(async (helper) => {
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(999999999))).to.be.eventually.rejected;
+ });
+ });
+
+ it('will throw if collection was burnt', async () => {
+ // arrange: Charlie creates Punks
+ // arrange: Charlie burns Punks
+
+ // assert: Admin calls appPromotion.sponsorCollection(Punks.id) throw
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ expect((await collection.burn(alice))).to.be.true;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.rejected;
+ });
+
+ });
+});
+
+
+describe('app-promotion stopSponsoringCollection', () => {
+ 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');
+ await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());
+ await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());
+
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
+ await helper.signTransaction(alice, tx);
+
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ it('can not be called by non-admin', async () => {
+ // arrange: Alice creates Punks
+ // arrange: appPromotion.sponsorCollection(Punks.Id)
+
+ // assert: Random calls appPromotion.stopSponsoringCollection(Punks) throws
+ // assert: query collectionById(Punks.id): sponsoring confirmed by PalleteAddress
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+
+ await expect(helper.signTransaction(bob, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});
+ });
+ });
+
+ it('will set sponsoring as disabled', async () => {
+ // arrange: Alice creates Punks
+ // arrange: appPromotion.sponsorCollection(Punks.Id)
+
+ // act: Admin calls appPromotion.stopSponsoringCollection(Punks)
+
+ // assert: query collectionById(Punks.id): sponsoring unconfirmed
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.fulfilled;
+
+ expect((await collection.getData())?.raw.sponsorship).to.be.equal('Disabled');
+ });
+ });
+
+ it('will not affect collection which is not sponsored by pallete', async () => {
+ // arrange: Alice creates Punks
+ // arrange: Alice calls setCollectionSponsoring(Punks)
+ // arrange: Alice calls confirmSponsorship(Punks)
+
+ // act: Admin calls appPromotion.stopSponsoringCollection(A)
+ // assert: query collectionById(Punks): Sponsoring: {Confirmed: Alice} /// Alice still collection owner
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+ expect(await collection.setSponsor(alice, alice.address)).to.be.true;
+ expect(await collection.confirmSponsorship(alice)).to.be.true;
+
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;
+
+ expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: alice.address});
+ });
+
+ });
+
+ it('will throw if collection does not exist', async () => {
+ // arrange: Alice creates Punks
+ // arrange: Alice burns Punks
+
+ // assert: Admin calls appPromotion.stopSponsoringCollection(Punks.id) throws
+ // assert: Admin calls appPromotion.stopSponsoringCollection(999999999999999) throw
+
+ await usingPlaygrounds(async (helper) => {
+ const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});
+ const collectionId = collection.collectionId;
+
+ expect((await collection.burn(alice))).to.be.true;
+ await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;
+ });
+ });
+});
+
+describe('app-promotion contract sponsoring', () => {
+ it('will set contract sponsoring mode and set palletes address as a sponsor', async () => {
+ // arrange: Alice deploys Flipper
+
+ // act: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // assert: contract.sponsoringMode = TODO
+ // assert: contract.sponsor to be PalleteAddress
+ });
+
+ it('will overwrite sponsoring mode and existed sponsor', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Alice sets self sponsoring for Flipper
+
+ // act: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // assert: contract.sponsoringMode = TODO
+ // assert: contract.sponsor to be PalleteAddress
+ });
+
+ it('can be overwritten by contract owner', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // act: Alice sets self sponsoring for Flipper
+
+ // assert: contract.sponsoringMode = Self
+ // assert: contract.sponsor to be contract
+ });
+
+ it('can not be set by non admin', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Alice sets self sponsoring for Flipper
+
+ // assert: Random calls appPromotion.sponsorContract(Flipper.address) throws
+ // assert: contract.sponsoringMode = Self
+ // assert: contract.sponsor to be contract
+ });
+
+ it('will return unused gas fee to app-promotion pallete', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // assert: Bob calls Flipper - expect balances deposit event do not appears for Bob /// Unused gas fee returns to contract
+ // assert: Bobs balance the same
+ });
+
+ it('will failed for non contract address', async () => {
+ // arrange: web3 creates new address - 0x0
+
+ // assert: Admin calls appPromotion.sponsorContract(0x0) throws
+ // assert: Admin calls appPromotion.sponsorContract(Substrate address) throws
+ });
+
+ it('will actually sponsor transactions', async () => {
+ // TODO test it because this is a new way of contract sponsoring
+ });
+});
+
+describe('app-promotion stopSponsoringContract', () => {
+ 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');
+ await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());
+ await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());
+
+ const promotionStartBlock = await helper.chain.getLatestBlockNumber();
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
+ await helper.signTransaction(alice, tx);
+
+ const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock));
+ await helper.signTransaction(alice, txStart);
+
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ it('will set contract sponsoring mode as disabled', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // act: Admin calls appPromotion.stopSponsoringContract(Flipper.address)
+ // assert: contract sponsoring mode = TODO
+
+ // act: Bob calls Flipper
+
+ // assert: PalleteAddress balance did not change
+ // assert: Bobs balance less than before /// Bob payed some fee
+ });
+
+ it('can not be called by non-admin', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)
+
+ // assert: Random calls appPromotion.stopSponsoringContract(Flipper.address) throws
+ // assert: contract sponsor is PallereAddress
+ });
+
+ it('will not affect a contract which is not sponsored by pallete', async () => {
+ // arrange: Alice deploys Flipper
+ // arrange: Alice sets self sponsoring for Flipper
+
+ // act: Admin calls appPromotion.stopSponsoringContract(Flipper.address) throws
+
+ // assert: contract.sponsoringMode = Self
+ // assert: contract.sponsor to be contract
+ });
+
+ it('will failed for non contract address', async () => {
+ // arrange: web3 creates new address - 0x0
+
+ // expect stopSponsoringContract(0x0) throws
+ });
+});
+
+describe('app-promotion rewards', () => {
+ const DAY = 7200n;
+
+
+ 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');
+ if (promotionStartBlock == null) {
+ promotionStartBlock = (await helper.api!.query.parachainSystem.lastRelayChainBlockNumber()).toNumber();
+ }
+ const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));
+ await helper.signTransaction(alice, tx);
+
+ const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock!));
+ await helper.signTransaction(alice, txStart);
+
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ it('will credit 0.05% for staking period', async () => {
+ // arrange: bob.stake(10000);
+ // arrange: bob.stake(20000);
+ // arrange: waitForRewards();
+
+ // assert: bob.staked to equal [10005, 20010]
+
+ await usingPlaygrounds(async helper => {
+ const staker = await createUser(50n * nominal);
+ await waitForRecalculationBlock(helper.api!);
+
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;
+ await waitForRelayBlock(helper.api!, 36);
+
+
+ expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
+ .map(([_, amount]) => amount.toBigInt()))
+ .to.be.deep.equal([calculateIncome(nominal, 10n), calculateIncome(2n * nominal, 10n)]);
+ });
+
+ });
+
+ it('will not be credited for unstaked (reserved) balance', async () => {
+ // arrange: bob.stake(10000);
+ // arrange: bob.unstake(5000);
+ // arrange: waitForRewards();
+
+ // assert: bob.staked to equal [5002.5]
+ await usingPlaygrounds(async helper => {
+ const staker = await createUser(20n * nominal);
+ await waitForRecalculationBlock(helper.api!);
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(5n * nominal))).to.be.eventually.fulfilled;
+ await waitForRelayBlock(helper.api!, 38);
+
+ expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
+ .map(([_, amount]) => amount.toBigInt()))
+ .to.be.deep.equal([calculateIncome(5n * nominal, 10n)]);
+
+ });
+
+ });
+
+ it('will bring compound interest', async () => {
+ // arrange: bob balance = 30000
+ // arrange: bob.stake(10000);
+ // arrange: bob.stake(10000);
+ // arrange: waitForRewards();
+
+ // assert: bob.staked() equal [10005, 10005, 10005] /// 10_000 * 1.0005
+ // act: waitForRewards();
+
+ // assert: bob.staked() equal [10010.0025, 10010.0025, 10010.0025] /// 10_005 * 1.0005
+ // act: bob.unstake(10.0025)
+ // assert: bob.staked() equal [10000, 10010.0025, 10010.0025] /// 10_005 * 1.0005
+
+ // act: waitForRewards();
+ // assert: bob.staked() equal [10005, 10015,00750125, 10015,00750125] ///
+ await usingPlaygrounds(async helper => {
+ const staker = await createUser(40n * nominal);
+
+ await waitForRecalculationBlock(helper.api!);
+ // const foo = await helper.api!.registry.getChainProperties().
+
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
+ // await waitNewBlocks(helper.api!, 1);
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
+ // await waitNewBlocks(helper.api!, 1);
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;
+ // console.log(await helper.balance.getSubstrate(staker.address));
+ // await waitNewBlocks(helper.api!, 17);
+ await waitForRelayBlock(helper.api!, 34);
+ expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
+ .map(([_, amount]) => amount.toBigInt()))
+ .to.be.deep.equal([calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n)]);
+
+ // console.log(await getBlockNumber(helper.api!));
+ // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]));
+ // console.log(`${calculateIncome(10n * nominal, 10n)} || ${calculateIncome(10n * nominal, 10n, 2)}`);
+ // await waitNewBlocks(helper.api!, 10);
+ await waitForRelayBlock(helper.api!, 20);
+ // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));
+ // console.log(await helper.balance.getSubstrate(staker.address));
+ await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(calculateIncome(10n * nominal, 10n, 2) - 10n * nominal))).to.be.eventually.fulfilled;
+ // console.log(calculateIncome(10n * nominal, 10n, 2));
+ // console.log(calculateIncome(10n * nominal, 10n, 3));
+ // console.log(calculateIncome(10n * nominal, 10n, 4));
+ // console.log(calculateIncome(10n * nominal, 10n, 5));
+ expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))
+ .map(([_, amount]) => amount.toBigInt()))
+ .to.be.deep.equal([10n * nominal, calculateIncome(10n * nominal, 10n, 2), calculateIncome(10n * nominal, 10n, 2)]);
+
+ // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));
+
+ // console.log(await helper.balance.getSubstrate(staker.address));
+ });
+
+ });
+});
+
+
+function waitForRecalculationBlock(api: ApiPromise): Promise<void> {
+ return new Promise<void>(async (resolve, reject) => {
+ const unsubscribe = await api.query.system.events((events) => {
+
+ events.forEach((record) => {
+
+ const {event, phase} = record;
+ const types = event.typeDef;
+
+ if (event.section === 'promotion' && event.method === 'StakingRecalculation') {
+ unsubscribe();
+ resolve();
+ }
+ });
+ });
+ });
+}
+
+async function waitForRelayBlock(api: ApiPromise, blocks = 1): Promise<void> {
+ const current_block = (await api.query.parachainSystem.lastRelayChainBlockNumber()).toNumber();
+ return new Promise<void>(async (resolve, reject) => {
+ const unsubscribe = await api.query.parachainSystem.validationData(async (data) => {
+ // console.log(`${current_block} || ${data.value.relayParentNumber.toNumber()}`);
+ if (data.value.relayParentNumber.toNumber() - current_block >= blocks) {
+ unsubscribe();
+ resolve();
+ }
+ });
+ });
+
+}
+
+
+function calculatePalleteAddress(palletId: any) {
+ const address = stringToU8a(('modl' + palletId).padEnd(32, '\0'));
+ return encodeAddress(address);
+}
+function calculateIncome(base: bigint, calcPeriod: bigint, iter = 0): bigint {
+ const DAY = 7200n;
+ const ACCURACY = 1_000_000_000n;
+ const income = base + base * (ACCURACY * (calcPeriod * 5n) / (10_000n * DAY)) / ACCURACY ;
+
+ if (iter > 1) {
+ return calculateIncome(income, calcPeriod, iter - 1);
+ } else return income;
+}
+
async function createUser(amount?: bigint) {
- return await usingPlaygrounds(async (helper, privateKeyWrapper) => {
- const user: IKeyringPair = privateKeyWrapper(`//Alice+${(new Date()).getTime()}`);
+ return await usingPlaygrounds(async helper => {
+ const user: IKeyringPair = helper.util.fromSeed(mnemonicGenerate());
await helper.balance.transferToSubstrate(alice, user.address, amount ? amount : 10n * helper.balance.getOneTokenNominal());
return user;
});
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -8,7 +8,7 @@
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
-import type { Permill } from '@polkadot/types/interfaces/runtime';
+import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -66,6 +66,30 @@
**/
[key: string]: Codec;
};
+ promotion: {
+ /**
+ * In chain blocks.
+ **/
+ day: u32 & AugmentedConst<ApiType>;
+ intervalIncome: Perbill & AugmentedConst<ApiType>;
+ nominal: u128 & AugmentedConst<ApiType>;
+ /**
+ * The app's pallet id, used for deriving its sovereign account ID.
+ **/
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
+ /**
+ * In chain blocks.
+ **/
+ pendingInterval: u32 & AugmentedConst<ApiType>;
+ /**
+ * In relay blocks.
+ **/
+ recalculationInterval: u32 & AugmentedConst<ApiType>;
+ /**
+ * Generic const
+ **/
+ [key: string]: Codec;
+ };
scheduler: {
/**
* The maximum weight that may be scheduled per block for any dispatchables of less
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -425,6 +425,23 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ promotion: {
+ AdminNotSet: AugmentedError<ApiType>;
+ AlreadySponsored: AugmentedError<ApiType>;
+ InvalidArgument: AugmentedError<ApiType>;
+ /**
+ * No permission to perform action
+ **/
+ NoPermission: AugmentedError<ApiType>;
+ /**
+ * Insufficient funds to perform an action
+ **/
+ NotSufficientFounds: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
refungible: {
/**
* Not Refungible item data used to mint in Refungible collection.
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -360,6 +360,13 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ promotion: {
+ StakingRecalculation: AugmentedEvent<ApiType, [u128, u128]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
rmrkCore: {
CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -363,9 +363,11 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
promotion: {
- setAdminAddress: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;
+ sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
- startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ stopSponsorignCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -805,6 +805,8 @@
PageCounter: PageCounter;
PageIndexData: PageIndexData;
PalletAppPromotionCall: PalletAppPromotionCall;
+ PalletAppPromotionError: PalletAppPromotionError;
+ PalletAppPromotionEvent: PalletAppPromotionEvent;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -810,11 +810,11 @@
export interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
- readonly admin: AccountId32;
+ readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;
} & Struct;
readonly isStartAppPromotion: boolean;
readonly asStartAppPromotion: {
- readonly promotionStartRelayBlock: u32;
+ readonly promotionStartRelayBlock: Option<u32>;
} & Struct;
readonly isStake: boolean;
readonly asStake: {
@@ -824,7 +824,32 @@
readonly asUnstake: {
readonly amount: u128;
} & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';
+ readonly isSponsorCollection: boolean;
+ readonly asSponsorCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isStopSponsorignCollection: boolean;
+ readonly asStopSponsorignCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';
+}
+
+/** @name PalletAppPromotionError */
+export interface PalletAppPromotionError extends Enum {
+ readonly isAdminNotSet: boolean;
+ readonly isNoPermission: boolean;
+ readonly isNotSufficientFounds: boolean;
+ readonly isInvalidArgument: boolean;
+ readonly isAlreadySponsored: boolean;
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';
+}
+
+/** @name PalletAppPromotionEvent */
+export interface PalletAppPromotionEvent extends Enum {
+ readonly isStakingRecalculation: boolean;
+ readonly asStakingRecalculation: ITuple<[u128, u128]>;
+ readonly type: 'StakingRecalculation';
}
/** @name PalletBalancesAccountData */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1057,7 +1057,15 @@
}
},
/**
- * Lookup103: pallet_evm::pallet::Event<T>
+ * Lookup103: pallet_app_promotion::pallet::Event<T>
+ **/
+ PalletAppPromotionEvent: {
+ _enum: {
+ StakingRecalculation: '(u128,u128)'
+ }
+ },
+ /**
+ * Lookup104: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -1071,7 +1079,7 @@
}
},
/**
- * Lookup104: ethereum::log::Log
+ * Lookup105: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -1079,7 +1087,7 @@
data: 'Bytes'
},
/**
- * Lookup108: pallet_ethereum::pallet::Event
+ * Lookup109: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -1087,7 +1095,7 @@
}
},
/**
- * Lookup109: evm_core::error::ExitReason
+ * Lookup110: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -1098,13 +1106,13 @@
}
},
/**
- * Lookup110: evm_core::error::ExitSucceed
+ * Lookup111: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup111: evm_core::error::ExitError
+ * Lookup112: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -1126,13 +1134,13 @@
}
},
/**
- * Lookup114: evm_core::error::ExitRevert
+ * Lookup115: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup115: evm_core::error::ExitFatal
+ * Lookup116: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -1143,7 +1151,7 @@
}
},
/**
- * Lookup116: frame_system::Phase
+ * Lookup117: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1153,14 +1161,14 @@
}
},
/**
- * Lookup118: frame_system::LastRuntimeUpgradeInfo
+ * Lookup119: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup119: frame_system::pallet::Call<T>
+ * Lookup120: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1198,7 +1206,7 @@
}
},
/**
- * Lookup124: frame_system::limits::BlockWeights
+ * Lookup125: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -1206,7 +1214,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup125: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup126: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1214,7 +1222,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup126: frame_system::limits::WeightsPerClass
+ * Lookup127: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -1223,13 +1231,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup128: frame_system::limits::BlockLength
+ * Lookup129: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup129: frame_support::weights::PerDispatchClass<T>
+ * Lookup130: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -1237,14 +1245,14 @@
mandatory: 'u32'
},
/**
- * Lookup130: frame_support::weights::RuntimeDbWeight
+ * Lookup131: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup131: sp_version::RuntimeVersion
+ * Lookup132: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1257,13 +1265,13 @@
stateVersion: 'u8'
},
/**
- * Lookup136: frame_system::pallet::Error<T>
+ * Lookup137: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup137: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup138: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1272,19 +1280,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup140: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup141: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup141: sp_trie::storage_proof::StorageProof
+ * Lookup142: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup143: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup144: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1293,7 +1301,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup146: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup147: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1304,7 +1312,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup147: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup148: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1318,14 +1326,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup153: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup154: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup154: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup155: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1344,7 +1352,7 @@
}
},
/**
- * Lookup155: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup156: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1353,27 +1361,27 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup157: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup158: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup160: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup161: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup163: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup164: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup165: pallet_balances::BalanceLock<Balance>
+ * Lookup166: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1381,26 +1389,26 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup166: pallet_balances::Reasons
+ * Lookup167: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup169: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup170: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup171: pallet_balances::Releases
+ * Lookup172: pallet_balances::Releases
**/
PalletBalancesReleases: {
_enum: ['V1_0_0', 'V2_0_0']
},
/**
- * Lookup172: pallet_balances::pallet::Call<T, I>
+ * Lookup173: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1433,13 +1441,13 @@
}
},
/**
- * Lookup175: pallet_balances::pallet::Error<T, I>
+ * Lookup176: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup177: pallet_timestamp::pallet::Call<T>
+ * Lookup178: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1449,13 +1457,13 @@
}
},
/**
- * Lookup179: pallet_transaction_payment::Releases
+ * Lookup180: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup180: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup181: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1464,7 +1472,7 @@
bond: 'u128'
},
/**
- * Lookup183: pallet_treasury::pallet::Call<T, I>
+ * Lookup184: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1488,17 +1496,17 @@
}
},
/**
- * Lookup186: frame_support::PalletId
+ * Lookup187: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup187: pallet_treasury::pallet::Error<T, I>
+ * Lookup188: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup188: pallet_sudo::pallet::Call<T>
+ * Lookup189: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1522,7 +1530,7 @@
}
},
/**
- * Lookup190: orml_vesting::module::Call<T>
+ * Lookup191: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1541,7 +1549,7 @@
}
},
/**
- * Lookup192: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup193: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -1590,7 +1598,7 @@
}
},
/**
- * Lookup193: pallet_xcm::pallet::Call<T>
+ * Lookup194: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -1644,7 +1652,7 @@
}
},
/**
- * Lookup194: xcm::VersionedXcm<Call>
+ * Lookup195: xcm::VersionedXcm<Call>
**/
XcmVersionedXcm: {
_enum: {
@@ -1654,7 +1662,7 @@
}
},
/**
- * Lookup195: xcm::v0::Xcm<Call>
+ * Lookup196: xcm::v0::Xcm<Call>
**/
XcmV0Xcm: {
_enum: {
@@ -1708,7 +1716,7 @@
}
},
/**
- * Lookup197: xcm::v0::order::Order<Call>
+ * Lookup198: xcm::v0::order::Order<Call>
**/
XcmV0Order: {
_enum: {
@@ -1751,7 +1759,7 @@
}
},
/**
- * Lookup199: xcm::v0::Response
+ * Lookup200: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -1759,7 +1767,7 @@
}
},
/**
- * Lookup200: xcm::v1::Xcm<Call>
+ * Lookup201: xcm::v1::Xcm<Call>
**/
XcmV1Xcm: {
_enum: {
@@ -1818,7 +1826,7 @@
}
},
/**
- * Lookup202: xcm::v1::order::Order<Call>
+ * Lookup203: xcm::v1::order::Order<Call>
**/
XcmV1Order: {
_enum: {
@@ -1863,7 +1871,7 @@
}
},
/**
- * Lookup204: xcm::v1::Response
+ * Lookup205: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -1872,11 +1880,11 @@
}
},
/**
- * Lookup218: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup219: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup219: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup220: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -1887,7 +1895,7 @@
}
},
/**
- * Lookup220: pallet_inflation::pallet::Call<T>
+ * Lookup221: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -1897,7 +1905,7 @@
}
},
/**
- * Lookup221: pallet_unique::Call<T>
+ * Lookup222: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2029,7 +2037,7 @@
}
},
/**
- * Lookup226: up_data_structs::CollectionMode
+ * Lookup227: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2039,7 +2047,7 @@
}
},
/**
- * Lookup227: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup228: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2054,13 +2062,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup229: up_data_structs::AccessMode
+ * Lookup230: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup231: up_data_structs::CollectionLimits
+ * Lookup232: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2074,7 +2082,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup233: up_data_structs::SponsoringRateLimit
+ * Lookup234: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2083,7 +2091,7 @@
}
},
/**
- * Lookup236: up_data_structs::CollectionPermissions
+ * Lookup237: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2091,7 +2099,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup238: up_data_structs::NestingPermissions
+ * Lookup239: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2099,18 +2107,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup240: up_data_structs::OwnerRestrictedSet
+ * Lookup241: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup245: up_data_structs::PropertyKeyPermission
+ * Lookup246: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup246: up_data_structs::PropertyPermission
+ * Lookup247: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2118,14 +2126,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup249: up_data_structs::Property
+ * Lookup250: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup252: up_data_structs::CreateItemData
+ * Lookup253: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2135,26 +2143,26 @@
}
},
/**
- * Lookup253: up_data_structs::CreateNftData
+ * Lookup254: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup254: up_data_structs::CreateFungibleData
+ * Lookup255: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup255: up_data_structs::CreateReFungibleData
+ * Lookup256: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup258: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup259: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2165,14 +2173,14 @@
}
},
/**
- * Lookup260: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup261: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup267: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup268: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2180,14 +2188,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup269: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup270: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup270: pallet_unique_scheduler::pallet::Call<T>
+ * Lookup271: pallet_unique_scheduler::pallet::Call<T>
**/
PalletUniqueSchedulerCall: {
_enum: {
@@ -2211,7 +2219,7 @@
}
},
/**
- * Lookup272: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>
+ * Lookup273: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>
**/
FrameSupportScheduleMaybeHashed: {
_enum: {
@@ -2220,7 +2228,7 @@
}
},
/**
- * Lookup273: pallet_configuration::pallet::Call<T>
+ * Lookup274: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2233,15 +2241,15 @@
}
},
/**
- * Lookup274: pallet_template_transaction_payment::Call<T>
+ * Lookup275: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup275: pallet_structure::pallet::Call<T>
+ * Lookup276: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup276: pallet_rmrk_core::pallet::Call<T>
+ * Lookup277: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2332,7 +2340,7 @@
}
},
/**
- * Lookup282: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup283: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2342,7 +2350,7 @@
}
},
/**
- * Lookup284: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup285: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2351,7 +2359,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup286: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup287: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2362,7 +2370,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup287: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup288: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2373,7 +2381,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup290: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup291: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2394,7 +2402,7 @@
}
},
/**
- * Lookup293: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup294: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2403,7 +2411,7 @@
}
},
/**
- * Lookup295: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup296: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2411,7 +2419,7 @@
src: 'Bytes'
},
/**
- * Lookup296: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup297: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2420,7 +2428,7 @@
z: 'u32'
},
/**
- * Lookup297: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup298: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2430,7 +2438,7 @@
}
},
/**
- * Lookup299: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup300: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2438,33 +2446,39 @@
inherit: 'bool'
},
/**
- * Lookup301: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup302: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup303: pallet_app_promotion::pallet::Call<T>
+ * Lookup304: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
set_admin_address: {
- admin: 'AccountId32',
+ admin: 'PalletEvmAccountBasicCrossAccountIdRepr',
},
start_app_promotion: {
- promotionStartRelayBlock: 'u32',
+ promotionStartRelayBlock: 'Option<u32>',
},
stake: {
amount: 'u128',
},
unstake: {
- amount: 'u128'
+ amount: 'u128',
+ },
+ sponsor_collection: {
+ collectionId: 'u32',
+ },
+ stop_sponsorign_collection: {
+ collectionId: 'u32'
}
}
},
/**
- * Lookup304: pallet_evm::pallet::Call<T>
+ * Lookup305: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2507,7 +2521,7 @@
}
},
/**
- * Lookup308: pallet_ethereum::pallet::Call<T>
+ * Lookup309: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2517,7 +2531,7 @@
}
},
/**
- * Lookup309: ethereum::transaction::TransactionV2
+ * Lookup310: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2527,7 +2541,7 @@
}
},
/**
- * Lookup310: ethereum::transaction::LegacyTransaction
+ * Lookup311: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2539,7 +2553,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup311: ethereum::transaction::TransactionAction
+ * Lookup312: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2548,7 +2562,7 @@
}
},
/**
- * Lookup312: ethereum::transaction::TransactionSignature
+ * Lookup313: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2556,7 +2570,7 @@
s: 'H256'
},
/**
- * Lookup314: ethereum::transaction::EIP2930Transaction
+ * Lookup315: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2572,14 +2586,14 @@
s: 'H256'
},
/**
- * Lookup316: ethereum::transaction::AccessListItem
+ * Lookup317: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup317: ethereum::transaction::EIP1559Transaction
+ * Lookup318: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2596,7 +2610,7 @@
s: 'H256'
},
/**
- * Lookup318: pallet_evm_migration::pallet::Call<T>
+ * Lookup319: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -2614,19 +2628,19 @@
}
},
/**
- * Lookup321: pallet_sudo::pallet::Error<T>
+ * Lookup322: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup323: orml_vesting::module::Error<T>
+ * Lookup324: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup325: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup326: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2634,19 +2648,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup326: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup327: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup329: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup330: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup332: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup333: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2656,13 +2670,13 @@
lastIndex: 'u16'
},
/**
- * Lookup333: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup334: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup335: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup336: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2673,29 +2687,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup337: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup338: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup338: pallet_xcm::pallet::Error<T>
+ * Lookup339: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup339: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup340: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup340: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup341: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup341: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup342: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2703,19 +2717,19 @@
overweightCount: 'u64'
},
/**
- * Lookup344: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup345: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup348: pallet_unique::Error<T>
+ * Lookup349: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup351: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>
+ * Lookup352: 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]>',
@@ -2725,7 +2739,7 @@
origin: 'OpalRuntimeOriginCaller'
},
/**
- * Lookup352: opal_runtime::OriginCaller
+ * Lookup353: opal_runtime::OriginCaller
**/
OpalRuntimeOriginCaller: {
_enum: {
@@ -2834,7 +2848,7 @@
}
},
/**
- * Lookup353: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
+ * Lookup354: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>
**/
FrameSupportDispatchRawOrigin: {
_enum: {
@@ -2844,7 +2858,7 @@
}
},
/**
- * Lookup354: pallet_xcm::pallet::Origin
+ * Lookup355: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
@@ -2853,7 +2867,7 @@
}
},
/**
- * Lookup355: cumulus_pallet_xcm::pallet::Origin
+ * Lookup356: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -2862,7 +2876,7 @@
}
},
/**
- * Lookup356: pallet_ethereum::RawOrigin
+ * Lookup357: pallet_ethereum::RawOrigin
**/
PalletEthereumRawOrigin: {
_enum: {
@@ -2870,17 +2884,17 @@
}
},
/**
- * Lookup357: sp_core::Void
+ * Lookup358: sp_core::Void
**/
SpCoreVoid: 'Null',
/**
- * Lookup358: pallet_unique_scheduler::pallet::Error<T>
+ * Lookup359: pallet_unique_scheduler::pallet::Error<T>
**/
PalletUniqueSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
- * Lookup359: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup360: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2894,7 +2908,7 @@
externalCollection: 'bool'
},
/**
- * Lookup360: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2904,7 +2918,7 @@
}
},
/**
- * Lookup361: up_data_structs::Properties
+ * Lookup362: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2912,15 +2926,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup362: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup363: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup367: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup368: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup374: up_data_structs::CollectionStats
+ * Lookup375: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2928,18 +2942,18 @@
alive: 'u32'
},
/**
- * Lookup375: up_data_structs::TokenChild
+ * Lookup376: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup376: PhantomType::up_data_structs<T>
+ * Lookup377: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup378: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup379: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -2947,7 +2961,7 @@
pieces: 'u128'
},
/**
- * Lookup380: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup381: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2963,7 +2977,7 @@
readOnly: 'bool'
},
/**
- * Lookup381: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup382: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -2973,7 +2987,7 @@
nftsCount: 'u32'
},
/**
- * Lookup382: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup383: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -2983,14 +2997,14 @@
pending: 'bool'
},
/**
- * Lookup384: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup385: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup385: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup386: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -2999,14 +3013,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup386: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup387: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup387: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup388: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3014,80 +3028,86 @@
symbol: 'Bytes'
},
/**
- * Lookup388: rmrk_traits::nft::NftChild
+ * Lookup389: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup390: pallet_common::pallet::Error<T>
+ * Lookup391: 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']
},
/**
- * Lookup392: pallet_fungible::pallet::Error<T>
+ * Lookup393: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup393: pallet_refungible::ItemData
+ * Lookup394: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup398: pallet_refungible::pallet::Error<T>
+ * Lookup399: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup399: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup400: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup401: up_data_structs::PropertyScope
+ * Lookup402: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk', 'Eth']
},
/**
- * Lookup403: pallet_nonfungible::pallet::Error<T>
+ * Lookup404: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup404: pallet_structure::pallet::Error<T>
+ * Lookup405: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup405: pallet_rmrk_core::pallet::Error<T>
+ * Lookup406: 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']
},
/**
- * Lookup407: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup408: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup411: pallet_evm::pallet::Error<T>
+ * Lookup410: pallet_app_promotion::pallet::Error<T>
+ **/
+ PalletAppPromotionError: {
+ _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument', 'AlreadySponsored']
+ },
+ /**
+ * Lookup413: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup414: fp_rpc::TransactionStatus
+ * Lookup416: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3099,11 +3119,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup416: ethbloom::Bloom
+ * Lookup418: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup418: ethereum::receipt::ReceiptV3
+ * Lookup420: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3113,7 +3133,7 @@
}
},
/**
- * Lookup419: ethereum::receipt::EIP658ReceiptData
+ * Lookup421: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3122,7 +3142,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup420: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup422: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3130,7 +3150,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup421: ethereum::header::Header
+ * Lookup423: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3150,41 +3170,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup422: ethereum_types::hash::H64
+ * Lookup424: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup427: pallet_ethereum::pallet::Error<T>
+ * Lookup429: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup428: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup430: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup429: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup431: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup431: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup433: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup432: pallet_evm_migration::pallet::Error<T>
+ * Lookup434: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup434: sp_runtime::MultiSignature
+ * Lookup436: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3194,43 +3214,43 @@
}
},
/**
- * Lookup435: sp_core::ed25519::Signature
+ * Lookup437: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup437: sp_core::sr25519::Signature
+ * Lookup439: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup438: sp_core::ecdsa::Signature
+ * Lookup440: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup441: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup443: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup442: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup444: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup445: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup447: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup446: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup448: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup447: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup449: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup448: opal_runtime::Runtime
+ * Lookup450: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup449: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup451: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -84,6 +84,8 @@
OrmlVestingModuleEvent: OrmlVestingModuleEvent;
OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;
PalletAppPromotionCall: PalletAppPromotionCall;
+ PalletAppPromotionError: PalletAppPromotionError;
+ PalletAppPromotionEvent: PalletAppPromotionEvent;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportWeightsPerDispatchClassU64 (7) */32 interface FrameSupportWeightsPerDispatchClassU64 extends Struct {33 readonly normal: u64;34 readonly operational: u64;35 readonly mandatory: u64;36 }3738 /** @name SpRuntimeDigest (11) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (13) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (16) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (18) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportWeightsDispatchInfo (19) */93 interface FrameSupportWeightsDispatchInfo extends Struct {94 readonly weight: u64;95 readonly class: FrameSupportWeightsDispatchClass;96 readonly paysFee: FrameSupportWeightsPays;97 }9899 /** @name FrameSupportWeightsDispatchClass (20) */100 interface FrameSupportWeightsDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportWeightsPays (21) */108 interface FrameSupportWeightsPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (22) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (23) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (24) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (25) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (26) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (27) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: u64;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (28) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (29) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (30) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (31) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (32) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (36) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (37) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name CumulusPalletXcmpQueueEvent (39) */355 interface CumulusPalletXcmpQueueEvent extends Enum {356 readonly isSuccess: boolean;357 readonly asSuccess: {358 readonly messageHash: Option<H256>;359 readonly weight: u64;360 } & Struct;361 readonly isFail: boolean;362 readonly asFail: {363 readonly messageHash: Option<H256>;364 readonly error: XcmV2TraitsError;365 readonly weight: u64;366 } & Struct;367 readonly isBadVersion: boolean;368 readonly asBadVersion: {369 readonly messageHash: Option<H256>;370 } & Struct;371 readonly isBadFormat: boolean;372 readonly asBadFormat: {373 readonly messageHash: Option<H256>;374 } & Struct;375 readonly isUpwardMessageSent: boolean;376 readonly asUpwardMessageSent: {377 readonly messageHash: Option<H256>;378 } & Struct;379 readonly isXcmpMessageSent: boolean;380 readonly asXcmpMessageSent: {381 readonly messageHash: Option<H256>;382 } & Struct;383 readonly isOverweightEnqueued: boolean;384 readonly asOverweightEnqueued: {385 readonly sender: u32;386 readonly sentAt: u32;387 readonly index: u64;388 readonly required: u64;389 } & Struct;390 readonly isOverweightServiced: boolean;391 readonly asOverweightServiced: {392 readonly index: u64;393 readonly used: u64;394 } & Struct;395 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';396 }397398 /** @name XcmV2TraitsError (41) */399 interface XcmV2TraitsError extends Enum {400 readonly isOverflow: boolean;401 readonly isUnimplemented: boolean;402 readonly isUntrustedReserveLocation: boolean;403 readonly isUntrustedTeleportLocation: boolean;404 readonly isMultiLocationFull: boolean;405 readonly isMultiLocationNotInvertible: boolean;406 readonly isBadOrigin: boolean;407 readonly isInvalidLocation: boolean;408 readonly isAssetNotFound: boolean;409 readonly isFailedToTransactAsset: boolean;410 readonly isNotWithdrawable: boolean;411 readonly isLocationCannotHold: boolean;412 readonly isExceedsMaxMessageSize: boolean;413 readonly isDestinationUnsupported: boolean;414 readonly isTransport: boolean;415 readonly isUnroutable: boolean;416 readonly isUnknownClaim: boolean;417 readonly isFailedToDecode: boolean;418 readonly isMaxWeightInvalid: boolean;419 readonly isNotHoldingFees: boolean;420 readonly isTooExpensive: boolean;421 readonly isTrap: boolean;422 readonly asTrap: u64;423 readonly isUnhandledXcmVersion: boolean;424 readonly isWeightLimitReached: boolean;425 readonly asWeightLimitReached: u64;426 readonly isBarrier: boolean;427 readonly isWeightNotComputable: boolean;428 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';429 }430431 /** @name PalletXcmEvent (43) */432 interface PalletXcmEvent extends Enum {433 readonly isAttempted: boolean;434 readonly asAttempted: XcmV2TraitsOutcome;435 readonly isSent: boolean;436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;437 readonly isUnexpectedResponse: boolean;438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;439 readonly isResponseReady: boolean;440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;441 readonly isNotified: boolean;442 readonly asNotified: ITuple<[u64, u8, u8]>;443 readonly isNotifyOverweight: boolean;444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;445 readonly isNotifyDispatchError: boolean;446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;447 readonly isNotifyDecodeFailed: boolean;448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;449 readonly isInvalidResponder: boolean;450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;451 readonly isInvalidResponderVersion: boolean;452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;453 readonly isResponseTaken: boolean;454 readonly asResponseTaken: u64;455 readonly isAssetsTrapped: boolean;456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;457 readonly isVersionChangeNotified: boolean;458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;459 readonly isSupportedVersionChanged: boolean;460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;461 readonly isNotifyTargetSendFail: boolean;462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;463 readonly isNotifyTargetMigrationFail: boolean;464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';466 }467468 /** @name XcmV2TraitsOutcome (44) */469 interface XcmV2TraitsOutcome extends Enum {470 readonly isComplete: boolean;471 readonly asComplete: u64;472 readonly isIncomplete: boolean;473 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;474 readonly isError: boolean;475 readonly asError: XcmV2TraitsError;476 readonly type: 'Complete' | 'Incomplete' | 'Error';477 }478479 /** @name XcmV1MultiLocation (45) */480 interface XcmV1MultiLocation extends Struct {481 readonly parents: u8;482 readonly interior: XcmV1MultilocationJunctions;483 }484485 /** @name XcmV1MultilocationJunctions (46) */486 interface XcmV1MultilocationJunctions extends Enum {487 readonly isHere: boolean;488 readonly isX1: boolean;489 readonly asX1: XcmV1Junction;490 readonly isX2: boolean;491 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;492 readonly isX3: boolean;493 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;494 readonly isX4: boolean;495 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;496 readonly isX5: boolean;497 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;498 readonly isX6: boolean;499 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;500 readonly isX7: boolean;501 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;502 readonly isX8: boolean;503 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;504 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';505 }506507 /** @name XcmV1Junction (47) */508 interface XcmV1Junction extends Enum {509 readonly isParachain: boolean;510 readonly asParachain: Compact<u32>;511 readonly isAccountId32: boolean;512 readonly asAccountId32: {513 readonly network: XcmV0JunctionNetworkId;514 readonly id: U8aFixed;515 } & Struct;516 readonly isAccountIndex64: boolean;517 readonly asAccountIndex64: {518 readonly network: XcmV0JunctionNetworkId;519 readonly index: Compact<u64>;520 } & Struct;521 readonly isAccountKey20: boolean;522 readonly asAccountKey20: {523 readonly network: XcmV0JunctionNetworkId;524 readonly key: U8aFixed;525 } & Struct;526 readonly isPalletInstance: boolean;527 readonly asPalletInstance: u8;528 readonly isGeneralIndex: boolean;529 readonly asGeneralIndex: Compact<u128>;530 readonly isGeneralKey: boolean;531 readonly asGeneralKey: Bytes;532 readonly isOnlyChild: boolean;533 readonly isPlurality: boolean;534 readonly asPlurality: {535 readonly id: XcmV0JunctionBodyId;536 readonly part: XcmV0JunctionBodyPart;537 } & Struct;538 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';539 }540541 /** @name XcmV0JunctionNetworkId (49) */542 interface XcmV0JunctionNetworkId extends Enum {543 readonly isAny: boolean;544 readonly isNamed: boolean;545 readonly asNamed: Bytes;546 readonly isPolkadot: boolean;547 readonly isKusama: boolean;548 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';549 }550551 /** @name XcmV0JunctionBodyId (53) */552 interface XcmV0JunctionBodyId extends Enum {553 readonly isUnit: boolean;554 readonly isNamed: boolean;555 readonly asNamed: Bytes;556 readonly isIndex: boolean;557 readonly asIndex: Compact<u32>;558 readonly isExecutive: boolean;559 readonly isTechnical: boolean;560 readonly isLegislative: boolean;561 readonly isJudicial: boolean;562 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';563 }564565 /** @name XcmV0JunctionBodyPart (54) */566 interface XcmV0JunctionBodyPart extends Enum {567 readonly isVoice: boolean;568 readonly isMembers: boolean;569 readonly asMembers: {570 readonly count: Compact<u32>;571 } & Struct;572 readonly isFraction: boolean;573 readonly asFraction: {574 readonly nom: Compact<u32>;575 readonly denom: Compact<u32>;576 } & Struct;577 readonly isAtLeastProportion: boolean;578 readonly asAtLeastProportion: {579 readonly nom: Compact<u32>;580 readonly denom: Compact<u32>;581 } & Struct;582 readonly isMoreThanProportion: boolean;583 readonly asMoreThanProportion: {584 readonly nom: Compact<u32>;585 readonly denom: Compact<u32>;586 } & Struct;587 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';588 }589590 /** @name XcmV2Xcm (55) */591 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}592593 /** @name XcmV2Instruction (57) */594 interface XcmV2Instruction extends Enum {595 readonly isWithdrawAsset: boolean;596 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;597 readonly isReserveAssetDeposited: boolean;598 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;599 readonly isReceiveTeleportedAsset: boolean;600 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;601 readonly isQueryResponse: boolean;602 readonly asQueryResponse: {603 readonly queryId: Compact<u64>;604 readonly response: XcmV2Response;605 readonly maxWeight: Compact<u64>;606 } & Struct;607 readonly isTransferAsset: boolean;608 readonly asTransferAsset: {609 readonly assets: XcmV1MultiassetMultiAssets;610 readonly beneficiary: XcmV1MultiLocation;611 } & Struct;612 readonly isTransferReserveAsset: boolean;613 readonly asTransferReserveAsset: {614 readonly assets: XcmV1MultiassetMultiAssets;615 readonly dest: XcmV1MultiLocation;616 readonly xcm: XcmV2Xcm;617 } & Struct;618 readonly isTransact: boolean;619 readonly asTransact: {620 readonly originType: XcmV0OriginKind;621 readonly requireWeightAtMost: Compact<u64>;622 readonly call: XcmDoubleEncoded;623 } & Struct;624 readonly isHrmpNewChannelOpenRequest: boolean;625 readonly asHrmpNewChannelOpenRequest: {626 readonly sender: Compact<u32>;627 readonly maxMessageSize: Compact<u32>;628 readonly maxCapacity: Compact<u32>;629 } & Struct;630 readonly isHrmpChannelAccepted: boolean;631 readonly asHrmpChannelAccepted: {632 readonly recipient: Compact<u32>;633 } & Struct;634 readonly isHrmpChannelClosing: boolean;635 readonly asHrmpChannelClosing: {636 readonly initiator: Compact<u32>;637 readonly sender: Compact<u32>;638 readonly recipient: Compact<u32>;639 } & Struct;640 readonly isClearOrigin: boolean;641 readonly isDescendOrigin: boolean;642 readonly asDescendOrigin: XcmV1MultilocationJunctions;643 readonly isReportError: boolean;644 readonly asReportError: {645 readonly queryId: Compact<u64>;646 readonly dest: XcmV1MultiLocation;647 readonly maxResponseWeight: Compact<u64>;648 } & Struct;649 readonly isDepositAsset: boolean;650 readonly asDepositAsset: {651 readonly assets: XcmV1MultiassetMultiAssetFilter;652 readonly maxAssets: Compact<u32>;653 readonly beneficiary: XcmV1MultiLocation;654 } & Struct;655 readonly isDepositReserveAsset: boolean;656 readonly asDepositReserveAsset: {657 readonly assets: XcmV1MultiassetMultiAssetFilter;658 readonly maxAssets: Compact<u32>;659 readonly dest: XcmV1MultiLocation;660 readonly xcm: XcmV2Xcm;661 } & Struct;662 readonly isExchangeAsset: boolean;663 readonly asExchangeAsset: {664 readonly give: XcmV1MultiassetMultiAssetFilter;665 readonly receive: XcmV1MultiassetMultiAssets;666 } & Struct;667 readonly isInitiateReserveWithdraw: boolean;668 readonly asInitiateReserveWithdraw: {669 readonly assets: XcmV1MultiassetMultiAssetFilter;670 readonly reserve: XcmV1MultiLocation;671 readonly xcm: XcmV2Xcm;672 } & Struct;673 readonly isInitiateTeleport: boolean;674 readonly asInitiateTeleport: {675 readonly assets: XcmV1MultiassetMultiAssetFilter;676 readonly dest: XcmV1MultiLocation;677 readonly xcm: XcmV2Xcm;678 } & Struct;679 readonly isQueryHolding: boolean;680 readonly asQueryHolding: {681 readonly queryId: Compact<u64>;682 readonly dest: XcmV1MultiLocation;683 readonly assets: XcmV1MultiassetMultiAssetFilter;684 readonly maxResponseWeight: Compact<u64>;685 } & Struct;686 readonly isBuyExecution: boolean;687 readonly asBuyExecution: {688 readonly fees: XcmV1MultiAsset;689 readonly weightLimit: XcmV2WeightLimit;690 } & Struct;691 readonly isRefundSurplus: boolean;692 readonly isSetErrorHandler: boolean;693 readonly asSetErrorHandler: XcmV2Xcm;694 readonly isSetAppendix: boolean;695 readonly asSetAppendix: XcmV2Xcm;696 readonly isClearError: boolean;697 readonly isClaimAsset: boolean;698 readonly asClaimAsset: {699 readonly assets: XcmV1MultiassetMultiAssets;700 readonly ticket: XcmV1MultiLocation;701 } & Struct;702 readonly isTrap: boolean;703 readonly asTrap: Compact<u64>;704 readonly isSubscribeVersion: boolean;705 readonly asSubscribeVersion: {706 readonly queryId: Compact<u64>;707 readonly maxResponseWeight: Compact<u64>;708 } & Struct;709 readonly isUnsubscribeVersion: boolean;710 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';711 }712713 /** @name XcmV1MultiassetMultiAssets (58) */714 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}715716 /** @name XcmV1MultiAsset (60) */717 interface XcmV1MultiAsset extends Struct {718 readonly id: XcmV1MultiassetAssetId;719 readonly fun: XcmV1MultiassetFungibility;720 }721722 /** @name XcmV1MultiassetAssetId (61) */723 interface XcmV1MultiassetAssetId extends Enum {724 readonly isConcrete: boolean;725 readonly asConcrete: XcmV1MultiLocation;726 readonly isAbstract: boolean;727 readonly asAbstract: Bytes;728 readonly type: 'Concrete' | 'Abstract';729 }730731 /** @name XcmV1MultiassetFungibility (62) */732 interface XcmV1MultiassetFungibility extends Enum {733 readonly isFungible: boolean;734 readonly asFungible: Compact<u128>;735 readonly isNonFungible: boolean;736 readonly asNonFungible: XcmV1MultiassetAssetInstance;737 readonly type: 'Fungible' | 'NonFungible';738 }739740 /** @name XcmV1MultiassetAssetInstance (63) */741 interface XcmV1MultiassetAssetInstance extends Enum {742 readonly isUndefined: boolean;743 readonly isIndex: boolean;744 readonly asIndex: Compact<u128>;745 readonly isArray4: boolean;746 readonly asArray4: U8aFixed;747 readonly isArray8: boolean;748 readonly asArray8: U8aFixed;749 readonly isArray16: boolean;750 readonly asArray16: U8aFixed;751 readonly isArray32: boolean;752 readonly asArray32: U8aFixed;753 readonly isBlob: boolean;754 readonly asBlob: Bytes;755 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';756 }757758 /** @name XcmV2Response (66) */759 interface XcmV2Response extends Enum {760 readonly isNull: boolean;761 readonly isAssets: boolean;762 readonly asAssets: XcmV1MultiassetMultiAssets;763 readonly isExecutionResult: boolean;764 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;765 readonly isVersion: boolean;766 readonly asVersion: u32;767 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';768 }769770 /** @name XcmV0OriginKind (69) */771 interface XcmV0OriginKind extends Enum {772 readonly isNative: boolean;773 readonly isSovereignAccount: boolean;774 readonly isSuperuser: boolean;775 readonly isXcm: boolean;776 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';777 }778779 /** @name XcmDoubleEncoded (70) */780 interface XcmDoubleEncoded extends Struct {781 readonly encoded: Bytes;782 }783784 /** @name XcmV1MultiassetMultiAssetFilter (71) */785 interface XcmV1MultiassetMultiAssetFilter extends Enum {786 readonly isDefinite: boolean;787 readonly asDefinite: XcmV1MultiassetMultiAssets;788 readonly isWild: boolean;789 readonly asWild: XcmV1MultiassetWildMultiAsset;790 readonly type: 'Definite' | 'Wild';791 }792793 /** @name XcmV1MultiassetWildMultiAsset (72) */794 interface XcmV1MultiassetWildMultiAsset extends Enum {795 readonly isAll: boolean;796 readonly isAllOf: boolean;797 readonly asAllOf: {798 readonly id: XcmV1MultiassetAssetId;799 readonly fun: XcmV1MultiassetWildFungibility;800 } & Struct;801 readonly type: 'All' | 'AllOf';802 }803804 /** @name XcmV1MultiassetWildFungibility (73) */805 interface XcmV1MultiassetWildFungibility extends Enum {806 readonly isFungible: boolean;807 readonly isNonFungible: boolean;808 readonly type: 'Fungible' | 'NonFungible';809 }810811 /** @name XcmV2WeightLimit (74) */812 interface XcmV2WeightLimit extends Enum {813 readonly isUnlimited: boolean;814 readonly isLimited: boolean;815 readonly asLimited: Compact<u64>;816 readonly type: 'Unlimited' | 'Limited';817 }818819 /** @name XcmVersionedMultiAssets (76) */820 interface XcmVersionedMultiAssets extends Enum {821 readonly isV0: boolean;822 readonly asV0: Vec<XcmV0MultiAsset>;823 readonly isV1: boolean;824 readonly asV1: XcmV1MultiassetMultiAssets;825 readonly type: 'V0' | 'V1';826 }827828 /** @name XcmV0MultiAsset (78) */829 interface XcmV0MultiAsset extends Enum {830 readonly isNone: boolean;831 readonly isAll: boolean;832 readonly isAllFungible: boolean;833 readonly isAllNonFungible: boolean;834 readonly isAllAbstractFungible: boolean;835 readonly asAllAbstractFungible: {836 readonly id: Bytes;837 } & Struct;838 readonly isAllAbstractNonFungible: boolean;839 readonly asAllAbstractNonFungible: {840 readonly class: Bytes;841 } & Struct;842 readonly isAllConcreteFungible: boolean;843 readonly asAllConcreteFungible: {844 readonly id: XcmV0MultiLocation;845 } & Struct;846 readonly isAllConcreteNonFungible: boolean;847 readonly asAllConcreteNonFungible: {848 readonly class: XcmV0MultiLocation;849 } & Struct;850 readonly isAbstractFungible: boolean;851 readonly asAbstractFungible: {852 readonly id: Bytes;853 readonly amount: Compact<u128>;854 } & Struct;855 readonly isAbstractNonFungible: boolean;856 readonly asAbstractNonFungible: {857 readonly class: Bytes;858 readonly instance: XcmV1MultiassetAssetInstance;859 } & Struct;860 readonly isConcreteFungible: boolean;861 readonly asConcreteFungible: {862 readonly id: XcmV0MultiLocation;863 readonly amount: Compact<u128>;864 } & Struct;865 readonly isConcreteNonFungible: boolean;866 readonly asConcreteNonFungible: {867 readonly class: XcmV0MultiLocation;868 readonly instance: XcmV1MultiassetAssetInstance;869 } & Struct;870 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 }872873 /** @name XcmV0MultiLocation (79) */874 interface XcmV0MultiLocation extends Enum {875 readonly isNull: boolean;876 readonly isX1: boolean;877 readonly asX1: XcmV0Junction;878 readonly isX2: boolean;879 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;880 readonly isX3: boolean;881 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;882 readonly isX4: boolean;883 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;884 readonly isX5: boolean;885 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;886 readonly isX6: boolean;887 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;888 readonly isX7: boolean;889 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;890 readonly isX8: boolean;891 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;892 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';893 }894895 /** @name XcmV0Junction (80) */896 interface XcmV0Junction extends Enum {897 readonly isParent: boolean;898 readonly isParachain: boolean;899 readonly asParachain: Compact<u32>;900 readonly isAccountId32: boolean;901 readonly asAccountId32: {902 readonly network: XcmV0JunctionNetworkId;903 readonly id: U8aFixed;904 } & Struct;905 readonly isAccountIndex64: boolean;906 readonly asAccountIndex64: {907 readonly network: XcmV0JunctionNetworkId;908 readonly index: Compact<u64>;909 } & Struct;910 readonly isAccountKey20: boolean;911 readonly asAccountKey20: {912 readonly network: XcmV0JunctionNetworkId;913 readonly key: U8aFixed;914 } & Struct;915 readonly isPalletInstance: boolean;916 readonly asPalletInstance: u8;917 readonly isGeneralIndex: boolean;918 readonly asGeneralIndex: Compact<u128>;919 readonly isGeneralKey: boolean;920 readonly asGeneralKey: Bytes;921 readonly isOnlyChild: boolean;922 readonly isPlurality: boolean;923 readonly asPlurality: {924 readonly id: XcmV0JunctionBodyId;925 readonly part: XcmV0JunctionBodyPart;926 } & Struct;927 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';928 }929930 /** @name XcmVersionedMultiLocation (81) */931 interface XcmVersionedMultiLocation extends Enum {932 readonly isV0: boolean;933 readonly asV0: XcmV0MultiLocation;934 readonly isV1: boolean;935 readonly asV1: XcmV1MultiLocation;936 readonly type: 'V0' | 'V1';937 }938939 /** @name CumulusPalletXcmEvent (82) */940 interface CumulusPalletXcmEvent extends Enum {941 readonly isInvalidFormat: boolean;942 readonly asInvalidFormat: U8aFixed;943 readonly isUnsupportedVersion: boolean;944 readonly asUnsupportedVersion: U8aFixed;945 readonly isExecutedDownward: boolean;946 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;947 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';948 }949950 /** @name CumulusPalletDmpQueueEvent (83) */951 interface CumulusPalletDmpQueueEvent extends Enum {952 readonly isInvalidFormat: boolean;953 readonly asInvalidFormat: {954 readonly messageId: U8aFixed;955 } & Struct;956 readonly isUnsupportedVersion: boolean;957 readonly asUnsupportedVersion: {958 readonly messageId: U8aFixed;959 } & Struct;960 readonly isExecutedDownward: boolean;961 readonly asExecutedDownward: {962 readonly messageId: U8aFixed;963 readonly outcome: XcmV2TraitsOutcome;964 } & Struct;965 readonly isWeightExhausted: boolean;966 readonly asWeightExhausted: {967 readonly messageId: U8aFixed;968 readonly remainingWeight: u64;969 readonly requiredWeight: u64;970 } & Struct;971 readonly isOverweightEnqueued: boolean;972 readonly asOverweightEnqueued: {973 readonly messageId: U8aFixed;974 readonly overweightIndex: u64;975 readonly requiredWeight: u64;976 } & Struct;977 readonly isOverweightServiced: boolean;978 readonly asOverweightServiced: {979 readonly overweightIndex: u64;980 readonly weightUsed: u64;981 } & Struct;982 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';983 }984985 /** @name PalletUniqueRawEvent (84) */986 interface PalletUniqueRawEvent extends Enum {987 readonly isCollectionSponsorRemoved: boolean;988 readonly asCollectionSponsorRemoved: u32;989 readonly isCollectionAdminAdded: boolean;990 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;991 readonly isCollectionOwnedChanged: boolean;992 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;993 readonly isCollectionSponsorSet: boolean;994 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;995 readonly isSponsorshipConfirmed: boolean;996 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;997 readonly isCollectionAdminRemoved: boolean;998 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;999 readonly isAllowListAddressRemoved: boolean;1000 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1001 readonly isAllowListAddressAdded: boolean;1002 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1003 readonly isCollectionLimitSet: boolean;1004 readonly asCollectionLimitSet: u32;1005 readonly isCollectionPermissionSet: boolean;1006 readonly asCollectionPermissionSet: u32;1007 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1008 }10091010 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1011 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1012 readonly isSubstrate: boolean;1013 readonly asSubstrate: AccountId32;1014 readonly isEthereum: boolean;1015 readonly asEthereum: H160;1016 readonly type: 'Substrate' | 'Ethereum';1017 }10181019 /** @name PalletUniqueSchedulerEvent (88) */1020 interface PalletUniqueSchedulerEvent extends Enum {1021 readonly isScheduled: boolean;1022 readonly asScheduled: {1023 readonly when: u32;1024 readonly index: u32;1025 } & Struct;1026 readonly isCanceled: boolean;1027 readonly asCanceled: {1028 readonly when: u32;1029 readonly index: u32;1030 } & Struct;1031 readonly isDispatched: boolean;1032 readonly asDispatched: {1033 readonly task: ITuple<[u32, u32]>;1034 readonly id: Option<U8aFixed>;1035 readonly result: Result<Null, SpRuntimeDispatchError>;1036 } & Struct;1037 readonly isCallLookupFailed: boolean;1038 readonly asCallLookupFailed: {1039 readonly task: ITuple<[u32, u32]>;1040 readonly id: Option<U8aFixed>;1041 readonly error: FrameSupportScheduleLookupError;1042 } & Struct;1043 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1044 }10451046 /** @name FrameSupportScheduleLookupError (91) */1047 interface FrameSupportScheduleLookupError extends Enum {1048 readonly isUnknown: boolean;1049 readonly isBadFormat: boolean;1050 readonly type: 'Unknown' | 'BadFormat';1051 }10521053 /** @name PalletCommonEvent (92) */1054 interface PalletCommonEvent extends Enum {1055 readonly isCollectionCreated: boolean;1056 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1057 readonly isCollectionDestroyed: boolean;1058 readonly asCollectionDestroyed: u32;1059 readonly isItemCreated: boolean;1060 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isItemDestroyed: boolean;1062 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1063 readonly isTransfer: boolean;1064 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1065 readonly isApproved: boolean;1066 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1067 readonly isCollectionPropertySet: boolean;1068 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1069 readonly isCollectionPropertyDeleted: boolean;1070 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1071 readonly isTokenPropertySet: boolean;1072 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1073 readonly isTokenPropertyDeleted: boolean;1074 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1075 readonly isPropertyPermissionSet: boolean;1076 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1077 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1078 }10791080 /** @name PalletStructureEvent (95) */1081 interface PalletStructureEvent extends Enum {1082 readonly isExecuted: boolean;1083 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1084 readonly type: 'Executed';1085 }10861087 /** @name PalletRmrkCoreEvent (96) */1088 interface PalletRmrkCoreEvent extends Enum {1089 readonly isCollectionCreated: boolean;1090 readonly asCollectionCreated: {1091 readonly issuer: AccountId32;1092 readonly collectionId: u32;1093 } & Struct;1094 readonly isCollectionDestroyed: boolean;1095 readonly asCollectionDestroyed: {1096 readonly issuer: AccountId32;1097 readonly collectionId: u32;1098 } & Struct;1099 readonly isIssuerChanged: boolean;1100 readonly asIssuerChanged: {1101 readonly oldIssuer: AccountId32;1102 readonly newIssuer: AccountId32;1103 readonly collectionId: u32;1104 } & Struct;1105 readonly isCollectionLocked: boolean;1106 readonly asCollectionLocked: {1107 readonly issuer: AccountId32;1108 readonly collectionId: u32;1109 } & Struct;1110 readonly isNftMinted: boolean;1111 readonly asNftMinted: {1112 readonly owner: AccountId32;1113 readonly collectionId: u32;1114 readonly nftId: u32;1115 } & Struct;1116 readonly isNftBurned: boolean;1117 readonly asNftBurned: {1118 readonly owner: AccountId32;1119 readonly nftId: u32;1120 } & Struct;1121 readonly isNftSent: boolean;1122 readonly asNftSent: {1123 readonly sender: AccountId32;1124 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1125 readonly collectionId: u32;1126 readonly nftId: u32;1127 readonly approvalRequired: bool;1128 } & Struct;1129 readonly isNftAccepted: boolean;1130 readonly asNftAccepted: {1131 readonly sender: AccountId32;1132 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1133 readonly collectionId: u32;1134 readonly nftId: u32;1135 } & Struct;1136 readonly isNftRejected: boolean;1137 readonly asNftRejected: {1138 readonly sender: AccountId32;1139 readonly collectionId: u32;1140 readonly nftId: u32;1141 } & Struct;1142 readonly isPropertySet: boolean;1143 readonly asPropertySet: {1144 readonly collectionId: u32;1145 readonly maybeNftId: Option<u32>;1146 readonly key: Bytes;1147 readonly value: Bytes;1148 } & Struct;1149 readonly isResourceAdded: boolean;1150 readonly asResourceAdded: {1151 readonly nftId: u32;1152 readonly resourceId: u32;1153 } & Struct;1154 readonly isResourceRemoval: boolean;1155 readonly asResourceRemoval: {1156 readonly nftId: u32;1157 readonly resourceId: u32;1158 } & Struct;1159 readonly isResourceAccepted: boolean;1160 readonly asResourceAccepted: {1161 readonly nftId: u32;1162 readonly resourceId: u32;1163 } & Struct;1164 readonly isResourceRemovalAccepted: boolean;1165 readonly asResourceRemovalAccepted: {1166 readonly nftId: u32;1167 readonly resourceId: u32;1168 } & Struct;1169 readonly isPrioritySet: boolean;1170 readonly asPrioritySet: {1171 readonly collectionId: u32;1172 readonly nftId: u32;1173 } & Struct;1174 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1175 }11761177 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1178 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1179 readonly isAccountId: boolean;1180 readonly asAccountId: AccountId32;1181 readonly isCollectionAndNftTuple: boolean;1182 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1183 readonly type: 'AccountId' | 'CollectionAndNftTuple';1184 }11851186 /** @name PalletRmrkEquipEvent (102) */1187 interface PalletRmrkEquipEvent extends Enum {1188 readonly isBaseCreated: boolean;1189 readonly asBaseCreated: {1190 readonly issuer: AccountId32;1191 readonly baseId: u32;1192 } & Struct;1193 readonly isEquippablesUpdated: boolean;1194 readonly asEquippablesUpdated: {1195 readonly baseId: u32;1196 readonly slotId: u32;1197 } & Struct;1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }12001201 /** @name PalletEvmEvent (103) */1202 interface PalletEvmEvent extends Enum {1203 readonly isLog: boolean;1204 readonly asLog: EthereumLog;1205 readonly isCreated: boolean;1206 readonly asCreated: H160;1207 readonly isCreatedFailed: boolean;1208 readonly asCreatedFailed: H160;1209 readonly isExecuted: boolean;1210 readonly asExecuted: H160;1211 readonly isExecutedFailed: boolean;1212 readonly asExecutedFailed: H160;1213 readonly isBalanceDeposit: boolean;1214 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1215 readonly isBalanceWithdraw: boolean;1216 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1217 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1218 }12191220 /** @name EthereumLog (104) */1221 interface EthereumLog extends Struct {1222 readonly address: H160;1223 readonly topics: Vec<H256>;1224 readonly data: Bytes;1225 }12261227 /** @name PalletEthereumEvent (108) */1228 interface PalletEthereumEvent extends Enum {1229 readonly isExecuted: boolean;1230 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1231 readonly type: 'Executed';1232 }12331234 /** @name EvmCoreErrorExitReason (109) */1235 interface EvmCoreErrorExitReason extends Enum {1236 readonly isSucceed: boolean;1237 readonly asSucceed: EvmCoreErrorExitSucceed;1238 readonly isError: boolean;1239 readonly asError: EvmCoreErrorExitError;1240 readonly isRevert: boolean;1241 readonly asRevert: EvmCoreErrorExitRevert;1242 readonly isFatal: boolean;1243 readonly asFatal: EvmCoreErrorExitFatal;1244 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1245 }12461247 /** @name EvmCoreErrorExitSucceed (110) */1248 interface EvmCoreErrorExitSucceed extends Enum {1249 readonly isStopped: boolean;1250 readonly isReturned: boolean;1251 readonly isSuicided: boolean;1252 readonly type: 'Stopped' | 'Returned' | 'Suicided';1253 }12541255 /** @name EvmCoreErrorExitError (111) */1256 interface EvmCoreErrorExitError extends Enum {1257 readonly isStackUnderflow: boolean;1258 readonly isStackOverflow: boolean;1259 readonly isInvalidJump: boolean;1260 readonly isInvalidRange: boolean;1261 readonly isDesignatedInvalid: boolean;1262 readonly isCallTooDeep: boolean;1263 readonly isCreateCollision: boolean;1264 readonly isCreateContractLimit: boolean;1265 readonly isOutOfOffset: boolean;1266 readonly isOutOfGas: boolean;1267 readonly isOutOfFund: boolean;1268 readonly isPcUnderflow: boolean;1269 readonly isCreateEmpty: boolean;1270 readonly isOther: boolean;1271 readonly asOther: Text;1272 readonly isInvalidCode: boolean;1273 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1274 }12751276 /** @name EvmCoreErrorExitRevert (114) */1277 interface EvmCoreErrorExitRevert extends Enum {1278 readonly isReverted: boolean;1279 readonly type: 'Reverted';1280 }12811282 /** @name EvmCoreErrorExitFatal (115) */1283 interface EvmCoreErrorExitFatal extends Enum {1284 readonly isNotSupported: boolean;1285 readonly isUnhandledInterrupt: boolean;1286 readonly isCallErrorAsFatal: boolean;1287 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1288 readonly isOther: boolean;1289 readonly asOther: Text;1290 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1291 }12921293 /** @name FrameSystemPhase (116) */1294 interface FrameSystemPhase extends Enum {1295 readonly isApplyExtrinsic: boolean;1296 readonly asApplyExtrinsic: u32;1297 readonly isFinalization: boolean;1298 readonly isInitialization: boolean;1299 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1300 }13011302 /** @name FrameSystemLastRuntimeUpgradeInfo (118) */1303 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1304 readonly specVersion: Compact<u32>;1305 readonly specName: Text;1306 }13071308 /** @name FrameSystemCall (119) */1309 interface FrameSystemCall extends Enum {1310 readonly isFillBlock: boolean;1311 readonly asFillBlock: {1312 readonly ratio: Perbill;1313 } & Struct;1314 readonly isRemark: boolean;1315 readonly asRemark: {1316 readonly remark: Bytes;1317 } & Struct;1318 readonly isSetHeapPages: boolean;1319 readonly asSetHeapPages: {1320 readonly pages: u64;1321 } & Struct;1322 readonly isSetCode: boolean;1323 readonly asSetCode: {1324 readonly code: Bytes;1325 } & Struct;1326 readonly isSetCodeWithoutChecks: boolean;1327 readonly asSetCodeWithoutChecks: {1328 readonly code: Bytes;1329 } & Struct;1330 readonly isSetStorage: boolean;1331 readonly asSetStorage: {1332 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1333 } & Struct;1334 readonly isKillStorage: boolean;1335 readonly asKillStorage: {1336 readonly keys_: Vec<Bytes>;1337 } & Struct;1338 readonly isKillPrefix: boolean;1339 readonly asKillPrefix: {1340 readonly prefix: Bytes;1341 readonly subkeys: u32;1342 } & Struct;1343 readonly isRemarkWithEvent: boolean;1344 readonly asRemarkWithEvent: {1345 readonly remark: Bytes;1346 } & Struct;1347 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1348 }13491350 /** @name FrameSystemLimitsBlockWeights (124) */1351 interface FrameSystemLimitsBlockWeights extends Struct {1352 readonly baseBlock: u64;1353 readonly maxBlock: u64;1354 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1355 }13561357 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */1358 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1359 readonly normal: FrameSystemLimitsWeightsPerClass;1360 readonly operational: FrameSystemLimitsWeightsPerClass;1361 readonly mandatory: FrameSystemLimitsWeightsPerClass;1362 }13631364 /** @name FrameSystemLimitsWeightsPerClass (126) */1365 interface FrameSystemLimitsWeightsPerClass extends Struct {1366 readonly baseExtrinsic: u64;1367 readonly maxExtrinsic: Option<u64>;1368 readonly maxTotal: Option<u64>;1369 readonly reserved: Option<u64>;1370 }13711372 /** @name FrameSystemLimitsBlockLength (128) */1373 interface FrameSystemLimitsBlockLength extends Struct {1374 readonly max: FrameSupportWeightsPerDispatchClassU32;1375 }13761377 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1378 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1379 readonly normal: u32;1380 readonly operational: u32;1381 readonly mandatory: u32;1382 }13831384 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1385 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1386 readonly read: u64;1387 readonly write: u64;1388 }13891390 /** @name SpVersionRuntimeVersion (131) */1391 interface SpVersionRuntimeVersion extends Struct {1392 readonly specName: Text;1393 readonly implName: Text;1394 readonly authoringVersion: u32;1395 readonly specVersion: u32;1396 readonly implVersion: u32;1397 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1398 readonly transactionVersion: u32;1399 readonly stateVersion: u8;1400 }14011402 /** @name FrameSystemError (136) */1403 interface FrameSystemError extends Enum {1404 readonly isInvalidSpecName: boolean;1405 readonly isSpecVersionNeedsToIncrease: boolean;1406 readonly isFailedToExtractRuntimeVersion: boolean;1407 readonly isNonDefaultComposite: boolean;1408 readonly isNonZeroRefCount: boolean;1409 readonly isCallFiltered: boolean;1410 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1411 }14121413 /** @name PolkadotPrimitivesV2PersistedValidationData (137) */1414 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1415 readonly parentHead: Bytes;1416 readonly relayParentNumber: u32;1417 readonly relayParentStorageRoot: H256;1418 readonly maxPovSize: u32;1419 }14201421 /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */1422 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1423 readonly isPresent: boolean;1424 readonly type: 'Present';1425 }14261427 /** @name SpTrieStorageProof (141) */1428 interface SpTrieStorageProof extends Struct {1429 readonly trieNodes: BTreeSet<Bytes>;1430 }14311432 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */1433 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1434 readonly dmqMqcHead: H256;1435 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1436 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1437 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1438 }14391440 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */1441 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1442 readonly maxCapacity: u32;1443 readonly maxTotalSize: u32;1444 readonly maxMessageSize: u32;1445 readonly msgCount: u32;1446 readonly totalSize: u32;1447 readonly mqcHead: Option<H256>;1448 }14491450 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */1451 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1452 readonly maxCodeSize: u32;1453 readonly maxHeadDataSize: u32;1454 readonly maxUpwardQueueCount: u32;1455 readonly maxUpwardQueueSize: u32;1456 readonly maxUpwardMessageSize: u32;1457 readonly maxUpwardMessageNumPerCandidate: u32;1458 readonly hrmpMaxMessageNumPerCandidate: u32;1459 readonly validationUpgradeCooldown: u32;1460 readonly validationUpgradeDelay: u32;1461 }14621463 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */1464 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1465 readonly recipient: u32;1466 readonly data: Bytes;1467 }14681469 /** @name CumulusPalletParachainSystemCall (154) */1470 interface CumulusPalletParachainSystemCall extends Enum {1471 readonly isSetValidationData: boolean;1472 readonly asSetValidationData: {1473 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1474 } & Struct;1475 readonly isSudoSendUpwardMessage: boolean;1476 readonly asSudoSendUpwardMessage: {1477 readonly message: Bytes;1478 } & Struct;1479 readonly isAuthorizeUpgrade: boolean;1480 readonly asAuthorizeUpgrade: {1481 readonly codeHash: H256;1482 } & Struct;1483 readonly isEnactAuthorizedUpgrade: boolean;1484 readonly asEnactAuthorizedUpgrade: {1485 readonly code: Bytes;1486 } & Struct;1487 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1488 }14891490 /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */1491 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1492 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1493 readonly relayChainState: SpTrieStorageProof;1494 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1495 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1496 }14971498 /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */1499 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1500 readonly sentAt: u32;1501 readonly msg: Bytes;1502 }15031504 /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */1505 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1506 readonly sentAt: u32;1507 readonly data: Bytes;1508 }15091510 /** @name CumulusPalletParachainSystemError (163) */1511 interface CumulusPalletParachainSystemError extends Enum {1512 readonly isOverlappingUpgrades: boolean;1513 readonly isProhibitedByPolkadot: boolean;1514 readonly isTooBig: boolean;1515 readonly isValidationDataNotAvailable: boolean;1516 readonly isHostConfigurationNotAvailable: boolean;1517 readonly isNotScheduled: boolean;1518 readonly isNothingAuthorized: boolean;1519 readonly isUnauthorized: boolean;1520 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1521 }15221523 /** @name PalletBalancesBalanceLock (165) */1524 interface PalletBalancesBalanceLock extends Struct {1525 readonly id: U8aFixed;1526 readonly amount: u128;1527 readonly reasons: PalletBalancesReasons;1528 }15291530 /** @name PalletBalancesReasons (166) */1531 interface PalletBalancesReasons extends Enum {1532 readonly isFee: boolean;1533 readonly isMisc: boolean;1534 readonly isAll: boolean;1535 readonly type: 'Fee' | 'Misc' | 'All';1536 }15371538 /** @name PalletBalancesReserveData (169) */1539 interface PalletBalancesReserveData extends Struct {1540 readonly id: U8aFixed;1541 readonly amount: u128;1542 }15431544 /** @name PalletBalancesReleases (171) */1545 interface PalletBalancesReleases extends Enum {1546 readonly isV100: boolean;1547 readonly isV200: boolean;1548 readonly type: 'V100' | 'V200';1549 }15501551 /** @name PalletBalancesCall (172) */1552 interface PalletBalancesCall extends Enum {1553 readonly isTransfer: boolean;1554 readonly asTransfer: {1555 readonly dest: MultiAddress;1556 readonly value: Compact<u128>;1557 } & Struct;1558 readonly isSetBalance: boolean;1559 readonly asSetBalance: {1560 readonly who: MultiAddress;1561 readonly newFree: Compact<u128>;1562 readonly newReserved: Compact<u128>;1563 } & Struct;1564 readonly isForceTransfer: boolean;1565 readonly asForceTransfer: {1566 readonly source: MultiAddress;1567 readonly dest: MultiAddress;1568 readonly value: Compact<u128>;1569 } & Struct;1570 readonly isTransferKeepAlive: boolean;1571 readonly asTransferKeepAlive: {1572 readonly dest: MultiAddress;1573 readonly value: Compact<u128>;1574 } & Struct;1575 readonly isTransferAll: boolean;1576 readonly asTransferAll: {1577 readonly dest: MultiAddress;1578 readonly keepAlive: bool;1579 } & Struct;1580 readonly isForceUnreserve: boolean;1581 readonly asForceUnreserve: {1582 readonly who: MultiAddress;1583 readonly amount: u128;1584 } & Struct;1585 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1586 }15871588 /** @name PalletBalancesError (175) */1589 interface PalletBalancesError extends Enum {1590 readonly isVestingBalance: boolean;1591 readonly isLiquidityRestrictions: boolean;1592 readonly isInsufficientBalance: boolean;1593 readonly isExistentialDeposit: boolean;1594 readonly isKeepAlive: boolean;1595 readonly isExistingVestingSchedule: boolean;1596 readonly isDeadAccount: boolean;1597 readonly isTooManyReserves: boolean;1598 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1599 }16001601 /** @name PalletTimestampCall (177) */1602 interface PalletTimestampCall extends Enum {1603 readonly isSet: boolean;1604 readonly asSet: {1605 readonly now: Compact<u64>;1606 } & Struct;1607 readonly type: 'Set';1608 }16091610 /** @name PalletTransactionPaymentReleases (179) */1611 interface PalletTransactionPaymentReleases extends Enum {1612 readonly isV1Ancient: boolean;1613 readonly isV2: boolean;1614 readonly type: 'V1Ancient' | 'V2';1615 }16161617 /** @name PalletTreasuryProposal (180) */1618 interface PalletTreasuryProposal extends Struct {1619 readonly proposer: AccountId32;1620 readonly value: u128;1621 readonly beneficiary: AccountId32;1622 readonly bond: u128;1623 }16241625 /** @name PalletTreasuryCall (183) */1626 interface PalletTreasuryCall extends Enum {1627 readonly isProposeSpend: boolean;1628 readonly asProposeSpend: {1629 readonly value: Compact<u128>;1630 readonly beneficiary: MultiAddress;1631 } & Struct;1632 readonly isRejectProposal: boolean;1633 readonly asRejectProposal: {1634 readonly proposalId: Compact<u32>;1635 } & Struct;1636 readonly isApproveProposal: boolean;1637 readonly asApproveProposal: {1638 readonly proposalId: Compact<u32>;1639 } & Struct;1640 readonly isSpend: boolean;1641 readonly asSpend: {1642 readonly amount: Compact<u128>;1643 readonly beneficiary: MultiAddress;1644 } & Struct;1645 readonly isRemoveApproval: boolean;1646 readonly asRemoveApproval: {1647 readonly proposalId: Compact<u32>;1648 } & Struct;1649 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1650 }16511652 /** @name FrameSupportPalletId (186) */1653 interface FrameSupportPalletId extends U8aFixed {}16541655 /** @name PalletTreasuryError (187) */1656 interface PalletTreasuryError extends Enum {1657 readonly isInsufficientProposersBalance: boolean;1658 readonly isInvalidIndex: boolean;1659 readonly isTooManyApprovals: boolean;1660 readonly isInsufficientPermission: boolean;1661 readonly isProposalNotApproved: boolean;1662 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1663 }16641665 /** @name PalletSudoCall (188) */1666 interface PalletSudoCall extends Enum {1667 readonly isSudo: boolean;1668 readonly asSudo: {1669 readonly call: Call;1670 } & Struct;1671 readonly isSudoUncheckedWeight: boolean;1672 readonly asSudoUncheckedWeight: {1673 readonly call: Call;1674 readonly weight: u64;1675 } & Struct;1676 readonly isSetKey: boolean;1677 readonly asSetKey: {1678 readonly new_: MultiAddress;1679 } & Struct;1680 readonly isSudoAs: boolean;1681 readonly asSudoAs: {1682 readonly who: MultiAddress;1683 readonly call: Call;1684 } & Struct;1685 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1686 }16871688 /** @name OrmlVestingModuleCall (190) */1689 interface OrmlVestingModuleCall extends Enum {1690 readonly isClaim: boolean;1691 readonly isVestedTransfer: boolean;1692 readonly asVestedTransfer: {1693 readonly dest: MultiAddress;1694 readonly schedule: OrmlVestingVestingSchedule;1695 } & Struct;1696 readonly isUpdateVestingSchedules: boolean;1697 readonly asUpdateVestingSchedules: {1698 readonly who: MultiAddress;1699 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1700 } & Struct;1701 readonly isClaimFor: boolean;1702 readonly asClaimFor: {1703 readonly dest: MultiAddress;1704 } & Struct;1705 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1706 }17071708 /** @name CumulusPalletXcmpQueueCall (192) */1709 interface CumulusPalletXcmpQueueCall extends Enum {1710 readonly isServiceOverweight: boolean;1711 readonly asServiceOverweight: {1712 readonly index: u64;1713 readonly weightLimit: u64;1714 } & Struct;1715 readonly isSuspendXcmExecution: boolean;1716 readonly isResumeXcmExecution: boolean;1717 readonly isUpdateSuspendThreshold: boolean;1718 readonly asUpdateSuspendThreshold: {1719 readonly new_: u32;1720 } & Struct;1721 readonly isUpdateDropThreshold: boolean;1722 readonly asUpdateDropThreshold: {1723 readonly new_: u32;1724 } & Struct;1725 readonly isUpdateResumeThreshold: boolean;1726 readonly asUpdateResumeThreshold: {1727 readonly new_: u32;1728 } & Struct;1729 readonly isUpdateThresholdWeight: boolean;1730 readonly asUpdateThresholdWeight: {1731 readonly new_: u64;1732 } & Struct;1733 readonly isUpdateWeightRestrictDecay: boolean;1734 readonly asUpdateWeightRestrictDecay: {1735 readonly new_: u64;1736 } & Struct;1737 readonly isUpdateXcmpMaxIndividualWeight: boolean;1738 readonly asUpdateXcmpMaxIndividualWeight: {1739 readonly new_: u64;1740 } & Struct;1741 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1742 }17431744 /** @name PalletXcmCall (193) */1745 interface PalletXcmCall extends Enum {1746 readonly isSend: boolean;1747 readonly asSend: {1748 readonly dest: XcmVersionedMultiLocation;1749 readonly message: XcmVersionedXcm;1750 } & Struct;1751 readonly isTeleportAssets: boolean;1752 readonly asTeleportAssets: {1753 readonly dest: XcmVersionedMultiLocation;1754 readonly beneficiary: XcmVersionedMultiLocation;1755 readonly assets: XcmVersionedMultiAssets;1756 readonly feeAssetItem: u32;1757 } & Struct;1758 readonly isReserveTransferAssets: boolean;1759 readonly asReserveTransferAssets: {1760 readonly dest: XcmVersionedMultiLocation;1761 readonly beneficiary: XcmVersionedMultiLocation;1762 readonly assets: XcmVersionedMultiAssets;1763 readonly feeAssetItem: u32;1764 } & Struct;1765 readonly isExecute: boolean;1766 readonly asExecute: {1767 readonly message: XcmVersionedXcm;1768 readonly maxWeight: u64;1769 } & Struct;1770 readonly isForceXcmVersion: boolean;1771 readonly asForceXcmVersion: {1772 readonly location: XcmV1MultiLocation;1773 readonly xcmVersion: u32;1774 } & Struct;1775 readonly isForceDefaultXcmVersion: boolean;1776 readonly asForceDefaultXcmVersion: {1777 readonly maybeXcmVersion: Option<u32>;1778 } & Struct;1779 readonly isForceSubscribeVersionNotify: boolean;1780 readonly asForceSubscribeVersionNotify: {1781 readonly location: XcmVersionedMultiLocation;1782 } & Struct;1783 readonly isForceUnsubscribeVersionNotify: boolean;1784 readonly asForceUnsubscribeVersionNotify: {1785 readonly location: XcmVersionedMultiLocation;1786 } & Struct;1787 readonly isLimitedReserveTransferAssets: boolean;1788 readonly asLimitedReserveTransferAssets: {1789 readonly dest: XcmVersionedMultiLocation;1790 readonly beneficiary: XcmVersionedMultiLocation;1791 readonly assets: XcmVersionedMultiAssets;1792 readonly feeAssetItem: u32;1793 readonly weightLimit: XcmV2WeightLimit;1794 } & Struct;1795 readonly isLimitedTeleportAssets: boolean;1796 readonly asLimitedTeleportAssets: {1797 readonly dest: XcmVersionedMultiLocation;1798 readonly beneficiary: XcmVersionedMultiLocation;1799 readonly assets: XcmVersionedMultiAssets;1800 readonly feeAssetItem: u32;1801 readonly weightLimit: XcmV2WeightLimit;1802 } & Struct;1803 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1804 }18051806 /** @name XcmVersionedXcm (194) */1807 interface XcmVersionedXcm extends Enum {1808 readonly isV0: boolean;1809 readonly asV0: XcmV0Xcm;1810 readonly isV1: boolean;1811 readonly asV1: XcmV1Xcm;1812 readonly isV2: boolean;1813 readonly asV2: XcmV2Xcm;1814 readonly type: 'V0' | 'V1' | 'V2';1815 }18161817 /** @name XcmV0Xcm (195) */1818 interface XcmV0Xcm extends Enum {1819 readonly isWithdrawAsset: boolean;1820 readonly asWithdrawAsset: {1821 readonly assets: Vec<XcmV0MultiAsset>;1822 readonly effects: Vec<XcmV0Order>;1823 } & Struct;1824 readonly isReserveAssetDeposit: boolean;1825 readonly asReserveAssetDeposit: {1826 readonly assets: Vec<XcmV0MultiAsset>;1827 readonly effects: Vec<XcmV0Order>;1828 } & Struct;1829 readonly isTeleportAsset: boolean;1830 readonly asTeleportAsset: {1831 readonly assets: Vec<XcmV0MultiAsset>;1832 readonly effects: Vec<XcmV0Order>;1833 } & Struct;1834 readonly isQueryResponse: boolean;1835 readonly asQueryResponse: {1836 readonly queryId: Compact<u64>;1837 readonly response: XcmV0Response;1838 } & Struct;1839 readonly isTransferAsset: boolean;1840 readonly asTransferAsset: {1841 readonly assets: Vec<XcmV0MultiAsset>;1842 readonly dest: XcmV0MultiLocation;1843 } & Struct;1844 readonly isTransferReserveAsset: boolean;1845 readonly asTransferReserveAsset: {1846 readonly assets: Vec<XcmV0MultiAsset>;1847 readonly dest: XcmV0MultiLocation;1848 readonly effects: Vec<XcmV0Order>;1849 } & Struct;1850 readonly isTransact: boolean;1851 readonly asTransact: {1852 readonly originType: XcmV0OriginKind;1853 readonly requireWeightAtMost: u64;1854 readonly call: XcmDoubleEncoded;1855 } & Struct;1856 readonly isHrmpNewChannelOpenRequest: boolean;1857 readonly asHrmpNewChannelOpenRequest: {1858 readonly sender: Compact<u32>;1859 readonly maxMessageSize: Compact<u32>;1860 readonly maxCapacity: Compact<u32>;1861 } & Struct;1862 readonly isHrmpChannelAccepted: boolean;1863 readonly asHrmpChannelAccepted: {1864 readonly recipient: Compact<u32>;1865 } & Struct;1866 readonly isHrmpChannelClosing: boolean;1867 readonly asHrmpChannelClosing: {1868 readonly initiator: Compact<u32>;1869 readonly sender: Compact<u32>;1870 readonly recipient: Compact<u32>;1871 } & Struct;1872 readonly isRelayedFrom: boolean;1873 readonly asRelayedFrom: {1874 readonly who: XcmV0MultiLocation;1875 readonly message: XcmV0Xcm;1876 } & Struct;1877 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1878 }18791880 /** @name XcmV0Order (197) */1881 interface XcmV0Order extends Enum {1882 readonly isNull: boolean;1883 readonly isDepositAsset: boolean;1884 readonly asDepositAsset: {1885 readonly assets: Vec<XcmV0MultiAsset>;1886 readonly dest: XcmV0MultiLocation;1887 } & Struct;1888 readonly isDepositReserveAsset: boolean;1889 readonly asDepositReserveAsset: {1890 readonly assets: Vec<XcmV0MultiAsset>;1891 readonly dest: XcmV0MultiLocation;1892 readonly effects: Vec<XcmV0Order>;1893 } & Struct;1894 readonly isExchangeAsset: boolean;1895 readonly asExchangeAsset: {1896 readonly give: Vec<XcmV0MultiAsset>;1897 readonly receive: Vec<XcmV0MultiAsset>;1898 } & Struct;1899 readonly isInitiateReserveWithdraw: boolean;1900 readonly asInitiateReserveWithdraw: {1901 readonly assets: Vec<XcmV0MultiAsset>;1902 readonly reserve: XcmV0MultiLocation;1903 readonly effects: Vec<XcmV0Order>;1904 } & Struct;1905 readonly isInitiateTeleport: boolean;1906 readonly asInitiateTeleport: {1907 readonly assets: Vec<XcmV0MultiAsset>;1908 readonly dest: XcmV0MultiLocation;1909 readonly effects: Vec<XcmV0Order>;1910 } & Struct;1911 readonly isQueryHolding: boolean;1912 readonly asQueryHolding: {1913 readonly queryId: Compact<u64>;1914 readonly dest: XcmV0MultiLocation;1915 readonly assets: Vec<XcmV0MultiAsset>;1916 } & Struct;1917 readonly isBuyExecution: boolean;1918 readonly asBuyExecution: {1919 readonly fees: XcmV0MultiAsset;1920 readonly weight: u64;1921 readonly debt: u64;1922 readonly haltOnError: bool;1923 readonly xcm: Vec<XcmV0Xcm>;1924 } & Struct;1925 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1926 }19271928 /** @name XcmV0Response (199) */1929 interface XcmV0Response extends Enum {1930 readonly isAssets: boolean;1931 readonly asAssets: Vec<XcmV0MultiAsset>;1932 readonly type: 'Assets';1933 }19341935 /** @name XcmV1Xcm (200) */1936 interface XcmV1Xcm extends Enum {1937 readonly isWithdrawAsset: boolean;1938 readonly asWithdrawAsset: {1939 readonly assets: XcmV1MultiassetMultiAssets;1940 readonly effects: Vec<XcmV1Order>;1941 } & Struct;1942 readonly isReserveAssetDeposited: boolean;1943 readonly asReserveAssetDeposited: {1944 readonly assets: XcmV1MultiassetMultiAssets;1945 readonly effects: Vec<XcmV1Order>;1946 } & Struct;1947 readonly isReceiveTeleportedAsset: boolean;1948 readonly asReceiveTeleportedAsset: {1949 readonly assets: XcmV1MultiassetMultiAssets;1950 readonly effects: Vec<XcmV1Order>;1951 } & Struct;1952 readonly isQueryResponse: boolean;1953 readonly asQueryResponse: {1954 readonly queryId: Compact<u64>;1955 readonly response: XcmV1Response;1956 } & Struct;1957 readonly isTransferAsset: boolean;1958 readonly asTransferAsset: {1959 readonly assets: XcmV1MultiassetMultiAssets;1960 readonly beneficiary: XcmV1MultiLocation;1961 } & Struct;1962 readonly isTransferReserveAsset: boolean;1963 readonly asTransferReserveAsset: {1964 readonly assets: XcmV1MultiassetMultiAssets;1965 readonly dest: XcmV1MultiLocation;1966 readonly effects: Vec<XcmV1Order>;1967 } & Struct;1968 readonly isTransact: boolean;1969 readonly asTransact: {1970 readonly originType: XcmV0OriginKind;1971 readonly requireWeightAtMost: u64;1972 readonly call: XcmDoubleEncoded;1973 } & Struct;1974 readonly isHrmpNewChannelOpenRequest: boolean;1975 readonly asHrmpNewChannelOpenRequest: {1976 readonly sender: Compact<u32>;1977 readonly maxMessageSize: Compact<u32>;1978 readonly maxCapacity: Compact<u32>;1979 } & Struct;1980 readonly isHrmpChannelAccepted: boolean;1981 readonly asHrmpChannelAccepted: {1982 readonly recipient: Compact<u32>;1983 } & Struct;1984 readonly isHrmpChannelClosing: boolean;1985 readonly asHrmpChannelClosing: {1986 readonly initiator: Compact<u32>;1987 readonly sender: Compact<u32>;1988 readonly recipient: Compact<u32>;1989 } & Struct;1990 readonly isRelayedFrom: boolean;1991 readonly asRelayedFrom: {1992 readonly who: XcmV1MultilocationJunctions;1993 readonly message: XcmV1Xcm;1994 } & Struct;1995 readonly isSubscribeVersion: boolean;1996 readonly asSubscribeVersion: {1997 readonly queryId: Compact<u64>;1998 readonly maxResponseWeight: Compact<u64>;1999 } & Struct;2000 readonly isUnsubscribeVersion: boolean;2001 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2002 }20032004 /** @name XcmV1Order (202) */2005 interface XcmV1Order extends Enum {2006 readonly isNoop: boolean;2007 readonly isDepositAsset: boolean;2008 readonly asDepositAsset: {2009 readonly assets: XcmV1MultiassetMultiAssetFilter;2010 readonly maxAssets: u32;2011 readonly beneficiary: XcmV1MultiLocation;2012 } & Struct;2013 readonly isDepositReserveAsset: boolean;2014 readonly asDepositReserveAsset: {2015 readonly assets: XcmV1MultiassetMultiAssetFilter;2016 readonly maxAssets: u32;2017 readonly dest: XcmV1MultiLocation;2018 readonly effects: Vec<XcmV1Order>;2019 } & Struct;2020 readonly isExchangeAsset: boolean;2021 readonly asExchangeAsset: {2022 readonly give: XcmV1MultiassetMultiAssetFilter;2023 readonly receive: XcmV1MultiassetMultiAssets;2024 } & Struct;2025 readonly isInitiateReserveWithdraw: boolean;2026 readonly asInitiateReserveWithdraw: {2027 readonly assets: XcmV1MultiassetMultiAssetFilter;2028 readonly reserve: XcmV1MultiLocation;2029 readonly effects: Vec<XcmV1Order>;2030 } & Struct;2031 readonly isInitiateTeleport: boolean;2032 readonly asInitiateTeleport: {2033 readonly assets: XcmV1MultiassetMultiAssetFilter;2034 readonly dest: XcmV1MultiLocation;2035 readonly effects: Vec<XcmV1Order>;2036 } & Struct;2037 readonly isQueryHolding: boolean;2038 readonly asQueryHolding: {2039 readonly queryId: Compact<u64>;2040 readonly dest: XcmV1MultiLocation;2041 readonly assets: XcmV1MultiassetMultiAssetFilter;2042 } & Struct;2043 readonly isBuyExecution: boolean;2044 readonly asBuyExecution: {2045 readonly fees: XcmV1MultiAsset;2046 readonly weight: u64;2047 readonly debt: u64;2048 readonly haltOnError: bool;2049 readonly instructions: Vec<XcmV1Xcm>;2050 } & Struct;2051 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2052 }20532054 /** @name XcmV1Response (204) */2055 interface XcmV1Response extends Enum {2056 readonly isAssets: boolean;2057 readonly asAssets: XcmV1MultiassetMultiAssets;2058 readonly isVersion: boolean;2059 readonly asVersion: u32;2060 readonly type: 'Assets' | 'Version';2061 }20622063 /** @name CumulusPalletXcmCall (218) */2064 type CumulusPalletXcmCall = Null;20652066 /** @name CumulusPalletDmpQueueCall (219) */2067 interface CumulusPalletDmpQueueCall extends Enum {2068 readonly isServiceOverweight: boolean;2069 readonly asServiceOverweight: {2070 readonly index: u64;2071 readonly weightLimit: u64;2072 } & Struct;2073 readonly type: 'ServiceOverweight';2074 }20752076 /** @name PalletInflationCall (220) */2077 interface PalletInflationCall extends Enum {2078 readonly isStartInflation: boolean;2079 readonly asStartInflation: {2080 readonly inflationStartRelayBlock: u32;2081 } & Struct;2082 readonly type: 'StartInflation';2083 }20842085 /** @name PalletUniqueCall (221) */2086 interface PalletUniqueCall extends Enum {2087 readonly isCreateCollection: boolean;2088 readonly asCreateCollection: {2089 readonly collectionName: Vec<u16>;2090 readonly collectionDescription: Vec<u16>;2091 readonly tokenPrefix: Bytes;2092 readonly mode: UpDataStructsCollectionMode;2093 } & Struct;2094 readonly isCreateCollectionEx: boolean;2095 readonly asCreateCollectionEx: {2096 readonly data: UpDataStructsCreateCollectionData;2097 } & Struct;2098 readonly isDestroyCollection: boolean;2099 readonly asDestroyCollection: {2100 readonly collectionId: u32;2101 } & Struct;2102 readonly isAddToAllowList: boolean;2103 readonly asAddToAllowList: {2104 readonly collectionId: u32;2105 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2106 } & Struct;2107 readonly isRemoveFromAllowList: boolean;2108 readonly asRemoveFromAllowList: {2109 readonly collectionId: u32;2110 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2111 } & Struct;2112 readonly isChangeCollectionOwner: boolean;2113 readonly asChangeCollectionOwner: {2114 readonly collectionId: u32;2115 readonly newOwner: AccountId32;2116 } & Struct;2117 readonly isAddCollectionAdmin: boolean;2118 readonly asAddCollectionAdmin: {2119 readonly collectionId: u32;2120 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2121 } & Struct;2122 readonly isRemoveCollectionAdmin: boolean;2123 readonly asRemoveCollectionAdmin: {2124 readonly collectionId: u32;2125 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2126 } & Struct;2127 readonly isSetCollectionSponsor: boolean;2128 readonly asSetCollectionSponsor: {2129 readonly collectionId: u32;2130 readonly newSponsor: AccountId32;2131 } & Struct;2132 readonly isConfirmSponsorship: boolean;2133 readonly asConfirmSponsorship: {2134 readonly collectionId: u32;2135 } & Struct;2136 readonly isRemoveCollectionSponsor: boolean;2137 readonly asRemoveCollectionSponsor: {2138 readonly collectionId: u32;2139 } & Struct;2140 readonly isCreateItem: boolean;2141 readonly asCreateItem: {2142 readonly collectionId: u32;2143 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2144 readonly data: UpDataStructsCreateItemData;2145 } & Struct;2146 readonly isCreateMultipleItems: boolean;2147 readonly asCreateMultipleItems: {2148 readonly collectionId: u32;2149 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2150 readonly itemsData: Vec<UpDataStructsCreateItemData>;2151 } & Struct;2152 readonly isSetCollectionProperties: boolean;2153 readonly asSetCollectionProperties: {2154 readonly collectionId: u32;2155 readonly properties: Vec<UpDataStructsProperty>;2156 } & Struct;2157 readonly isDeleteCollectionProperties: boolean;2158 readonly asDeleteCollectionProperties: {2159 readonly collectionId: u32;2160 readonly propertyKeys: Vec<Bytes>;2161 } & Struct;2162 readonly isSetTokenProperties: boolean;2163 readonly asSetTokenProperties: {2164 readonly collectionId: u32;2165 readonly tokenId: u32;2166 readonly properties: Vec<UpDataStructsProperty>;2167 } & Struct;2168 readonly isDeleteTokenProperties: boolean;2169 readonly asDeleteTokenProperties: {2170 readonly collectionId: u32;2171 readonly tokenId: u32;2172 readonly propertyKeys: Vec<Bytes>;2173 } & Struct;2174 readonly isSetTokenPropertyPermissions: boolean;2175 readonly asSetTokenPropertyPermissions: {2176 readonly collectionId: u32;2177 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2178 } & Struct;2179 readonly isCreateMultipleItemsEx: boolean;2180 readonly asCreateMultipleItemsEx: {2181 readonly collectionId: u32;2182 readonly data: UpDataStructsCreateItemExData;2183 } & Struct;2184 readonly isSetTransfersEnabledFlag: boolean;2185 readonly asSetTransfersEnabledFlag: {2186 readonly collectionId: u32;2187 readonly value: bool;2188 } & Struct;2189 readonly isBurnItem: boolean;2190 readonly asBurnItem: {2191 readonly collectionId: u32;2192 readonly itemId: u32;2193 readonly value: u128;2194 } & Struct;2195 readonly isBurnFrom: boolean;2196 readonly asBurnFrom: {2197 readonly collectionId: u32;2198 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2199 readonly itemId: u32;2200 readonly value: u128;2201 } & Struct;2202 readonly isTransfer: boolean;2203 readonly asTransfer: {2204 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2205 readonly collectionId: u32;2206 readonly itemId: u32;2207 readonly value: u128;2208 } & Struct;2209 readonly isApprove: boolean;2210 readonly asApprove: {2211 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly collectionId: u32;2213 readonly itemId: u32;2214 readonly amount: u128;2215 } & Struct;2216 readonly isTransferFrom: boolean;2217 readonly asTransferFrom: {2218 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2219 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly collectionId: u32;2221 readonly itemId: u32;2222 readonly value: u128;2223 } & Struct;2224 readonly isSetCollectionLimits: boolean;2225 readonly asSetCollectionLimits: {2226 readonly collectionId: u32;2227 readonly newLimit: UpDataStructsCollectionLimits;2228 } & Struct;2229 readonly isSetCollectionPermissions: boolean;2230 readonly asSetCollectionPermissions: {2231 readonly collectionId: u32;2232 readonly newPermission: UpDataStructsCollectionPermissions;2233 } & Struct;2234 readonly isRepartition: boolean;2235 readonly asRepartition: {2236 readonly collectionId: u32;2237 readonly tokenId: u32;2238 readonly amount: u128;2239 } & Struct;2240 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';2241 }22422243 /** @name UpDataStructsCollectionMode (226) */2244 interface UpDataStructsCollectionMode extends Enum {2245 readonly isNft: boolean;2246 readonly isFungible: boolean;2247 readonly asFungible: u8;2248 readonly isReFungible: boolean;2249 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2250 }22512252 /** @name UpDataStructsCreateCollectionData (227) */2253 interface UpDataStructsCreateCollectionData extends Struct {2254 readonly mode: UpDataStructsCollectionMode;2255 readonly access: Option<UpDataStructsAccessMode>;2256 readonly name: Vec<u16>;2257 readonly description: Vec<u16>;2258 readonly tokenPrefix: Bytes;2259 readonly pendingSponsor: Option<AccountId32>;2260 readonly limits: Option<UpDataStructsCollectionLimits>;2261 readonly permissions: Option<UpDataStructsCollectionPermissions>;2262 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2263 readonly properties: Vec<UpDataStructsProperty>;2264 }22652266 /** @name UpDataStructsAccessMode (229) */2267 interface UpDataStructsAccessMode extends Enum {2268 readonly isNormal: boolean;2269 readonly isAllowList: boolean;2270 readonly type: 'Normal' | 'AllowList';2271 }22722273 /** @name UpDataStructsCollectionLimits (231) */2274 interface UpDataStructsCollectionLimits extends Struct {2275 readonly accountTokenOwnershipLimit: Option<u32>;2276 readonly sponsoredDataSize: Option<u32>;2277 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2278 readonly tokenLimit: Option<u32>;2279 readonly sponsorTransferTimeout: Option<u32>;2280 readonly sponsorApproveTimeout: Option<u32>;2281 readonly ownerCanTransfer: Option<bool>;2282 readonly ownerCanDestroy: Option<bool>;2283 readonly transfersEnabled: Option<bool>;2284 }22852286 /** @name UpDataStructsSponsoringRateLimit (233) */2287 interface UpDataStructsSponsoringRateLimit extends Enum {2288 readonly isSponsoringDisabled: boolean;2289 readonly isBlocks: boolean;2290 readonly asBlocks: u32;2291 readonly type: 'SponsoringDisabled' | 'Blocks';2292 }22932294 /** @name UpDataStructsCollectionPermissions (236) */2295 interface UpDataStructsCollectionPermissions extends Struct {2296 readonly access: Option<UpDataStructsAccessMode>;2297 readonly mintMode: Option<bool>;2298 readonly nesting: Option<UpDataStructsNestingPermissions>;2299 }23002301 /** @name UpDataStructsNestingPermissions (238) */2302 interface UpDataStructsNestingPermissions extends Struct {2303 readonly tokenOwner: bool;2304 readonly collectionAdmin: bool;2305 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2306 }23072308 /** @name UpDataStructsOwnerRestrictedSet (240) */2309 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}23102311 /** @name UpDataStructsPropertyKeyPermission (245) */2312 interface UpDataStructsPropertyKeyPermission extends Struct {2313 readonly key: Bytes;2314 readonly permission: UpDataStructsPropertyPermission;2315 }23162317 /** @name UpDataStructsPropertyPermission (246) */2318 interface UpDataStructsPropertyPermission extends Struct {2319 readonly mutable: bool;2320 readonly collectionAdmin: bool;2321 readonly tokenOwner: bool;2322 }23232324 /** @name UpDataStructsProperty (249) */2325 interface UpDataStructsProperty extends Struct {2326 readonly key: Bytes;2327 readonly value: Bytes;2328 }23292330 /** @name UpDataStructsCreateItemData (252) */2331 interface UpDataStructsCreateItemData extends Enum {2332 readonly isNft: boolean;2333 readonly asNft: UpDataStructsCreateNftData;2334 readonly isFungible: boolean;2335 readonly asFungible: UpDataStructsCreateFungibleData;2336 readonly isReFungible: boolean;2337 readonly asReFungible: UpDataStructsCreateReFungibleData;2338 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2339 }23402341 /** @name UpDataStructsCreateNftData (253) */2342 interface UpDataStructsCreateNftData extends Struct {2343 readonly properties: Vec<UpDataStructsProperty>;2344 }23452346 /** @name UpDataStructsCreateFungibleData (254) */2347 interface UpDataStructsCreateFungibleData extends Struct {2348 readonly value: u128;2349 }23502351 /** @name UpDataStructsCreateReFungibleData (255) */2352 interface UpDataStructsCreateReFungibleData extends Struct {2353 readonly pieces: u128;2354 readonly properties: Vec<UpDataStructsProperty>;2355 }23562357 /** @name UpDataStructsCreateItemExData (258) */2358 interface UpDataStructsCreateItemExData extends Enum {2359 readonly isNft: boolean;2360 readonly asNft: Vec<UpDataStructsCreateNftExData>;2361 readonly isFungible: boolean;2362 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2363 readonly isRefungibleMultipleItems: boolean;2364 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2365 readonly isRefungibleMultipleOwners: boolean;2366 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2367 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2368 }23692370 /** @name UpDataStructsCreateNftExData (260) */2371 interface UpDataStructsCreateNftExData extends Struct {2372 readonly properties: Vec<UpDataStructsProperty>;2373 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2374 }23752376 /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */2377 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2378 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly pieces: u128;2380 readonly properties: Vec<UpDataStructsProperty>;2381 }23822383 /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */2384 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2385 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2386 readonly properties: Vec<UpDataStructsProperty>;2387 }23882389 /** @name PalletUniqueSchedulerCall (270) */2390 interface PalletUniqueSchedulerCall extends Enum {2391 readonly isScheduleNamed: boolean;2392 readonly asScheduleNamed: {2393 readonly id: U8aFixed;2394 readonly when: u32;2395 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2396 readonly priority: u8;2397 readonly call: FrameSupportScheduleMaybeHashed;2398 } & Struct;2399 readonly isCancelNamed: boolean;2400 readonly asCancelNamed: {2401 readonly id: U8aFixed;2402 } & Struct;2403 readonly isScheduleNamedAfter: boolean;2404 readonly asScheduleNamedAfter: {2405 readonly id: U8aFixed;2406 readonly after: u32;2407 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2408 readonly priority: u8;2409 readonly call: FrameSupportScheduleMaybeHashed;2410 } & Struct;2411 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2412 }24132414 /** @name FrameSupportScheduleMaybeHashed (272) */2415 interface FrameSupportScheduleMaybeHashed extends Enum {2416 readonly isValue: boolean;2417 readonly asValue: Call;2418 readonly isHash: boolean;2419 readonly asHash: H256;2420 readonly type: 'Value' | 'Hash';2421 }24222423 /** @name PalletConfigurationCall (273) */2424 interface PalletConfigurationCall extends Enum {2425 readonly isSetWeightToFeeCoefficientOverride: boolean;2426 readonly asSetWeightToFeeCoefficientOverride: {2427 readonly coeff: Option<u32>;2428 } & Struct;2429 readonly isSetMinGasPriceOverride: boolean;2430 readonly asSetMinGasPriceOverride: {2431 readonly coeff: Option<u64>;2432 } & Struct;2433 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2434 }24352436 /** @name PalletTemplateTransactionPaymentCall (274) */2437 type PalletTemplateTransactionPaymentCall = Null;24382439 /** @name PalletStructureCall (275) */2440 type PalletStructureCall = Null;24412442 /** @name PalletRmrkCoreCall (276) */2443 interface PalletRmrkCoreCall extends Enum {2444 readonly isCreateCollection: boolean;2445 readonly asCreateCollection: {2446 readonly metadata: Bytes;2447 readonly max: Option<u32>;2448 readonly symbol: Bytes;2449 } & Struct;2450 readonly isDestroyCollection: boolean;2451 readonly asDestroyCollection: {2452 readonly collectionId: u32;2453 } & Struct;2454 readonly isChangeCollectionIssuer: boolean;2455 readonly asChangeCollectionIssuer: {2456 readonly collectionId: u32;2457 readonly newIssuer: MultiAddress;2458 } & Struct;2459 readonly isLockCollection: boolean;2460 readonly asLockCollection: {2461 readonly collectionId: u32;2462 } & Struct;2463 readonly isMintNft: boolean;2464 readonly asMintNft: {2465 readonly owner: Option<AccountId32>;2466 readonly collectionId: u32;2467 readonly recipient: Option<AccountId32>;2468 readonly royaltyAmount: Option<Permill>;2469 readonly metadata: Bytes;2470 readonly transferable: bool;2471 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2472 } & Struct;2473 readonly isBurnNft: boolean;2474 readonly asBurnNft: {2475 readonly collectionId: u32;2476 readonly nftId: u32;2477 readonly maxBurns: u32;2478 } & Struct;2479 readonly isSend: boolean;2480 readonly asSend: {2481 readonly rmrkCollectionId: u32;2482 readonly rmrkNftId: u32;2483 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2484 } & Struct;2485 readonly isAcceptNft: boolean;2486 readonly asAcceptNft: {2487 readonly rmrkCollectionId: u32;2488 readonly rmrkNftId: u32;2489 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2490 } & Struct;2491 readonly isRejectNft: boolean;2492 readonly asRejectNft: {2493 readonly rmrkCollectionId: u32;2494 readonly rmrkNftId: u32;2495 } & Struct;2496 readonly isAcceptResource: boolean;2497 readonly asAcceptResource: {2498 readonly rmrkCollectionId: u32;2499 readonly rmrkNftId: u32;2500 readonly resourceId: u32;2501 } & Struct;2502 readonly isAcceptResourceRemoval: boolean;2503 readonly asAcceptResourceRemoval: {2504 readonly rmrkCollectionId: u32;2505 readonly rmrkNftId: u32;2506 readonly resourceId: u32;2507 } & Struct;2508 readonly isSetProperty: boolean;2509 readonly asSetProperty: {2510 readonly rmrkCollectionId: Compact<u32>;2511 readonly maybeNftId: Option<u32>;2512 readonly key: Bytes;2513 readonly value: Bytes;2514 } & Struct;2515 readonly isSetPriority: boolean;2516 readonly asSetPriority: {2517 readonly rmrkCollectionId: u32;2518 readonly rmrkNftId: u32;2519 readonly priorities: Vec<u32>;2520 } & Struct;2521 readonly isAddBasicResource: boolean;2522 readonly asAddBasicResource: {2523 readonly rmrkCollectionId: u32;2524 readonly nftId: u32;2525 readonly resource: RmrkTraitsResourceBasicResource;2526 } & Struct;2527 readonly isAddComposableResource: boolean;2528 readonly asAddComposableResource: {2529 readonly rmrkCollectionId: u32;2530 readonly nftId: u32;2531 readonly resource: RmrkTraitsResourceComposableResource;2532 } & Struct;2533 readonly isAddSlotResource: boolean;2534 readonly asAddSlotResource: {2535 readonly rmrkCollectionId: u32;2536 readonly nftId: u32;2537 readonly resource: RmrkTraitsResourceSlotResource;2538 } & Struct;2539 readonly isRemoveResource: boolean;2540 readonly asRemoveResource: {2541 readonly rmrkCollectionId: u32;2542 readonly nftId: u32;2543 readonly resourceId: u32;2544 } & Struct;2545 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2546 }25472548 /** @name RmrkTraitsResourceResourceTypes (282) */2549 interface RmrkTraitsResourceResourceTypes extends Enum {2550 readonly isBasic: boolean;2551 readonly asBasic: RmrkTraitsResourceBasicResource;2552 readonly isComposable: boolean;2553 readonly asComposable: RmrkTraitsResourceComposableResource;2554 readonly isSlot: boolean;2555 readonly asSlot: RmrkTraitsResourceSlotResource;2556 readonly type: 'Basic' | 'Composable' | 'Slot';2557 }25582559 /** @name RmrkTraitsResourceBasicResource (284) */2560 interface RmrkTraitsResourceBasicResource extends Struct {2561 readonly src: Option<Bytes>;2562 readonly metadata: Option<Bytes>;2563 readonly license: Option<Bytes>;2564 readonly thumb: Option<Bytes>;2565 }25662567 /** @name RmrkTraitsResourceComposableResource (286) */2568 interface RmrkTraitsResourceComposableResource extends Struct {2569 readonly parts: Vec<u32>;2570 readonly base: u32;2571 readonly src: Option<Bytes>;2572 readonly metadata: Option<Bytes>;2573 readonly license: Option<Bytes>;2574 readonly thumb: Option<Bytes>;2575 }25762577 /** @name RmrkTraitsResourceSlotResource (287) */2578 interface RmrkTraitsResourceSlotResource extends Struct {2579 readonly base: u32;2580 readonly src: Option<Bytes>;2581 readonly metadata: Option<Bytes>;2582 readonly slot: u32;2583 readonly license: Option<Bytes>;2584 readonly thumb: Option<Bytes>;2585 }25862587 /** @name PalletRmrkEquipCall (290) */2588 interface PalletRmrkEquipCall extends Enum {2589 readonly isCreateBase: boolean;2590 readonly asCreateBase: {2591 readonly baseType: Bytes;2592 readonly symbol: Bytes;2593 readonly parts: Vec<RmrkTraitsPartPartType>;2594 } & Struct;2595 readonly isThemeAdd: boolean;2596 readonly asThemeAdd: {2597 readonly baseId: u32;2598 readonly theme: RmrkTraitsTheme;2599 } & Struct;2600 readonly isEquippable: boolean;2601 readonly asEquippable: {2602 readonly baseId: u32;2603 readonly slotId: u32;2604 readonly equippables: RmrkTraitsPartEquippableList;2605 } & Struct;2606 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2607 }26082609 /** @name RmrkTraitsPartPartType (293) */2610 interface RmrkTraitsPartPartType extends Enum {2611 readonly isFixedPart: boolean;2612 readonly asFixedPart: RmrkTraitsPartFixedPart;2613 readonly isSlotPart: boolean;2614 readonly asSlotPart: RmrkTraitsPartSlotPart;2615 readonly type: 'FixedPart' | 'SlotPart';2616 }26172618 /** @name RmrkTraitsPartFixedPart (295) */2619 interface RmrkTraitsPartFixedPart extends Struct {2620 readonly id: u32;2621 readonly z: u32;2622 readonly src: Bytes;2623 }26242625 /** @name RmrkTraitsPartSlotPart (296) */2626 interface RmrkTraitsPartSlotPart extends Struct {2627 readonly id: u32;2628 readonly equippable: RmrkTraitsPartEquippableList;2629 readonly src: Bytes;2630 readonly z: u32;2631 }26322633 /** @name RmrkTraitsPartEquippableList (297) */2634 interface RmrkTraitsPartEquippableList extends Enum {2635 readonly isAll: boolean;2636 readonly isEmpty: boolean;2637 readonly isCustom: boolean;2638 readonly asCustom: Vec<u32>;2639 readonly type: 'All' | 'Empty' | 'Custom';2640 }26412642 /** @name RmrkTraitsTheme (299) */2643 interface RmrkTraitsTheme extends Struct {2644 readonly name: Bytes;2645 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2646 readonly inherit: bool;2647 }26482649 /** @name RmrkTraitsThemeThemeProperty (301) */2650 interface RmrkTraitsThemeThemeProperty extends Struct {2651 readonly key: Bytes;2652 readonly value: Bytes;2653 }26542655 /** @name PalletAppPromotionCall (303) */2656 interface PalletAppPromotionCall extends Enum {2657 readonly isSetAdminAddress: boolean;2658 readonly asSetAdminAddress: {2659 readonly admin: AccountId32;2660 } & Struct;2661 readonly isStartAppPromotion: boolean;2662 readonly asStartAppPromotion: {2663 readonly promotionStartRelayBlock: u32;2664 } & Struct;2665 readonly isStake: boolean;2666 readonly asStake: {2667 readonly amount: u128;2668 } & Struct;2669 readonly isUnstake: boolean;2670 readonly asUnstake: {2671 readonly amount: u128;2672 } & Struct;2673 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';2674 }26752676 /** @name PalletEvmCall (304) */2677 interface PalletEvmCall extends Enum {2678 readonly isWithdraw: boolean;2679 readonly asWithdraw: {2680 readonly address: H160;2681 readonly value: u128;2682 } & Struct;2683 readonly isCall: boolean;2684 readonly asCall: {2685 readonly source: H160;2686 readonly target: H160;2687 readonly input: Bytes;2688 readonly value: U256;2689 readonly gasLimit: u64;2690 readonly maxFeePerGas: U256;2691 readonly maxPriorityFeePerGas: Option<U256>;2692 readonly nonce: Option<U256>;2693 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2694 } & Struct;2695 readonly isCreate: boolean;2696 readonly asCreate: {2697 readonly source: H160;2698 readonly init: Bytes;2699 readonly value: U256;2700 readonly gasLimit: u64;2701 readonly maxFeePerGas: U256;2702 readonly maxPriorityFeePerGas: Option<U256>;2703 readonly nonce: Option<U256>;2704 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2705 } & Struct;2706 readonly isCreate2: boolean;2707 readonly asCreate2: {2708 readonly source: H160;2709 readonly init: Bytes;2710 readonly salt: H256;2711 readonly value: U256;2712 readonly gasLimit: u64;2713 readonly maxFeePerGas: U256;2714 readonly maxPriorityFeePerGas: Option<U256>;2715 readonly nonce: Option<U256>;2716 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2717 } & Struct;2718 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2719 }27202721 /** @name PalletEthereumCall (308) */2722 interface PalletEthereumCall extends Enum {2723 readonly isTransact: boolean;2724 readonly asTransact: {2725 readonly transaction: EthereumTransactionTransactionV2;2726 } & Struct;2727 readonly type: 'Transact';2728 }27292730 /** @name EthereumTransactionTransactionV2 (309) */2731 interface EthereumTransactionTransactionV2 extends Enum {2732 readonly isLegacy: boolean;2733 readonly asLegacy: EthereumTransactionLegacyTransaction;2734 readonly isEip2930: boolean;2735 readonly asEip2930: EthereumTransactionEip2930Transaction;2736 readonly isEip1559: boolean;2737 readonly asEip1559: EthereumTransactionEip1559Transaction;2738 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2739 }27402741 /** @name EthereumTransactionLegacyTransaction (310) */2742 interface EthereumTransactionLegacyTransaction extends Struct {2743 readonly nonce: U256;2744 readonly gasPrice: U256;2745 readonly gasLimit: U256;2746 readonly action: EthereumTransactionTransactionAction;2747 readonly value: U256;2748 readonly input: Bytes;2749 readonly signature: EthereumTransactionTransactionSignature;2750 }27512752 /** @name EthereumTransactionTransactionAction (311) */2753 interface EthereumTransactionTransactionAction extends Enum {2754 readonly isCall: boolean;2755 readonly asCall: H160;2756 readonly isCreate: boolean;2757 readonly type: 'Call' | 'Create';2758 }27592760 /** @name EthereumTransactionTransactionSignature (312) */2761 interface EthereumTransactionTransactionSignature extends Struct {2762 readonly v: u64;2763 readonly r: H256;2764 readonly s: H256;2765 }27662767 /** @name EthereumTransactionEip2930Transaction (314) */2768 interface EthereumTransactionEip2930Transaction extends Struct {2769 readonly chainId: u64;2770 readonly nonce: U256;2771 readonly gasPrice: U256;2772 readonly gasLimit: U256;2773 readonly action: EthereumTransactionTransactionAction;2774 readonly value: U256;2775 readonly input: Bytes;2776 readonly accessList: Vec<EthereumTransactionAccessListItem>;2777 readonly oddYParity: bool;2778 readonly r: H256;2779 readonly s: H256;2780 }27812782 /** @name EthereumTransactionAccessListItem (316) */2783 interface EthereumTransactionAccessListItem extends Struct {2784 readonly address: H160;2785 readonly storageKeys: Vec<H256>;2786 }27872788 /** @name EthereumTransactionEip1559Transaction (317) */2789 interface EthereumTransactionEip1559Transaction extends Struct {2790 readonly chainId: u64;2791 readonly nonce: U256;2792 readonly maxPriorityFeePerGas: U256;2793 readonly maxFeePerGas: U256;2794 readonly gasLimit: U256;2795 readonly action: EthereumTransactionTransactionAction;2796 readonly value: U256;2797 readonly input: Bytes;2798 readonly accessList: Vec<EthereumTransactionAccessListItem>;2799 readonly oddYParity: bool;2800 readonly r: H256;2801 readonly s: H256;2802 }28032804 /** @name PalletEvmMigrationCall (318) */2805 interface PalletEvmMigrationCall extends Enum {2806 readonly isBegin: boolean;2807 readonly asBegin: {2808 readonly address: H160;2809 } & Struct;2810 readonly isSetData: boolean;2811 readonly asSetData: {2812 readonly address: H160;2813 readonly data: Vec<ITuple<[H256, H256]>>;2814 } & Struct;2815 readonly isFinish: boolean;2816 readonly asFinish: {2817 readonly address: H160;2818 readonly code: Bytes;2819 } & Struct;2820 readonly type: 'Begin' | 'SetData' | 'Finish';2821 }28222823 /** @name PalletSudoError (321) */2824 interface PalletSudoError extends Enum {2825 readonly isRequireSudo: boolean;2826 readonly type: 'RequireSudo';2827 }28282829 /** @name OrmlVestingModuleError (323) */2830 interface OrmlVestingModuleError extends Enum {2831 readonly isZeroVestingPeriod: boolean;2832 readonly isZeroVestingPeriodCount: boolean;2833 readonly isInsufficientBalanceToLock: boolean;2834 readonly isTooManyVestingSchedules: boolean;2835 readonly isAmountLow: boolean;2836 readonly isMaxVestingSchedulesExceeded: boolean;2837 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2838 }28392840 /** @name CumulusPalletXcmpQueueInboundChannelDetails (325) */2841 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2842 readonly sender: u32;2843 readonly state: CumulusPalletXcmpQueueInboundState;2844 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2845 }28462847 /** @name CumulusPalletXcmpQueueInboundState (326) */2848 interface CumulusPalletXcmpQueueInboundState extends Enum {2849 readonly isOk: boolean;2850 readonly isSuspended: boolean;2851 readonly type: 'Ok' | 'Suspended';2852 }28532854 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (329) */2855 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2856 readonly isConcatenatedVersionedXcm: boolean;2857 readonly isConcatenatedEncodedBlob: boolean;2858 readonly isSignals: boolean;2859 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2860 }28612862 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (332) */2863 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2864 readonly recipient: u32;2865 readonly state: CumulusPalletXcmpQueueOutboundState;2866 readonly signalsExist: bool;2867 readonly firstIndex: u16;2868 readonly lastIndex: u16;2869 }28702871 /** @name CumulusPalletXcmpQueueOutboundState (333) */2872 interface CumulusPalletXcmpQueueOutboundState extends Enum {2873 readonly isOk: boolean;2874 readonly isSuspended: boolean;2875 readonly type: 'Ok' | 'Suspended';2876 }28772878 /** @name CumulusPalletXcmpQueueQueueConfigData (335) */2879 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2880 readonly suspendThreshold: u32;2881 readonly dropThreshold: u32;2882 readonly resumeThreshold: u32;2883 readonly thresholdWeight: u64;2884 readonly weightRestrictDecay: u64;2885 readonly xcmpMaxIndividualWeight: u64;2886 }28872888 /** @name CumulusPalletXcmpQueueError (337) */2889 interface CumulusPalletXcmpQueueError extends Enum {2890 readonly isFailedToSend: boolean;2891 readonly isBadXcmOrigin: boolean;2892 readonly isBadXcm: boolean;2893 readonly isBadOverweightIndex: boolean;2894 readonly isWeightOverLimit: boolean;2895 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2896 }28972898 /** @name PalletXcmError (338) */2899 interface PalletXcmError extends Enum {2900 readonly isUnreachable: boolean;2901 readonly isSendFailure: boolean;2902 readonly isFiltered: boolean;2903 readonly isUnweighableMessage: boolean;2904 readonly isDestinationNotInvertible: boolean;2905 readonly isEmpty: boolean;2906 readonly isCannotReanchor: boolean;2907 readonly isTooManyAssets: boolean;2908 readonly isInvalidOrigin: boolean;2909 readonly isBadVersion: boolean;2910 readonly isBadLocation: boolean;2911 readonly isNoSubscription: boolean;2912 readonly isAlreadySubscribed: boolean;2913 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2914 }29152916 /** @name CumulusPalletXcmError (339) */2917 type CumulusPalletXcmError = Null;29182919 /** @name CumulusPalletDmpQueueConfigData (340) */2920 interface CumulusPalletDmpQueueConfigData extends Struct {2921 readonly maxIndividual: u64;2922 }29232924 /** @name CumulusPalletDmpQueuePageIndexData (341) */2925 interface CumulusPalletDmpQueuePageIndexData extends Struct {2926 readonly beginUsed: u32;2927 readonly endUsed: u32;2928 readonly overweightCount: u64;2929 }29302931 /** @name CumulusPalletDmpQueueError (344) */2932 interface CumulusPalletDmpQueueError extends Enum {2933 readonly isUnknown: boolean;2934 readonly isOverLimit: boolean;2935 readonly type: 'Unknown' | 'OverLimit';2936 }29372938 /** @name PalletUniqueError (348) */2939 interface PalletUniqueError extends Enum {2940 readonly isCollectionDecimalPointLimitExceeded: boolean;2941 readonly isConfirmUnsetSponsorFail: boolean;2942 readonly isEmptyArgument: boolean;2943 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2944 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2945 }29462947 /** @name PalletUniqueSchedulerScheduledV3 (351) */2948 interface PalletUniqueSchedulerScheduledV3 extends Struct {2949 readonly maybeId: Option<U8aFixed>;2950 readonly priority: u8;2951 readonly call: FrameSupportScheduleMaybeHashed;2952 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2953 readonly origin: OpalRuntimeOriginCaller;2954 }29552956 /** @name OpalRuntimeOriginCaller (352) */2957 interface OpalRuntimeOriginCaller extends Enum {2958 readonly isSystem: boolean;2959 readonly asSystem: FrameSupportDispatchRawOrigin;2960 readonly isVoid: boolean;2961 readonly isPolkadotXcm: boolean;2962 readonly asPolkadotXcm: PalletXcmOrigin;2963 readonly isCumulusXcm: boolean;2964 readonly asCumulusXcm: CumulusPalletXcmOrigin;2965 readonly isEthereum: boolean;2966 readonly asEthereum: PalletEthereumRawOrigin;2967 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2968 }29692970 /** @name FrameSupportDispatchRawOrigin (353) */2971 interface FrameSupportDispatchRawOrigin extends Enum {2972 readonly isRoot: boolean;2973 readonly isSigned: boolean;2974 readonly asSigned: AccountId32;2975 readonly isNone: boolean;2976 readonly type: 'Root' | 'Signed' | 'None';2977 }29782979 /** @name PalletXcmOrigin (354) */2980 interface PalletXcmOrigin extends Enum {2981 readonly isXcm: boolean;2982 readonly asXcm: XcmV1MultiLocation;2983 readonly isResponse: boolean;2984 readonly asResponse: XcmV1MultiLocation;2985 readonly type: 'Xcm' | 'Response';2986 }29872988 /** @name CumulusPalletXcmOrigin (355) */2989 interface CumulusPalletXcmOrigin extends Enum {2990 readonly isRelay: boolean;2991 readonly isSiblingParachain: boolean;2992 readonly asSiblingParachain: u32;2993 readonly type: 'Relay' | 'SiblingParachain';2994 }29952996 /** @name PalletEthereumRawOrigin (356) */2997 interface PalletEthereumRawOrigin extends Enum {2998 readonly isEthereumTransaction: boolean;2999 readonly asEthereumTransaction: H160;3000 readonly type: 'EthereumTransaction';3001 }30023003 /** @name SpCoreVoid (357) */3004 type SpCoreVoid = Null;30053006 /** @name PalletUniqueSchedulerError (358) */3007 interface PalletUniqueSchedulerError extends Enum {3008 readonly isFailedToSchedule: boolean;3009 readonly isNotFound: boolean;3010 readonly isTargetBlockNumberInPast: boolean;3011 readonly isRescheduleNoChange: boolean;3012 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3013 }30143015 /** @name UpDataStructsCollection (359) */3016 interface UpDataStructsCollection extends Struct {3017 readonly owner: AccountId32;3018 readonly mode: UpDataStructsCollectionMode;3019 readonly name: Vec<u16>;3020 readonly description: Vec<u16>;3021 readonly tokenPrefix: Bytes;3022 readonly sponsorship: UpDataStructsSponsorshipState;3023 readonly limits: UpDataStructsCollectionLimits;3024 readonly permissions: UpDataStructsCollectionPermissions;3025 readonly externalCollection: bool;3026 }30273028 /** @name UpDataStructsSponsorshipState (360) */3029 interface UpDataStructsSponsorshipState extends Enum {3030 readonly isDisabled: boolean;3031 readonly isUnconfirmed: boolean;3032 readonly asUnconfirmed: AccountId32;3033 readonly isConfirmed: boolean;3034 readonly asConfirmed: AccountId32;3035 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3036 }30373038 /** @name UpDataStructsProperties (361) */3039 interface UpDataStructsProperties extends Struct {3040 readonly map: UpDataStructsPropertiesMapBoundedVec;3041 readonly consumedSpace: u32;3042 readonly spaceLimit: u32;3043 }30443045 /** @name UpDataStructsPropertiesMapBoundedVec (362) */3046 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30473048 /** @name UpDataStructsPropertiesMapPropertyPermission (367) */3049 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30503051 /** @name UpDataStructsCollectionStats (374) */3052 interface UpDataStructsCollectionStats extends Struct {3053 readonly created: u32;3054 readonly destroyed: u32;3055 readonly alive: u32;3056 }30573058 /** @name UpDataStructsTokenChild (375) */3059 interface UpDataStructsTokenChild extends Struct {3060 readonly token: u32;3061 readonly collection: u32;3062 }30633064 /** @name PhantomTypeUpDataStructs (376) */3065 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}30663067 /** @name UpDataStructsTokenData (378) */3068 interface UpDataStructsTokenData extends Struct {3069 readonly properties: Vec<UpDataStructsProperty>;3070 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3071 readonly pieces: u128;3072 }30733074 /** @name UpDataStructsRpcCollection (380) */3075 interface UpDataStructsRpcCollection extends Struct {3076 readonly owner: AccountId32;3077 readonly mode: UpDataStructsCollectionMode;3078 readonly name: Vec<u16>;3079 readonly description: Vec<u16>;3080 readonly tokenPrefix: Bytes;3081 readonly sponsorship: UpDataStructsSponsorshipState;3082 readonly limits: UpDataStructsCollectionLimits;3083 readonly permissions: UpDataStructsCollectionPermissions;3084 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3085 readonly properties: Vec<UpDataStructsProperty>;3086 readonly readOnly: bool;3087 }30883089 /** @name RmrkTraitsCollectionCollectionInfo (381) */3090 interface RmrkTraitsCollectionCollectionInfo extends Struct {3091 readonly issuer: AccountId32;3092 readonly metadata: Bytes;3093 readonly max: Option<u32>;3094 readonly symbol: Bytes;3095 readonly nftsCount: u32;3096 }30973098 /** @name RmrkTraitsNftNftInfo (382) */3099 interface RmrkTraitsNftNftInfo extends Struct {3100 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3101 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3102 readonly metadata: Bytes;3103 readonly equipped: bool;3104 readonly pending: bool;3105 }31063107 /** @name RmrkTraitsNftRoyaltyInfo (384) */3108 interface RmrkTraitsNftRoyaltyInfo extends Struct {3109 readonly recipient: AccountId32;3110 readonly amount: Permill;3111 }31123113 /** @name RmrkTraitsResourceResourceInfo (385) */3114 interface RmrkTraitsResourceResourceInfo extends Struct {3115 readonly id: u32;3116 readonly resource: RmrkTraitsResourceResourceTypes;3117 readonly pending: bool;3118 readonly pendingRemoval: bool;3119 }31203121 /** @name RmrkTraitsPropertyPropertyInfo (386) */3122 interface RmrkTraitsPropertyPropertyInfo extends Struct {3123 readonly key: Bytes;3124 readonly value: Bytes;3125 }31263127 /** @name RmrkTraitsBaseBaseInfo (387) */3128 interface RmrkTraitsBaseBaseInfo extends Struct {3129 readonly issuer: AccountId32;3130 readonly baseType: Bytes;3131 readonly symbol: Bytes;3132 }31333134 /** @name RmrkTraitsNftNftChild (388) */3135 interface RmrkTraitsNftNftChild extends Struct {3136 readonly collectionId: u32;3137 readonly nftId: u32;3138 }31393140 /** @name PalletCommonError (390) */3141 interface PalletCommonError extends Enum {3142 readonly isCollectionNotFound: boolean;3143 readonly isMustBeTokenOwner: boolean;3144 readonly isNoPermission: boolean;3145 readonly isCantDestroyNotEmptyCollection: boolean;3146 readonly isPublicMintingNotAllowed: boolean;3147 readonly isAddressNotInAllowlist: boolean;3148 readonly isCollectionNameLimitExceeded: boolean;3149 readonly isCollectionDescriptionLimitExceeded: boolean;3150 readonly isCollectionTokenPrefixLimitExceeded: boolean;3151 readonly isTotalCollectionsLimitExceeded: boolean;3152 readonly isCollectionAdminCountExceeded: boolean;3153 readonly isCollectionLimitBoundsExceeded: boolean;3154 readonly isOwnerPermissionsCantBeReverted: boolean;3155 readonly isTransferNotAllowed: boolean;3156 readonly isAccountTokenLimitExceeded: boolean;3157 readonly isCollectionTokenLimitExceeded: boolean;3158 readonly isMetadataFlagFrozen: boolean;3159 readonly isTokenNotFound: boolean;3160 readonly isTokenValueTooLow: boolean;3161 readonly isApprovedValueTooLow: boolean;3162 readonly isCantApproveMoreThanOwned: boolean;3163 readonly isAddressIsZero: boolean;3164 readonly isUnsupportedOperation: boolean;3165 readonly isNotSufficientFounds: boolean;3166 readonly isUserIsNotAllowedToNest: boolean;3167 readonly isSourceCollectionIsNotAllowedToNest: boolean;3168 readonly isCollectionFieldSizeExceeded: boolean;3169 readonly isNoSpaceForProperty: boolean;3170 readonly isPropertyLimitReached: boolean;3171 readonly isPropertyKeyIsTooLong: boolean;3172 readonly isInvalidCharacterInPropertyKey: boolean;3173 readonly isEmptyPropertyKey: boolean;3174 readonly isCollectionIsExternal: boolean;3175 readonly isCollectionIsInternal: boolean;3176 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';3177 }31783179 /** @name PalletFungibleError (392) */3180 interface PalletFungibleError extends Enum {3181 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3182 readonly isFungibleItemsHaveNoId: boolean;3183 readonly isFungibleItemsDontHaveData: boolean;3184 readonly isFungibleDisallowsNesting: boolean;3185 readonly isSettingPropertiesNotAllowed: boolean;3186 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3187 }31883189 /** @name PalletRefungibleItemData (393) */3190 interface PalletRefungibleItemData extends Struct {3191 readonly constData: Bytes;3192 }31933194 /** @name PalletRefungibleError (398) */3195 interface PalletRefungibleError extends Enum {3196 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3197 readonly isWrongRefungiblePieces: boolean;3198 readonly isRepartitionWhileNotOwningAllPieces: boolean;3199 readonly isRefungibleDisallowsNesting: boolean;3200 readonly isSettingPropertiesNotAllowed: boolean;3201 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3202 }32033204 /** @name PalletNonfungibleItemData (399) */3205 interface PalletNonfungibleItemData extends Struct {3206 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3207 }32083209 /** @name UpDataStructsPropertyScope (401) */3210 interface UpDataStructsPropertyScope extends Enum {3211 readonly isNone: boolean;3212 readonly isRmrk: boolean;3213 readonly isEth: boolean;3214 readonly type: 'None' | 'Rmrk' | 'Eth';3215 }32163217 /** @name PalletNonfungibleError (403) */3218 interface PalletNonfungibleError extends Enum {3219 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3220 readonly isNonfungibleItemsHaveNoAmount: boolean;3221 readonly isCantBurnNftWithChildren: boolean;3222 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3223 }32243225 /** @name PalletStructureError (404) */3226 interface PalletStructureError extends Enum {3227 readonly isOuroborosDetected: boolean;3228 readonly isDepthLimit: boolean;3229 readonly isBreadthLimit: boolean;3230 readonly isTokenNotFound: boolean;3231 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3232 }32333234 /** @name PalletRmrkCoreError (405) */3235 interface PalletRmrkCoreError extends Enum {3236 readonly isCorruptedCollectionType: boolean;3237 readonly isRmrkPropertyKeyIsTooLong: boolean;3238 readonly isRmrkPropertyValueIsTooLong: boolean;3239 readonly isRmrkPropertyIsNotFound: boolean;3240 readonly isUnableToDecodeRmrkData: boolean;3241 readonly isCollectionNotEmpty: boolean;3242 readonly isNoAvailableCollectionId: boolean;3243 readonly isNoAvailableNftId: boolean;3244 readonly isCollectionUnknown: boolean;3245 readonly isNoPermission: boolean;3246 readonly isNonTransferable: boolean;3247 readonly isCollectionFullOrLocked: boolean;3248 readonly isResourceDoesntExist: boolean;3249 readonly isCannotSendToDescendentOrSelf: boolean;3250 readonly isCannotAcceptNonOwnedNft: boolean;3251 readonly isCannotRejectNonOwnedNft: boolean;3252 readonly isCannotRejectNonPendingNft: boolean;3253 readonly isResourceNotPending: boolean;3254 readonly isNoAvailableResourceId: boolean;3255 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3256 }32573258 /** @name PalletRmrkEquipError (407) */3259 interface PalletRmrkEquipError extends Enum {3260 readonly isPermissionError: boolean;3261 readonly isNoAvailableBaseId: boolean;3262 readonly isNoAvailablePartId: boolean;3263 readonly isBaseDoesntExist: boolean;3264 readonly isNeedsDefaultThemeFirst: boolean;3265 readonly isPartDoesntExist: boolean;3266 readonly isNoEquippableOnFixedPart: boolean;3267 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3268 }32693270 /** @name PalletEvmError (411) */3271 interface PalletEvmError extends Enum {3272 readonly isBalanceLow: boolean;3273 readonly isFeeOverflow: boolean;3274 readonly isPaymentOverflow: boolean;3275 readonly isWithdrawFailed: boolean;3276 readonly isGasPriceTooLow: boolean;3277 readonly isInvalidNonce: boolean;3278 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3279 }32803281 /** @name FpRpcTransactionStatus (414) */3282 interface FpRpcTransactionStatus extends Struct {3283 readonly transactionHash: H256;3284 readonly transactionIndex: u32;3285 readonly from: H160;3286 readonly to: Option<H160>;3287 readonly contractAddress: Option<H160>;3288 readonly logs: Vec<EthereumLog>;3289 readonly logsBloom: EthbloomBloom;3290 }32913292 /** @name EthbloomBloom (416) */3293 interface EthbloomBloom extends U8aFixed {}32943295 /** @name EthereumReceiptReceiptV3 (418) */3296 interface EthereumReceiptReceiptV3 extends Enum {3297 readonly isLegacy: boolean;3298 readonly asLegacy: EthereumReceiptEip658ReceiptData;3299 readonly isEip2930: boolean;3300 readonly asEip2930: EthereumReceiptEip658ReceiptData;3301 readonly isEip1559: boolean;3302 readonly asEip1559: EthereumReceiptEip658ReceiptData;3303 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3304 }33053306 /** @name EthereumReceiptEip658ReceiptData (419) */3307 interface EthereumReceiptEip658ReceiptData extends Struct {3308 readonly statusCode: u8;3309 readonly usedGas: U256;3310 readonly logsBloom: EthbloomBloom;3311 readonly logs: Vec<EthereumLog>;3312 }33133314 /** @name EthereumBlock (420) */3315 interface EthereumBlock extends Struct {3316 readonly header: EthereumHeader;3317 readonly transactions: Vec<EthereumTransactionTransactionV2>;3318 readonly ommers: Vec<EthereumHeader>;3319 }33203321 /** @name EthereumHeader (421) */3322 interface EthereumHeader extends Struct {3323 readonly parentHash: H256;3324 readonly ommersHash: H256;3325 readonly beneficiary: H160;3326 readonly stateRoot: H256;3327 readonly transactionsRoot: H256;3328 readonly receiptsRoot: H256;3329 readonly logsBloom: EthbloomBloom;3330 readonly difficulty: U256;3331 readonly number: U256;3332 readonly gasLimit: U256;3333 readonly gasUsed: U256;3334 readonly timestamp: u64;3335 readonly extraData: Bytes;3336 readonly mixHash: H256;3337 readonly nonce: EthereumTypesHashH64;3338 }33393340 /** @name EthereumTypesHashH64 (422) */3341 interface EthereumTypesHashH64 extends U8aFixed {}33423343 /** @name PalletEthereumError (427) */3344 interface PalletEthereumError extends Enum {3345 readonly isInvalidSignature: boolean;3346 readonly isPreLogExists: boolean;3347 readonly type: 'InvalidSignature' | 'PreLogExists';3348 }33493350 /** @name PalletEvmCoderSubstrateError (428) */3351 interface PalletEvmCoderSubstrateError extends Enum {3352 readonly isOutOfGas: boolean;3353 readonly isOutOfFund: boolean;3354 readonly type: 'OutOfGas' | 'OutOfFund';3355 }33563357 /** @name PalletEvmContractHelpersSponsoringModeT (429) */3358 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3359 readonly isDisabled: boolean;3360 readonly isAllowlisted: boolean;3361 readonly isGenerous: boolean;3362 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3363 }33643365 /** @name PalletEvmContractHelpersError (431) */3366 interface PalletEvmContractHelpersError extends Enum {3367 readonly isNoPermission: boolean;3368 readonly type: 'NoPermission';3369 }33703371 /** @name PalletEvmMigrationError (432) */3372 interface PalletEvmMigrationError extends Enum {3373 readonly isAccountNotEmpty: boolean;3374 readonly isAccountIsNotMigrating: boolean;3375 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3376 }33773378 /** @name SpRuntimeMultiSignature (434) */3379 interface SpRuntimeMultiSignature extends Enum {3380 readonly isEd25519: boolean;3381 readonly asEd25519: SpCoreEd25519Signature;3382 readonly isSr25519: boolean;3383 readonly asSr25519: SpCoreSr25519Signature;3384 readonly isEcdsa: boolean;3385 readonly asEcdsa: SpCoreEcdsaSignature;3386 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3387 }33883389 /** @name SpCoreEd25519Signature (435) */3390 interface SpCoreEd25519Signature extends U8aFixed {}33913392 /** @name SpCoreSr25519Signature (437) */3393 interface SpCoreSr25519Signature extends U8aFixed {}33943395 /** @name SpCoreEcdsaSignature (438) */3396 interface SpCoreEcdsaSignature extends U8aFixed {}33973398 /** @name FrameSystemExtensionsCheckSpecVersion (441) */3399 type FrameSystemExtensionsCheckSpecVersion = Null;34003401 /** @name FrameSystemExtensionsCheckGenesis (442) */3402 type FrameSystemExtensionsCheckGenesis = Null;34033404 /** @name FrameSystemExtensionsCheckNonce (445) */3405 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}34063407 /** @name FrameSystemExtensionsCheckWeight (446) */3408 type FrameSystemExtensionsCheckWeight = Null;34093410 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (447) */3411 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}34123413 /** @name OpalRuntimeRuntime (448) */3414 type OpalRuntimeRuntime = Null;34153416 /** @name PalletEthereumFakeTransactionFinalizer (449) */3417 type PalletEthereumFakeTransactionFinalizer = Null;34183419} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportWeightsPerDispatchClassU64 (7) */32 interface FrameSupportWeightsPerDispatchClassU64 extends Struct {33 readonly normal: u64;34 readonly operational: u64;35 readonly mandatory: u64;36 }3738 /** @name SpRuntimeDigest (11) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (13) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (16) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (18) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportWeightsDispatchInfo (19) */93 interface FrameSupportWeightsDispatchInfo extends Struct {94 readonly weight: u64;95 readonly class: FrameSupportWeightsDispatchClass;96 readonly paysFee: FrameSupportWeightsPays;97 }9899 /** @name FrameSupportWeightsDispatchClass (20) */100 interface FrameSupportWeightsDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportWeightsPays (21) */108 interface FrameSupportWeightsPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (22) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (23) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (24) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (25) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (26) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (27) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: u64;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (28) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (29) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (30) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (31) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (32) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (36) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (37) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name CumulusPalletXcmpQueueEvent (39) */355 interface CumulusPalletXcmpQueueEvent extends Enum {356 readonly isSuccess: boolean;357 readonly asSuccess: {358 readonly messageHash: Option<H256>;359 readonly weight: u64;360 } & Struct;361 readonly isFail: boolean;362 readonly asFail: {363 readonly messageHash: Option<H256>;364 readonly error: XcmV2TraitsError;365 readonly weight: u64;366 } & Struct;367 readonly isBadVersion: boolean;368 readonly asBadVersion: {369 readonly messageHash: Option<H256>;370 } & Struct;371 readonly isBadFormat: boolean;372 readonly asBadFormat: {373 readonly messageHash: Option<H256>;374 } & Struct;375 readonly isUpwardMessageSent: boolean;376 readonly asUpwardMessageSent: {377 readonly messageHash: Option<H256>;378 } & Struct;379 readonly isXcmpMessageSent: boolean;380 readonly asXcmpMessageSent: {381 readonly messageHash: Option<H256>;382 } & Struct;383 readonly isOverweightEnqueued: boolean;384 readonly asOverweightEnqueued: {385 readonly sender: u32;386 readonly sentAt: u32;387 readonly index: u64;388 readonly required: u64;389 } & Struct;390 readonly isOverweightServiced: boolean;391 readonly asOverweightServiced: {392 readonly index: u64;393 readonly used: u64;394 } & Struct;395 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';396 }397398 /** @name XcmV2TraitsError (41) */399 interface XcmV2TraitsError extends Enum {400 readonly isOverflow: boolean;401 readonly isUnimplemented: boolean;402 readonly isUntrustedReserveLocation: boolean;403 readonly isUntrustedTeleportLocation: boolean;404 readonly isMultiLocationFull: boolean;405 readonly isMultiLocationNotInvertible: boolean;406 readonly isBadOrigin: boolean;407 readonly isInvalidLocation: boolean;408 readonly isAssetNotFound: boolean;409 readonly isFailedToTransactAsset: boolean;410 readonly isNotWithdrawable: boolean;411 readonly isLocationCannotHold: boolean;412 readonly isExceedsMaxMessageSize: boolean;413 readonly isDestinationUnsupported: boolean;414 readonly isTransport: boolean;415 readonly isUnroutable: boolean;416 readonly isUnknownClaim: boolean;417 readonly isFailedToDecode: boolean;418 readonly isMaxWeightInvalid: boolean;419 readonly isNotHoldingFees: boolean;420 readonly isTooExpensive: boolean;421 readonly isTrap: boolean;422 readonly asTrap: u64;423 readonly isUnhandledXcmVersion: boolean;424 readonly isWeightLimitReached: boolean;425 readonly asWeightLimitReached: u64;426 readonly isBarrier: boolean;427 readonly isWeightNotComputable: boolean;428 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';429 }430431 /** @name PalletXcmEvent (43) */432 interface PalletXcmEvent extends Enum {433 readonly isAttempted: boolean;434 readonly asAttempted: XcmV2TraitsOutcome;435 readonly isSent: boolean;436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;437 readonly isUnexpectedResponse: boolean;438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;439 readonly isResponseReady: boolean;440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;441 readonly isNotified: boolean;442 readonly asNotified: ITuple<[u64, u8, u8]>;443 readonly isNotifyOverweight: boolean;444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;445 readonly isNotifyDispatchError: boolean;446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;447 readonly isNotifyDecodeFailed: boolean;448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;449 readonly isInvalidResponder: boolean;450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;451 readonly isInvalidResponderVersion: boolean;452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;453 readonly isResponseTaken: boolean;454 readonly asResponseTaken: u64;455 readonly isAssetsTrapped: boolean;456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;457 readonly isVersionChangeNotified: boolean;458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;459 readonly isSupportedVersionChanged: boolean;460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;461 readonly isNotifyTargetSendFail: boolean;462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;463 readonly isNotifyTargetMigrationFail: boolean;464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';466 }467468 /** @name XcmV2TraitsOutcome (44) */469 interface XcmV2TraitsOutcome extends Enum {470 readonly isComplete: boolean;471 readonly asComplete: u64;472 readonly isIncomplete: boolean;473 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;474 readonly isError: boolean;475 readonly asError: XcmV2TraitsError;476 readonly type: 'Complete' | 'Incomplete' | 'Error';477 }478479 /** @name XcmV1MultiLocation (45) */480 interface XcmV1MultiLocation extends Struct {481 readonly parents: u8;482 readonly interior: XcmV1MultilocationJunctions;483 }484485 /** @name XcmV1MultilocationJunctions (46) */486 interface XcmV1MultilocationJunctions extends Enum {487 readonly isHere: boolean;488 readonly isX1: boolean;489 readonly asX1: XcmV1Junction;490 readonly isX2: boolean;491 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;492 readonly isX3: boolean;493 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;494 readonly isX4: boolean;495 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;496 readonly isX5: boolean;497 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;498 readonly isX6: boolean;499 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;500 readonly isX7: boolean;501 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;502 readonly isX8: boolean;503 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;504 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';505 }506507 /** @name XcmV1Junction (47) */508 interface XcmV1Junction extends Enum {509 readonly isParachain: boolean;510 readonly asParachain: Compact<u32>;511 readonly isAccountId32: boolean;512 readonly asAccountId32: {513 readonly network: XcmV0JunctionNetworkId;514 readonly id: U8aFixed;515 } & Struct;516 readonly isAccountIndex64: boolean;517 readonly asAccountIndex64: {518 readonly network: XcmV0JunctionNetworkId;519 readonly index: Compact<u64>;520 } & Struct;521 readonly isAccountKey20: boolean;522 readonly asAccountKey20: {523 readonly network: XcmV0JunctionNetworkId;524 readonly key: U8aFixed;525 } & Struct;526 readonly isPalletInstance: boolean;527 readonly asPalletInstance: u8;528 readonly isGeneralIndex: boolean;529 readonly asGeneralIndex: Compact<u128>;530 readonly isGeneralKey: boolean;531 readonly asGeneralKey: Bytes;532 readonly isOnlyChild: boolean;533 readonly isPlurality: boolean;534 readonly asPlurality: {535 readonly id: XcmV0JunctionBodyId;536 readonly part: XcmV0JunctionBodyPart;537 } & Struct;538 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';539 }540541 /** @name XcmV0JunctionNetworkId (49) */542 interface XcmV0JunctionNetworkId extends Enum {543 readonly isAny: boolean;544 readonly isNamed: boolean;545 readonly asNamed: Bytes;546 readonly isPolkadot: boolean;547 readonly isKusama: boolean;548 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';549 }550551 /** @name XcmV0JunctionBodyId (53) */552 interface XcmV0JunctionBodyId extends Enum {553 readonly isUnit: boolean;554 readonly isNamed: boolean;555 readonly asNamed: Bytes;556 readonly isIndex: boolean;557 readonly asIndex: Compact<u32>;558 readonly isExecutive: boolean;559 readonly isTechnical: boolean;560 readonly isLegislative: boolean;561 readonly isJudicial: boolean;562 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';563 }564565 /** @name XcmV0JunctionBodyPart (54) */566 interface XcmV0JunctionBodyPart extends Enum {567 readonly isVoice: boolean;568 readonly isMembers: boolean;569 readonly asMembers: {570 readonly count: Compact<u32>;571 } & Struct;572 readonly isFraction: boolean;573 readonly asFraction: {574 readonly nom: Compact<u32>;575 readonly denom: Compact<u32>;576 } & Struct;577 readonly isAtLeastProportion: boolean;578 readonly asAtLeastProportion: {579 readonly nom: Compact<u32>;580 readonly denom: Compact<u32>;581 } & Struct;582 readonly isMoreThanProportion: boolean;583 readonly asMoreThanProportion: {584 readonly nom: Compact<u32>;585 readonly denom: Compact<u32>;586 } & Struct;587 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';588 }589590 /** @name XcmV2Xcm (55) */591 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}592593 /** @name XcmV2Instruction (57) */594 interface XcmV2Instruction extends Enum {595 readonly isWithdrawAsset: boolean;596 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;597 readonly isReserveAssetDeposited: boolean;598 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;599 readonly isReceiveTeleportedAsset: boolean;600 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;601 readonly isQueryResponse: boolean;602 readonly asQueryResponse: {603 readonly queryId: Compact<u64>;604 readonly response: XcmV2Response;605 readonly maxWeight: Compact<u64>;606 } & Struct;607 readonly isTransferAsset: boolean;608 readonly asTransferAsset: {609 readonly assets: XcmV1MultiassetMultiAssets;610 readonly beneficiary: XcmV1MultiLocation;611 } & Struct;612 readonly isTransferReserveAsset: boolean;613 readonly asTransferReserveAsset: {614 readonly assets: XcmV1MultiassetMultiAssets;615 readonly dest: XcmV1MultiLocation;616 readonly xcm: XcmV2Xcm;617 } & Struct;618 readonly isTransact: boolean;619 readonly asTransact: {620 readonly originType: XcmV0OriginKind;621 readonly requireWeightAtMost: Compact<u64>;622 readonly call: XcmDoubleEncoded;623 } & Struct;624 readonly isHrmpNewChannelOpenRequest: boolean;625 readonly asHrmpNewChannelOpenRequest: {626 readonly sender: Compact<u32>;627 readonly maxMessageSize: Compact<u32>;628 readonly maxCapacity: Compact<u32>;629 } & Struct;630 readonly isHrmpChannelAccepted: boolean;631 readonly asHrmpChannelAccepted: {632 readonly recipient: Compact<u32>;633 } & Struct;634 readonly isHrmpChannelClosing: boolean;635 readonly asHrmpChannelClosing: {636 readonly initiator: Compact<u32>;637 readonly sender: Compact<u32>;638 readonly recipient: Compact<u32>;639 } & Struct;640 readonly isClearOrigin: boolean;641 readonly isDescendOrigin: boolean;642 readonly asDescendOrigin: XcmV1MultilocationJunctions;643 readonly isReportError: boolean;644 readonly asReportError: {645 readonly queryId: Compact<u64>;646 readonly dest: XcmV1MultiLocation;647 readonly maxResponseWeight: Compact<u64>;648 } & Struct;649 readonly isDepositAsset: boolean;650 readonly asDepositAsset: {651 readonly assets: XcmV1MultiassetMultiAssetFilter;652 readonly maxAssets: Compact<u32>;653 readonly beneficiary: XcmV1MultiLocation;654 } & Struct;655 readonly isDepositReserveAsset: boolean;656 readonly asDepositReserveAsset: {657 readonly assets: XcmV1MultiassetMultiAssetFilter;658 readonly maxAssets: Compact<u32>;659 readonly dest: XcmV1MultiLocation;660 readonly xcm: XcmV2Xcm;661 } & Struct;662 readonly isExchangeAsset: boolean;663 readonly asExchangeAsset: {664 readonly give: XcmV1MultiassetMultiAssetFilter;665 readonly receive: XcmV1MultiassetMultiAssets;666 } & Struct;667 readonly isInitiateReserveWithdraw: boolean;668 readonly asInitiateReserveWithdraw: {669 readonly assets: XcmV1MultiassetMultiAssetFilter;670 readonly reserve: XcmV1MultiLocation;671 readonly xcm: XcmV2Xcm;672 } & Struct;673 readonly isInitiateTeleport: boolean;674 readonly asInitiateTeleport: {675 readonly assets: XcmV1MultiassetMultiAssetFilter;676 readonly dest: XcmV1MultiLocation;677 readonly xcm: XcmV2Xcm;678 } & Struct;679 readonly isQueryHolding: boolean;680 readonly asQueryHolding: {681 readonly queryId: Compact<u64>;682 readonly dest: XcmV1MultiLocation;683 readonly assets: XcmV1MultiassetMultiAssetFilter;684 readonly maxResponseWeight: Compact<u64>;685 } & Struct;686 readonly isBuyExecution: boolean;687 readonly asBuyExecution: {688 readonly fees: XcmV1MultiAsset;689 readonly weightLimit: XcmV2WeightLimit;690 } & Struct;691 readonly isRefundSurplus: boolean;692 readonly isSetErrorHandler: boolean;693 readonly asSetErrorHandler: XcmV2Xcm;694 readonly isSetAppendix: boolean;695 readonly asSetAppendix: XcmV2Xcm;696 readonly isClearError: boolean;697 readonly isClaimAsset: boolean;698 readonly asClaimAsset: {699 readonly assets: XcmV1MultiassetMultiAssets;700 readonly ticket: XcmV1MultiLocation;701 } & Struct;702 readonly isTrap: boolean;703 readonly asTrap: Compact<u64>;704 readonly isSubscribeVersion: boolean;705 readonly asSubscribeVersion: {706 readonly queryId: Compact<u64>;707 readonly maxResponseWeight: Compact<u64>;708 } & Struct;709 readonly isUnsubscribeVersion: boolean;710 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';711 }712713 /** @name XcmV1MultiassetMultiAssets (58) */714 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}715716 /** @name XcmV1MultiAsset (60) */717 interface XcmV1MultiAsset extends Struct {718 readonly id: XcmV1MultiassetAssetId;719 readonly fun: XcmV1MultiassetFungibility;720 }721722 /** @name XcmV1MultiassetAssetId (61) */723 interface XcmV1MultiassetAssetId extends Enum {724 readonly isConcrete: boolean;725 readonly asConcrete: XcmV1MultiLocation;726 readonly isAbstract: boolean;727 readonly asAbstract: Bytes;728 readonly type: 'Concrete' | 'Abstract';729 }730731 /** @name XcmV1MultiassetFungibility (62) */732 interface XcmV1MultiassetFungibility extends Enum {733 readonly isFungible: boolean;734 readonly asFungible: Compact<u128>;735 readonly isNonFungible: boolean;736 readonly asNonFungible: XcmV1MultiassetAssetInstance;737 readonly type: 'Fungible' | 'NonFungible';738 }739740 /** @name XcmV1MultiassetAssetInstance (63) */741 interface XcmV1MultiassetAssetInstance extends Enum {742 readonly isUndefined: boolean;743 readonly isIndex: boolean;744 readonly asIndex: Compact<u128>;745 readonly isArray4: boolean;746 readonly asArray4: U8aFixed;747 readonly isArray8: boolean;748 readonly asArray8: U8aFixed;749 readonly isArray16: boolean;750 readonly asArray16: U8aFixed;751 readonly isArray32: boolean;752 readonly asArray32: U8aFixed;753 readonly isBlob: boolean;754 readonly asBlob: Bytes;755 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';756 }757758 /** @name XcmV2Response (66) */759 interface XcmV2Response extends Enum {760 readonly isNull: boolean;761 readonly isAssets: boolean;762 readonly asAssets: XcmV1MultiassetMultiAssets;763 readonly isExecutionResult: boolean;764 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;765 readonly isVersion: boolean;766 readonly asVersion: u32;767 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';768 }769770 /** @name XcmV0OriginKind (69) */771 interface XcmV0OriginKind extends Enum {772 readonly isNative: boolean;773 readonly isSovereignAccount: boolean;774 readonly isSuperuser: boolean;775 readonly isXcm: boolean;776 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';777 }778779 /** @name XcmDoubleEncoded (70) */780 interface XcmDoubleEncoded extends Struct {781 readonly encoded: Bytes;782 }783784 /** @name XcmV1MultiassetMultiAssetFilter (71) */785 interface XcmV1MultiassetMultiAssetFilter extends Enum {786 readonly isDefinite: boolean;787 readonly asDefinite: XcmV1MultiassetMultiAssets;788 readonly isWild: boolean;789 readonly asWild: XcmV1MultiassetWildMultiAsset;790 readonly type: 'Definite' | 'Wild';791 }792793 /** @name XcmV1MultiassetWildMultiAsset (72) */794 interface XcmV1MultiassetWildMultiAsset extends Enum {795 readonly isAll: boolean;796 readonly isAllOf: boolean;797 readonly asAllOf: {798 readonly id: XcmV1MultiassetAssetId;799 readonly fun: XcmV1MultiassetWildFungibility;800 } & Struct;801 readonly type: 'All' | 'AllOf';802 }803804 /** @name XcmV1MultiassetWildFungibility (73) */805 interface XcmV1MultiassetWildFungibility extends Enum {806 readonly isFungible: boolean;807 readonly isNonFungible: boolean;808 readonly type: 'Fungible' | 'NonFungible';809 }810811 /** @name XcmV2WeightLimit (74) */812 interface XcmV2WeightLimit extends Enum {813 readonly isUnlimited: boolean;814 readonly isLimited: boolean;815 readonly asLimited: Compact<u64>;816 readonly type: 'Unlimited' | 'Limited';817 }818819 /** @name XcmVersionedMultiAssets (76) */820 interface XcmVersionedMultiAssets extends Enum {821 readonly isV0: boolean;822 readonly asV0: Vec<XcmV0MultiAsset>;823 readonly isV1: boolean;824 readonly asV1: XcmV1MultiassetMultiAssets;825 readonly type: 'V0' | 'V1';826 }827828 /** @name XcmV0MultiAsset (78) */829 interface XcmV0MultiAsset extends Enum {830 readonly isNone: boolean;831 readonly isAll: boolean;832 readonly isAllFungible: boolean;833 readonly isAllNonFungible: boolean;834 readonly isAllAbstractFungible: boolean;835 readonly asAllAbstractFungible: {836 readonly id: Bytes;837 } & Struct;838 readonly isAllAbstractNonFungible: boolean;839 readonly asAllAbstractNonFungible: {840 readonly class: Bytes;841 } & Struct;842 readonly isAllConcreteFungible: boolean;843 readonly asAllConcreteFungible: {844 readonly id: XcmV0MultiLocation;845 } & Struct;846 readonly isAllConcreteNonFungible: boolean;847 readonly asAllConcreteNonFungible: {848 readonly class: XcmV0MultiLocation;849 } & Struct;850 readonly isAbstractFungible: boolean;851 readonly asAbstractFungible: {852 readonly id: Bytes;853 readonly amount: Compact<u128>;854 } & Struct;855 readonly isAbstractNonFungible: boolean;856 readonly asAbstractNonFungible: {857 readonly class: Bytes;858 readonly instance: XcmV1MultiassetAssetInstance;859 } & Struct;860 readonly isConcreteFungible: boolean;861 readonly asConcreteFungible: {862 readonly id: XcmV0MultiLocation;863 readonly amount: Compact<u128>;864 } & Struct;865 readonly isConcreteNonFungible: boolean;866 readonly asConcreteNonFungible: {867 readonly class: XcmV0MultiLocation;868 readonly instance: XcmV1MultiassetAssetInstance;869 } & Struct;870 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 }872873 /** @name XcmV0MultiLocation (79) */874 interface XcmV0MultiLocation extends Enum {875 readonly isNull: boolean;876 readonly isX1: boolean;877 readonly asX1: XcmV0Junction;878 readonly isX2: boolean;879 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;880 readonly isX3: boolean;881 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;882 readonly isX4: boolean;883 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;884 readonly isX5: boolean;885 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;886 readonly isX6: boolean;887 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;888 readonly isX7: boolean;889 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;890 readonly isX8: boolean;891 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;892 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';893 }894895 /** @name XcmV0Junction (80) */896 interface XcmV0Junction extends Enum {897 readonly isParent: boolean;898 readonly isParachain: boolean;899 readonly asParachain: Compact<u32>;900 readonly isAccountId32: boolean;901 readonly asAccountId32: {902 readonly network: XcmV0JunctionNetworkId;903 readonly id: U8aFixed;904 } & Struct;905 readonly isAccountIndex64: boolean;906 readonly asAccountIndex64: {907 readonly network: XcmV0JunctionNetworkId;908 readonly index: Compact<u64>;909 } & Struct;910 readonly isAccountKey20: boolean;911 readonly asAccountKey20: {912 readonly network: XcmV0JunctionNetworkId;913 readonly key: U8aFixed;914 } & Struct;915 readonly isPalletInstance: boolean;916 readonly asPalletInstance: u8;917 readonly isGeneralIndex: boolean;918 readonly asGeneralIndex: Compact<u128>;919 readonly isGeneralKey: boolean;920 readonly asGeneralKey: Bytes;921 readonly isOnlyChild: boolean;922 readonly isPlurality: boolean;923 readonly asPlurality: {924 readonly id: XcmV0JunctionBodyId;925 readonly part: XcmV0JunctionBodyPart;926 } & Struct;927 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';928 }929930 /** @name XcmVersionedMultiLocation (81) */931 interface XcmVersionedMultiLocation extends Enum {932 readonly isV0: boolean;933 readonly asV0: XcmV0MultiLocation;934 readonly isV1: boolean;935 readonly asV1: XcmV1MultiLocation;936 readonly type: 'V0' | 'V1';937 }938939 /** @name CumulusPalletXcmEvent (82) */940 interface CumulusPalletXcmEvent extends Enum {941 readonly isInvalidFormat: boolean;942 readonly asInvalidFormat: U8aFixed;943 readonly isUnsupportedVersion: boolean;944 readonly asUnsupportedVersion: U8aFixed;945 readonly isExecutedDownward: boolean;946 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;947 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';948 }949950 /** @name CumulusPalletDmpQueueEvent (83) */951 interface CumulusPalletDmpQueueEvent extends Enum {952 readonly isInvalidFormat: boolean;953 readonly asInvalidFormat: {954 readonly messageId: U8aFixed;955 } & Struct;956 readonly isUnsupportedVersion: boolean;957 readonly asUnsupportedVersion: {958 readonly messageId: U8aFixed;959 } & Struct;960 readonly isExecutedDownward: boolean;961 readonly asExecutedDownward: {962 readonly messageId: U8aFixed;963 readonly outcome: XcmV2TraitsOutcome;964 } & Struct;965 readonly isWeightExhausted: boolean;966 readonly asWeightExhausted: {967 readonly messageId: U8aFixed;968 readonly remainingWeight: u64;969 readonly requiredWeight: u64;970 } & Struct;971 readonly isOverweightEnqueued: boolean;972 readonly asOverweightEnqueued: {973 readonly messageId: U8aFixed;974 readonly overweightIndex: u64;975 readonly requiredWeight: u64;976 } & Struct;977 readonly isOverweightServiced: boolean;978 readonly asOverweightServiced: {979 readonly overweightIndex: u64;980 readonly weightUsed: u64;981 } & Struct;982 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';983 }984985 /** @name PalletUniqueRawEvent (84) */986 interface PalletUniqueRawEvent extends Enum {987 readonly isCollectionSponsorRemoved: boolean;988 readonly asCollectionSponsorRemoved: u32;989 readonly isCollectionAdminAdded: boolean;990 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;991 readonly isCollectionOwnedChanged: boolean;992 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;993 readonly isCollectionSponsorSet: boolean;994 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;995 readonly isSponsorshipConfirmed: boolean;996 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;997 readonly isCollectionAdminRemoved: boolean;998 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;999 readonly isAllowListAddressRemoved: boolean;1000 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1001 readonly isAllowListAddressAdded: boolean;1002 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1003 readonly isCollectionLimitSet: boolean;1004 readonly asCollectionLimitSet: u32;1005 readonly isCollectionPermissionSet: boolean;1006 readonly asCollectionPermissionSet: u32;1007 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1008 }10091010 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1011 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1012 readonly isSubstrate: boolean;1013 readonly asSubstrate: AccountId32;1014 readonly isEthereum: boolean;1015 readonly asEthereum: H160;1016 readonly type: 'Substrate' | 'Ethereum';1017 }10181019 /** @name PalletUniqueSchedulerEvent (88) */1020 interface PalletUniqueSchedulerEvent extends Enum {1021 readonly isScheduled: boolean;1022 readonly asScheduled: {1023 readonly when: u32;1024 readonly index: u32;1025 } & Struct;1026 readonly isCanceled: boolean;1027 readonly asCanceled: {1028 readonly when: u32;1029 readonly index: u32;1030 } & Struct;1031 readonly isDispatched: boolean;1032 readonly asDispatched: {1033 readonly task: ITuple<[u32, u32]>;1034 readonly id: Option<U8aFixed>;1035 readonly result: Result<Null, SpRuntimeDispatchError>;1036 } & Struct;1037 readonly isCallLookupFailed: boolean;1038 readonly asCallLookupFailed: {1039 readonly task: ITuple<[u32, u32]>;1040 readonly id: Option<U8aFixed>;1041 readonly error: FrameSupportScheduleLookupError;1042 } & Struct;1043 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1044 }10451046 /** @name FrameSupportScheduleLookupError (91) */1047 interface FrameSupportScheduleLookupError extends Enum {1048 readonly isUnknown: boolean;1049 readonly isBadFormat: boolean;1050 readonly type: 'Unknown' | 'BadFormat';1051 }10521053 /** @name PalletCommonEvent (92) */1054 interface PalletCommonEvent extends Enum {1055 readonly isCollectionCreated: boolean;1056 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1057 readonly isCollectionDestroyed: boolean;1058 readonly asCollectionDestroyed: u32;1059 readonly isItemCreated: boolean;1060 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isItemDestroyed: boolean;1062 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1063 readonly isTransfer: boolean;1064 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1065 readonly isApproved: boolean;1066 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1067 readonly isCollectionPropertySet: boolean;1068 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1069 readonly isCollectionPropertyDeleted: boolean;1070 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1071 readonly isTokenPropertySet: boolean;1072 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1073 readonly isTokenPropertyDeleted: boolean;1074 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1075 readonly isPropertyPermissionSet: boolean;1076 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1077 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1078 }10791080 /** @name PalletStructureEvent (95) */1081 interface PalletStructureEvent extends Enum {1082 readonly isExecuted: boolean;1083 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1084 readonly type: 'Executed';1085 }10861087 /** @name PalletRmrkCoreEvent (96) */1088 interface PalletRmrkCoreEvent extends Enum {1089 readonly isCollectionCreated: boolean;1090 readonly asCollectionCreated: {1091 readonly issuer: AccountId32;1092 readonly collectionId: u32;1093 } & Struct;1094 readonly isCollectionDestroyed: boolean;1095 readonly asCollectionDestroyed: {1096 readonly issuer: AccountId32;1097 readonly collectionId: u32;1098 } & Struct;1099 readonly isIssuerChanged: boolean;1100 readonly asIssuerChanged: {1101 readonly oldIssuer: AccountId32;1102 readonly newIssuer: AccountId32;1103 readonly collectionId: u32;1104 } & Struct;1105 readonly isCollectionLocked: boolean;1106 readonly asCollectionLocked: {1107 readonly issuer: AccountId32;1108 readonly collectionId: u32;1109 } & Struct;1110 readonly isNftMinted: boolean;1111 readonly asNftMinted: {1112 readonly owner: AccountId32;1113 readonly collectionId: u32;1114 readonly nftId: u32;1115 } & Struct;1116 readonly isNftBurned: boolean;1117 readonly asNftBurned: {1118 readonly owner: AccountId32;1119 readonly nftId: u32;1120 } & Struct;1121 readonly isNftSent: boolean;1122 readonly asNftSent: {1123 readonly sender: AccountId32;1124 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1125 readonly collectionId: u32;1126 readonly nftId: u32;1127 readonly approvalRequired: bool;1128 } & Struct;1129 readonly isNftAccepted: boolean;1130 readonly asNftAccepted: {1131 readonly sender: AccountId32;1132 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1133 readonly collectionId: u32;1134 readonly nftId: u32;1135 } & Struct;1136 readonly isNftRejected: boolean;1137 readonly asNftRejected: {1138 readonly sender: AccountId32;1139 readonly collectionId: u32;1140 readonly nftId: u32;1141 } & Struct;1142 readonly isPropertySet: boolean;1143 readonly asPropertySet: {1144 readonly collectionId: u32;1145 readonly maybeNftId: Option<u32>;1146 readonly key: Bytes;1147 readonly value: Bytes;1148 } & Struct;1149 readonly isResourceAdded: boolean;1150 readonly asResourceAdded: {1151 readonly nftId: u32;1152 readonly resourceId: u32;1153 } & Struct;1154 readonly isResourceRemoval: boolean;1155 readonly asResourceRemoval: {1156 readonly nftId: u32;1157 readonly resourceId: u32;1158 } & Struct;1159 readonly isResourceAccepted: boolean;1160 readonly asResourceAccepted: {1161 readonly nftId: u32;1162 readonly resourceId: u32;1163 } & Struct;1164 readonly isResourceRemovalAccepted: boolean;1165 readonly asResourceRemovalAccepted: {1166 readonly nftId: u32;1167 readonly resourceId: u32;1168 } & Struct;1169 readonly isPrioritySet: boolean;1170 readonly asPrioritySet: {1171 readonly collectionId: u32;1172 readonly nftId: u32;1173 } & Struct;1174 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1175 }11761177 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1178 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1179 readonly isAccountId: boolean;1180 readonly asAccountId: AccountId32;1181 readonly isCollectionAndNftTuple: boolean;1182 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1183 readonly type: 'AccountId' | 'CollectionAndNftTuple';1184 }11851186 /** @name PalletRmrkEquipEvent (102) */1187 interface PalletRmrkEquipEvent extends Enum {1188 readonly isBaseCreated: boolean;1189 readonly asBaseCreated: {1190 readonly issuer: AccountId32;1191 readonly baseId: u32;1192 } & Struct;1193 readonly isEquippablesUpdated: boolean;1194 readonly asEquippablesUpdated: {1195 readonly baseId: u32;1196 readonly slotId: u32;1197 } & Struct;1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }12001201 /** @name PalletAppPromotionEvent (103) */1202 interface PalletAppPromotionEvent extends Enum {1203 readonly isStakingRecalculation: boolean;1204 readonly asStakingRecalculation: ITuple<[u128, u128]>;1205 readonly type: 'StakingRecalculation';1206 }12071208 /** @name PalletEvmEvent (104) */1209 interface PalletEvmEvent extends Enum {1210 readonly isLog: boolean;1211 readonly asLog: EthereumLog;1212 readonly isCreated: boolean;1213 readonly asCreated: H160;1214 readonly isCreatedFailed: boolean;1215 readonly asCreatedFailed: H160;1216 readonly isExecuted: boolean;1217 readonly asExecuted: H160;1218 readonly isExecutedFailed: boolean;1219 readonly asExecutedFailed: H160;1220 readonly isBalanceDeposit: boolean;1221 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1222 readonly isBalanceWithdraw: boolean;1223 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1224 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1225 }12261227 /** @name EthereumLog (105) */1228 interface EthereumLog extends Struct {1229 readonly address: H160;1230 readonly topics: Vec<H256>;1231 readonly data: Bytes;1232 }12331234 /** @name PalletEthereumEvent (109) */1235 interface PalletEthereumEvent extends Enum {1236 readonly isExecuted: boolean;1237 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1238 readonly type: 'Executed';1239 }12401241 /** @name EvmCoreErrorExitReason (110) */1242 interface EvmCoreErrorExitReason extends Enum {1243 readonly isSucceed: boolean;1244 readonly asSucceed: EvmCoreErrorExitSucceed;1245 readonly isError: boolean;1246 readonly asError: EvmCoreErrorExitError;1247 readonly isRevert: boolean;1248 readonly asRevert: EvmCoreErrorExitRevert;1249 readonly isFatal: boolean;1250 readonly asFatal: EvmCoreErrorExitFatal;1251 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1252 }12531254 /** @name EvmCoreErrorExitSucceed (111) */1255 interface EvmCoreErrorExitSucceed extends Enum {1256 readonly isStopped: boolean;1257 readonly isReturned: boolean;1258 readonly isSuicided: boolean;1259 readonly type: 'Stopped' | 'Returned' | 'Suicided';1260 }12611262 /** @name EvmCoreErrorExitError (112) */1263 interface EvmCoreErrorExitError extends Enum {1264 readonly isStackUnderflow: boolean;1265 readonly isStackOverflow: boolean;1266 readonly isInvalidJump: boolean;1267 readonly isInvalidRange: boolean;1268 readonly isDesignatedInvalid: boolean;1269 readonly isCallTooDeep: boolean;1270 readonly isCreateCollision: boolean;1271 readonly isCreateContractLimit: boolean;1272 readonly isOutOfOffset: boolean;1273 readonly isOutOfGas: boolean;1274 readonly isOutOfFund: boolean;1275 readonly isPcUnderflow: boolean;1276 readonly isCreateEmpty: boolean;1277 readonly isOther: boolean;1278 readonly asOther: Text;1279 readonly isInvalidCode: boolean;1280 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1281 }12821283 /** @name EvmCoreErrorExitRevert (115) */1284 interface EvmCoreErrorExitRevert extends Enum {1285 readonly isReverted: boolean;1286 readonly type: 'Reverted';1287 }12881289 /** @name EvmCoreErrorExitFatal (116) */1290 interface EvmCoreErrorExitFatal extends Enum {1291 readonly isNotSupported: boolean;1292 readonly isUnhandledInterrupt: boolean;1293 readonly isCallErrorAsFatal: boolean;1294 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1295 readonly isOther: boolean;1296 readonly asOther: Text;1297 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1298 }12991300 /** @name FrameSystemPhase (117) */1301 interface FrameSystemPhase extends Enum {1302 readonly isApplyExtrinsic: boolean;1303 readonly asApplyExtrinsic: u32;1304 readonly isFinalization: boolean;1305 readonly isInitialization: boolean;1306 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1307 }13081309 /** @name FrameSystemLastRuntimeUpgradeInfo (119) */1310 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1311 readonly specVersion: Compact<u32>;1312 readonly specName: Text;1313 }13141315 /** @name FrameSystemCall (120) */1316 interface FrameSystemCall extends Enum {1317 readonly isFillBlock: boolean;1318 readonly asFillBlock: {1319 readonly ratio: Perbill;1320 } & Struct;1321 readonly isRemark: boolean;1322 readonly asRemark: {1323 readonly remark: Bytes;1324 } & Struct;1325 readonly isSetHeapPages: boolean;1326 readonly asSetHeapPages: {1327 readonly pages: u64;1328 } & Struct;1329 readonly isSetCode: boolean;1330 readonly asSetCode: {1331 readonly code: Bytes;1332 } & Struct;1333 readonly isSetCodeWithoutChecks: boolean;1334 readonly asSetCodeWithoutChecks: {1335 readonly code: Bytes;1336 } & Struct;1337 readonly isSetStorage: boolean;1338 readonly asSetStorage: {1339 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1340 } & Struct;1341 readonly isKillStorage: boolean;1342 readonly asKillStorage: {1343 readonly keys_: Vec<Bytes>;1344 } & Struct;1345 readonly isKillPrefix: boolean;1346 readonly asKillPrefix: {1347 readonly prefix: Bytes;1348 readonly subkeys: u32;1349 } & Struct;1350 readonly isRemarkWithEvent: boolean;1351 readonly asRemarkWithEvent: {1352 readonly remark: Bytes;1353 } & Struct;1354 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1355 }13561357 /** @name FrameSystemLimitsBlockWeights (125) */1358 interface FrameSystemLimitsBlockWeights extends Struct {1359 readonly baseBlock: u64;1360 readonly maxBlock: u64;1361 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1362 }13631364 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (126) */1365 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1366 readonly normal: FrameSystemLimitsWeightsPerClass;1367 readonly operational: FrameSystemLimitsWeightsPerClass;1368 readonly mandatory: FrameSystemLimitsWeightsPerClass;1369 }13701371 /** @name FrameSystemLimitsWeightsPerClass (127) */1372 interface FrameSystemLimitsWeightsPerClass extends Struct {1373 readonly baseExtrinsic: u64;1374 readonly maxExtrinsic: Option<u64>;1375 readonly maxTotal: Option<u64>;1376 readonly reserved: Option<u64>;1377 }13781379 /** @name FrameSystemLimitsBlockLength (129) */1380 interface FrameSystemLimitsBlockLength extends Struct {1381 readonly max: FrameSupportWeightsPerDispatchClassU32;1382 }13831384 /** @name FrameSupportWeightsPerDispatchClassU32 (130) */1385 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1386 readonly normal: u32;1387 readonly operational: u32;1388 readonly mandatory: u32;1389 }13901391 /** @name FrameSupportWeightsRuntimeDbWeight (131) */1392 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1393 readonly read: u64;1394 readonly write: u64;1395 }13961397 /** @name SpVersionRuntimeVersion (132) */1398 interface SpVersionRuntimeVersion extends Struct {1399 readonly specName: Text;1400 readonly implName: Text;1401 readonly authoringVersion: u32;1402 readonly specVersion: u32;1403 readonly implVersion: u32;1404 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1405 readonly transactionVersion: u32;1406 readonly stateVersion: u8;1407 }14081409 /** @name FrameSystemError (137) */1410 interface FrameSystemError extends Enum {1411 readonly isInvalidSpecName: boolean;1412 readonly isSpecVersionNeedsToIncrease: boolean;1413 readonly isFailedToExtractRuntimeVersion: boolean;1414 readonly isNonDefaultComposite: boolean;1415 readonly isNonZeroRefCount: boolean;1416 readonly isCallFiltered: boolean;1417 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1418 }14191420 /** @name PolkadotPrimitivesV2PersistedValidationData (138) */1421 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1422 readonly parentHead: Bytes;1423 readonly relayParentNumber: u32;1424 readonly relayParentStorageRoot: H256;1425 readonly maxPovSize: u32;1426 }14271428 /** @name PolkadotPrimitivesV2UpgradeRestriction (141) */1429 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1430 readonly isPresent: boolean;1431 readonly type: 'Present';1432 }14331434 /** @name SpTrieStorageProof (142) */1435 interface SpTrieStorageProof extends Struct {1436 readonly trieNodes: BTreeSet<Bytes>;1437 }14381439 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (144) */1440 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1441 readonly dmqMqcHead: H256;1442 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1443 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1444 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1445 }14461447 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (147) */1448 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1449 readonly maxCapacity: u32;1450 readonly maxTotalSize: u32;1451 readonly maxMessageSize: u32;1452 readonly msgCount: u32;1453 readonly totalSize: u32;1454 readonly mqcHead: Option<H256>;1455 }14561457 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (148) */1458 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1459 readonly maxCodeSize: u32;1460 readonly maxHeadDataSize: u32;1461 readonly maxUpwardQueueCount: u32;1462 readonly maxUpwardQueueSize: u32;1463 readonly maxUpwardMessageSize: u32;1464 readonly maxUpwardMessageNumPerCandidate: u32;1465 readonly hrmpMaxMessageNumPerCandidate: u32;1466 readonly validationUpgradeCooldown: u32;1467 readonly validationUpgradeDelay: u32;1468 }14691470 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (154) */1471 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1472 readonly recipient: u32;1473 readonly data: Bytes;1474 }14751476 /** @name CumulusPalletParachainSystemCall (155) */1477 interface CumulusPalletParachainSystemCall extends Enum {1478 readonly isSetValidationData: boolean;1479 readonly asSetValidationData: {1480 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1481 } & Struct;1482 readonly isSudoSendUpwardMessage: boolean;1483 readonly asSudoSendUpwardMessage: {1484 readonly message: Bytes;1485 } & Struct;1486 readonly isAuthorizeUpgrade: boolean;1487 readonly asAuthorizeUpgrade: {1488 readonly codeHash: H256;1489 } & Struct;1490 readonly isEnactAuthorizedUpgrade: boolean;1491 readonly asEnactAuthorizedUpgrade: {1492 readonly code: Bytes;1493 } & Struct;1494 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1495 }14961497 /** @name CumulusPrimitivesParachainInherentParachainInherentData (156) */1498 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1499 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1500 readonly relayChainState: SpTrieStorageProof;1501 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1502 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1503 }15041505 /** @name PolkadotCorePrimitivesInboundDownwardMessage (158) */1506 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1507 readonly sentAt: u32;1508 readonly msg: Bytes;1509 }15101511 /** @name PolkadotCorePrimitivesInboundHrmpMessage (161) */1512 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1513 readonly sentAt: u32;1514 readonly data: Bytes;1515 }15161517 /** @name CumulusPalletParachainSystemError (164) */1518 interface CumulusPalletParachainSystemError extends Enum {1519 readonly isOverlappingUpgrades: boolean;1520 readonly isProhibitedByPolkadot: boolean;1521 readonly isTooBig: boolean;1522 readonly isValidationDataNotAvailable: boolean;1523 readonly isHostConfigurationNotAvailable: boolean;1524 readonly isNotScheduled: boolean;1525 readonly isNothingAuthorized: boolean;1526 readonly isUnauthorized: boolean;1527 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1528 }15291530 /** @name PalletBalancesBalanceLock (166) */1531 interface PalletBalancesBalanceLock extends Struct {1532 readonly id: U8aFixed;1533 readonly amount: u128;1534 readonly reasons: PalletBalancesReasons;1535 }15361537 /** @name PalletBalancesReasons (167) */1538 interface PalletBalancesReasons extends Enum {1539 readonly isFee: boolean;1540 readonly isMisc: boolean;1541 readonly isAll: boolean;1542 readonly type: 'Fee' | 'Misc' | 'All';1543 }15441545 /** @name PalletBalancesReserveData (170) */1546 interface PalletBalancesReserveData extends Struct {1547 readonly id: U8aFixed;1548 readonly amount: u128;1549 }15501551 /** @name PalletBalancesReleases (172) */1552 interface PalletBalancesReleases extends Enum {1553 readonly isV100: boolean;1554 readonly isV200: boolean;1555 readonly type: 'V100' | 'V200';1556 }15571558 /** @name PalletBalancesCall (173) */1559 interface PalletBalancesCall extends Enum {1560 readonly isTransfer: boolean;1561 readonly asTransfer: {1562 readonly dest: MultiAddress;1563 readonly value: Compact<u128>;1564 } & Struct;1565 readonly isSetBalance: boolean;1566 readonly asSetBalance: {1567 readonly who: MultiAddress;1568 readonly newFree: Compact<u128>;1569 readonly newReserved: Compact<u128>;1570 } & Struct;1571 readonly isForceTransfer: boolean;1572 readonly asForceTransfer: {1573 readonly source: MultiAddress;1574 readonly dest: MultiAddress;1575 readonly value: Compact<u128>;1576 } & Struct;1577 readonly isTransferKeepAlive: boolean;1578 readonly asTransferKeepAlive: {1579 readonly dest: MultiAddress;1580 readonly value: Compact<u128>;1581 } & Struct;1582 readonly isTransferAll: boolean;1583 readonly asTransferAll: {1584 readonly dest: MultiAddress;1585 readonly keepAlive: bool;1586 } & Struct;1587 readonly isForceUnreserve: boolean;1588 readonly asForceUnreserve: {1589 readonly who: MultiAddress;1590 readonly amount: u128;1591 } & Struct;1592 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1593 }15941595 /** @name PalletBalancesError (176) */1596 interface PalletBalancesError extends Enum {1597 readonly isVestingBalance: boolean;1598 readonly isLiquidityRestrictions: boolean;1599 readonly isInsufficientBalance: boolean;1600 readonly isExistentialDeposit: boolean;1601 readonly isKeepAlive: boolean;1602 readonly isExistingVestingSchedule: boolean;1603 readonly isDeadAccount: boolean;1604 readonly isTooManyReserves: boolean;1605 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1606 }16071608 /** @name PalletTimestampCall (178) */1609 interface PalletTimestampCall extends Enum {1610 readonly isSet: boolean;1611 readonly asSet: {1612 readonly now: Compact<u64>;1613 } & Struct;1614 readonly type: 'Set';1615 }16161617 /** @name PalletTransactionPaymentReleases (180) */1618 interface PalletTransactionPaymentReleases extends Enum {1619 readonly isV1Ancient: boolean;1620 readonly isV2: boolean;1621 readonly type: 'V1Ancient' | 'V2';1622 }16231624 /** @name PalletTreasuryProposal (181) */1625 interface PalletTreasuryProposal extends Struct {1626 readonly proposer: AccountId32;1627 readonly value: u128;1628 readonly beneficiary: AccountId32;1629 readonly bond: u128;1630 }16311632 /** @name PalletTreasuryCall (184) */1633 interface PalletTreasuryCall extends Enum {1634 readonly isProposeSpend: boolean;1635 readonly asProposeSpend: {1636 readonly value: Compact<u128>;1637 readonly beneficiary: MultiAddress;1638 } & Struct;1639 readonly isRejectProposal: boolean;1640 readonly asRejectProposal: {1641 readonly proposalId: Compact<u32>;1642 } & Struct;1643 readonly isApproveProposal: boolean;1644 readonly asApproveProposal: {1645 readonly proposalId: Compact<u32>;1646 } & Struct;1647 readonly isSpend: boolean;1648 readonly asSpend: {1649 readonly amount: Compact<u128>;1650 readonly beneficiary: MultiAddress;1651 } & Struct;1652 readonly isRemoveApproval: boolean;1653 readonly asRemoveApproval: {1654 readonly proposalId: Compact<u32>;1655 } & Struct;1656 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1657 }16581659 /** @name FrameSupportPalletId (187) */1660 interface FrameSupportPalletId extends U8aFixed {}16611662 /** @name PalletTreasuryError (188) */1663 interface PalletTreasuryError extends Enum {1664 readonly isInsufficientProposersBalance: boolean;1665 readonly isInvalidIndex: boolean;1666 readonly isTooManyApprovals: boolean;1667 readonly isInsufficientPermission: boolean;1668 readonly isProposalNotApproved: boolean;1669 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1670 }16711672 /** @name PalletSudoCall (189) */1673 interface PalletSudoCall extends Enum {1674 readonly isSudo: boolean;1675 readonly asSudo: {1676 readonly call: Call;1677 } & Struct;1678 readonly isSudoUncheckedWeight: boolean;1679 readonly asSudoUncheckedWeight: {1680 readonly call: Call;1681 readonly weight: u64;1682 } & Struct;1683 readonly isSetKey: boolean;1684 readonly asSetKey: {1685 readonly new_: MultiAddress;1686 } & Struct;1687 readonly isSudoAs: boolean;1688 readonly asSudoAs: {1689 readonly who: MultiAddress;1690 readonly call: Call;1691 } & Struct;1692 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1693 }16941695 /** @name OrmlVestingModuleCall (191) */1696 interface OrmlVestingModuleCall extends Enum {1697 readonly isClaim: boolean;1698 readonly isVestedTransfer: boolean;1699 readonly asVestedTransfer: {1700 readonly dest: MultiAddress;1701 readonly schedule: OrmlVestingVestingSchedule;1702 } & Struct;1703 readonly isUpdateVestingSchedules: boolean;1704 readonly asUpdateVestingSchedules: {1705 readonly who: MultiAddress;1706 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1707 } & Struct;1708 readonly isClaimFor: boolean;1709 readonly asClaimFor: {1710 readonly dest: MultiAddress;1711 } & Struct;1712 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1713 }17141715 /** @name CumulusPalletXcmpQueueCall (193) */1716 interface CumulusPalletXcmpQueueCall extends Enum {1717 readonly isServiceOverweight: boolean;1718 readonly asServiceOverweight: {1719 readonly index: u64;1720 readonly weightLimit: u64;1721 } & Struct;1722 readonly isSuspendXcmExecution: boolean;1723 readonly isResumeXcmExecution: boolean;1724 readonly isUpdateSuspendThreshold: boolean;1725 readonly asUpdateSuspendThreshold: {1726 readonly new_: u32;1727 } & Struct;1728 readonly isUpdateDropThreshold: boolean;1729 readonly asUpdateDropThreshold: {1730 readonly new_: u32;1731 } & Struct;1732 readonly isUpdateResumeThreshold: boolean;1733 readonly asUpdateResumeThreshold: {1734 readonly new_: u32;1735 } & Struct;1736 readonly isUpdateThresholdWeight: boolean;1737 readonly asUpdateThresholdWeight: {1738 readonly new_: u64;1739 } & Struct;1740 readonly isUpdateWeightRestrictDecay: boolean;1741 readonly asUpdateWeightRestrictDecay: {1742 readonly new_: u64;1743 } & Struct;1744 readonly isUpdateXcmpMaxIndividualWeight: boolean;1745 readonly asUpdateXcmpMaxIndividualWeight: {1746 readonly new_: u64;1747 } & Struct;1748 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1749 }17501751 /** @name PalletXcmCall (194) */1752 interface PalletXcmCall extends Enum {1753 readonly isSend: boolean;1754 readonly asSend: {1755 readonly dest: XcmVersionedMultiLocation;1756 readonly message: XcmVersionedXcm;1757 } & Struct;1758 readonly isTeleportAssets: boolean;1759 readonly asTeleportAssets: {1760 readonly dest: XcmVersionedMultiLocation;1761 readonly beneficiary: XcmVersionedMultiLocation;1762 readonly assets: XcmVersionedMultiAssets;1763 readonly feeAssetItem: u32;1764 } & Struct;1765 readonly isReserveTransferAssets: boolean;1766 readonly asReserveTransferAssets: {1767 readonly dest: XcmVersionedMultiLocation;1768 readonly beneficiary: XcmVersionedMultiLocation;1769 readonly assets: XcmVersionedMultiAssets;1770 readonly feeAssetItem: u32;1771 } & Struct;1772 readonly isExecute: boolean;1773 readonly asExecute: {1774 readonly message: XcmVersionedXcm;1775 readonly maxWeight: u64;1776 } & Struct;1777 readonly isForceXcmVersion: boolean;1778 readonly asForceXcmVersion: {1779 readonly location: XcmV1MultiLocation;1780 readonly xcmVersion: u32;1781 } & Struct;1782 readonly isForceDefaultXcmVersion: boolean;1783 readonly asForceDefaultXcmVersion: {1784 readonly maybeXcmVersion: Option<u32>;1785 } & Struct;1786 readonly isForceSubscribeVersionNotify: boolean;1787 readonly asForceSubscribeVersionNotify: {1788 readonly location: XcmVersionedMultiLocation;1789 } & Struct;1790 readonly isForceUnsubscribeVersionNotify: boolean;1791 readonly asForceUnsubscribeVersionNotify: {1792 readonly location: XcmVersionedMultiLocation;1793 } & Struct;1794 readonly isLimitedReserveTransferAssets: boolean;1795 readonly asLimitedReserveTransferAssets: {1796 readonly dest: XcmVersionedMultiLocation;1797 readonly beneficiary: XcmVersionedMultiLocation;1798 readonly assets: XcmVersionedMultiAssets;1799 readonly feeAssetItem: u32;1800 readonly weightLimit: XcmV2WeightLimit;1801 } & Struct;1802 readonly isLimitedTeleportAssets: boolean;1803 readonly asLimitedTeleportAssets: {1804 readonly dest: XcmVersionedMultiLocation;1805 readonly beneficiary: XcmVersionedMultiLocation;1806 readonly assets: XcmVersionedMultiAssets;1807 readonly feeAssetItem: u32;1808 readonly weightLimit: XcmV2WeightLimit;1809 } & Struct;1810 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1811 }18121813 /** @name XcmVersionedXcm (195) */1814 interface XcmVersionedXcm extends Enum {1815 readonly isV0: boolean;1816 readonly asV0: XcmV0Xcm;1817 readonly isV1: boolean;1818 readonly asV1: XcmV1Xcm;1819 readonly isV2: boolean;1820 readonly asV2: XcmV2Xcm;1821 readonly type: 'V0' | 'V1' | 'V2';1822 }18231824 /** @name XcmV0Xcm (196) */1825 interface XcmV0Xcm extends Enum {1826 readonly isWithdrawAsset: boolean;1827 readonly asWithdrawAsset: {1828 readonly assets: Vec<XcmV0MultiAsset>;1829 readonly effects: Vec<XcmV0Order>;1830 } & Struct;1831 readonly isReserveAssetDeposit: boolean;1832 readonly asReserveAssetDeposit: {1833 readonly assets: Vec<XcmV0MultiAsset>;1834 readonly effects: Vec<XcmV0Order>;1835 } & Struct;1836 readonly isTeleportAsset: boolean;1837 readonly asTeleportAsset: {1838 readonly assets: Vec<XcmV0MultiAsset>;1839 readonly effects: Vec<XcmV0Order>;1840 } & Struct;1841 readonly isQueryResponse: boolean;1842 readonly asQueryResponse: {1843 readonly queryId: Compact<u64>;1844 readonly response: XcmV0Response;1845 } & Struct;1846 readonly isTransferAsset: boolean;1847 readonly asTransferAsset: {1848 readonly assets: Vec<XcmV0MultiAsset>;1849 readonly dest: XcmV0MultiLocation;1850 } & Struct;1851 readonly isTransferReserveAsset: boolean;1852 readonly asTransferReserveAsset: {1853 readonly assets: Vec<XcmV0MultiAsset>;1854 readonly dest: XcmV0MultiLocation;1855 readonly effects: Vec<XcmV0Order>;1856 } & Struct;1857 readonly isTransact: boolean;1858 readonly asTransact: {1859 readonly originType: XcmV0OriginKind;1860 readonly requireWeightAtMost: u64;1861 readonly call: XcmDoubleEncoded;1862 } & Struct;1863 readonly isHrmpNewChannelOpenRequest: boolean;1864 readonly asHrmpNewChannelOpenRequest: {1865 readonly sender: Compact<u32>;1866 readonly maxMessageSize: Compact<u32>;1867 readonly maxCapacity: Compact<u32>;1868 } & Struct;1869 readonly isHrmpChannelAccepted: boolean;1870 readonly asHrmpChannelAccepted: {1871 readonly recipient: Compact<u32>;1872 } & Struct;1873 readonly isHrmpChannelClosing: boolean;1874 readonly asHrmpChannelClosing: {1875 readonly initiator: Compact<u32>;1876 readonly sender: Compact<u32>;1877 readonly recipient: Compact<u32>;1878 } & Struct;1879 readonly isRelayedFrom: boolean;1880 readonly asRelayedFrom: {1881 readonly who: XcmV0MultiLocation;1882 readonly message: XcmV0Xcm;1883 } & Struct;1884 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1885 }18861887 /** @name XcmV0Order (198) */1888 interface XcmV0Order extends Enum {1889 readonly isNull: boolean;1890 readonly isDepositAsset: boolean;1891 readonly asDepositAsset: {1892 readonly assets: Vec<XcmV0MultiAsset>;1893 readonly dest: XcmV0MultiLocation;1894 } & Struct;1895 readonly isDepositReserveAsset: boolean;1896 readonly asDepositReserveAsset: {1897 readonly assets: Vec<XcmV0MultiAsset>;1898 readonly dest: XcmV0MultiLocation;1899 readonly effects: Vec<XcmV0Order>;1900 } & Struct;1901 readonly isExchangeAsset: boolean;1902 readonly asExchangeAsset: {1903 readonly give: Vec<XcmV0MultiAsset>;1904 readonly receive: Vec<XcmV0MultiAsset>;1905 } & Struct;1906 readonly isInitiateReserveWithdraw: boolean;1907 readonly asInitiateReserveWithdraw: {1908 readonly assets: Vec<XcmV0MultiAsset>;1909 readonly reserve: XcmV0MultiLocation;1910 readonly effects: Vec<XcmV0Order>;1911 } & Struct;1912 readonly isInitiateTeleport: boolean;1913 readonly asInitiateTeleport: {1914 readonly assets: Vec<XcmV0MultiAsset>;1915 readonly dest: XcmV0MultiLocation;1916 readonly effects: Vec<XcmV0Order>;1917 } & Struct;1918 readonly isQueryHolding: boolean;1919 readonly asQueryHolding: {1920 readonly queryId: Compact<u64>;1921 readonly dest: XcmV0MultiLocation;1922 readonly assets: Vec<XcmV0MultiAsset>;1923 } & Struct;1924 readonly isBuyExecution: boolean;1925 readonly asBuyExecution: {1926 readonly fees: XcmV0MultiAsset;1927 readonly weight: u64;1928 readonly debt: u64;1929 readonly haltOnError: bool;1930 readonly xcm: Vec<XcmV0Xcm>;1931 } & Struct;1932 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1933 }19341935 /** @name XcmV0Response (200) */1936 interface XcmV0Response extends Enum {1937 readonly isAssets: boolean;1938 readonly asAssets: Vec<XcmV0MultiAsset>;1939 readonly type: 'Assets';1940 }19411942 /** @name XcmV1Xcm (201) */1943 interface XcmV1Xcm extends Enum {1944 readonly isWithdrawAsset: boolean;1945 readonly asWithdrawAsset: {1946 readonly assets: XcmV1MultiassetMultiAssets;1947 readonly effects: Vec<XcmV1Order>;1948 } & Struct;1949 readonly isReserveAssetDeposited: boolean;1950 readonly asReserveAssetDeposited: {1951 readonly assets: XcmV1MultiassetMultiAssets;1952 readonly effects: Vec<XcmV1Order>;1953 } & Struct;1954 readonly isReceiveTeleportedAsset: boolean;1955 readonly asReceiveTeleportedAsset: {1956 readonly assets: XcmV1MultiassetMultiAssets;1957 readonly effects: Vec<XcmV1Order>;1958 } & Struct;1959 readonly isQueryResponse: boolean;1960 readonly asQueryResponse: {1961 readonly queryId: Compact<u64>;1962 readonly response: XcmV1Response;1963 } & Struct;1964 readonly isTransferAsset: boolean;1965 readonly asTransferAsset: {1966 readonly assets: XcmV1MultiassetMultiAssets;1967 readonly beneficiary: XcmV1MultiLocation;1968 } & Struct;1969 readonly isTransferReserveAsset: boolean;1970 readonly asTransferReserveAsset: {1971 readonly assets: XcmV1MultiassetMultiAssets;1972 readonly dest: XcmV1MultiLocation;1973 readonly effects: Vec<XcmV1Order>;1974 } & Struct;1975 readonly isTransact: boolean;1976 readonly asTransact: {1977 readonly originType: XcmV0OriginKind;1978 readonly requireWeightAtMost: u64;1979 readonly call: XcmDoubleEncoded;1980 } & Struct;1981 readonly isHrmpNewChannelOpenRequest: boolean;1982 readonly asHrmpNewChannelOpenRequest: {1983 readonly sender: Compact<u32>;1984 readonly maxMessageSize: Compact<u32>;1985 readonly maxCapacity: Compact<u32>;1986 } & Struct;1987 readonly isHrmpChannelAccepted: boolean;1988 readonly asHrmpChannelAccepted: {1989 readonly recipient: Compact<u32>;1990 } & Struct;1991 readonly isHrmpChannelClosing: boolean;1992 readonly asHrmpChannelClosing: {1993 readonly initiator: Compact<u32>;1994 readonly sender: Compact<u32>;1995 readonly recipient: Compact<u32>;1996 } & Struct;1997 readonly isRelayedFrom: boolean;1998 readonly asRelayedFrom: {1999 readonly who: XcmV1MultilocationJunctions;2000 readonly message: XcmV1Xcm;2001 } & Struct;2002 readonly isSubscribeVersion: boolean;2003 readonly asSubscribeVersion: {2004 readonly queryId: Compact<u64>;2005 readonly maxResponseWeight: Compact<u64>;2006 } & Struct;2007 readonly isUnsubscribeVersion: boolean;2008 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2009 }20102011 /** @name XcmV1Order (203) */2012 interface XcmV1Order extends Enum {2013 readonly isNoop: boolean;2014 readonly isDepositAsset: boolean;2015 readonly asDepositAsset: {2016 readonly assets: XcmV1MultiassetMultiAssetFilter;2017 readonly maxAssets: u32;2018 readonly beneficiary: XcmV1MultiLocation;2019 } & Struct;2020 readonly isDepositReserveAsset: boolean;2021 readonly asDepositReserveAsset: {2022 readonly assets: XcmV1MultiassetMultiAssetFilter;2023 readonly maxAssets: u32;2024 readonly dest: XcmV1MultiLocation;2025 readonly effects: Vec<XcmV1Order>;2026 } & Struct;2027 readonly isExchangeAsset: boolean;2028 readonly asExchangeAsset: {2029 readonly give: XcmV1MultiassetMultiAssetFilter;2030 readonly receive: XcmV1MultiassetMultiAssets;2031 } & Struct;2032 readonly isInitiateReserveWithdraw: boolean;2033 readonly asInitiateReserveWithdraw: {2034 readonly assets: XcmV1MultiassetMultiAssetFilter;2035 readonly reserve: XcmV1MultiLocation;2036 readonly effects: Vec<XcmV1Order>;2037 } & Struct;2038 readonly isInitiateTeleport: boolean;2039 readonly asInitiateTeleport: {2040 readonly assets: XcmV1MultiassetMultiAssetFilter;2041 readonly dest: XcmV1MultiLocation;2042 readonly effects: Vec<XcmV1Order>;2043 } & Struct;2044 readonly isQueryHolding: boolean;2045 readonly asQueryHolding: {2046 readonly queryId: Compact<u64>;2047 readonly dest: XcmV1MultiLocation;2048 readonly assets: XcmV1MultiassetMultiAssetFilter;2049 } & Struct;2050 readonly isBuyExecution: boolean;2051 readonly asBuyExecution: {2052 readonly fees: XcmV1MultiAsset;2053 readonly weight: u64;2054 readonly debt: u64;2055 readonly haltOnError: bool;2056 readonly instructions: Vec<XcmV1Xcm>;2057 } & Struct;2058 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2059 }20602061 /** @name XcmV1Response (205) */2062 interface XcmV1Response extends Enum {2063 readonly isAssets: boolean;2064 readonly asAssets: XcmV1MultiassetMultiAssets;2065 readonly isVersion: boolean;2066 readonly asVersion: u32;2067 readonly type: 'Assets' | 'Version';2068 }20692070 /** @name CumulusPalletXcmCall (219) */2071 type CumulusPalletXcmCall = Null;20722073 /** @name CumulusPalletDmpQueueCall (220) */2074 interface CumulusPalletDmpQueueCall extends Enum {2075 readonly isServiceOverweight: boolean;2076 readonly asServiceOverweight: {2077 readonly index: u64;2078 readonly weightLimit: u64;2079 } & Struct;2080 readonly type: 'ServiceOverweight';2081 }20822083 /** @name PalletInflationCall (221) */2084 interface PalletInflationCall extends Enum {2085 readonly isStartInflation: boolean;2086 readonly asStartInflation: {2087 readonly inflationStartRelayBlock: u32;2088 } & Struct;2089 readonly type: 'StartInflation';2090 }20912092 /** @name PalletUniqueCall (222) */2093 interface PalletUniqueCall extends Enum {2094 readonly isCreateCollection: boolean;2095 readonly asCreateCollection: {2096 readonly collectionName: Vec<u16>;2097 readonly collectionDescription: Vec<u16>;2098 readonly tokenPrefix: Bytes;2099 readonly mode: UpDataStructsCollectionMode;2100 } & Struct;2101 readonly isCreateCollectionEx: boolean;2102 readonly asCreateCollectionEx: {2103 readonly data: UpDataStructsCreateCollectionData;2104 } & Struct;2105 readonly isDestroyCollection: boolean;2106 readonly asDestroyCollection: {2107 readonly collectionId: u32;2108 } & Struct;2109 readonly isAddToAllowList: boolean;2110 readonly asAddToAllowList: {2111 readonly collectionId: u32;2112 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2113 } & Struct;2114 readonly isRemoveFromAllowList: boolean;2115 readonly asRemoveFromAllowList: {2116 readonly collectionId: u32;2117 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2118 } & Struct;2119 readonly isChangeCollectionOwner: boolean;2120 readonly asChangeCollectionOwner: {2121 readonly collectionId: u32;2122 readonly newOwner: AccountId32;2123 } & Struct;2124 readonly isAddCollectionAdmin: boolean;2125 readonly asAddCollectionAdmin: {2126 readonly collectionId: u32;2127 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2128 } & Struct;2129 readonly isRemoveCollectionAdmin: boolean;2130 readonly asRemoveCollectionAdmin: {2131 readonly collectionId: u32;2132 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2133 } & Struct;2134 readonly isSetCollectionSponsor: boolean;2135 readonly asSetCollectionSponsor: {2136 readonly collectionId: u32;2137 readonly newSponsor: AccountId32;2138 } & Struct;2139 readonly isConfirmSponsorship: boolean;2140 readonly asConfirmSponsorship: {2141 readonly collectionId: u32;2142 } & Struct;2143 readonly isRemoveCollectionSponsor: boolean;2144 readonly asRemoveCollectionSponsor: {2145 readonly collectionId: u32;2146 } & Struct;2147 readonly isCreateItem: boolean;2148 readonly asCreateItem: {2149 readonly collectionId: u32;2150 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2151 readonly data: UpDataStructsCreateItemData;2152 } & Struct;2153 readonly isCreateMultipleItems: boolean;2154 readonly asCreateMultipleItems: {2155 readonly collectionId: u32;2156 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2157 readonly itemsData: Vec<UpDataStructsCreateItemData>;2158 } & Struct;2159 readonly isSetCollectionProperties: boolean;2160 readonly asSetCollectionProperties: {2161 readonly collectionId: u32;2162 readonly properties: Vec<UpDataStructsProperty>;2163 } & Struct;2164 readonly isDeleteCollectionProperties: boolean;2165 readonly asDeleteCollectionProperties: {2166 readonly collectionId: u32;2167 readonly propertyKeys: Vec<Bytes>;2168 } & Struct;2169 readonly isSetTokenProperties: boolean;2170 readonly asSetTokenProperties: {2171 readonly collectionId: u32;2172 readonly tokenId: u32;2173 readonly properties: Vec<UpDataStructsProperty>;2174 } & Struct;2175 readonly isDeleteTokenProperties: boolean;2176 readonly asDeleteTokenProperties: {2177 readonly collectionId: u32;2178 readonly tokenId: u32;2179 readonly propertyKeys: Vec<Bytes>;2180 } & Struct;2181 readonly isSetTokenPropertyPermissions: boolean;2182 readonly asSetTokenPropertyPermissions: {2183 readonly collectionId: u32;2184 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2185 } & Struct;2186 readonly isCreateMultipleItemsEx: boolean;2187 readonly asCreateMultipleItemsEx: {2188 readonly collectionId: u32;2189 readonly data: UpDataStructsCreateItemExData;2190 } & Struct;2191 readonly isSetTransfersEnabledFlag: boolean;2192 readonly asSetTransfersEnabledFlag: {2193 readonly collectionId: u32;2194 readonly value: bool;2195 } & Struct;2196 readonly isBurnItem: boolean;2197 readonly asBurnItem: {2198 readonly collectionId: u32;2199 readonly itemId: u32;2200 readonly value: u128;2201 } & Struct;2202 readonly isBurnFrom: boolean;2203 readonly asBurnFrom: {2204 readonly collectionId: u32;2205 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2206 readonly itemId: u32;2207 readonly value: u128;2208 } & Struct;2209 readonly isTransfer: boolean;2210 readonly asTransfer: {2211 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly collectionId: u32;2213 readonly itemId: u32;2214 readonly value: u128;2215 } & Struct;2216 readonly isApprove: boolean;2217 readonly asApprove: {2218 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2219 readonly collectionId: u32;2220 readonly itemId: u32;2221 readonly amount: u128;2222 } & Struct;2223 readonly isTransferFrom: boolean;2224 readonly asTransferFrom: {2225 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2226 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2227 readonly collectionId: u32;2228 readonly itemId: u32;2229 readonly value: u128;2230 } & Struct;2231 readonly isSetCollectionLimits: boolean;2232 readonly asSetCollectionLimits: {2233 readonly collectionId: u32;2234 readonly newLimit: UpDataStructsCollectionLimits;2235 } & Struct;2236 readonly isSetCollectionPermissions: boolean;2237 readonly asSetCollectionPermissions: {2238 readonly collectionId: u32;2239 readonly newPermission: UpDataStructsCollectionPermissions;2240 } & Struct;2241 readonly isRepartition: boolean;2242 readonly asRepartition: {2243 readonly collectionId: u32;2244 readonly tokenId: u32;2245 readonly amount: u128;2246 } & Struct;2247 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';2248 }22492250 /** @name UpDataStructsCollectionMode (227) */2251 interface UpDataStructsCollectionMode extends Enum {2252 readonly isNft: boolean;2253 readonly isFungible: boolean;2254 readonly asFungible: u8;2255 readonly isReFungible: boolean;2256 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2257 }22582259 /** @name UpDataStructsCreateCollectionData (228) */2260 interface UpDataStructsCreateCollectionData extends Struct {2261 readonly mode: UpDataStructsCollectionMode;2262 readonly access: Option<UpDataStructsAccessMode>;2263 readonly name: Vec<u16>;2264 readonly description: Vec<u16>;2265 readonly tokenPrefix: Bytes;2266 readonly pendingSponsor: Option<AccountId32>;2267 readonly limits: Option<UpDataStructsCollectionLimits>;2268 readonly permissions: Option<UpDataStructsCollectionPermissions>;2269 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2270 readonly properties: Vec<UpDataStructsProperty>;2271 }22722273 /** @name UpDataStructsAccessMode (230) */2274 interface UpDataStructsAccessMode extends Enum {2275 readonly isNormal: boolean;2276 readonly isAllowList: boolean;2277 readonly type: 'Normal' | 'AllowList';2278 }22792280 /** @name UpDataStructsCollectionLimits (232) */2281 interface UpDataStructsCollectionLimits extends Struct {2282 readonly accountTokenOwnershipLimit: Option<u32>;2283 readonly sponsoredDataSize: Option<u32>;2284 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2285 readonly tokenLimit: Option<u32>;2286 readonly sponsorTransferTimeout: Option<u32>;2287 readonly sponsorApproveTimeout: Option<u32>;2288 readonly ownerCanTransfer: Option<bool>;2289 readonly ownerCanDestroy: Option<bool>;2290 readonly transfersEnabled: Option<bool>;2291 }22922293 /** @name UpDataStructsSponsoringRateLimit (234) */2294 interface UpDataStructsSponsoringRateLimit extends Enum {2295 readonly isSponsoringDisabled: boolean;2296 readonly isBlocks: boolean;2297 readonly asBlocks: u32;2298 readonly type: 'SponsoringDisabled' | 'Blocks';2299 }23002301 /** @name UpDataStructsCollectionPermissions (237) */2302 interface UpDataStructsCollectionPermissions extends Struct {2303 readonly access: Option<UpDataStructsAccessMode>;2304 readonly mintMode: Option<bool>;2305 readonly nesting: Option<UpDataStructsNestingPermissions>;2306 }23072308 /** @name UpDataStructsNestingPermissions (239) */2309 interface UpDataStructsNestingPermissions extends Struct {2310 readonly tokenOwner: bool;2311 readonly collectionAdmin: bool;2312 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2313 }23142315 /** @name UpDataStructsOwnerRestrictedSet (241) */2316 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}23172318 /** @name UpDataStructsPropertyKeyPermission (246) */2319 interface UpDataStructsPropertyKeyPermission extends Struct {2320 readonly key: Bytes;2321 readonly permission: UpDataStructsPropertyPermission;2322 }23232324 /** @name UpDataStructsPropertyPermission (247) */2325 interface UpDataStructsPropertyPermission extends Struct {2326 readonly mutable: bool;2327 readonly collectionAdmin: bool;2328 readonly tokenOwner: bool;2329 }23302331 /** @name UpDataStructsProperty (250) */2332 interface UpDataStructsProperty extends Struct {2333 readonly key: Bytes;2334 readonly value: Bytes;2335 }23362337 /** @name UpDataStructsCreateItemData (253) */2338 interface UpDataStructsCreateItemData extends Enum {2339 readonly isNft: boolean;2340 readonly asNft: UpDataStructsCreateNftData;2341 readonly isFungible: boolean;2342 readonly asFungible: UpDataStructsCreateFungibleData;2343 readonly isReFungible: boolean;2344 readonly asReFungible: UpDataStructsCreateReFungibleData;2345 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2346 }23472348 /** @name UpDataStructsCreateNftData (254) */2349 interface UpDataStructsCreateNftData extends Struct {2350 readonly properties: Vec<UpDataStructsProperty>;2351 }23522353 /** @name UpDataStructsCreateFungibleData (255) */2354 interface UpDataStructsCreateFungibleData extends Struct {2355 readonly value: u128;2356 }23572358 /** @name UpDataStructsCreateReFungibleData (256) */2359 interface UpDataStructsCreateReFungibleData extends Struct {2360 readonly pieces: u128;2361 readonly properties: Vec<UpDataStructsProperty>;2362 }23632364 /** @name UpDataStructsCreateItemExData (259) */2365 interface UpDataStructsCreateItemExData extends Enum {2366 readonly isNft: boolean;2367 readonly asNft: Vec<UpDataStructsCreateNftExData>;2368 readonly isFungible: boolean;2369 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2370 readonly isRefungibleMultipleItems: boolean;2371 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2372 readonly isRefungibleMultipleOwners: boolean;2373 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2374 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2375 }23762377 /** @name UpDataStructsCreateNftExData (261) */2378 interface UpDataStructsCreateNftExData extends Struct {2379 readonly properties: Vec<UpDataStructsProperty>;2380 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2381 }23822383 /** @name UpDataStructsCreateRefungibleExSingleOwner (268) */2384 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2385 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2386 readonly pieces: u128;2387 readonly properties: Vec<UpDataStructsProperty>;2388 }23892390 /** @name UpDataStructsCreateRefungibleExMultipleOwners (270) */2391 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2392 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2393 readonly properties: Vec<UpDataStructsProperty>;2394 }23952396 /** @name PalletUniqueSchedulerCall (271) */2397 interface PalletUniqueSchedulerCall extends Enum {2398 readonly isScheduleNamed: boolean;2399 readonly asScheduleNamed: {2400 readonly id: U8aFixed;2401 readonly when: u32;2402 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2403 readonly priority: u8;2404 readonly call: FrameSupportScheduleMaybeHashed;2405 } & Struct;2406 readonly isCancelNamed: boolean;2407 readonly asCancelNamed: {2408 readonly id: U8aFixed;2409 } & Struct;2410 readonly isScheduleNamedAfter: boolean;2411 readonly asScheduleNamedAfter: {2412 readonly id: U8aFixed;2413 readonly after: u32;2414 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2415 readonly priority: u8;2416 readonly call: FrameSupportScheduleMaybeHashed;2417 } & Struct;2418 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2419 }24202421 /** @name FrameSupportScheduleMaybeHashed (273) */2422 interface FrameSupportScheduleMaybeHashed extends Enum {2423 readonly isValue: boolean;2424 readonly asValue: Call;2425 readonly isHash: boolean;2426 readonly asHash: H256;2427 readonly type: 'Value' | 'Hash';2428 }24292430 /** @name PalletConfigurationCall (274) */2431 interface PalletConfigurationCall extends Enum {2432 readonly isSetWeightToFeeCoefficientOverride: boolean;2433 readonly asSetWeightToFeeCoefficientOverride: {2434 readonly coeff: Option<u32>;2435 } & Struct;2436 readonly isSetMinGasPriceOverride: boolean;2437 readonly asSetMinGasPriceOverride: {2438 readonly coeff: Option<u64>;2439 } & Struct;2440 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2441 }24422443 /** @name PalletTemplateTransactionPaymentCall (275) */2444 type PalletTemplateTransactionPaymentCall = Null;24452446 /** @name PalletStructureCall (276) */2447 type PalletStructureCall = Null;24482449 /** @name PalletRmrkCoreCall (277) */2450 interface PalletRmrkCoreCall extends Enum {2451 readonly isCreateCollection: boolean;2452 readonly asCreateCollection: {2453 readonly metadata: Bytes;2454 readonly max: Option<u32>;2455 readonly symbol: Bytes;2456 } & Struct;2457 readonly isDestroyCollection: boolean;2458 readonly asDestroyCollection: {2459 readonly collectionId: u32;2460 } & Struct;2461 readonly isChangeCollectionIssuer: boolean;2462 readonly asChangeCollectionIssuer: {2463 readonly collectionId: u32;2464 readonly newIssuer: MultiAddress;2465 } & Struct;2466 readonly isLockCollection: boolean;2467 readonly asLockCollection: {2468 readonly collectionId: u32;2469 } & Struct;2470 readonly isMintNft: boolean;2471 readonly asMintNft: {2472 readonly owner: Option<AccountId32>;2473 readonly collectionId: u32;2474 readonly recipient: Option<AccountId32>;2475 readonly royaltyAmount: Option<Permill>;2476 readonly metadata: Bytes;2477 readonly transferable: bool;2478 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2479 } & Struct;2480 readonly isBurnNft: boolean;2481 readonly asBurnNft: {2482 readonly collectionId: u32;2483 readonly nftId: u32;2484 readonly maxBurns: u32;2485 } & Struct;2486 readonly isSend: boolean;2487 readonly asSend: {2488 readonly rmrkCollectionId: u32;2489 readonly rmrkNftId: u32;2490 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2491 } & Struct;2492 readonly isAcceptNft: boolean;2493 readonly asAcceptNft: {2494 readonly rmrkCollectionId: u32;2495 readonly rmrkNftId: u32;2496 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2497 } & Struct;2498 readonly isRejectNft: boolean;2499 readonly asRejectNft: {2500 readonly rmrkCollectionId: u32;2501 readonly rmrkNftId: u32;2502 } & Struct;2503 readonly isAcceptResource: boolean;2504 readonly asAcceptResource: {2505 readonly rmrkCollectionId: u32;2506 readonly rmrkNftId: u32;2507 readonly resourceId: u32;2508 } & Struct;2509 readonly isAcceptResourceRemoval: boolean;2510 readonly asAcceptResourceRemoval: {2511 readonly rmrkCollectionId: u32;2512 readonly rmrkNftId: u32;2513 readonly resourceId: u32;2514 } & Struct;2515 readonly isSetProperty: boolean;2516 readonly asSetProperty: {2517 readonly rmrkCollectionId: Compact<u32>;2518 readonly maybeNftId: Option<u32>;2519 readonly key: Bytes;2520 readonly value: Bytes;2521 } & Struct;2522 readonly isSetPriority: boolean;2523 readonly asSetPriority: {2524 readonly rmrkCollectionId: u32;2525 readonly rmrkNftId: u32;2526 readonly priorities: Vec<u32>;2527 } & Struct;2528 readonly isAddBasicResource: boolean;2529 readonly asAddBasicResource: {2530 readonly rmrkCollectionId: u32;2531 readonly nftId: u32;2532 readonly resource: RmrkTraitsResourceBasicResource;2533 } & Struct;2534 readonly isAddComposableResource: boolean;2535 readonly asAddComposableResource: {2536 readonly rmrkCollectionId: u32;2537 readonly nftId: u32;2538 readonly resource: RmrkTraitsResourceComposableResource;2539 } & Struct;2540 readonly isAddSlotResource: boolean;2541 readonly asAddSlotResource: {2542 readonly rmrkCollectionId: u32;2543 readonly nftId: u32;2544 readonly resource: RmrkTraitsResourceSlotResource;2545 } & Struct;2546 readonly isRemoveResource: boolean;2547 readonly asRemoveResource: {2548 readonly rmrkCollectionId: u32;2549 readonly nftId: u32;2550 readonly resourceId: u32;2551 } & Struct;2552 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2553 }25542555 /** @name RmrkTraitsResourceResourceTypes (283) */2556 interface RmrkTraitsResourceResourceTypes extends Enum {2557 readonly isBasic: boolean;2558 readonly asBasic: RmrkTraitsResourceBasicResource;2559 readonly isComposable: boolean;2560 readonly asComposable: RmrkTraitsResourceComposableResource;2561 readonly isSlot: boolean;2562 readonly asSlot: RmrkTraitsResourceSlotResource;2563 readonly type: 'Basic' | 'Composable' | 'Slot';2564 }25652566 /** @name RmrkTraitsResourceBasicResource (285) */2567 interface RmrkTraitsResourceBasicResource extends Struct {2568 readonly src: Option<Bytes>;2569 readonly metadata: Option<Bytes>;2570 readonly license: Option<Bytes>;2571 readonly thumb: Option<Bytes>;2572 }25732574 /** @name RmrkTraitsResourceComposableResource (287) */2575 interface RmrkTraitsResourceComposableResource extends Struct {2576 readonly parts: Vec<u32>;2577 readonly base: u32;2578 readonly src: Option<Bytes>;2579 readonly metadata: Option<Bytes>;2580 readonly license: Option<Bytes>;2581 readonly thumb: Option<Bytes>;2582 }25832584 /** @name RmrkTraitsResourceSlotResource (288) */2585 interface RmrkTraitsResourceSlotResource extends Struct {2586 readonly base: u32;2587 readonly src: Option<Bytes>;2588 readonly metadata: Option<Bytes>;2589 readonly slot: u32;2590 readonly license: Option<Bytes>;2591 readonly thumb: Option<Bytes>;2592 }25932594 /** @name PalletRmrkEquipCall (291) */2595 interface PalletRmrkEquipCall extends Enum {2596 readonly isCreateBase: boolean;2597 readonly asCreateBase: {2598 readonly baseType: Bytes;2599 readonly symbol: Bytes;2600 readonly parts: Vec<RmrkTraitsPartPartType>;2601 } & Struct;2602 readonly isThemeAdd: boolean;2603 readonly asThemeAdd: {2604 readonly baseId: u32;2605 readonly theme: RmrkTraitsTheme;2606 } & Struct;2607 readonly isEquippable: boolean;2608 readonly asEquippable: {2609 readonly baseId: u32;2610 readonly slotId: u32;2611 readonly equippables: RmrkTraitsPartEquippableList;2612 } & Struct;2613 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2614 }26152616 /** @name RmrkTraitsPartPartType (294) */2617 interface RmrkTraitsPartPartType extends Enum {2618 readonly isFixedPart: boolean;2619 readonly asFixedPart: RmrkTraitsPartFixedPart;2620 readonly isSlotPart: boolean;2621 readonly asSlotPart: RmrkTraitsPartSlotPart;2622 readonly type: 'FixedPart' | 'SlotPart';2623 }26242625 /** @name RmrkTraitsPartFixedPart (296) */2626 interface RmrkTraitsPartFixedPart extends Struct {2627 readonly id: u32;2628 readonly z: u32;2629 readonly src: Bytes;2630 }26312632 /** @name RmrkTraitsPartSlotPart (297) */2633 interface RmrkTraitsPartSlotPart extends Struct {2634 readonly id: u32;2635 readonly equippable: RmrkTraitsPartEquippableList;2636 readonly src: Bytes;2637 readonly z: u32;2638 }26392640 /** @name RmrkTraitsPartEquippableList (298) */2641 interface RmrkTraitsPartEquippableList extends Enum {2642 readonly isAll: boolean;2643 readonly isEmpty: boolean;2644 readonly isCustom: boolean;2645 readonly asCustom: Vec<u32>;2646 readonly type: 'All' | 'Empty' | 'Custom';2647 }26482649 /** @name RmrkTraitsTheme (300) */2650 interface RmrkTraitsTheme extends Struct {2651 readonly name: Bytes;2652 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2653 readonly inherit: bool;2654 }26552656 /** @name RmrkTraitsThemeThemeProperty (302) */2657 interface RmrkTraitsThemeThemeProperty extends Struct {2658 readonly key: Bytes;2659 readonly value: Bytes;2660 }26612662 /** @name PalletAppPromotionCall (304) */2663 interface PalletAppPromotionCall extends Enum {2664 readonly isSetAdminAddress: boolean;2665 readonly asSetAdminAddress: {2666 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2667 } & Struct;2668 readonly isStartAppPromotion: boolean;2669 readonly asStartAppPromotion: {2670 readonly promotionStartRelayBlock: Option<u32>;2671 } & Struct;2672 readonly isStake: boolean;2673 readonly asStake: {2674 readonly amount: u128;2675 } & Struct;2676 readonly isUnstake: boolean;2677 readonly asUnstake: {2678 readonly amount: u128;2679 } & Struct;2680 readonly isSponsorCollection: boolean;2681 readonly asSponsorCollection: {2682 readonly collectionId: u32;2683 } & Struct;2684 readonly isStopSponsorignCollection: boolean;2685 readonly asStopSponsorignCollection: {2686 readonly collectionId: u32;2687 } & Struct;2688 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';2689 }26902691 /** @name PalletEvmCall (305) */2692 interface PalletEvmCall extends Enum {2693 readonly isWithdraw: boolean;2694 readonly asWithdraw: {2695 readonly address: H160;2696 readonly value: u128;2697 } & Struct;2698 readonly isCall: boolean;2699 readonly asCall: {2700 readonly source: H160;2701 readonly target: H160;2702 readonly input: Bytes;2703 readonly value: U256;2704 readonly gasLimit: u64;2705 readonly maxFeePerGas: U256;2706 readonly maxPriorityFeePerGas: Option<U256>;2707 readonly nonce: Option<U256>;2708 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2709 } & Struct;2710 readonly isCreate: boolean;2711 readonly asCreate: {2712 readonly source: H160;2713 readonly init: Bytes;2714 readonly value: U256;2715 readonly gasLimit: u64;2716 readonly maxFeePerGas: U256;2717 readonly maxPriorityFeePerGas: Option<U256>;2718 readonly nonce: Option<U256>;2719 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2720 } & Struct;2721 readonly isCreate2: boolean;2722 readonly asCreate2: {2723 readonly source: H160;2724 readonly init: Bytes;2725 readonly salt: H256;2726 readonly value: U256;2727 readonly gasLimit: u64;2728 readonly maxFeePerGas: U256;2729 readonly maxPriorityFeePerGas: Option<U256>;2730 readonly nonce: Option<U256>;2731 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2732 } & Struct;2733 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2734 }27352736 /** @name PalletEthereumCall (309) */2737 interface PalletEthereumCall extends Enum {2738 readonly isTransact: boolean;2739 readonly asTransact: {2740 readonly transaction: EthereumTransactionTransactionV2;2741 } & Struct;2742 readonly type: 'Transact';2743 }27442745 /** @name EthereumTransactionTransactionV2 (310) */2746 interface EthereumTransactionTransactionV2 extends Enum {2747 readonly isLegacy: boolean;2748 readonly asLegacy: EthereumTransactionLegacyTransaction;2749 readonly isEip2930: boolean;2750 readonly asEip2930: EthereumTransactionEip2930Transaction;2751 readonly isEip1559: boolean;2752 readonly asEip1559: EthereumTransactionEip1559Transaction;2753 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2754 }27552756 /** @name EthereumTransactionLegacyTransaction (311) */2757 interface EthereumTransactionLegacyTransaction extends Struct {2758 readonly nonce: U256;2759 readonly gasPrice: U256;2760 readonly gasLimit: U256;2761 readonly action: EthereumTransactionTransactionAction;2762 readonly value: U256;2763 readonly input: Bytes;2764 readonly signature: EthereumTransactionTransactionSignature;2765 }27662767 /** @name EthereumTransactionTransactionAction (312) */2768 interface EthereumTransactionTransactionAction extends Enum {2769 readonly isCall: boolean;2770 readonly asCall: H160;2771 readonly isCreate: boolean;2772 readonly type: 'Call' | 'Create';2773 }27742775 /** @name EthereumTransactionTransactionSignature (313) */2776 interface EthereumTransactionTransactionSignature extends Struct {2777 readonly v: u64;2778 readonly r: H256;2779 readonly s: H256;2780 }27812782 /** @name EthereumTransactionEip2930Transaction (315) */2783 interface EthereumTransactionEip2930Transaction extends Struct {2784 readonly chainId: u64;2785 readonly nonce: U256;2786 readonly gasPrice: U256;2787 readonly gasLimit: U256;2788 readonly action: EthereumTransactionTransactionAction;2789 readonly value: U256;2790 readonly input: Bytes;2791 readonly accessList: Vec<EthereumTransactionAccessListItem>;2792 readonly oddYParity: bool;2793 readonly r: H256;2794 readonly s: H256;2795 }27962797 /** @name EthereumTransactionAccessListItem (317) */2798 interface EthereumTransactionAccessListItem extends Struct {2799 readonly address: H160;2800 readonly storageKeys: Vec<H256>;2801 }28022803 /** @name EthereumTransactionEip1559Transaction (318) */2804 interface EthereumTransactionEip1559Transaction extends Struct {2805 readonly chainId: u64;2806 readonly nonce: U256;2807 readonly maxPriorityFeePerGas: U256;2808 readonly maxFeePerGas: U256;2809 readonly gasLimit: U256;2810 readonly action: EthereumTransactionTransactionAction;2811 readonly value: U256;2812 readonly input: Bytes;2813 readonly accessList: Vec<EthereumTransactionAccessListItem>;2814 readonly oddYParity: bool;2815 readonly r: H256;2816 readonly s: H256;2817 }28182819 /** @name PalletEvmMigrationCall (319) */2820 interface PalletEvmMigrationCall extends Enum {2821 readonly isBegin: boolean;2822 readonly asBegin: {2823 readonly address: H160;2824 } & Struct;2825 readonly isSetData: boolean;2826 readonly asSetData: {2827 readonly address: H160;2828 readonly data: Vec<ITuple<[H256, H256]>>;2829 } & Struct;2830 readonly isFinish: boolean;2831 readonly asFinish: {2832 readonly address: H160;2833 readonly code: Bytes;2834 } & Struct;2835 readonly type: 'Begin' | 'SetData' | 'Finish';2836 }28372838 /** @name PalletSudoError (322) */2839 interface PalletSudoError extends Enum {2840 readonly isRequireSudo: boolean;2841 readonly type: 'RequireSudo';2842 }28432844 /** @name OrmlVestingModuleError (324) */2845 interface OrmlVestingModuleError extends Enum {2846 readonly isZeroVestingPeriod: boolean;2847 readonly isZeroVestingPeriodCount: boolean;2848 readonly isInsufficientBalanceToLock: boolean;2849 readonly isTooManyVestingSchedules: boolean;2850 readonly isAmountLow: boolean;2851 readonly isMaxVestingSchedulesExceeded: boolean;2852 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2853 }28542855 /** @name CumulusPalletXcmpQueueInboundChannelDetails (326) */2856 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2857 readonly sender: u32;2858 readonly state: CumulusPalletXcmpQueueInboundState;2859 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2860 }28612862 /** @name CumulusPalletXcmpQueueInboundState (327) */2863 interface CumulusPalletXcmpQueueInboundState extends Enum {2864 readonly isOk: boolean;2865 readonly isSuspended: boolean;2866 readonly type: 'Ok' | 'Suspended';2867 }28682869 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (330) */2870 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2871 readonly isConcatenatedVersionedXcm: boolean;2872 readonly isConcatenatedEncodedBlob: boolean;2873 readonly isSignals: boolean;2874 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2875 }28762877 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (333) */2878 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2879 readonly recipient: u32;2880 readonly state: CumulusPalletXcmpQueueOutboundState;2881 readonly signalsExist: bool;2882 readonly firstIndex: u16;2883 readonly lastIndex: u16;2884 }28852886 /** @name CumulusPalletXcmpQueueOutboundState (334) */2887 interface CumulusPalletXcmpQueueOutboundState extends Enum {2888 readonly isOk: boolean;2889 readonly isSuspended: boolean;2890 readonly type: 'Ok' | 'Suspended';2891 }28922893 /** @name CumulusPalletXcmpQueueQueueConfigData (336) */2894 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2895 readonly suspendThreshold: u32;2896 readonly dropThreshold: u32;2897 readonly resumeThreshold: u32;2898 readonly thresholdWeight: u64;2899 readonly weightRestrictDecay: u64;2900 readonly xcmpMaxIndividualWeight: u64;2901 }29022903 /** @name CumulusPalletXcmpQueueError (338) */2904 interface CumulusPalletXcmpQueueError extends Enum {2905 readonly isFailedToSend: boolean;2906 readonly isBadXcmOrigin: boolean;2907 readonly isBadXcm: boolean;2908 readonly isBadOverweightIndex: boolean;2909 readonly isWeightOverLimit: boolean;2910 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2911 }29122913 /** @name PalletXcmError (339) */2914 interface PalletXcmError extends Enum {2915 readonly isUnreachable: boolean;2916 readonly isSendFailure: boolean;2917 readonly isFiltered: boolean;2918 readonly isUnweighableMessage: boolean;2919 readonly isDestinationNotInvertible: boolean;2920 readonly isEmpty: boolean;2921 readonly isCannotReanchor: boolean;2922 readonly isTooManyAssets: boolean;2923 readonly isInvalidOrigin: boolean;2924 readonly isBadVersion: boolean;2925 readonly isBadLocation: boolean;2926 readonly isNoSubscription: boolean;2927 readonly isAlreadySubscribed: boolean;2928 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2929 }29302931 /** @name CumulusPalletXcmError (340) */2932 type CumulusPalletXcmError = Null;29332934 /** @name CumulusPalletDmpQueueConfigData (341) */2935 interface CumulusPalletDmpQueueConfigData extends Struct {2936 readonly maxIndividual: u64;2937 }29382939 /** @name CumulusPalletDmpQueuePageIndexData (342) */2940 interface CumulusPalletDmpQueuePageIndexData extends Struct {2941 readonly beginUsed: u32;2942 readonly endUsed: u32;2943 readonly overweightCount: u64;2944 }29452946 /** @name CumulusPalletDmpQueueError (345) */2947 interface CumulusPalletDmpQueueError extends Enum {2948 readonly isUnknown: boolean;2949 readonly isOverLimit: boolean;2950 readonly type: 'Unknown' | 'OverLimit';2951 }29522953 /** @name PalletUniqueError (349) */2954 interface PalletUniqueError extends Enum {2955 readonly isCollectionDecimalPointLimitExceeded: boolean;2956 readonly isConfirmUnsetSponsorFail: boolean;2957 readonly isEmptyArgument: boolean;2958 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2959 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2960 }29612962 /** @name PalletUniqueSchedulerScheduledV3 (352) */2963 interface PalletUniqueSchedulerScheduledV3 extends Struct {2964 readonly maybeId: Option<U8aFixed>;2965 readonly priority: u8;2966 readonly call: FrameSupportScheduleMaybeHashed;2967 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2968 readonly origin: OpalRuntimeOriginCaller;2969 }29702971 /** @name OpalRuntimeOriginCaller (353) */2972 interface OpalRuntimeOriginCaller extends Enum {2973 readonly isSystem: boolean;2974 readonly asSystem: FrameSupportDispatchRawOrigin;2975 readonly isVoid: boolean;2976 readonly isPolkadotXcm: boolean;2977 readonly asPolkadotXcm: PalletXcmOrigin;2978 readonly isCumulusXcm: boolean;2979 readonly asCumulusXcm: CumulusPalletXcmOrigin;2980 readonly isEthereum: boolean;2981 readonly asEthereum: PalletEthereumRawOrigin;2982 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2983 }29842985 /** @name FrameSupportDispatchRawOrigin (354) */2986 interface FrameSupportDispatchRawOrigin extends Enum {2987 readonly isRoot: boolean;2988 readonly isSigned: boolean;2989 readonly asSigned: AccountId32;2990 readonly isNone: boolean;2991 readonly type: 'Root' | 'Signed' | 'None';2992 }29932994 /** @name PalletXcmOrigin (355) */2995 interface PalletXcmOrigin extends Enum {2996 readonly isXcm: boolean;2997 readonly asXcm: XcmV1MultiLocation;2998 readonly isResponse: boolean;2999 readonly asResponse: XcmV1MultiLocation;3000 readonly type: 'Xcm' | 'Response';3001 }30023003 /** @name CumulusPalletXcmOrigin (356) */3004 interface CumulusPalletXcmOrigin extends Enum {3005 readonly isRelay: boolean;3006 readonly isSiblingParachain: boolean;3007 readonly asSiblingParachain: u32;3008 readonly type: 'Relay' | 'SiblingParachain';3009 }30103011 /** @name PalletEthereumRawOrigin (357) */3012 interface PalletEthereumRawOrigin extends Enum {3013 readonly isEthereumTransaction: boolean;3014 readonly asEthereumTransaction: H160;3015 readonly type: 'EthereumTransaction';3016 }30173018 /** @name SpCoreVoid (358) */3019 type SpCoreVoid = Null;30203021 /** @name PalletUniqueSchedulerError (359) */3022 interface PalletUniqueSchedulerError extends Enum {3023 readonly isFailedToSchedule: boolean;3024 readonly isNotFound: boolean;3025 readonly isTargetBlockNumberInPast: boolean;3026 readonly isRescheduleNoChange: boolean;3027 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3028 }30293030 /** @name UpDataStructsCollection (360) */3031 interface UpDataStructsCollection extends Struct {3032 readonly owner: AccountId32;3033 readonly mode: UpDataStructsCollectionMode;3034 readonly name: Vec<u16>;3035 readonly description: Vec<u16>;3036 readonly tokenPrefix: Bytes;3037 readonly sponsorship: UpDataStructsSponsorshipState;3038 readonly limits: UpDataStructsCollectionLimits;3039 readonly permissions: UpDataStructsCollectionPermissions;3040 readonly externalCollection: bool;3041 }30423043 /** @name UpDataStructsSponsorshipState (361) */3044 interface UpDataStructsSponsorshipState extends Enum {3045 readonly isDisabled: boolean;3046 readonly isUnconfirmed: boolean;3047 readonly asUnconfirmed: AccountId32;3048 readonly isConfirmed: boolean;3049 readonly asConfirmed: AccountId32;3050 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3051 }30523053 /** @name UpDataStructsProperties (362) */3054 interface UpDataStructsProperties extends Struct {3055 readonly map: UpDataStructsPropertiesMapBoundedVec;3056 readonly consumedSpace: u32;3057 readonly spaceLimit: u32;3058 }30593060 /** @name UpDataStructsPropertiesMapBoundedVec (363) */3061 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30623063 /** @name UpDataStructsPropertiesMapPropertyPermission (368) */3064 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30653066 /** @name UpDataStructsCollectionStats (375) */3067 interface UpDataStructsCollectionStats extends Struct {3068 readonly created: u32;3069 readonly destroyed: u32;3070 readonly alive: u32;3071 }30723073 /** @name UpDataStructsTokenChild (376) */3074 interface UpDataStructsTokenChild extends Struct {3075 readonly token: u32;3076 readonly collection: u32;3077 }30783079 /** @name PhantomTypeUpDataStructs (377) */3080 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}30813082 /** @name UpDataStructsTokenData (379) */3083 interface UpDataStructsTokenData extends Struct {3084 readonly properties: Vec<UpDataStructsProperty>;3085 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3086 readonly pieces: u128;3087 }30883089 /** @name UpDataStructsRpcCollection (381) */3090 interface UpDataStructsRpcCollection extends Struct {3091 readonly owner: AccountId32;3092 readonly mode: UpDataStructsCollectionMode;3093 readonly name: Vec<u16>;3094 readonly description: Vec<u16>;3095 readonly tokenPrefix: Bytes;3096 readonly sponsorship: UpDataStructsSponsorshipState;3097 readonly limits: UpDataStructsCollectionLimits;3098 readonly permissions: UpDataStructsCollectionPermissions;3099 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3100 readonly properties: Vec<UpDataStructsProperty>;3101 readonly readOnly: bool;3102 }31033104 /** @name RmrkTraitsCollectionCollectionInfo (382) */3105 interface RmrkTraitsCollectionCollectionInfo extends Struct {3106 readonly issuer: AccountId32;3107 readonly metadata: Bytes;3108 readonly max: Option<u32>;3109 readonly symbol: Bytes;3110 readonly nftsCount: u32;3111 }31123113 /** @name RmrkTraitsNftNftInfo (383) */3114 interface RmrkTraitsNftNftInfo extends Struct {3115 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3116 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3117 readonly metadata: Bytes;3118 readonly equipped: bool;3119 readonly pending: bool;3120 }31213122 /** @name RmrkTraitsNftRoyaltyInfo (385) */3123 interface RmrkTraitsNftRoyaltyInfo extends Struct {3124 readonly recipient: AccountId32;3125 readonly amount: Permill;3126 }31273128 /** @name RmrkTraitsResourceResourceInfo (386) */3129 interface RmrkTraitsResourceResourceInfo extends Struct {3130 readonly id: u32;3131 readonly resource: RmrkTraitsResourceResourceTypes;3132 readonly pending: bool;3133 readonly pendingRemoval: bool;3134 }31353136 /** @name RmrkTraitsPropertyPropertyInfo (387) */3137 interface RmrkTraitsPropertyPropertyInfo extends Struct {3138 readonly key: Bytes;3139 readonly value: Bytes;3140 }31413142 /** @name RmrkTraitsBaseBaseInfo (388) */3143 interface RmrkTraitsBaseBaseInfo extends Struct {3144 readonly issuer: AccountId32;3145 readonly baseType: Bytes;3146 readonly symbol: Bytes;3147 }31483149 /** @name RmrkTraitsNftNftChild (389) */3150 interface RmrkTraitsNftNftChild extends Struct {3151 readonly collectionId: u32;3152 readonly nftId: u32;3153 }31543155 /** @name PalletCommonError (391) */3156 interface PalletCommonError extends Enum {3157 readonly isCollectionNotFound: boolean;3158 readonly isMustBeTokenOwner: boolean;3159 readonly isNoPermission: boolean;3160 readonly isCantDestroyNotEmptyCollection: boolean;3161 readonly isPublicMintingNotAllowed: boolean;3162 readonly isAddressNotInAllowlist: boolean;3163 readonly isCollectionNameLimitExceeded: boolean;3164 readonly isCollectionDescriptionLimitExceeded: boolean;3165 readonly isCollectionTokenPrefixLimitExceeded: boolean;3166 readonly isTotalCollectionsLimitExceeded: boolean;3167 readonly isCollectionAdminCountExceeded: boolean;3168 readonly isCollectionLimitBoundsExceeded: boolean;3169 readonly isOwnerPermissionsCantBeReverted: boolean;3170 readonly isTransferNotAllowed: boolean;3171 readonly isAccountTokenLimitExceeded: boolean;3172 readonly isCollectionTokenLimitExceeded: boolean;3173 readonly isMetadataFlagFrozen: boolean;3174 readonly isTokenNotFound: boolean;3175 readonly isTokenValueTooLow: boolean;3176 readonly isApprovedValueTooLow: boolean;3177 readonly isCantApproveMoreThanOwned: boolean;3178 readonly isAddressIsZero: boolean;3179 readonly isUnsupportedOperation: boolean;3180 readonly isNotSufficientFounds: boolean;3181 readonly isUserIsNotAllowedToNest: boolean;3182 readonly isSourceCollectionIsNotAllowedToNest: boolean;3183 readonly isCollectionFieldSizeExceeded: boolean;3184 readonly isNoSpaceForProperty: boolean;3185 readonly isPropertyLimitReached: boolean;3186 readonly isPropertyKeyIsTooLong: boolean;3187 readonly isInvalidCharacterInPropertyKey: boolean;3188 readonly isEmptyPropertyKey: boolean;3189 readonly isCollectionIsExternal: boolean;3190 readonly isCollectionIsInternal: boolean;3191 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';3192 }31933194 /** @name PalletFungibleError (393) */3195 interface PalletFungibleError extends Enum {3196 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3197 readonly isFungibleItemsHaveNoId: boolean;3198 readonly isFungibleItemsDontHaveData: boolean;3199 readonly isFungibleDisallowsNesting: boolean;3200 readonly isSettingPropertiesNotAllowed: boolean;3201 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3202 }32033204 /** @name PalletRefungibleItemData (394) */3205 interface PalletRefungibleItemData extends Struct {3206 readonly constData: Bytes;3207 }32083209 /** @name PalletRefungibleError (399) */3210 interface PalletRefungibleError extends Enum {3211 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3212 readonly isWrongRefungiblePieces: boolean;3213 readonly isRepartitionWhileNotOwningAllPieces: boolean;3214 readonly isRefungibleDisallowsNesting: boolean;3215 readonly isSettingPropertiesNotAllowed: boolean;3216 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3217 }32183219 /** @name PalletNonfungibleItemData (400) */3220 interface PalletNonfungibleItemData extends Struct {3221 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3222 }32233224 /** @name UpDataStructsPropertyScope (402) */3225 interface UpDataStructsPropertyScope extends Enum {3226 readonly isNone: boolean;3227 readonly isRmrk: boolean;3228 readonly isEth: boolean;3229 readonly type: 'None' | 'Rmrk' | 'Eth';3230 }32313232 /** @name PalletNonfungibleError (404) */3233 interface PalletNonfungibleError extends Enum {3234 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3235 readonly isNonfungibleItemsHaveNoAmount: boolean;3236 readonly isCantBurnNftWithChildren: boolean;3237 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3238 }32393240 /** @name PalletStructureError (405) */3241 interface PalletStructureError extends Enum {3242 readonly isOuroborosDetected: boolean;3243 readonly isDepthLimit: boolean;3244 readonly isBreadthLimit: boolean;3245 readonly isTokenNotFound: boolean;3246 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3247 }32483249 /** @name PalletRmrkCoreError (406) */3250 interface PalletRmrkCoreError extends Enum {3251 readonly isCorruptedCollectionType: boolean;3252 readonly isRmrkPropertyKeyIsTooLong: boolean;3253 readonly isRmrkPropertyValueIsTooLong: boolean;3254 readonly isRmrkPropertyIsNotFound: boolean;3255 readonly isUnableToDecodeRmrkData: boolean;3256 readonly isCollectionNotEmpty: boolean;3257 readonly isNoAvailableCollectionId: boolean;3258 readonly isNoAvailableNftId: boolean;3259 readonly isCollectionUnknown: boolean;3260 readonly isNoPermission: boolean;3261 readonly isNonTransferable: boolean;3262 readonly isCollectionFullOrLocked: boolean;3263 readonly isResourceDoesntExist: boolean;3264 readonly isCannotSendToDescendentOrSelf: boolean;3265 readonly isCannotAcceptNonOwnedNft: boolean;3266 readonly isCannotRejectNonOwnedNft: boolean;3267 readonly isCannotRejectNonPendingNft: boolean;3268 readonly isResourceNotPending: boolean;3269 readonly isNoAvailableResourceId: boolean;3270 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3271 }32723273 /** @name PalletRmrkEquipError (408) */3274 interface PalletRmrkEquipError extends Enum {3275 readonly isPermissionError: boolean;3276 readonly isNoAvailableBaseId: boolean;3277 readonly isNoAvailablePartId: boolean;3278 readonly isBaseDoesntExist: boolean;3279 readonly isNeedsDefaultThemeFirst: boolean;3280 readonly isPartDoesntExist: boolean;3281 readonly isNoEquippableOnFixedPart: boolean;3282 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3283 }32843285 /** @name PalletAppPromotionError (410) */3286 interface PalletAppPromotionError extends Enum {3287 readonly isAdminNotSet: boolean;3288 readonly isNoPermission: boolean;3289 readonly isNotSufficientFounds: boolean;3290 readonly isInvalidArgument: boolean;3291 readonly isAlreadySponsored: boolean;3292 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';3293 }32943295 /** @name PalletEvmError (413) */3296 interface PalletEvmError extends Enum {3297 readonly isBalanceLow: boolean;3298 readonly isFeeOverflow: boolean;3299 readonly isPaymentOverflow: boolean;3300 readonly isWithdrawFailed: boolean;3301 readonly isGasPriceTooLow: boolean;3302 readonly isInvalidNonce: boolean;3303 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3304 }33053306 /** @name FpRpcTransactionStatus (416) */3307 interface FpRpcTransactionStatus extends Struct {3308 readonly transactionHash: H256;3309 readonly transactionIndex: u32;3310 readonly from: H160;3311 readonly to: Option<H160>;3312 readonly contractAddress: Option<H160>;3313 readonly logs: Vec<EthereumLog>;3314 readonly logsBloom: EthbloomBloom;3315 }33163317 /** @name EthbloomBloom (418) */3318 interface EthbloomBloom extends U8aFixed {}33193320 /** @name EthereumReceiptReceiptV3 (420) */3321 interface EthereumReceiptReceiptV3 extends Enum {3322 readonly isLegacy: boolean;3323 readonly asLegacy: EthereumReceiptEip658ReceiptData;3324 readonly isEip2930: boolean;3325 readonly asEip2930: EthereumReceiptEip658ReceiptData;3326 readonly isEip1559: boolean;3327 readonly asEip1559: EthereumReceiptEip658ReceiptData;3328 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3329 }33303331 /** @name EthereumReceiptEip658ReceiptData (421) */3332 interface EthereumReceiptEip658ReceiptData extends Struct {3333 readonly statusCode: u8;3334 readonly usedGas: U256;3335 readonly logsBloom: EthbloomBloom;3336 readonly logs: Vec<EthereumLog>;3337 }33383339 /** @name EthereumBlock (422) */3340 interface EthereumBlock extends Struct {3341 readonly header: EthereumHeader;3342 readonly transactions: Vec<EthereumTransactionTransactionV2>;3343 readonly ommers: Vec<EthereumHeader>;3344 }33453346 /** @name EthereumHeader (423) */3347 interface EthereumHeader extends Struct {3348 readonly parentHash: H256;3349 readonly ommersHash: H256;3350 readonly beneficiary: H160;3351 readonly stateRoot: H256;3352 readonly transactionsRoot: H256;3353 readonly receiptsRoot: H256;3354 readonly logsBloom: EthbloomBloom;3355 readonly difficulty: U256;3356 readonly number: U256;3357 readonly gasLimit: U256;3358 readonly gasUsed: U256;3359 readonly timestamp: u64;3360 readonly extraData: Bytes;3361 readonly mixHash: H256;3362 readonly nonce: EthereumTypesHashH64;3363 }33643365 /** @name EthereumTypesHashH64 (424) */3366 interface EthereumTypesHashH64 extends U8aFixed {}33673368 /** @name PalletEthereumError (429) */3369 interface PalletEthereumError extends Enum {3370 readonly isInvalidSignature: boolean;3371 readonly isPreLogExists: boolean;3372 readonly type: 'InvalidSignature' | 'PreLogExists';3373 }33743375 /** @name PalletEvmCoderSubstrateError (430) */3376 interface PalletEvmCoderSubstrateError extends Enum {3377 readonly isOutOfGas: boolean;3378 readonly isOutOfFund: boolean;3379 readonly type: 'OutOfGas' | 'OutOfFund';3380 }33813382 /** @name PalletEvmContractHelpersSponsoringModeT (431) */3383 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3384 readonly isDisabled: boolean;3385 readonly isAllowlisted: boolean;3386 readonly isGenerous: boolean;3387 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3388 }33893390 /** @name PalletEvmContractHelpersError (433) */3391 interface PalletEvmContractHelpersError extends Enum {3392 readonly isNoPermission: boolean;3393 readonly type: 'NoPermission';3394 }33953396 /** @name PalletEvmMigrationError (434) */3397 interface PalletEvmMigrationError extends Enum {3398 readonly isAccountNotEmpty: boolean;3399 readonly isAccountIsNotMigrating: boolean;3400 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3401 }34023403 /** @name SpRuntimeMultiSignature (436) */3404 interface SpRuntimeMultiSignature extends Enum {3405 readonly isEd25519: boolean;3406 readonly asEd25519: SpCoreEd25519Signature;3407 readonly isSr25519: boolean;3408 readonly asSr25519: SpCoreSr25519Signature;3409 readonly isEcdsa: boolean;3410 readonly asEcdsa: SpCoreEcdsaSignature;3411 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3412 }34133414 /** @name SpCoreEd25519Signature (437) */3415 interface SpCoreEd25519Signature extends U8aFixed {}34163417 /** @name SpCoreSr25519Signature (439) */3418 interface SpCoreSr25519Signature extends U8aFixed {}34193420 /** @name SpCoreEcdsaSignature (440) */3421 interface SpCoreEcdsaSignature extends U8aFixed {}34223423 /** @name FrameSystemExtensionsCheckSpecVersion (443) */3424 type FrameSystemExtensionsCheckSpecVersion = Null;34253426 /** @name FrameSystemExtensionsCheckGenesis (444) */3427 type FrameSystemExtensionsCheckGenesis = Null;34283429 /** @name FrameSystemExtensionsCheckNonce (447) */3430 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}34313432 /** @name FrameSystemExtensionsCheckWeight (448) */3433 type FrameSystemExtensionsCheckWeight = Null;34343435 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (449) */3436 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}34373438 /** @name OpalRuntimeRuntime (450) */3439 type OpalRuntimeRuntime = Null;34403441 /** @name PalletEthereumFakeTransactionFinalizer (451) */3442 type PalletEthereumFakeTransactionFinalizer = Null;34433444} // declare module