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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: AccountId32;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: u32;818 } & Struct;819 readonly isStake: boolean;820 readonly asStake: {821 readonly amount: u128;822 } & Struct;823 readonly isUnstake: boolean;824 readonly asUnstake: {825 readonly amount: u128;826 } & Struct;827 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';828}829830/** @name PalletBalancesAccountData */831export interface PalletBalancesAccountData extends Struct {832 readonly free: u128;833 readonly reserved: u128;834 readonly miscFrozen: u128;835 readonly feeFrozen: u128;836}837838/** @name PalletBalancesBalanceLock */839export interface PalletBalancesBalanceLock extends Struct {840 readonly id: U8aFixed;841 readonly amount: u128;842 readonly reasons: PalletBalancesReasons;843}844845/** @name PalletBalancesCall */846export interface PalletBalancesCall extends Enum {847 readonly isTransfer: boolean;848 readonly asTransfer: {849 readonly dest: MultiAddress;850 readonly value: Compact<u128>;851 } & Struct;852 readonly isSetBalance: boolean;853 readonly asSetBalance: {854 readonly who: MultiAddress;855 readonly newFree: Compact<u128>;856 readonly newReserved: Compact<u128>;857 } & Struct;858 readonly isForceTransfer: boolean;859 readonly asForceTransfer: {860 readonly source: MultiAddress;861 readonly dest: MultiAddress;862 readonly value: Compact<u128>;863 } & Struct;864 readonly isTransferKeepAlive: boolean;865 readonly asTransferKeepAlive: {866 readonly dest: MultiAddress;867 readonly value: Compact<u128>;868 } & Struct;869 readonly isTransferAll: boolean;870 readonly asTransferAll: {871 readonly dest: MultiAddress;872 readonly keepAlive: bool;873 } & Struct;874 readonly isForceUnreserve: boolean;875 readonly asForceUnreserve: {876 readonly who: MultiAddress;877 readonly amount: u128;878 } & Struct;879 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';880}881882/** @name PalletBalancesError */883export interface PalletBalancesError extends Enum {884 readonly isVestingBalance: boolean;885 readonly isLiquidityRestrictions: boolean;886 readonly isInsufficientBalance: boolean;887 readonly isExistentialDeposit: boolean;888 readonly isKeepAlive: boolean;889 readonly isExistingVestingSchedule: boolean;890 readonly isDeadAccount: boolean;891 readonly isTooManyReserves: boolean;892 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';893}894895/** @name PalletBalancesEvent */896export interface PalletBalancesEvent extends Enum {897 readonly isEndowed: boolean;898 readonly asEndowed: {899 readonly account: AccountId32;900 readonly freeBalance: u128;901 } & Struct;902 readonly isDustLost: boolean;903 readonly asDustLost: {904 readonly account: AccountId32;905 readonly amount: u128;906 } & Struct;907 readonly isTransfer: boolean;908 readonly asTransfer: {909 readonly from: AccountId32;910 readonly to: AccountId32;911 readonly amount: u128;912 } & Struct;913 readonly isBalanceSet: boolean;914 readonly asBalanceSet: {915 readonly who: AccountId32;916 readonly free: u128;917 readonly reserved: u128;918 } & Struct;919 readonly isReserved: boolean;920 readonly asReserved: {921 readonly who: AccountId32;922 readonly amount: u128;923 } & Struct;924 readonly isUnreserved: boolean;925 readonly asUnreserved: {926 readonly who: AccountId32;927 readonly amount: u128;928 } & Struct;929 readonly isReserveRepatriated: boolean;930 readonly asReserveRepatriated: {931 readonly from: AccountId32;932 readonly to: AccountId32;933 readonly amount: u128;934 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;935 } & Struct;936 readonly isDeposit: boolean;937 readonly asDeposit: {938 readonly who: AccountId32;939 readonly amount: u128;940 } & Struct;941 readonly isWithdraw: boolean;942 readonly asWithdraw: {943 readonly who: AccountId32;944 readonly amount: u128;945 } & Struct;946 readonly isSlashed: boolean;947 readonly asSlashed: {948 readonly who: AccountId32;949 readonly amount: u128;950 } & Struct;951 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';952}953954/** @name PalletBalancesReasons */955export interface PalletBalancesReasons extends Enum {956 readonly isFee: boolean;957 readonly isMisc: boolean;958 readonly isAll: boolean;959 readonly type: 'Fee' | 'Misc' | 'All';960}961962/** @name PalletBalancesReleases */963export interface PalletBalancesReleases extends Enum {964 readonly isV100: boolean;965 readonly isV200: boolean;966 readonly type: 'V100' | 'V200';967}968969/** @name PalletBalancesReserveData */970export interface PalletBalancesReserveData extends Struct {971 readonly id: U8aFixed;972 readonly amount: u128;973}974975/** @name PalletCommonError */976export interface PalletCommonError extends Enum {977 readonly isCollectionNotFound: boolean;978 readonly isMustBeTokenOwner: boolean;979 readonly isNoPermission: boolean;980 readonly isCantDestroyNotEmptyCollection: boolean;981 readonly isPublicMintingNotAllowed: boolean;982 readonly isAddressNotInAllowlist: boolean;983 readonly isCollectionNameLimitExceeded: boolean;984 readonly isCollectionDescriptionLimitExceeded: boolean;985 readonly isCollectionTokenPrefixLimitExceeded: boolean;986 readonly isTotalCollectionsLimitExceeded: boolean;987 readonly isCollectionAdminCountExceeded: boolean;988 readonly isCollectionLimitBoundsExceeded: boolean;989 readonly isOwnerPermissionsCantBeReverted: boolean;990 readonly isTransferNotAllowed: boolean;991 readonly isAccountTokenLimitExceeded: boolean;992 readonly isCollectionTokenLimitExceeded: boolean;993 readonly isMetadataFlagFrozen: boolean;994 readonly isTokenNotFound: boolean;995 readonly isTokenValueTooLow: boolean;996 readonly isApprovedValueTooLow: boolean;997 readonly isCantApproveMoreThanOwned: boolean;998 readonly isAddressIsZero: boolean;999 readonly isUnsupportedOperation: boolean;1000 readonly isNotSufficientFounds: boolean;1001 readonly isUserIsNotAllowedToNest: boolean;1002 readonly isSourceCollectionIsNotAllowedToNest: boolean;1003 readonly isCollectionFieldSizeExceeded: boolean;1004 readonly isNoSpaceForProperty: boolean;1005 readonly isPropertyLimitReached: boolean;1006 readonly isPropertyKeyIsTooLong: boolean;1007 readonly isInvalidCharacterInPropertyKey: boolean;1008 readonly isEmptyPropertyKey: boolean;1009 readonly isCollectionIsExternal: boolean;1010 readonly isCollectionIsInternal: boolean;1011 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';1012}10131014/** @name PalletCommonEvent */1015export interface PalletCommonEvent extends Enum {1016 readonly isCollectionCreated: boolean;1017 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1018 readonly isCollectionDestroyed: boolean;1019 readonly asCollectionDestroyed: u32;1020 readonly isItemCreated: boolean;1021 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1022 readonly isItemDestroyed: boolean;1023 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1024 readonly isTransfer: boolean;1025 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1026 readonly isApproved: boolean;1027 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1028 readonly isCollectionPropertySet: boolean;1029 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1030 readonly isCollectionPropertyDeleted: boolean;1031 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1032 readonly isTokenPropertySet: boolean;1033 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1034 readonly isTokenPropertyDeleted: boolean;1035 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1036 readonly isPropertyPermissionSet: boolean;1037 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1038 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1039}10401041/** @name PalletConfigurationCall */1042export interface PalletConfigurationCall extends Enum {1043 readonly isSetWeightToFeeCoefficientOverride: boolean;1044 readonly asSetWeightToFeeCoefficientOverride: {1045 readonly coeff: Option<u32>;1046 } & Struct;1047 readonly isSetMinGasPriceOverride: boolean;1048 readonly asSetMinGasPriceOverride: {1049 readonly coeff: Option<u64>;1050 } & Struct;1051 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1052}10531054/** @name PalletEthereumCall */1055export interface PalletEthereumCall extends Enum {1056 readonly isTransact: boolean;1057 readonly asTransact: {1058 readonly transaction: EthereumTransactionTransactionV2;1059 } & Struct;1060 readonly type: 'Transact';1061}10621063/** @name PalletEthereumError */1064export interface PalletEthereumError extends Enum {1065 readonly isInvalidSignature: boolean;1066 readonly isPreLogExists: boolean;1067 readonly type: 'InvalidSignature' | 'PreLogExists';1068}10691070/** @name PalletEthereumEvent */1071export interface PalletEthereumEvent extends Enum {1072 readonly isExecuted: boolean;1073 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1074 readonly type: 'Executed';1075}10761077/** @name PalletEthereumFakeTransactionFinalizer */1078export interface PalletEthereumFakeTransactionFinalizer extends Null {}10791080/** @name PalletEthereumRawOrigin */1081export interface PalletEthereumRawOrigin extends Enum {1082 readonly isEthereumTransaction: boolean;1083 readonly asEthereumTransaction: H160;1084 readonly type: 'EthereumTransaction';1085}10861087/** @name PalletEvmAccountBasicCrossAccountIdRepr */1088export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1089 readonly isSubstrate: boolean;1090 readonly asSubstrate: AccountId32;1091 readonly isEthereum: boolean;1092 readonly asEthereum: H160;1093 readonly type: 'Substrate' | 'Ethereum';1094}10951096/** @name PalletEvmCall */1097export interface PalletEvmCall extends Enum {1098 readonly isWithdraw: boolean;1099 readonly asWithdraw: {1100 readonly address: H160;1101 readonly value: u128;1102 } & Struct;1103 readonly isCall: boolean;1104 readonly asCall: {1105 readonly source: H160;1106 readonly target: H160;1107 readonly input: Bytes;1108 readonly value: U256;1109 readonly gasLimit: u64;1110 readonly maxFeePerGas: U256;1111 readonly maxPriorityFeePerGas: Option<U256>;1112 readonly nonce: Option<U256>;1113 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1114 } & Struct;1115 readonly isCreate: boolean;1116 readonly asCreate: {1117 readonly source: H160;1118 readonly init: Bytes;1119 readonly value: U256;1120 readonly gasLimit: u64;1121 readonly maxFeePerGas: U256;1122 readonly maxPriorityFeePerGas: Option<U256>;1123 readonly nonce: Option<U256>;1124 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1125 } & Struct;1126 readonly isCreate2: boolean;1127 readonly asCreate2: {1128 readonly source: H160;1129 readonly init: Bytes;1130 readonly salt: H256;1131 readonly value: U256;1132 readonly gasLimit: u64;1133 readonly maxFeePerGas: U256;1134 readonly maxPriorityFeePerGas: Option<U256>;1135 readonly nonce: Option<U256>;1136 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1137 } & Struct;1138 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1139}11401141/** @name PalletEvmCoderSubstrateError */1142export interface PalletEvmCoderSubstrateError extends Enum {1143 readonly isOutOfGas: boolean;1144 readonly isOutOfFund: boolean;1145 readonly type: 'OutOfGas' | 'OutOfFund';1146}11471148/** @name PalletEvmContractHelpersError */1149export interface PalletEvmContractHelpersError extends Enum {1150 readonly isNoPermission: boolean;1151 readonly type: 'NoPermission';1152}11531154/** @name PalletEvmContractHelpersSponsoringModeT */1155export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1156 readonly isDisabled: boolean;1157 readonly isAllowlisted: boolean;1158 readonly isGenerous: boolean;1159 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1160}11611162/** @name PalletEvmError */1163export interface PalletEvmError extends Enum {1164 readonly isBalanceLow: boolean;1165 readonly isFeeOverflow: boolean;1166 readonly isPaymentOverflow: boolean;1167 readonly isWithdrawFailed: boolean;1168 readonly isGasPriceTooLow: boolean;1169 readonly isInvalidNonce: boolean;1170 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1171}11721173/** @name PalletEvmEvent */1174export interface PalletEvmEvent extends Enum {1175 readonly isLog: boolean;1176 readonly asLog: EthereumLog;1177 readonly isCreated: boolean;1178 readonly asCreated: H160;1179 readonly isCreatedFailed: boolean;1180 readonly asCreatedFailed: H160;1181 readonly isExecuted: boolean;1182 readonly asExecuted: H160;1183 readonly isExecutedFailed: boolean;1184 readonly asExecutedFailed: H160;1185 readonly isBalanceDeposit: boolean;1186 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1187 readonly isBalanceWithdraw: boolean;1188 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1189 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1190}11911192/** @name PalletEvmMigrationCall */1193export interface PalletEvmMigrationCall extends Enum {1194 readonly isBegin: boolean;1195 readonly asBegin: {1196 readonly address: H160;1197 } & Struct;1198 readonly isSetData: boolean;1199 readonly asSetData: {1200 readonly address: H160;1201 readonly data: Vec<ITuple<[H256, H256]>>;1202 } & Struct;1203 readonly isFinish: boolean;1204 readonly asFinish: {1205 readonly address: H160;1206 readonly code: Bytes;1207 } & Struct;1208 readonly type: 'Begin' | 'SetData' | 'Finish';1209}12101211/** @name PalletEvmMigrationError */1212export interface PalletEvmMigrationError extends Enum {1213 readonly isAccountNotEmpty: boolean;1214 readonly isAccountIsNotMigrating: boolean;1215 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1216}12171218/** @name PalletFungibleError */1219export interface PalletFungibleError extends Enum {1220 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1221 readonly isFungibleItemsHaveNoId: boolean;1222 readonly isFungibleItemsDontHaveData: boolean;1223 readonly isFungibleDisallowsNesting: boolean;1224 readonly isSettingPropertiesNotAllowed: boolean;1225 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1226}12271228/** @name PalletInflationCall */1229export interface PalletInflationCall extends Enum {1230 readonly isStartInflation: boolean;1231 readonly asStartInflation: {1232 readonly inflationStartRelayBlock: u32;1233 } & Struct;1234 readonly type: 'StartInflation';1235}12361237/** @name PalletNonfungibleError */1238export interface PalletNonfungibleError extends Enum {1239 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1240 readonly isNonfungibleItemsHaveNoAmount: boolean;1241 readonly isCantBurnNftWithChildren: boolean;1242 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1243}12441245/** @name PalletNonfungibleItemData */1246export interface PalletNonfungibleItemData extends Struct {1247 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1248}12491250/** @name PalletRefungibleError */1251export interface PalletRefungibleError extends Enum {1252 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1253 readonly isWrongRefungiblePieces: boolean;1254 readonly isRepartitionWhileNotOwningAllPieces: boolean;1255 readonly isRefungibleDisallowsNesting: boolean;1256 readonly isSettingPropertiesNotAllowed: boolean;1257 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1258}12591260/** @name PalletRefungibleItemData */1261export interface PalletRefungibleItemData extends Struct {1262 readonly constData: Bytes;1263}12641265/** @name PalletRmrkCoreCall */1266export interface PalletRmrkCoreCall extends Enum {1267 readonly isCreateCollection: boolean;1268 readonly asCreateCollection: {1269 readonly metadata: Bytes;1270 readonly max: Option<u32>;1271 readonly symbol: Bytes;1272 } & Struct;1273 readonly isDestroyCollection: boolean;1274 readonly asDestroyCollection: {1275 readonly collectionId: u32;1276 } & Struct;1277 readonly isChangeCollectionIssuer: boolean;1278 readonly asChangeCollectionIssuer: {1279 readonly collectionId: u32;1280 readonly newIssuer: MultiAddress;1281 } & Struct;1282 readonly isLockCollection: boolean;1283 readonly asLockCollection: {1284 readonly collectionId: u32;1285 } & Struct;1286 readonly isMintNft: boolean;1287 readonly asMintNft: {1288 readonly owner: Option<AccountId32>;1289 readonly collectionId: u32;1290 readonly recipient: Option<AccountId32>;1291 readonly royaltyAmount: Option<Permill>;1292 readonly metadata: Bytes;1293 readonly transferable: bool;1294 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1295 } & Struct;1296 readonly isBurnNft: boolean;1297 readonly asBurnNft: {1298 readonly collectionId: u32;1299 readonly nftId: u32;1300 readonly maxBurns: u32;1301 } & Struct;1302 readonly isSend: boolean;1303 readonly asSend: {1304 readonly rmrkCollectionId: u32;1305 readonly rmrkNftId: u32;1306 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1307 } & Struct;1308 readonly isAcceptNft: boolean;1309 readonly asAcceptNft: {1310 readonly rmrkCollectionId: u32;1311 readonly rmrkNftId: u32;1312 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1313 } & Struct;1314 readonly isRejectNft: boolean;1315 readonly asRejectNft: {1316 readonly rmrkCollectionId: u32;1317 readonly rmrkNftId: u32;1318 } & Struct;1319 readonly isAcceptResource: boolean;1320 readonly asAcceptResource: {1321 readonly rmrkCollectionId: u32;1322 readonly rmrkNftId: u32;1323 readonly resourceId: u32;1324 } & Struct;1325 readonly isAcceptResourceRemoval: boolean;1326 readonly asAcceptResourceRemoval: {1327 readonly rmrkCollectionId: u32;1328 readonly rmrkNftId: u32;1329 readonly resourceId: u32;1330 } & Struct;1331 readonly isSetProperty: boolean;1332 readonly asSetProperty: {1333 readonly rmrkCollectionId: Compact<u32>;1334 readonly maybeNftId: Option<u32>;1335 readonly key: Bytes;1336 readonly value: Bytes;1337 } & Struct;1338 readonly isSetPriority: boolean;1339 readonly asSetPriority: {1340 readonly rmrkCollectionId: u32;1341 readonly rmrkNftId: u32;1342 readonly priorities: Vec<u32>;1343 } & Struct;1344 readonly isAddBasicResource: boolean;1345 readonly asAddBasicResource: {1346 readonly rmrkCollectionId: u32;1347 readonly nftId: u32;1348 readonly resource: RmrkTraitsResourceBasicResource;1349 } & Struct;1350 readonly isAddComposableResource: boolean;1351 readonly asAddComposableResource: {1352 readonly rmrkCollectionId: u32;1353 readonly nftId: u32;1354 readonly resource: RmrkTraitsResourceComposableResource;1355 } & Struct;1356 readonly isAddSlotResource: boolean;1357 readonly asAddSlotResource: {1358 readonly rmrkCollectionId: u32;1359 readonly nftId: u32;1360 readonly resource: RmrkTraitsResourceSlotResource;1361 } & Struct;1362 readonly isRemoveResource: boolean;1363 readonly asRemoveResource: {1364 readonly rmrkCollectionId: u32;1365 readonly nftId: u32;1366 readonly resourceId: u32;1367 } & Struct;1368 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1369}13701371/** @name PalletRmrkCoreError */1372export interface PalletRmrkCoreError extends Enum {1373 readonly isCorruptedCollectionType: boolean;1374 readonly isRmrkPropertyKeyIsTooLong: boolean;1375 readonly isRmrkPropertyValueIsTooLong: boolean;1376 readonly isRmrkPropertyIsNotFound: boolean;1377 readonly isUnableToDecodeRmrkData: boolean;1378 readonly isCollectionNotEmpty: boolean;1379 readonly isNoAvailableCollectionId: boolean;1380 readonly isNoAvailableNftId: boolean;1381 readonly isCollectionUnknown: boolean;1382 readonly isNoPermission: boolean;1383 readonly isNonTransferable: boolean;1384 readonly isCollectionFullOrLocked: boolean;1385 readonly isResourceDoesntExist: boolean;1386 readonly isCannotSendToDescendentOrSelf: boolean;1387 readonly isCannotAcceptNonOwnedNft: boolean;1388 readonly isCannotRejectNonOwnedNft: boolean;1389 readonly isCannotRejectNonPendingNft: boolean;1390 readonly isResourceNotPending: boolean;1391 readonly isNoAvailableResourceId: boolean;1392 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1393}13941395/** @name PalletRmrkCoreEvent */1396export interface PalletRmrkCoreEvent extends Enum {1397 readonly isCollectionCreated: boolean;1398 readonly asCollectionCreated: {1399 readonly issuer: AccountId32;1400 readonly collectionId: u32;1401 } & Struct;1402 readonly isCollectionDestroyed: boolean;1403 readonly asCollectionDestroyed: {1404 readonly issuer: AccountId32;1405 readonly collectionId: u32;1406 } & Struct;1407 readonly isIssuerChanged: boolean;1408 readonly asIssuerChanged: {1409 readonly oldIssuer: AccountId32;1410 readonly newIssuer: AccountId32;1411 readonly collectionId: u32;1412 } & Struct;1413 readonly isCollectionLocked: boolean;1414 readonly asCollectionLocked: {1415 readonly issuer: AccountId32;1416 readonly collectionId: u32;1417 } & Struct;1418 readonly isNftMinted: boolean;1419 readonly asNftMinted: {1420 readonly owner: AccountId32;1421 readonly collectionId: u32;1422 readonly nftId: u32;1423 } & Struct;1424 readonly isNftBurned: boolean;1425 readonly asNftBurned: {1426 readonly owner: AccountId32;1427 readonly nftId: u32;1428 } & Struct;1429 readonly isNftSent: boolean;1430 readonly asNftSent: {1431 readonly sender: AccountId32;1432 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1433 readonly collectionId: u32;1434 readonly nftId: u32;1435 readonly approvalRequired: bool;1436 } & Struct;1437 readonly isNftAccepted: boolean;1438 readonly asNftAccepted: {1439 readonly sender: AccountId32;1440 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1441 readonly collectionId: u32;1442 readonly nftId: u32;1443 } & Struct;1444 readonly isNftRejected: boolean;1445 readonly asNftRejected: {1446 readonly sender: AccountId32;1447 readonly collectionId: u32;1448 readonly nftId: u32;1449 } & Struct;1450 readonly isPropertySet: boolean;1451 readonly asPropertySet: {1452 readonly collectionId: u32;1453 readonly maybeNftId: Option<u32>;1454 readonly key: Bytes;1455 readonly value: Bytes;1456 } & Struct;1457 readonly isResourceAdded: boolean;1458 readonly asResourceAdded: {1459 readonly nftId: u32;1460 readonly resourceId: u32;1461 } & Struct;1462 readonly isResourceRemoval: boolean;1463 readonly asResourceRemoval: {1464 readonly nftId: u32;1465 readonly resourceId: u32;1466 } & Struct;1467 readonly isResourceAccepted: boolean;1468 readonly asResourceAccepted: {1469 readonly nftId: u32;1470 readonly resourceId: u32;1471 } & Struct;1472 readonly isResourceRemovalAccepted: boolean;1473 readonly asResourceRemovalAccepted: {1474 readonly nftId: u32;1475 readonly resourceId: u32;1476 } & Struct;1477 readonly isPrioritySet: boolean;1478 readonly asPrioritySet: {1479 readonly collectionId: u32;1480 readonly nftId: u32;1481 } & Struct;1482 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1483}14841485/** @name PalletRmrkEquipCall */1486export interface PalletRmrkEquipCall extends Enum {1487 readonly isCreateBase: boolean;1488 readonly asCreateBase: {1489 readonly baseType: Bytes;1490 readonly symbol: Bytes;1491 readonly parts: Vec<RmrkTraitsPartPartType>;1492 } & Struct;1493 readonly isThemeAdd: boolean;1494 readonly asThemeAdd: {1495 readonly baseId: u32;1496 readonly theme: RmrkTraitsTheme;1497 } & Struct;1498 readonly isEquippable: boolean;1499 readonly asEquippable: {1500 readonly baseId: u32;1501 readonly slotId: u32;1502 readonly equippables: RmrkTraitsPartEquippableList;1503 } & Struct;1504 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1505}15061507/** @name PalletRmrkEquipError */1508export interface PalletRmrkEquipError extends Enum {1509 readonly isPermissionError: boolean;1510 readonly isNoAvailableBaseId: boolean;1511 readonly isNoAvailablePartId: boolean;1512 readonly isBaseDoesntExist: boolean;1513 readonly isNeedsDefaultThemeFirst: boolean;1514 readonly isPartDoesntExist: boolean;1515 readonly isNoEquippableOnFixedPart: boolean;1516 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1517}15181519/** @name PalletRmrkEquipEvent */1520export interface PalletRmrkEquipEvent extends Enum {1521 readonly isBaseCreated: boolean;1522 readonly asBaseCreated: {1523 readonly issuer: AccountId32;1524 readonly baseId: u32;1525 } & Struct;1526 readonly isEquippablesUpdated: boolean;1527 readonly asEquippablesUpdated: {1528 readonly baseId: u32;1529 readonly slotId: u32;1530 } & Struct;1531 readonly type: 'BaseCreated' | 'EquippablesUpdated';1532}15331534/** @name PalletStructureCall */1535export interface PalletStructureCall extends Null {}15361537/** @name PalletStructureError */1538export interface PalletStructureError extends Enum {1539 readonly isOuroborosDetected: boolean;1540 readonly isDepthLimit: boolean;1541 readonly isBreadthLimit: boolean;1542 readonly isTokenNotFound: boolean;1543 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1544}15451546/** @name PalletStructureEvent */1547export interface PalletStructureEvent extends Enum {1548 readonly isExecuted: boolean;1549 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1550 readonly type: 'Executed';1551}15521553/** @name PalletSudoCall */1554export interface PalletSudoCall extends Enum {1555 readonly isSudo: boolean;1556 readonly asSudo: {1557 readonly call: Call;1558 } & Struct;1559 readonly isSudoUncheckedWeight: boolean;1560 readonly asSudoUncheckedWeight: {1561 readonly call: Call;1562 readonly weight: u64;1563 } & Struct;1564 readonly isSetKey: boolean;1565 readonly asSetKey: {1566 readonly new_: MultiAddress;1567 } & Struct;1568 readonly isSudoAs: boolean;1569 readonly asSudoAs: {1570 readonly who: MultiAddress;1571 readonly call: Call;1572 } & Struct;1573 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1574}15751576/** @name PalletSudoError */1577export interface PalletSudoError extends Enum {1578 readonly isRequireSudo: boolean;1579 readonly type: 'RequireSudo';1580}15811582/** @name PalletSudoEvent */1583export interface PalletSudoEvent extends Enum {1584 readonly isSudid: boolean;1585 readonly asSudid: {1586 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1587 } & Struct;1588 readonly isKeyChanged: boolean;1589 readonly asKeyChanged: {1590 readonly oldSudoer: Option<AccountId32>;1591 } & Struct;1592 readonly isSudoAsDone: boolean;1593 readonly asSudoAsDone: {1594 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1595 } & Struct;1596 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1597}15981599/** @name PalletTemplateTransactionPaymentCall */1600export interface PalletTemplateTransactionPaymentCall extends Null {}16011602/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1603export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16041605/** @name PalletTimestampCall */1606export interface PalletTimestampCall extends Enum {1607 readonly isSet: boolean;1608 readonly asSet: {1609 readonly now: Compact<u64>;1610 } & Struct;1611 readonly type: 'Set';1612}16131614/** @name PalletTransactionPaymentEvent */1615export interface PalletTransactionPaymentEvent extends Enum {1616 readonly isTransactionFeePaid: boolean;1617 readonly asTransactionFeePaid: {1618 readonly who: AccountId32;1619 readonly actualFee: u128;1620 readonly tip: u128;1621 } & Struct;1622 readonly type: 'TransactionFeePaid';1623}16241625/** @name PalletTransactionPaymentReleases */1626export interface PalletTransactionPaymentReleases extends Enum {1627 readonly isV1Ancient: boolean;1628 readonly isV2: boolean;1629 readonly type: 'V1Ancient' | 'V2';1630}16311632/** @name PalletTreasuryCall */1633export 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 PalletTreasuryError */1660export interface PalletTreasuryError extends Enum {1661 readonly isInsufficientProposersBalance: boolean;1662 readonly isInvalidIndex: boolean;1663 readonly isTooManyApprovals: boolean;1664 readonly isInsufficientPermission: boolean;1665 readonly isProposalNotApproved: boolean;1666 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1667}16681669/** @name PalletTreasuryEvent */1670export interface PalletTreasuryEvent extends Enum {1671 readonly isProposed: boolean;1672 readonly asProposed: {1673 readonly proposalIndex: u32;1674 } & Struct;1675 readonly isSpending: boolean;1676 readonly asSpending: {1677 readonly budgetRemaining: u128;1678 } & Struct;1679 readonly isAwarded: boolean;1680 readonly asAwarded: {1681 readonly proposalIndex: u32;1682 readonly award: u128;1683 readonly account: AccountId32;1684 } & Struct;1685 readonly isRejected: boolean;1686 readonly asRejected: {1687 readonly proposalIndex: u32;1688 readonly slashed: u128;1689 } & Struct;1690 readonly isBurnt: boolean;1691 readonly asBurnt: {1692 readonly burntFunds: u128;1693 } & Struct;1694 readonly isRollover: boolean;1695 readonly asRollover: {1696 readonly rolloverBalance: u128;1697 } & Struct;1698 readonly isDeposit: boolean;1699 readonly asDeposit: {1700 readonly value: u128;1701 } & Struct;1702 readonly isSpendApproved: boolean;1703 readonly asSpendApproved: {1704 readonly proposalIndex: u32;1705 readonly amount: u128;1706 readonly beneficiary: AccountId32;1707 } & Struct;1708 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1709}17101711/** @name PalletTreasuryProposal */1712export interface PalletTreasuryProposal extends Struct {1713 readonly proposer: AccountId32;1714 readonly value: u128;1715 readonly beneficiary: AccountId32;1716 readonly bond: u128;1717}17181719/** @name PalletUniqueCall */1720export interface PalletUniqueCall extends Enum {1721 readonly isCreateCollection: boolean;1722 readonly asCreateCollection: {1723 readonly collectionName: Vec<u16>;1724 readonly collectionDescription: Vec<u16>;1725 readonly tokenPrefix: Bytes;1726 readonly mode: UpDataStructsCollectionMode;1727 } & Struct;1728 readonly isCreateCollectionEx: boolean;1729 readonly asCreateCollectionEx: {1730 readonly data: UpDataStructsCreateCollectionData;1731 } & Struct;1732 readonly isDestroyCollection: boolean;1733 readonly asDestroyCollection: {1734 readonly collectionId: u32;1735 } & Struct;1736 readonly isAddToAllowList: boolean;1737 readonly asAddToAllowList: {1738 readonly collectionId: u32;1739 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1740 } & Struct;1741 readonly isRemoveFromAllowList: boolean;1742 readonly asRemoveFromAllowList: {1743 readonly collectionId: u32;1744 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1745 } & Struct;1746 readonly isChangeCollectionOwner: boolean;1747 readonly asChangeCollectionOwner: {1748 readonly collectionId: u32;1749 readonly newOwner: AccountId32;1750 } & Struct;1751 readonly isAddCollectionAdmin: boolean;1752 readonly asAddCollectionAdmin: {1753 readonly collectionId: u32;1754 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1755 } & Struct;1756 readonly isRemoveCollectionAdmin: boolean;1757 readonly asRemoveCollectionAdmin: {1758 readonly collectionId: u32;1759 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1760 } & Struct;1761 readonly isSetCollectionSponsor: boolean;1762 readonly asSetCollectionSponsor: {1763 readonly collectionId: u32;1764 readonly newSponsor: AccountId32;1765 } & Struct;1766 readonly isConfirmSponsorship: boolean;1767 readonly asConfirmSponsorship: {1768 readonly collectionId: u32;1769 } & Struct;1770 readonly isRemoveCollectionSponsor: boolean;1771 readonly asRemoveCollectionSponsor: {1772 readonly collectionId: u32;1773 } & Struct;1774 readonly isCreateItem: boolean;1775 readonly asCreateItem: {1776 readonly collectionId: u32;1777 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1778 readonly data: UpDataStructsCreateItemData;1779 } & Struct;1780 readonly isCreateMultipleItems: boolean;1781 readonly asCreateMultipleItems: {1782 readonly collectionId: u32;1783 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1784 readonly itemsData: Vec<UpDataStructsCreateItemData>;1785 } & Struct;1786 readonly isSetCollectionProperties: boolean;1787 readonly asSetCollectionProperties: {1788 readonly collectionId: u32;1789 readonly properties: Vec<UpDataStructsProperty>;1790 } & Struct;1791 readonly isDeleteCollectionProperties: boolean;1792 readonly asDeleteCollectionProperties: {1793 readonly collectionId: u32;1794 readonly propertyKeys: Vec<Bytes>;1795 } & Struct;1796 readonly isSetTokenProperties: boolean;1797 readonly asSetTokenProperties: {1798 readonly collectionId: u32;1799 readonly tokenId: u32;1800 readonly properties: Vec<UpDataStructsProperty>;1801 } & Struct;1802 readonly isDeleteTokenProperties: boolean;1803 readonly asDeleteTokenProperties: {1804 readonly collectionId: u32;1805 readonly tokenId: u32;1806 readonly propertyKeys: Vec<Bytes>;1807 } & Struct;1808 readonly isSetTokenPropertyPermissions: boolean;1809 readonly asSetTokenPropertyPermissions: {1810 readonly collectionId: u32;1811 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1812 } & Struct;1813 readonly isCreateMultipleItemsEx: boolean;1814 readonly asCreateMultipleItemsEx: {1815 readonly collectionId: u32;1816 readonly data: UpDataStructsCreateItemExData;1817 } & Struct;1818 readonly isSetTransfersEnabledFlag: boolean;1819 readonly asSetTransfersEnabledFlag: {1820 readonly collectionId: u32;1821 readonly value: bool;1822 } & Struct;1823 readonly isBurnItem: boolean;1824 readonly asBurnItem: {1825 readonly collectionId: u32;1826 readonly itemId: u32;1827 readonly value: u128;1828 } & Struct;1829 readonly isBurnFrom: boolean;1830 readonly asBurnFrom: {1831 readonly collectionId: u32;1832 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1833 readonly itemId: u32;1834 readonly value: u128;1835 } & Struct;1836 readonly isTransfer: boolean;1837 readonly asTransfer: {1838 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1839 readonly collectionId: u32;1840 readonly itemId: u32;1841 readonly value: u128;1842 } & Struct;1843 readonly isApprove: boolean;1844 readonly asApprove: {1845 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1846 readonly collectionId: u32;1847 readonly itemId: u32;1848 readonly amount: u128;1849 } & Struct;1850 readonly isTransferFrom: boolean;1851 readonly asTransferFrom: {1852 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1853 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1854 readonly collectionId: u32;1855 readonly itemId: u32;1856 readonly value: u128;1857 } & Struct;1858 readonly isSetCollectionLimits: boolean;1859 readonly asSetCollectionLimits: {1860 readonly collectionId: u32;1861 readonly newLimit: UpDataStructsCollectionLimits;1862 } & Struct;1863 readonly isSetCollectionPermissions: boolean;1864 readonly asSetCollectionPermissions: {1865 readonly collectionId: u32;1866 readonly newPermission: UpDataStructsCollectionPermissions;1867 } & Struct;1868 readonly isRepartition: boolean;1869 readonly asRepartition: {1870 readonly collectionId: u32;1871 readonly tokenId: u32;1872 readonly amount: u128;1873 } & Struct;1874 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';1875}18761877/** @name PalletUniqueError */1878export interface PalletUniqueError extends Enum {1879 readonly isCollectionDecimalPointLimitExceeded: boolean;1880 readonly isConfirmUnsetSponsorFail: boolean;1881 readonly isEmptyArgument: boolean;1882 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1883 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1884}18851886/** @name PalletUniqueRawEvent */1887export interface PalletUniqueRawEvent extends Enum {1888 readonly isCollectionSponsorRemoved: boolean;1889 readonly asCollectionSponsorRemoved: u32;1890 readonly isCollectionAdminAdded: boolean;1891 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1892 readonly isCollectionOwnedChanged: boolean;1893 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1894 readonly isCollectionSponsorSet: boolean;1895 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1896 readonly isSponsorshipConfirmed: boolean;1897 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1898 readonly isCollectionAdminRemoved: boolean;1899 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1900 readonly isAllowListAddressRemoved: boolean;1901 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1902 readonly isAllowListAddressAdded: boolean;1903 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1904 readonly isCollectionLimitSet: boolean;1905 readonly asCollectionLimitSet: u32;1906 readonly isCollectionPermissionSet: boolean;1907 readonly asCollectionPermissionSet: u32;1908 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1909}19101911/** @name PalletUniqueSchedulerCall */1912export interface PalletUniqueSchedulerCall extends Enum {1913 readonly isScheduleNamed: boolean;1914 readonly asScheduleNamed: {1915 readonly id: U8aFixed;1916 readonly when: u32;1917 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1918 readonly priority: u8;1919 readonly call: FrameSupportScheduleMaybeHashed;1920 } & Struct;1921 readonly isCancelNamed: boolean;1922 readonly asCancelNamed: {1923 readonly id: U8aFixed;1924 } & Struct;1925 readonly isScheduleNamedAfter: boolean;1926 readonly asScheduleNamedAfter: {1927 readonly id: U8aFixed;1928 readonly after: u32;1929 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1930 readonly priority: u8;1931 readonly call: FrameSupportScheduleMaybeHashed;1932 } & Struct;1933 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1934}19351936/** @name PalletUniqueSchedulerError */1937export interface PalletUniqueSchedulerError extends Enum {1938 readonly isFailedToSchedule: boolean;1939 readonly isNotFound: boolean;1940 readonly isTargetBlockNumberInPast: boolean;1941 readonly isRescheduleNoChange: boolean;1942 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1943}19441945/** @name PalletUniqueSchedulerEvent */1946export interface PalletUniqueSchedulerEvent extends Enum {1947 readonly isScheduled: boolean;1948 readonly asScheduled: {1949 readonly when: u32;1950 readonly index: u32;1951 } & Struct;1952 readonly isCanceled: boolean;1953 readonly asCanceled: {1954 readonly when: u32;1955 readonly index: u32;1956 } & Struct;1957 readonly isDispatched: boolean;1958 readonly asDispatched: {1959 readonly task: ITuple<[u32, u32]>;1960 readonly id: Option<U8aFixed>;1961 readonly result: Result<Null, SpRuntimeDispatchError>;1962 } & Struct;1963 readonly isCallLookupFailed: boolean;1964 readonly asCallLookupFailed: {1965 readonly task: ITuple<[u32, u32]>;1966 readonly id: Option<U8aFixed>;1967 readonly error: FrameSupportScheduleLookupError;1968 } & Struct;1969 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1970}19711972/** @name PalletUniqueSchedulerScheduledV3 */1973export interface PalletUniqueSchedulerScheduledV3 extends Struct {1974 readonly maybeId: Option<U8aFixed>;1975 readonly priority: u8;1976 readonly call: FrameSupportScheduleMaybeHashed;1977 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1978 readonly origin: OpalRuntimeOriginCaller;1979}19801981/** @name PalletXcmCall */1982export interface PalletXcmCall extends Enum {1983 readonly isSend: boolean;1984 readonly asSend: {1985 readonly dest: XcmVersionedMultiLocation;1986 readonly message: XcmVersionedXcm;1987 } & Struct;1988 readonly isTeleportAssets: boolean;1989 readonly asTeleportAssets: {1990 readonly dest: XcmVersionedMultiLocation;1991 readonly beneficiary: XcmVersionedMultiLocation;1992 readonly assets: XcmVersionedMultiAssets;1993 readonly feeAssetItem: u32;1994 } & Struct;1995 readonly isReserveTransferAssets: boolean;1996 readonly asReserveTransferAssets: {1997 readonly dest: XcmVersionedMultiLocation;1998 readonly beneficiary: XcmVersionedMultiLocation;1999 readonly assets: XcmVersionedMultiAssets;2000 readonly feeAssetItem: u32;2001 } & Struct;2002 readonly isExecute: boolean;2003 readonly asExecute: {2004 readonly message: XcmVersionedXcm;2005 readonly maxWeight: u64;2006 } & Struct;2007 readonly isForceXcmVersion: boolean;2008 readonly asForceXcmVersion: {2009 readonly location: XcmV1MultiLocation;2010 readonly xcmVersion: u32;2011 } & Struct;2012 readonly isForceDefaultXcmVersion: boolean;2013 readonly asForceDefaultXcmVersion: {2014 readonly maybeXcmVersion: Option<u32>;2015 } & Struct;2016 readonly isForceSubscribeVersionNotify: boolean;2017 readonly asForceSubscribeVersionNotify: {2018 readonly location: XcmVersionedMultiLocation;2019 } & Struct;2020 readonly isForceUnsubscribeVersionNotify: boolean;2021 readonly asForceUnsubscribeVersionNotify: {2022 readonly location: XcmVersionedMultiLocation;2023 } & Struct;2024 readonly isLimitedReserveTransferAssets: boolean;2025 readonly asLimitedReserveTransferAssets: {2026 readonly dest: XcmVersionedMultiLocation;2027 readonly beneficiary: XcmVersionedMultiLocation;2028 readonly assets: XcmVersionedMultiAssets;2029 readonly feeAssetItem: u32;2030 readonly weightLimit: XcmV2WeightLimit;2031 } & Struct;2032 readonly isLimitedTeleportAssets: boolean;2033 readonly asLimitedTeleportAssets: {2034 readonly dest: XcmVersionedMultiLocation;2035 readonly beneficiary: XcmVersionedMultiLocation;2036 readonly assets: XcmVersionedMultiAssets;2037 readonly feeAssetItem: u32;2038 readonly weightLimit: XcmV2WeightLimit;2039 } & Struct;2040 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2041}20422043/** @name PalletXcmError */2044export interface PalletXcmError extends Enum {2045 readonly isUnreachable: boolean;2046 readonly isSendFailure: boolean;2047 readonly isFiltered: boolean;2048 readonly isUnweighableMessage: boolean;2049 readonly isDestinationNotInvertible: boolean;2050 readonly isEmpty: boolean;2051 readonly isCannotReanchor: boolean;2052 readonly isTooManyAssets: boolean;2053 readonly isInvalidOrigin: boolean;2054 readonly isBadVersion: boolean;2055 readonly isBadLocation: boolean;2056 readonly isNoSubscription: boolean;2057 readonly isAlreadySubscribed: boolean;2058 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2059}20602061/** @name PalletXcmEvent */2062export interface PalletXcmEvent extends Enum {2063 readonly isAttempted: boolean;2064 readonly asAttempted: XcmV2TraitsOutcome;2065 readonly isSent: boolean;2066 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2067 readonly isUnexpectedResponse: boolean;2068 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2069 readonly isResponseReady: boolean;2070 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2071 readonly isNotified: boolean;2072 readonly asNotified: ITuple<[u64, u8, u8]>;2073 readonly isNotifyOverweight: boolean;2074 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2075 readonly isNotifyDispatchError: boolean;2076 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2077 readonly isNotifyDecodeFailed: boolean;2078 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2079 readonly isInvalidResponder: boolean;2080 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2081 readonly isInvalidResponderVersion: boolean;2082 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2083 readonly isResponseTaken: boolean;2084 readonly asResponseTaken: u64;2085 readonly isAssetsTrapped: boolean;2086 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2087 readonly isVersionChangeNotified: boolean;2088 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2089 readonly isSupportedVersionChanged: boolean;2090 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2091 readonly isNotifyTargetSendFail: boolean;2092 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2093 readonly isNotifyTargetMigrationFail: boolean;2094 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2095 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2096}20972098/** @name PalletXcmOrigin */2099export interface PalletXcmOrigin extends Enum {2100 readonly isXcm: boolean;2101 readonly asXcm: XcmV1MultiLocation;2102 readonly isResponse: boolean;2103 readonly asResponse: XcmV1MultiLocation;2104 readonly type: 'Xcm' | 'Response';2105}21062107/** @name PhantomTypeUpDataStructs */2108export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21092110/** @name PolkadotCorePrimitivesInboundDownwardMessage */2111export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2112 readonly sentAt: u32;2113 readonly msg: Bytes;2114}21152116/** @name PolkadotCorePrimitivesInboundHrmpMessage */2117export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2118 readonly sentAt: u32;2119 readonly data: Bytes;2120}21212122/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2123export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2124 readonly recipient: u32;2125 readonly data: Bytes;2126}21272128/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2129export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2130 readonly isConcatenatedVersionedXcm: boolean;2131 readonly isConcatenatedEncodedBlob: boolean;2132 readonly isSignals: boolean;2133 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2134}21352136/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2137export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2138 readonly maxCodeSize: u32;2139 readonly maxHeadDataSize: u32;2140 readonly maxUpwardQueueCount: u32;2141 readonly maxUpwardQueueSize: u32;2142 readonly maxUpwardMessageSize: u32;2143 readonly maxUpwardMessageNumPerCandidate: u32;2144 readonly hrmpMaxMessageNumPerCandidate: u32;2145 readonly validationUpgradeCooldown: u32;2146 readonly validationUpgradeDelay: u32;2147}21482149/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2150export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2151 readonly maxCapacity: u32;2152 readonly maxTotalSize: u32;2153 readonly maxMessageSize: u32;2154 readonly msgCount: u32;2155 readonly totalSize: u32;2156 readonly mqcHead: Option<H256>;2157}21582159/** @name PolkadotPrimitivesV2PersistedValidationData */2160export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2161 readonly parentHead: Bytes;2162 readonly relayParentNumber: u32;2163 readonly relayParentStorageRoot: H256;2164 readonly maxPovSize: u32;2165}21662167/** @name PolkadotPrimitivesV2UpgradeRestriction */2168export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2169 readonly isPresent: boolean;2170 readonly type: 'Present';2171}21722173/** @name RmrkTraitsBaseBaseInfo */2174export interface RmrkTraitsBaseBaseInfo extends Struct {2175 readonly issuer: AccountId32;2176 readonly baseType: Bytes;2177 readonly symbol: Bytes;2178}21792180/** @name RmrkTraitsCollectionCollectionInfo */2181export interface RmrkTraitsCollectionCollectionInfo extends Struct {2182 readonly issuer: AccountId32;2183 readonly metadata: Bytes;2184 readonly max: Option<u32>;2185 readonly symbol: Bytes;2186 readonly nftsCount: u32;2187}21882189/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2190export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2191 readonly isAccountId: boolean;2192 readonly asAccountId: AccountId32;2193 readonly isCollectionAndNftTuple: boolean;2194 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2195 readonly type: 'AccountId' | 'CollectionAndNftTuple';2196}21972198/** @name RmrkTraitsNftNftChild */2199export interface RmrkTraitsNftNftChild extends Struct {2200 readonly collectionId: u32;2201 readonly nftId: u32;2202}22032204/** @name RmrkTraitsNftNftInfo */2205export interface RmrkTraitsNftNftInfo extends Struct {2206 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2207 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2208 readonly metadata: Bytes;2209 readonly equipped: bool;2210 readonly pending: bool;2211}22122213/** @name RmrkTraitsNftRoyaltyInfo */2214export interface RmrkTraitsNftRoyaltyInfo extends Struct {2215 readonly recipient: AccountId32;2216 readonly amount: Permill;2217}22182219/** @name RmrkTraitsPartEquippableList */2220export interface RmrkTraitsPartEquippableList extends Enum {2221 readonly isAll: boolean;2222 readonly isEmpty: boolean;2223 readonly isCustom: boolean;2224 readonly asCustom: Vec<u32>;2225 readonly type: 'All' | 'Empty' | 'Custom';2226}22272228/** @name RmrkTraitsPartFixedPart */2229export interface RmrkTraitsPartFixedPart extends Struct {2230 readonly id: u32;2231 readonly z: u32;2232 readonly src: Bytes;2233}22342235/** @name RmrkTraitsPartPartType */2236export interface RmrkTraitsPartPartType extends Enum {2237 readonly isFixedPart: boolean;2238 readonly asFixedPart: RmrkTraitsPartFixedPart;2239 readonly isSlotPart: boolean;2240 readonly asSlotPart: RmrkTraitsPartSlotPart;2241 readonly type: 'FixedPart' | 'SlotPart';2242}22432244/** @name RmrkTraitsPartSlotPart */2245export interface RmrkTraitsPartSlotPart extends Struct {2246 readonly id: u32;2247 readonly equippable: RmrkTraitsPartEquippableList;2248 readonly src: Bytes;2249 readonly z: u32;2250}22512252/** @name RmrkTraitsPropertyPropertyInfo */2253export interface RmrkTraitsPropertyPropertyInfo extends Struct {2254 readonly key: Bytes;2255 readonly value: Bytes;2256}22572258/** @name RmrkTraitsResourceBasicResource */2259export interface RmrkTraitsResourceBasicResource extends Struct {2260 readonly src: Option<Bytes>;2261 readonly metadata: Option<Bytes>;2262 readonly license: Option<Bytes>;2263 readonly thumb: Option<Bytes>;2264}22652266/** @name RmrkTraitsResourceComposableResource */2267export interface RmrkTraitsResourceComposableResource extends Struct {2268 readonly parts: Vec<u32>;2269 readonly base: u32;2270 readonly src: Option<Bytes>;2271 readonly metadata: Option<Bytes>;2272 readonly license: Option<Bytes>;2273 readonly thumb: Option<Bytes>;2274}22752276/** @name RmrkTraitsResourceResourceInfo */2277export interface RmrkTraitsResourceResourceInfo extends Struct {2278 readonly id: u32;2279 readonly resource: RmrkTraitsResourceResourceTypes;2280 readonly pending: bool;2281 readonly pendingRemoval: bool;2282}22832284/** @name RmrkTraitsResourceResourceTypes */2285export interface RmrkTraitsResourceResourceTypes extends Enum {2286 readonly isBasic: boolean;2287 readonly asBasic: RmrkTraitsResourceBasicResource;2288 readonly isComposable: boolean;2289 readonly asComposable: RmrkTraitsResourceComposableResource;2290 readonly isSlot: boolean;2291 readonly asSlot: RmrkTraitsResourceSlotResource;2292 readonly type: 'Basic' | 'Composable' | 'Slot';2293}22942295/** @name RmrkTraitsResourceSlotResource */2296export interface RmrkTraitsResourceSlotResource extends Struct {2297 readonly base: u32;2298 readonly src: Option<Bytes>;2299 readonly metadata: Option<Bytes>;2300 readonly slot: u32;2301 readonly license: Option<Bytes>;2302 readonly thumb: Option<Bytes>;2303}23042305/** @name RmrkTraitsTheme */2306export interface RmrkTraitsTheme extends Struct {2307 readonly name: Bytes;2308 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2309 readonly inherit: bool;2310}23112312/** @name RmrkTraitsThemeThemeProperty */2313export interface RmrkTraitsThemeThemeProperty extends Struct {2314 readonly key: Bytes;2315 readonly value: Bytes;2316}23172318/** @name SpCoreEcdsaSignature */2319export interface SpCoreEcdsaSignature extends U8aFixed {}23202321/** @name SpCoreEd25519Signature */2322export interface SpCoreEd25519Signature extends U8aFixed {}23232324/** @name SpCoreSr25519Signature */2325export interface SpCoreSr25519Signature extends U8aFixed {}23262327/** @name SpCoreVoid */2328export interface SpCoreVoid extends Null {}23292330/** @name SpRuntimeArithmeticError */2331export interface SpRuntimeArithmeticError extends Enum {2332 readonly isUnderflow: boolean;2333 readonly isOverflow: boolean;2334 readonly isDivisionByZero: boolean;2335 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2336}23372338/** @name SpRuntimeDigest */2339export interface SpRuntimeDigest extends Struct {2340 readonly logs: Vec<SpRuntimeDigestDigestItem>;2341}23422343/** @name SpRuntimeDigestDigestItem */2344export interface SpRuntimeDigestDigestItem extends Enum {2345 readonly isOther: boolean;2346 readonly asOther: Bytes;2347 readonly isConsensus: boolean;2348 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2349 readonly isSeal: boolean;2350 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2351 readonly isPreRuntime: boolean;2352 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2353 readonly isRuntimeEnvironmentUpdated: boolean;2354 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2355}23562357/** @name SpRuntimeDispatchError */2358export interface SpRuntimeDispatchError extends Enum {2359 readonly isOther: boolean;2360 readonly isCannotLookup: boolean;2361 readonly isBadOrigin: boolean;2362 readonly isModule: boolean;2363 readonly asModule: SpRuntimeModuleError;2364 readonly isConsumerRemaining: boolean;2365 readonly isNoProviders: boolean;2366 readonly isTooManyConsumers: boolean;2367 readonly isToken: boolean;2368 readonly asToken: SpRuntimeTokenError;2369 readonly isArithmetic: boolean;2370 readonly asArithmetic: SpRuntimeArithmeticError;2371 readonly isTransactional: boolean;2372 readonly asTransactional: SpRuntimeTransactionalError;2373 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2374}23752376/** @name SpRuntimeModuleError */2377export interface SpRuntimeModuleError extends Struct {2378 readonly index: u8;2379 readonly error: U8aFixed;2380}23812382/** @name SpRuntimeMultiSignature */2383export interface SpRuntimeMultiSignature extends Enum {2384 readonly isEd25519: boolean;2385 readonly asEd25519: SpCoreEd25519Signature;2386 readonly isSr25519: boolean;2387 readonly asSr25519: SpCoreSr25519Signature;2388 readonly isEcdsa: boolean;2389 readonly asEcdsa: SpCoreEcdsaSignature;2390 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2391}23922393/** @name SpRuntimeTokenError */2394export interface SpRuntimeTokenError extends Enum {2395 readonly isNoFunds: boolean;2396 readonly isWouldDie: boolean;2397 readonly isBelowMinimum: boolean;2398 readonly isCannotCreate: boolean;2399 readonly isUnknownAsset: boolean;2400 readonly isFrozen: boolean;2401 readonly isUnsupported: boolean;2402 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2403}24042405/** @name SpRuntimeTransactionalError */2406export interface SpRuntimeTransactionalError extends Enum {2407 readonly isLimitReached: boolean;2408 readonly isNoLayer: boolean;2409 readonly type: 'LimitReached' | 'NoLayer';2410}24112412/** @name SpTrieStorageProof */2413export interface SpTrieStorageProof extends Struct {2414 readonly trieNodes: BTreeSet<Bytes>;2415}24162417/** @name SpVersionRuntimeVersion */2418export interface SpVersionRuntimeVersion extends Struct {2419 readonly specName: Text;2420 readonly implName: Text;2421 readonly authoringVersion: u32;2422 readonly specVersion: u32;2423 readonly implVersion: u32;2424 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2425 readonly transactionVersion: u32;2426 readonly stateVersion: u8;2427}24282429/** @name UpDataStructsAccessMode */2430export interface UpDataStructsAccessMode extends Enum {2431 readonly isNormal: boolean;2432 readonly isAllowList: boolean;2433 readonly type: 'Normal' | 'AllowList';2434}24352436/** @name UpDataStructsCollection */2437export interface UpDataStructsCollection extends Struct {2438 readonly owner: AccountId32;2439 readonly mode: UpDataStructsCollectionMode;2440 readonly name: Vec<u16>;2441 readonly description: Vec<u16>;2442 readonly tokenPrefix: Bytes;2443 readonly sponsorship: UpDataStructsSponsorshipState;2444 readonly limits: UpDataStructsCollectionLimits;2445 readonly permissions: UpDataStructsCollectionPermissions;2446 readonly externalCollection: bool;2447}24482449/** @name UpDataStructsCollectionLimits */2450export interface UpDataStructsCollectionLimits extends Struct {2451 readonly accountTokenOwnershipLimit: Option<u32>;2452 readonly sponsoredDataSize: Option<u32>;2453 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2454 readonly tokenLimit: Option<u32>;2455 readonly sponsorTransferTimeout: Option<u32>;2456 readonly sponsorApproveTimeout: Option<u32>;2457 readonly ownerCanTransfer: Option<bool>;2458 readonly ownerCanDestroy: Option<bool>;2459 readonly transfersEnabled: Option<bool>;2460}24612462/** @name UpDataStructsCollectionMode */2463export interface UpDataStructsCollectionMode extends Enum {2464 readonly isNft: boolean;2465 readonly isFungible: boolean;2466 readonly asFungible: u8;2467 readonly isReFungible: boolean;2468 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2469}24702471/** @name UpDataStructsCollectionPermissions */2472export interface UpDataStructsCollectionPermissions extends Struct {2473 readonly access: Option<UpDataStructsAccessMode>;2474 readonly mintMode: Option<bool>;2475 readonly nesting: Option<UpDataStructsNestingPermissions>;2476}24772478/** @name UpDataStructsCollectionStats */2479export interface UpDataStructsCollectionStats extends Struct {2480 readonly created: u32;2481 readonly destroyed: u32;2482 readonly alive: u32;2483}24842485/** @name UpDataStructsCreateCollectionData */2486export interface UpDataStructsCreateCollectionData extends Struct {2487 readonly mode: UpDataStructsCollectionMode;2488 readonly access: Option<UpDataStructsAccessMode>;2489 readonly name: Vec<u16>;2490 readonly description: Vec<u16>;2491 readonly tokenPrefix: Bytes;2492 readonly pendingSponsor: Option<AccountId32>;2493 readonly limits: Option<UpDataStructsCollectionLimits>;2494 readonly permissions: Option<UpDataStructsCollectionPermissions>;2495 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2496 readonly properties: Vec<UpDataStructsProperty>;2497}24982499/** @name UpDataStructsCreateFungibleData */2500export interface UpDataStructsCreateFungibleData extends Struct {2501 readonly value: u128;2502}25032504/** @name UpDataStructsCreateItemData */2505export interface UpDataStructsCreateItemData extends Enum {2506 readonly isNft: boolean;2507 readonly asNft: UpDataStructsCreateNftData;2508 readonly isFungible: boolean;2509 readonly asFungible: UpDataStructsCreateFungibleData;2510 readonly isReFungible: boolean;2511 readonly asReFungible: UpDataStructsCreateReFungibleData;2512 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2513}25142515/** @name UpDataStructsCreateItemExData */2516export interface UpDataStructsCreateItemExData extends Enum {2517 readonly isNft: boolean;2518 readonly asNft: Vec<UpDataStructsCreateNftExData>;2519 readonly isFungible: boolean;2520 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2521 readonly isRefungibleMultipleItems: boolean;2522 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2523 readonly isRefungibleMultipleOwners: boolean;2524 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2525 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2526}25272528/** @name UpDataStructsCreateNftData */2529export interface UpDataStructsCreateNftData extends Struct {2530 readonly properties: Vec<UpDataStructsProperty>;2531}25322533/** @name UpDataStructsCreateNftExData */2534export interface UpDataStructsCreateNftExData extends Struct {2535 readonly properties: Vec<UpDataStructsProperty>;2536 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2537}25382539/** @name UpDataStructsCreateReFungibleData */2540export interface UpDataStructsCreateReFungibleData extends Struct {2541 readonly pieces: u128;2542 readonly properties: Vec<UpDataStructsProperty>;2543}25442545/** @name UpDataStructsCreateRefungibleExMultipleOwners */2546export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2547 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2548 readonly properties: Vec<UpDataStructsProperty>;2549}25502551/** @name UpDataStructsCreateRefungibleExSingleOwner */2552export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2553 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2554 readonly pieces: u128;2555 readonly properties: Vec<UpDataStructsProperty>;2556}25572558/** @name UpDataStructsNestingPermissions */2559export interface UpDataStructsNestingPermissions extends Struct {2560 readonly tokenOwner: bool;2561 readonly collectionAdmin: bool;2562 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2563}25642565/** @name UpDataStructsOwnerRestrictedSet */2566export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25672568/** @name UpDataStructsProperties */2569export interface UpDataStructsProperties extends Struct {2570 readonly map: UpDataStructsPropertiesMapBoundedVec;2571 readonly consumedSpace: u32;2572 readonly spaceLimit: u32;2573}25742575/** @name UpDataStructsPropertiesMapBoundedVec */2576export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}25772578/** @name UpDataStructsPropertiesMapPropertyPermission */2579export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}25802581/** @name UpDataStructsProperty */2582export interface UpDataStructsProperty extends Struct {2583 readonly key: Bytes;2584 readonly value: Bytes;2585}25862587/** @name UpDataStructsPropertyKeyPermission */2588export interface UpDataStructsPropertyKeyPermission extends Struct {2589 readonly key: Bytes;2590 readonly permission: UpDataStructsPropertyPermission;2591}25922593/** @name UpDataStructsPropertyPermission */2594export interface UpDataStructsPropertyPermission extends Struct {2595 readonly mutable: bool;2596 readonly collectionAdmin: bool;2597 readonly tokenOwner: bool;2598}25992600/** @name UpDataStructsPropertyScope */2601export interface UpDataStructsPropertyScope extends Enum {2602 readonly isNone: boolean;2603 readonly isRmrk: boolean;2604 readonly isEth: boolean;2605 readonly type: 'None' | 'Rmrk' | 'Eth';2606}26072608/** @name UpDataStructsRpcCollection */2609export interface UpDataStructsRpcCollection extends Struct {2610 readonly owner: AccountId32;2611 readonly mode: UpDataStructsCollectionMode;2612 readonly name: Vec<u16>;2613 readonly description: Vec<u16>;2614 readonly tokenPrefix: Bytes;2615 readonly sponsorship: UpDataStructsSponsorshipState;2616 readonly limits: UpDataStructsCollectionLimits;2617 readonly permissions: UpDataStructsCollectionPermissions;2618 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2619 readonly properties: Vec<UpDataStructsProperty>;2620 readonly readOnly: bool;2621}26222623/** @name UpDataStructsSponsoringRateLimit */2624export interface UpDataStructsSponsoringRateLimit extends Enum {2625 readonly isSponsoringDisabled: boolean;2626 readonly isBlocks: boolean;2627 readonly asBlocks: u32;2628 readonly type: 'SponsoringDisabled' | 'Blocks';2629}26302631/** @name UpDataStructsSponsorshipState */2632export interface UpDataStructsSponsorshipState extends Enum {2633 readonly isDisabled: boolean;2634 readonly isUnconfirmed: boolean;2635 readonly asUnconfirmed: AccountId32;2636 readonly isConfirmed: boolean;2637 readonly asConfirmed: AccountId32;2638 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2639}26402641/** @name UpDataStructsTokenChild */2642export interface UpDataStructsTokenChild extends Struct {2643 readonly token: u32;2644 readonly collection: u32;2645}26462647/** @name UpDataStructsTokenData */2648export interface UpDataStructsTokenData extends Struct {2649 readonly properties: Vec<UpDataStructsProperty>;2650 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2651 readonly pieces: u128;2652}26532654/** @name XcmDoubleEncoded */2655export interface XcmDoubleEncoded extends Struct {2656 readonly encoded: Bytes;2657}26582659/** @name XcmV0Junction */2660export interface XcmV0Junction extends Enum {2661 readonly isParent: boolean;2662 readonly isParachain: boolean;2663 readonly asParachain: Compact<u32>;2664 readonly isAccountId32: boolean;2665 readonly asAccountId32: {2666 readonly network: XcmV0JunctionNetworkId;2667 readonly id: U8aFixed;2668 } & Struct;2669 readonly isAccountIndex64: boolean;2670 readonly asAccountIndex64: {2671 readonly network: XcmV0JunctionNetworkId;2672 readonly index: Compact<u64>;2673 } & Struct;2674 readonly isAccountKey20: boolean;2675 readonly asAccountKey20: {2676 readonly network: XcmV0JunctionNetworkId;2677 readonly key: U8aFixed;2678 } & Struct;2679 readonly isPalletInstance: boolean;2680 readonly asPalletInstance: u8;2681 readonly isGeneralIndex: boolean;2682 readonly asGeneralIndex: Compact<u128>;2683 readonly isGeneralKey: boolean;2684 readonly asGeneralKey: Bytes;2685 readonly isOnlyChild: boolean;2686 readonly isPlurality: boolean;2687 readonly asPlurality: {2688 readonly id: XcmV0JunctionBodyId;2689 readonly part: XcmV0JunctionBodyPart;2690 } & Struct;2691 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2692}26932694/** @name XcmV0JunctionBodyId */2695export interface XcmV0JunctionBodyId extends Enum {2696 readonly isUnit: boolean;2697 readonly isNamed: boolean;2698 readonly asNamed: Bytes;2699 readonly isIndex: boolean;2700 readonly asIndex: Compact<u32>;2701 readonly isExecutive: boolean;2702 readonly isTechnical: boolean;2703 readonly isLegislative: boolean;2704 readonly isJudicial: boolean;2705 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2706}27072708/** @name XcmV0JunctionBodyPart */2709export interface XcmV0JunctionBodyPart extends Enum {2710 readonly isVoice: boolean;2711 readonly isMembers: boolean;2712 readonly asMembers: {2713 readonly count: Compact<u32>;2714 } & Struct;2715 readonly isFraction: boolean;2716 readonly asFraction: {2717 readonly nom: Compact<u32>;2718 readonly denom: Compact<u32>;2719 } & Struct;2720 readonly isAtLeastProportion: boolean;2721 readonly asAtLeastProportion: {2722 readonly nom: Compact<u32>;2723 readonly denom: Compact<u32>;2724 } & Struct;2725 readonly isMoreThanProportion: boolean;2726 readonly asMoreThanProportion: {2727 readonly nom: Compact<u32>;2728 readonly denom: Compact<u32>;2729 } & Struct;2730 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2731}27322733/** @name XcmV0JunctionNetworkId */2734export interface XcmV0JunctionNetworkId extends Enum {2735 readonly isAny: boolean;2736 readonly isNamed: boolean;2737 readonly asNamed: Bytes;2738 readonly isPolkadot: boolean;2739 readonly isKusama: boolean;2740 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2741}27422743/** @name XcmV0MultiAsset */2744export interface XcmV0MultiAsset extends Enum {2745 readonly isNone: boolean;2746 readonly isAll: boolean;2747 readonly isAllFungible: boolean;2748 readonly isAllNonFungible: boolean;2749 readonly isAllAbstractFungible: boolean;2750 readonly asAllAbstractFungible: {2751 readonly id: Bytes;2752 } & Struct;2753 readonly isAllAbstractNonFungible: boolean;2754 readonly asAllAbstractNonFungible: {2755 readonly class: Bytes;2756 } & Struct;2757 readonly isAllConcreteFungible: boolean;2758 readonly asAllConcreteFungible: {2759 readonly id: XcmV0MultiLocation;2760 } & Struct;2761 readonly isAllConcreteNonFungible: boolean;2762 readonly asAllConcreteNonFungible: {2763 readonly class: XcmV0MultiLocation;2764 } & Struct;2765 readonly isAbstractFungible: boolean;2766 readonly asAbstractFungible: {2767 readonly id: Bytes;2768 readonly amount: Compact<u128>;2769 } & Struct;2770 readonly isAbstractNonFungible: boolean;2771 readonly asAbstractNonFungible: {2772 readonly class: Bytes;2773 readonly instance: XcmV1MultiassetAssetInstance;2774 } & Struct;2775 readonly isConcreteFungible: boolean;2776 readonly asConcreteFungible: {2777 readonly id: XcmV0MultiLocation;2778 readonly amount: Compact<u128>;2779 } & Struct;2780 readonly isConcreteNonFungible: boolean;2781 readonly asConcreteNonFungible: {2782 readonly class: XcmV0MultiLocation;2783 readonly instance: XcmV1MultiassetAssetInstance;2784 } & Struct;2785 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2786}27872788/** @name XcmV0MultiLocation */2789export interface XcmV0MultiLocation extends Enum {2790 readonly isNull: boolean;2791 readonly isX1: boolean;2792 readonly asX1: XcmV0Junction;2793 readonly isX2: boolean;2794 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2795 readonly isX3: boolean;2796 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2797 readonly isX4: boolean;2798 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2799 readonly isX5: boolean;2800 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2801 readonly isX6: boolean;2802 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2803 readonly isX7: boolean;2804 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2805 readonly isX8: boolean;2806 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2807 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2808}28092810/** @name XcmV0Order */2811export interface XcmV0Order extends Enum {2812 readonly isNull: boolean;2813 readonly isDepositAsset: boolean;2814 readonly asDepositAsset: {2815 readonly assets: Vec<XcmV0MultiAsset>;2816 readonly dest: XcmV0MultiLocation;2817 } & Struct;2818 readonly isDepositReserveAsset: boolean;2819 readonly asDepositReserveAsset: {2820 readonly assets: Vec<XcmV0MultiAsset>;2821 readonly dest: XcmV0MultiLocation;2822 readonly effects: Vec<XcmV0Order>;2823 } & Struct;2824 readonly isExchangeAsset: boolean;2825 readonly asExchangeAsset: {2826 readonly give: Vec<XcmV0MultiAsset>;2827 readonly receive: Vec<XcmV0MultiAsset>;2828 } & Struct;2829 readonly isInitiateReserveWithdraw: boolean;2830 readonly asInitiateReserveWithdraw: {2831 readonly assets: Vec<XcmV0MultiAsset>;2832 readonly reserve: XcmV0MultiLocation;2833 readonly effects: Vec<XcmV0Order>;2834 } & Struct;2835 readonly isInitiateTeleport: boolean;2836 readonly asInitiateTeleport: {2837 readonly assets: Vec<XcmV0MultiAsset>;2838 readonly dest: XcmV0MultiLocation;2839 readonly effects: Vec<XcmV0Order>;2840 } & Struct;2841 readonly isQueryHolding: boolean;2842 readonly asQueryHolding: {2843 readonly queryId: Compact<u64>;2844 readonly dest: XcmV0MultiLocation;2845 readonly assets: Vec<XcmV0MultiAsset>;2846 } & Struct;2847 readonly isBuyExecution: boolean;2848 readonly asBuyExecution: {2849 readonly fees: XcmV0MultiAsset;2850 readonly weight: u64;2851 readonly debt: u64;2852 readonly haltOnError: bool;2853 readonly xcm: Vec<XcmV0Xcm>;2854 } & Struct;2855 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2856}28572858/** @name XcmV0OriginKind */2859export interface XcmV0OriginKind extends Enum {2860 readonly isNative: boolean;2861 readonly isSovereignAccount: boolean;2862 readonly isSuperuser: boolean;2863 readonly isXcm: boolean;2864 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2865}28662867/** @name XcmV0Response */2868export interface XcmV0Response extends Enum {2869 readonly isAssets: boolean;2870 readonly asAssets: Vec<XcmV0MultiAsset>;2871 readonly type: 'Assets';2872}28732874/** @name XcmV0Xcm */2875export interface XcmV0Xcm extends Enum {2876 readonly isWithdrawAsset: boolean;2877 readonly asWithdrawAsset: {2878 readonly assets: Vec<XcmV0MultiAsset>;2879 readonly effects: Vec<XcmV0Order>;2880 } & Struct;2881 readonly isReserveAssetDeposit: boolean;2882 readonly asReserveAssetDeposit: {2883 readonly assets: Vec<XcmV0MultiAsset>;2884 readonly effects: Vec<XcmV0Order>;2885 } & Struct;2886 readonly isTeleportAsset: boolean;2887 readonly asTeleportAsset: {2888 readonly assets: Vec<XcmV0MultiAsset>;2889 readonly effects: Vec<XcmV0Order>;2890 } & Struct;2891 readonly isQueryResponse: boolean;2892 readonly asQueryResponse: {2893 readonly queryId: Compact<u64>;2894 readonly response: XcmV0Response;2895 } & Struct;2896 readonly isTransferAsset: boolean;2897 readonly asTransferAsset: {2898 readonly assets: Vec<XcmV0MultiAsset>;2899 readonly dest: XcmV0MultiLocation;2900 } & Struct;2901 readonly isTransferReserveAsset: boolean;2902 readonly asTransferReserveAsset: {2903 readonly assets: Vec<XcmV0MultiAsset>;2904 readonly dest: XcmV0MultiLocation;2905 readonly effects: Vec<XcmV0Order>;2906 } & Struct;2907 readonly isTransact: boolean;2908 readonly asTransact: {2909 readonly originType: XcmV0OriginKind;2910 readonly requireWeightAtMost: u64;2911 readonly call: XcmDoubleEncoded;2912 } & Struct;2913 readonly isHrmpNewChannelOpenRequest: boolean;2914 readonly asHrmpNewChannelOpenRequest: {2915 readonly sender: Compact<u32>;2916 readonly maxMessageSize: Compact<u32>;2917 readonly maxCapacity: Compact<u32>;2918 } & Struct;2919 readonly isHrmpChannelAccepted: boolean;2920 readonly asHrmpChannelAccepted: {2921 readonly recipient: Compact<u32>;2922 } & Struct;2923 readonly isHrmpChannelClosing: boolean;2924 readonly asHrmpChannelClosing: {2925 readonly initiator: Compact<u32>;2926 readonly sender: Compact<u32>;2927 readonly recipient: Compact<u32>;2928 } & Struct;2929 readonly isRelayedFrom: boolean;2930 readonly asRelayedFrom: {2931 readonly who: XcmV0MultiLocation;2932 readonly message: XcmV0Xcm;2933 } & Struct;2934 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2935}29362937/** @name XcmV1Junction */2938export interface XcmV1Junction extends Enum {2939 readonly isParachain: boolean;2940 readonly asParachain: Compact<u32>;2941 readonly isAccountId32: boolean;2942 readonly asAccountId32: {2943 readonly network: XcmV0JunctionNetworkId;2944 readonly id: U8aFixed;2945 } & Struct;2946 readonly isAccountIndex64: boolean;2947 readonly asAccountIndex64: {2948 readonly network: XcmV0JunctionNetworkId;2949 readonly index: Compact<u64>;2950 } & Struct;2951 readonly isAccountKey20: boolean;2952 readonly asAccountKey20: {2953 readonly network: XcmV0JunctionNetworkId;2954 readonly key: U8aFixed;2955 } & Struct;2956 readonly isPalletInstance: boolean;2957 readonly asPalletInstance: u8;2958 readonly isGeneralIndex: boolean;2959 readonly asGeneralIndex: Compact<u128>;2960 readonly isGeneralKey: boolean;2961 readonly asGeneralKey: Bytes;2962 readonly isOnlyChild: boolean;2963 readonly isPlurality: boolean;2964 readonly asPlurality: {2965 readonly id: XcmV0JunctionBodyId;2966 readonly part: XcmV0JunctionBodyPart;2967 } & Struct;2968 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2969}29702971/** @name XcmV1MultiAsset */2972export interface XcmV1MultiAsset extends Struct {2973 readonly id: XcmV1MultiassetAssetId;2974 readonly fun: XcmV1MultiassetFungibility;2975}29762977/** @name XcmV1MultiassetAssetId */2978export interface XcmV1MultiassetAssetId extends Enum {2979 readonly isConcrete: boolean;2980 readonly asConcrete: XcmV1MultiLocation;2981 readonly isAbstract: boolean;2982 readonly asAbstract: Bytes;2983 readonly type: 'Concrete' | 'Abstract';2984}29852986/** @name XcmV1MultiassetAssetInstance */2987export interface XcmV1MultiassetAssetInstance extends Enum {2988 readonly isUndefined: boolean;2989 readonly isIndex: boolean;2990 readonly asIndex: Compact<u128>;2991 readonly isArray4: boolean;2992 readonly asArray4: U8aFixed;2993 readonly isArray8: boolean;2994 readonly asArray8: U8aFixed;2995 readonly isArray16: boolean;2996 readonly asArray16: U8aFixed;2997 readonly isArray32: boolean;2998 readonly asArray32: U8aFixed;2999 readonly isBlob: boolean;3000 readonly asBlob: Bytes;3001 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3002}30033004/** @name XcmV1MultiassetFungibility */3005export interface XcmV1MultiassetFungibility extends Enum {3006 readonly isFungible: boolean;3007 readonly asFungible: Compact<u128>;3008 readonly isNonFungible: boolean;3009 readonly asNonFungible: XcmV1MultiassetAssetInstance;3010 readonly type: 'Fungible' | 'NonFungible';3011}30123013/** @name XcmV1MultiassetMultiAssetFilter */3014export interface XcmV1MultiassetMultiAssetFilter extends Enum {3015 readonly isDefinite: boolean;3016 readonly asDefinite: XcmV1MultiassetMultiAssets;3017 readonly isWild: boolean;3018 readonly asWild: XcmV1MultiassetWildMultiAsset;3019 readonly type: 'Definite' | 'Wild';3020}30213022/** @name XcmV1MultiassetMultiAssets */3023export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30243025/** @name XcmV1MultiassetWildFungibility */3026export interface XcmV1MultiassetWildFungibility extends Enum {3027 readonly isFungible: boolean;3028 readonly isNonFungible: boolean;3029 readonly type: 'Fungible' | 'NonFungible';3030}30313032/** @name XcmV1MultiassetWildMultiAsset */3033export interface XcmV1MultiassetWildMultiAsset extends Enum {3034 readonly isAll: boolean;3035 readonly isAllOf: boolean;3036 readonly asAllOf: {3037 readonly id: XcmV1MultiassetAssetId;3038 readonly fun: XcmV1MultiassetWildFungibility;3039 } & Struct;3040 readonly type: 'All' | 'AllOf';3041}30423043/** @name XcmV1MultiLocation */3044export interface XcmV1MultiLocation extends Struct {3045 readonly parents: u8;3046 readonly interior: XcmV1MultilocationJunctions;3047}30483049/** @name XcmV1MultilocationJunctions */3050export interface XcmV1MultilocationJunctions extends Enum {3051 readonly isHere: boolean;3052 readonly isX1: boolean;3053 readonly asX1: XcmV1Junction;3054 readonly isX2: boolean;3055 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3056 readonly isX3: boolean;3057 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3058 readonly isX4: boolean;3059 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3060 readonly isX5: boolean;3061 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3062 readonly isX6: boolean;3063 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3064 readonly isX7: boolean;3065 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3066 readonly isX8: boolean;3067 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3068 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3069}30703071/** @name XcmV1Order */3072export interface XcmV1Order extends Enum {3073 readonly isNoop: boolean;3074 readonly isDepositAsset: boolean;3075 readonly asDepositAsset: {3076 readonly assets: XcmV1MultiassetMultiAssetFilter;3077 readonly maxAssets: u32;3078 readonly beneficiary: XcmV1MultiLocation;3079 } & Struct;3080 readonly isDepositReserveAsset: boolean;3081 readonly asDepositReserveAsset: {3082 readonly assets: XcmV1MultiassetMultiAssetFilter;3083 readonly maxAssets: u32;3084 readonly dest: XcmV1MultiLocation;3085 readonly effects: Vec<XcmV1Order>;3086 } & Struct;3087 readonly isExchangeAsset: boolean;3088 readonly asExchangeAsset: {3089 readonly give: XcmV1MultiassetMultiAssetFilter;3090 readonly receive: XcmV1MultiassetMultiAssets;3091 } & Struct;3092 readonly isInitiateReserveWithdraw: boolean;3093 readonly asInitiateReserveWithdraw: {3094 readonly assets: XcmV1MultiassetMultiAssetFilter;3095 readonly reserve: XcmV1MultiLocation;3096 readonly effects: Vec<XcmV1Order>;3097 } & Struct;3098 readonly isInitiateTeleport: boolean;3099 readonly asInitiateTeleport: {3100 readonly assets: XcmV1MultiassetMultiAssetFilter;3101 readonly dest: XcmV1MultiLocation;3102 readonly effects: Vec<XcmV1Order>;3103 } & Struct;3104 readonly isQueryHolding: boolean;3105 readonly asQueryHolding: {3106 readonly queryId: Compact<u64>;3107 readonly dest: XcmV1MultiLocation;3108 readonly assets: XcmV1MultiassetMultiAssetFilter;3109 } & Struct;3110 readonly isBuyExecution: boolean;3111 readonly asBuyExecution: {3112 readonly fees: XcmV1MultiAsset;3113 readonly weight: u64;3114 readonly debt: u64;3115 readonly haltOnError: bool;3116 readonly instructions: Vec<XcmV1Xcm>;3117 } & Struct;3118 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3119}31203121/** @name XcmV1Response */3122export interface XcmV1Response extends Enum {3123 readonly isAssets: boolean;3124 readonly asAssets: XcmV1MultiassetMultiAssets;3125 readonly isVersion: boolean;3126 readonly asVersion: u32;3127 readonly type: 'Assets' | 'Version';3128}31293130/** @name XcmV1Xcm */3131export interface XcmV1Xcm extends Enum {3132 readonly isWithdrawAsset: boolean;3133 readonly asWithdrawAsset: {3134 readonly assets: XcmV1MultiassetMultiAssets;3135 readonly effects: Vec<XcmV1Order>;3136 } & Struct;3137 readonly isReserveAssetDeposited: boolean;3138 readonly asReserveAssetDeposited: {3139 readonly assets: XcmV1MultiassetMultiAssets;3140 readonly effects: Vec<XcmV1Order>;3141 } & Struct;3142 readonly isReceiveTeleportedAsset: boolean;3143 readonly asReceiveTeleportedAsset: {3144 readonly assets: XcmV1MultiassetMultiAssets;3145 readonly effects: Vec<XcmV1Order>;3146 } & Struct;3147 readonly isQueryResponse: boolean;3148 readonly asQueryResponse: {3149 readonly queryId: Compact<u64>;3150 readonly response: XcmV1Response;3151 } & Struct;3152 readonly isTransferAsset: boolean;3153 readonly asTransferAsset: {3154 readonly assets: XcmV1MultiassetMultiAssets;3155 readonly beneficiary: XcmV1MultiLocation;3156 } & Struct;3157 readonly isTransferReserveAsset: boolean;3158 readonly asTransferReserveAsset: {3159 readonly assets: XcmV1MultiassetMultiAssets;3160 readonly dest: XcmV1MultiLocation;3161 readonly effects: Vec<XcmV1Order>;3162 } & Struct;3163 readonly isTransact: boolean;3164 readonly asTransact: {3165 readonly originType: XcmV0OriginKind;3166 readonly requireWeightAtMost: u64;3167 readonly call: XcmDoubleEncoded;3168 } & Struct;3169 readonly isHrmpNewChannelOpenRequest: boolean;3170 readonly asHrmpNewChannelOpenRequest: {3171 readonly sender: Compact<u32>;3172 readonly maxMessageSize: Compact<u32>;3173 readonly maxCapacity: Compact<u32>;3174 } & Struct;3175 readonly isHrmpChannelAccepted: boolean;3176 readonly asHrmpChannelAccepted: {3177 readonly recipient: Compact<u32>;3178 } & Struct;3179 readonly isHrmpChannelClosing: boolean;3180 readonly asHrmpChannelClosing: {3181 readonly initiator: Compact<u32>;3182 readonly sender: Compact<u32>;3183 readonly recipient: Compact<u32>;3184 } & Struct;3185 readonly isRelayedFrom: boolean;3186 readonly asRelayedFrom: {3187 readonly who: XcmV1MultilocationJunctions;3188 readonly message: XcmV1Xcm;3189 } & Struct;3190 readonly isSubscribeVersion: boolean;3191 readonly asSubscribeVersion: {3192 readonly queryId: Compact<u64>;3193 readonly maxResponseWeight: Compact<u64>;3194 } & Struct;3195 readonly isUnsubscribeVersion: boolean;3196 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3197}31983199/** @name XcmV2Instruction */3200export interface XcmV2Instruction extends Enum {3201 readonly isWithdrawAsset: boolean;3202 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3203 readonly isReserveAssetDeposited: boolean;3204 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3205 readonly isReceiveTeleportedAsset: boolean;3206 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3207 readonly isQueryResponse: boolean;3208 readonly asQueryResponse: {3209 readonly queryId: Compact<u64>;3210 readonly response: XcmV2Response;3211 readonly maxWeight: Compact<u64>;3212 } & Struct;3213 readonly isTransferAsset: boolean;3214 readonly asTransferAsset: {3215 readonly assets: XcmV1MultiassetMultiAssets;3216 readonly beneficiary: XcmV1MultiLocation;3217 } & Struct;3218 readonly isTransferReserveAsset: boolean;3219 readonly asTransferReserveAsset: {3220 readonly assets: XcmV1MultiassetMultiAssets;3221 readonly dest: XcmV1MultiLocation;3222 readonly xcm: XcmV2Xcm;3223 } & Struct;3224 readonly isTransact: boolean;3225 readonly asTransact: {3226 readonly originType: XcmV0OriginKind;3227 readonly requireWeightAtMost: Compact<u64>;3228 readonly call: XcmDoubleEncoded;3229 } & Struct;3230 readonly isHrmpNewChannelOpenRequest: boolean;3231 readonly asHrmpNewChannelOpenRequest: {3232 readonly sender: Compact<u32>;3233 readonly maxMessageSize: Compact<u32>;3234 readonly maxCapacity: Compact<u32>;3235 } & Struct;3236 readonly isHrmpChannelAccepted: boolean;3237 readonly asHrmpChannelAccepted: {3238 readonly recipient: Compact<u32>;3239 } & Struct;3240 readonly isHrmpChannelClosing: boolean;3241 readonly asHrmpChannelClosing: {3242 readonly initiator: Compact<u32>;3243 readonly sender: Compact<u32>;3244 readonly recipient: Compact<u32>;3245 } & Struct;3246 readonly isClearOrigin: boolean;3247 readonly isDescendOrigin: boolean;3248 readonly asDescendOrigin: XcmV1MultilocationJunctions;3249 readonly isReportError: boolean;3250 readonly asReportError: {3251 readonly queryId: Compact<u64>;3252 readonly dest: XcmV1MultiLocation;3253 readonly maxResponseWeight: Compact<u64>;3254 } & Struct;3255 readonly isDepositAsset: boolean;3256 readonly asDepositAsset: {3257 readonly assets: XcmV1MultiassetMultiAssetFilter;3258 readonly maxAssets: Compact<u32>;3259 readonly beneficiary: XcmV1MultiLocation;3260 } & Struct;3261 readonly isDepositReserveAsset: boolean;3262 readonly asDepositReserveAsset: {3263 readonly assets: XcmV1MultiassetMultiAssetFilter;3264 readonly maxAssets: Compact<u32>;3265 readonly dest: XcmV1MultiLocation;3266 readonly xcm: XcmV2Xcm;3267 } & Struct;3268 readonly isExchangeAsset: boolean;3269 readonly asExchangeAsset: {3270 readonly give: XcmV1MultiassetMultiAssetFilter;3271 readonly receive: XcmV1MultiassetMultiAssets;3272 } & Struct;3273 readonly isInitiateReserveWithdraw: boolean;3274 readonly asInitiateReserveWithdraw: {3275 readonly assets: XcmV1MultiassetMultiAssetFilter;3276 readonly reserve: XcmV1MultiLocation;3277 readonly xcm: XcmV2Xcm;3278 } & Struct;3279 readonly isInitiateTeleport: boolean;3280 readonly asInitiateTeleport: {3281 readonly assets: XcmV1MultiassetMultiAssetFilter;3282 readonly dest: XcmV1MultiLocation;3283 readonly xcm: XcmV2Xcm;3284 } & Struct;3285 readonly isQueryHolding: boolean;3286 readonly asQueryHolding: {3287 readonly queryId: Compact<u64>;3288 readonly dest: XcmV1MultiLocation;3289 readonly assets: XcmV1MultiassetMultiAssetFilter;3290 readonly maxResponseWeight: Compact<u64>;3291 } & Struct;3292 readonly isBuyExecution: boolean;3293 readonly asBuyExecution: {3294 readonly fees: XcmV1MultiAsset;3295 readonly weightLimit: XcmV2WeightLimit;3296 } & Struct;3297 readonly isRefundSurplus: boolean;3298 readonly isSetErrorHandler: boolean;3299 readonly asSetErrorHandler: XcmV2Xcm;3300 readonly isSetAppendix: boolean;3301 readonly asSetAppendix: XcmV2Xcm;3302 readonly isClearError: boolean;3303 readonly isClaimAsset: boolean;3304 readonly asClaimAsset: {3305 readonly assets: XcmV1MultiassetMultiAssets;3306 readonly ticket: XcmV1MultiLocation;3307 } & Struct;3308 readonly isTrap: boolean;3309 readonly asTrap: Compact<u64>;3310 readonly isSubscribeVersion: boolean;3311 readonly asSubscribeVersion: {3312 readonly queryId: Compact<u64>;3313 readonly maxResponseWeight: Compact<u64>;3314 } & Struct;3315 readonly isUnsubscribeVersion: boolean;3316 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';3317}33183319/** @name XcmV2Response */3320export interface XcmV2Response extends Enum {3321 readonly isNull: boolean;3322 readonly isAssets: boolean;3323 readonly asAssets: XcmV1MultiassetMultiAssets;3324 readonly isExecutionResult: boolean;3325 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3326 readonly isVersion: boolean;3327 readonly asVersion: u32;3328 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3329}33303331/** @name XcmV2TraitsError */3332export interface XcmV2TraitsError extends Enum {3333 readonly isOverflow: boolean;3334 readonly isUnimplemented: boolean;3335 readonly isUntrustedReserveLocation: boolean;3336 readonly isUntrustedTeleportLocation: boolean;3337 readonly isMultiLocationFull: boolean;3338 readonly isMultiLocationNotInvertible: boolean;3339 readonly isBadOrigin: boolean;3340 readonly isInvalidLocation: boolean;3341 readonly isAssetNotFound: boolean;3342 readonly isFailedToTransactAsset: boolean;3343 readonly isNotWithdrawable: boolean;3344 readonly isLocationCannotHold: boolean;3345 readonly isExceedsMaxMessageSize: boolean;3346 readonly isDestinationUnsupported: boolean;3347 readonly isTransport: boolean;3348 readonly isUnroutable: boolean;3349 readonly isUnknownClaim: boolean;3350 readonly isFailedToDecode: boolean;3351 readonly isMaxWeightInvalid: boolean;3352 readonly isNotHoldingFees: boolean;3353 readonly isTooExpensive: boolean;3354 readonly isTrap: boolean;3355 readonly asTrap: u64;3356 readonly isUnhandledXcmVersion: boolean;3357 readonly isWeightLimitReached: boolean;3358 readonly asWeightLimitReached: u64;3359 readonly isBarrier: boolean;3360 readonly isWeightNotComputable: boolean;3361 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';3362}33633364/** @name XcmV2TraitsOutcome */3365export interface XcmV2TraitsOutcome extends Enum {3366 readonly isComplete: boolean;3367 readonly asComplete: u64;3368 readonly isIncomplete: boolean;3369 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3370 readonly isError: boolean;3371 readonly asError: XcmV2TraitsError;3372 readonly type: 'Complete' | 'Incomplete' | 'Error';3373}33743375/** @name XcmV2WeightLimit */3376export interface XcmV2WeightLimit extends Enum {3377 readonly isUnlimited: boolean;3378 readonly isLimited: boolean;3379 readonly asLimited: Compact<u64>;3380 readonly type: 'Unlimited' | 'Limited';3381}33823383/** @name XcmV2Xcm */3384export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}33853386/** @name XcmVersionedMultiAssets */3387export interface XcmVersionedMultiAssets extends Enum {3388 readonly isV0: boolean;3389 readonly asV0: Vec<XcmV0MultiAsset>;3390 readonly isV1: boolean;3391 readonly asV1: XcmV1MultiassetMultiAssets;3392 readonly type: 'V0' | 'V1';3393}33943395/** @name XcmVersionedMultiLocation */3396export interface XcmVersionedMultiLocation extends Enum {3397 readonly isV0: boolean;3398 readonly asV0: XcmV0MultiLocation;3399 readonly isV1: boolean;3400 readonly asV1: XcmV1MultiLocation;3401 readonly type: 'V0' | 'V1';3402}34033404/** @name XcmVersionedXcm */3405export interface XcmVersionedXcm extends Enum {3406 readonly isV0: boolean;3407 readonly asV0: XcmV0Xcm;3408 readonly isV1: boolean;3409 readonly asV1: XcmV1Xcm;3410 readonly isV2: boolean;3411 readonly asV2: XcmV2Xcm;3412 readonly type: 'V0' | 'V1' | 'V2';3413}34143415export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;819 readonly isStake: boolean;820 readonly asStake: {821 readonly amount: u128;822 } & Struct;823 readonly isUnstake: boolean;824 readonly asUnstake: {825 readonly amount: u128;826 } & Struct;827 readonly isSponsorCollection: boolean;828 readonly asSponsorCollection: {829 readonly collectionId: u32;830 } & Struct;831 readonly isStopSponsorignCollection: boolean;832 readonly asStopSponsorignCollection: {833 readonly collectionId: u32;834 } & Struct;835 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';836}837838/** @name PalletAppPromotionError */839export interface PalletAppPromotionError extends Enum {840 readonly isAdminNotSet: boolean;841 readonly isNoPermission: boolean;842 readonly isNotSufficientFounds: boolean;843 readonly isInvalidArgument: boolean;844 readonly isAlreadySponsored: boolean;845 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';846}847848/** @name PalletAppPromotionEvent */849export interface PalletAppPromotionEvent extends Enum {850 readonly isStakingRecalculation: boolean;851 readonly asStakingRecalculation: ITuple<[u128, u128]>;852 readonly type: 'StakingRecalculation';853}854855/** @name PalletBalancesAccountData */856export interface PalletBalancesAccountData extends Struct {857 readonly free: u128;858 readonly reserved: u128;859 readonly miscFrozen: u128;860 readonly feeFrozen: u128;861}862863/** @name PalletBalancesBalanceLock */864export interface PalletBalancesBalanceLock extends Struct {865 readonly id: U8aFixed;866 readonly amount: u128;867 readonly reasons: PalletBalancesReasons;868}869870/** @name PalletBalancesCall */871export interface PalletBalancesCall extends Enum {872 readonly isTransfer: boolean;873 readonly asTransfer: {874 readonly dest: MultiAddress;875 readonly value: Compact<u128>;876 } & Struct;877 readonly isSetBalance: boolean;878 readonly asSetBalance: {879 readonly who: MultiAddress;880 readonly newFree: Compact<u128>;881 readonly newReserved: Compact<u128>;882 } & Struct;883 readonly isForceTransfer: boolean;884 readonly asForceTransfer: {885 readonly source: MultiAddress;886 readonly dest: MultiAddress;887 readonly value: Compact<u128>;888 } & Struct;889 readonly isTransferKeepAlive: boolean;890 readonly asTransferKeepAlive: {891 readonly dest: MultiAddress;892 readonly value: Compact<u128>;893 } & Struct;894 readonly isTransferAll: boolean;895 readonly asTransferAll: {896 readonly dest: MultiAddress;897 readonly keepAlive: bool;898 } & Struct;899 readonly isForceUnreserve: boolean;900 readonly asForceUnreserve: {901 readonly who: MultiAddress;902 readonly amount: u128;903 } & Struct;904 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';905}906907/** @name PalletBalancesError */908export interface PalletBalancesError extends Enum {909 readonly isVestingBalance: boolean;910 readonly isLiquidityRestrictions: boolean;911 readonly isInsufficientBalance: boolean;912 readonly isExistentialDeposit: boolean;913 readonly isKeepAlive: boolean;914 readonly isExistingVestingSchedule: boolean;915 readonly isDeadAccount: boolean;916 readonly isTooManyReserves: boolean;917 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';918}919920/** @name PalletBalancesEvent */921export interface PalletBalancesEvent extends Enum {922 readonly isEndowed: boolean;923 readonly asEndowed: {924 readonly account: AccountId32;925 readonly freeBalance: u128;926 } & Struct;927 readonly isDustLost: boolean;928 readonly asDustLost: {929 readonly account: AccountId32;930 readonly amount: u128;931 } & Struct;932 readonly isTransfer: boolean;933 readonly asTransfer: {934 readonly from: AccountId32;935 readonly to: AccountId32;936 readonly amount: u128;937 } & Struct;938 readonly isBalanceSet: boolean;939 readonly asBalanceSet: {940 readonly who: AccountId32;941 readonly free: u128;942 readonly reserved: u128;943 } & Struct;944 readonly isReserved: boolean;945 readonly asReserved: {946 readonly who: AccountId32;947 readonly amount: u128;948 } & Struct;949 readonly isUnreserved: boolean;950 readonly asUnreserved: {951 readonly who: AccountId32;952 readonly amount: u128;953 } & Struct;954 readonly isReserveRepatriated: boolean;955 readonly asReserveRepatriated: {956 readonly from: AccountId32;957 readonly to: AccountId32;958 readonly amount: u128;959 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;960 } & Struct;961 readonly isDeposit: boolean;962 readonly asDeposit: {963 readonly who: AccountId32;964 readonly amount: u128;965 } & Struct;966 readonly isWithdraw: boolean;967 readonly asWithdraw: {968 readonly who: AccountId32;969 readonly amount: u128;970 } & Struct;971 readonly isSlashed: boolean;972 readonly asSlashed: {973 readonly who: AccountId32;974 readonly amount: u128;975 } & Struct;976 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';977}978979/** @name PalletBalancesReasons */980export interface PalletBalancesReasons extends Enum {981 readonly isFee: boolean;982 readonly isMisc: boolean;983 readonly isAll: boolean;984 readonly type: 'Fee' | 'Misc' | 'All';985}986987/** @name PalletBalancesReleases */988export interface PalletBalancesReleases extends Enum {989 readonly isV100: boolean;990 readonly isV200: boolean;991 readonly type: 'V100' | 'V200';992}993994/** @name PalletBalancesReserveData */995export interface PalletBalancesReserveData extends Struct {996 readonly id: U8aFixed;997 readonly amount: u128;998}9991000/** @name PalletCommonError */1001export interface PalletCommonError extends Enum {1002 readonly isCollectionNotFound: boolean;1003 readonly isMustBeTokenOwner: boolean;1004 readonly isNoPermission: boolean;1005 readonly isCantDestroyNotEmptyCollection: boolean;1006 readonly isPublicMintingNotAllowed: boolean;1007 readonly isAddressNotInAllowlist: boolean;1008 readonly isCollectionNameLimitExceeded: boolean;1009 readonly isCollectionDescriptionLimitExceeded: boolean;1010 readonly isCollectionTokenPrefixLimitExceeded: boolean;1011 readonly isTotalCollectionsLimitExceeded: boolean;1012 readonly isCollectionAdminCountExceeded: boolean;1013 readonly isCollectionLimitBoundsExceeded: boolean;1014 readonly isOwnerPermissionsCantBeReverted: boolean;1015 readonly isTransferNotAllowed: boolean;1016 readonly isAccountTokenLimitExceeded: boolean;1017 readonly isCollectionTokenLimitExceeded: boolean;1018 readonly isMetadataFlagFrozen: boolean;1019 readonly isTokenNotFound: boolean;1020 readonly isTokenValueTooLow: boolean;1021 readonly isApprovedValueTooLow: boolean;1022 readonly isCantApproveMoreThanOwned: boolean;1023 readonly isAddressIsZero: boolean;1024 readonly isUnsupportedOperation: boolean;1025 readonly isNotSufficientFounds: boolean;1026 readonly isUserIsNotAllowedToNest: boolean;1027 readonly isSourceCollectionIsNotAllowedToNest: boolean;1028 readonly isCollectionFieldSizeExceeded: boolean;1029 readonly isNoSpaceForProperty: boolean;1030 readonly isPropertyLimitReached: boolean;1031 readonly isPropertyKeyIsTooLong: boolean;1032 readonly isInvalidCharacterInPropertyKey: boolean;1033 readonly isEmptyPropertyKey: boolean;1034 readonly isCollectionIsExternal: boolean;1035 readonly isCollectionIsInternal: boolean;1036 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';1037}10381039/** @name PalletCommonEvent */1040export interface PalletCommonEvent extends Enum {1041 readonly isCollectionCreated: boolean;1042 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1043 readonly isCollectionDestroyed: boolean;1044 readonly asCollectionDestroyed: u32;1045 readonly isItemCreated: boolean;1046 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1047 readonly isItemDestroyed: boolean;1048 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1049 readonly isTransfer: boolean;1050 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1051 readonly isApproved: boolean;1052 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1053 readonly isCollectionPropertySet: boolean;1054 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1055 readonly isCollectionPropertyDeleted: boolean;1056 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1057 readonly isTokenPropertySet: boolean;1058 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1059 readonly isTokenPropertyDeleted: boolean;1060 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1061 readonly isPropertyPermissionSet: boolean;1062 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1063 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1064}10651066/** @name PalletConfigurationCall */1067export interface PalletConfigurationCall extends Enum {1068 readonly isSetWeightToFeeCoefficientOverride: boolean;1069 readonly asSetWeightToFeeCoefficientOverride: {1070 readonly coeff: Option<u32>;1071 } & Struct;1072 readonly isSetMinGasPriceOverride: boolean;1073 readonly asSetMinGasPriceOverride: {1074 readonly coeff: Option<u64>;1075 } & Struct;1076 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1077}10781079/** @name PalletEthereumCall */1080export interface PalletEthereumCall extends Enum {1081 readonly isTransact: boolean;1082 readonly asTransact: {1083 readonly transaction: EthereumTransactionTransactionV2;1084 } & Struct;1085 readonly type: 'Transact';1086}10871088/** @name PalletEthereumError */1089export interface PalletEthereumError extends Enum {1090 readonly isInvalidSignature: boolean;1091 readonly isPreLogExists: boolean;1092 readonly type: 'InvalidSignature' | 'PreLogExists';1093}10941095/** @name PalletEthereumEvent */1096export interface PalletEthereumEvent extends Enum {1097 readonly isExecuted: boolean;1098 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1099 readonly type: 'Executed';1100}11011102/** @name PalletEthereumFakeTransactionFinalizer */1103export interface PalletEthereumFakeTransactionFinalizer extends Null {}11041105/** @name PalletEthereumRawOrigin */1106export interface PalletEthereumRawOrigin extends Enum {1107 readonly isEthereumTransaction: boolean;1108 readonly asEthereumTransaction: H160;1109 readonly type: 'EthereumTransaction';1110}11111112/** @name PalletEvmAccountBasicCrossAccountIdRepr */1113export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1114 readonly isSubstrate: boolean;1115 readonly asSubstrate: AccountId32;1116 readonly isEthereum: boolean;1117 readonly asEthereum: H160;1118 readonly type: 'Substrate' | 'Ethereum';1119}11201121/** @name PalletEvmCall */1122export interface PalletEvmCall extends Enum {1123 readonly isWithdraw: boolean;1124 readonly asWithdraw: {1125 readonly address: H160;1126 readonly value: u128;1127 } & Struct;1128 readonly isCall: boolean;1129 readonly asCall: {1130 readonly source: H160;1131 readonly target: H160;1132 readonly input: Bytes;1133 readonly value: U256;1134 readonly gasLimit: u64;1135 readonly maxFeePerGas: U256;1136 readonly maxPriorityFeePerGas: Option<U256>;1137 readonly nonce: Option<U256>;1138 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1139 } & Struct;1140 readonly isCreate: boolean;1141 readonly asCreate: {1142 readonly source: H160;1143 readonly init: Bytes;1144 readonly value: U256;1145 readonly gasLimit: u64;1146 readonly maxFeePerGas: U256;1147 readonly maxPriorityFeePerGas: Option<U256>;1148 readonly nonce: Option<U256>;1149 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1150 } & Struct;1151 readonly isCreate2: boolean;1152 readonly asCreate2: {1153 readonly source: H160;1154 readonly init: Bytes;1155 readonly salt: H256;1156 readonly value: U256;1157 readonly gasLimit: u64;1158 readonly maxFeePerGas: U256;1159 readonly maxPriorityFeePerGas: Option<U256>;1160 readonly nonce: Option<U256>;1161 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1162 } & Struct;1163 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1164}11651166/** @name PalletEvmCoderSubstrateError */1167export interface PalletEvmCoderSubstrateError extends Enum {1168 readonly isOutOfGas: boolean;1169 readonly isOutOfFund: boolean;1170 readonly type: 'OutOfGas' | 'OutOfFund';1171}11721173/** @name PalletEvmContractHelpersError */1174export interface PalletEvmContractHelpersError extends Enum {1175 readonly isNoPermission: boolean;1176 readonly type: 'NoPermission';1177}11781179/** @name PalletEvmContractHelpersSponsoringModeT */1180export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1181 readonly isDisabled: boolean;1182 readonly isAllowlisted: boolean;1183 readonly isGenerous: boolean;1184 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1185}11861187/** @name PalletEvmError */1188export interface PalletEvmError extends Enum {1189 readonly isBalanceLow: boolean;1190 readonly isFeeOverflow: boolean;1191 readonly isPaymentOverflow: boolean;1192 readonly isWithdrawFailed: boolean;1193 readonly isGasPriceTooLow: boolean;1194 readonly isInvalidNonce: boolean;1195 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1196}11971198/** @name PalletEvmEvent */1199export interface PalletEvmEvent extends Enum {1200 readonly isLog: boolean;1201 readonly asLog: EthereumLog;1202 readonly isCreated: boolean;1203 readonly asCreated: H160;1204 readonly isCreatedFailed: boolean;1205 readonly asCreatedFailed: H160;1206 readonly isExecuted: boolean;1207 readonly asExecuted: H160;1208 readonly isExecutedFailed: boolean;1209 readonly asExecutedFailed: H160;1210 readonly isBalanceDeposit: boolean;1211 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1212 readonly isBalanceWithdraw: boolean;1213 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1214 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1215}12161217/** @name PalletEvmMigrationCall */1218export interface PalletEvmMigrationCall extends Enum {1219 readonly isBegin: boolean;1220 readonly asBegin: {1221 readonly address: H160;1222 } & Struct;1223 readonly isSetData: boolean;1224 readonly asSetData: {1225 readonly address: H160;1226 readonly data: Vec<ITuple<[H256, H256]>>;1227 } & Struct;1228 readonly isFinish: boolean;1229 readonly asFinish: {1230 readonly address: H160;1231 readonly code: Bytes;1232 } & Struct;1233 readonly type: 'Begin' | 'SetData' | 'Finish';1234}12351236/** @name PalletEvmMigrationError */1237export interface PalletEvmMigrationError extends Enum {1238 readonly isAccountNotEmpty: boolean;1239 readonly isAccountIsNotMigrating: boolean;1240 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1241}12421243/** @name PalletFungibleError */1244export interface PalletFungibleError extends Enum {1245 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1246 readonly isFungibleItemsHaveNoId: boolean;1247 readonly isFungibleItemsDontHaveData: boolean;1248 readonly isFungibleDisallowsNesting: boolean;1249 readonly isSettingPropertiesNotAllowed: boolean;1250 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1251}12521253/** @name PalletInflationCall */1254export interface PalletInflationCall extends Enum {1255 readonly isStartInflation: boolean;1256 readonly asStartInflation: {1257 readonly inflationStartRelayBlock: u32;1258 } & Struct;1259 readonly type: 'StartInflation';1260}12611262/** @name PalletNonfungibleError */1263export interface PalletNonfungibleError extends Enum {1264 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1265 readonly isNonfungibleItemsHaveNoAmount: boolean;1266 readonly isCantBurnNftWithChildren: boolean;1267 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1268}12691270/** @name PalletNonfungibleItemData */1271export interface PalletNonfungibleItemData extends Struct {1272 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1273}12741275/** @name PalletRefungibleError */1276export interface PalletRefungibleError extends Enum {1277 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1278 readonly isWrongRefungiblePieces: boolean;1279 readonly isRepartitionWhileNotOwningAllPieces: boolean;1280 readonly isRefungibleDisallowsNesting: boolean;1281 readonly isSettingPropertiesNotAllowed: boolean;1282 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1283}12841285/** @name PalletRefungibleItemData */1286export interface PalletRefungibleItemData extends Struct {1287 readonly constData: Bytes;1288}12891290/** @name PalletRmrkCoreCall */1291export interface PalletRmrkCoreCall extends Enum {1292 readonly isCreateCollection: boolean;1293 readonly asCreateCollection: {1294 readonly metadata: Bytes;1295 readonly max: Option<u32>;1296 readonly symbol: Bytes;1297 } & Struct;1298 readonly isDestroyCollection: boolean;1299 readonly asDestroyCollection: {1300 readonly collectionId: u32;1301 } & Struct;1302 readonly isChangeCollectionIssuer: boolean;1303 readonly asChangeCollectionIssuer: {1304 readonly collectionId: u32;1305 readonly newIssuer: MultiAddress;1306 } & Struct;1307 readonly isLockCollection: boolean;1308 readonly asLockCollection: {1309 readonly collectionId: u32;1310 } & Struct;1311 readonly isMintNft: boolean;1312 readonly asMintNft: {1313 readonly owner: Option<AccountId32>;1314 readonly collectionId: u32;1315 readonly recipient: Option<AccountId32>;1316 readonly royaltyAmount: Option<Permill>;1317 readonly metadata: Bytes;1318 readonly transferable: bool;1319 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1320 } & Struct;1321 readonly isBurnNft: boolean;1322 readonly asBurnNft: {1323 readonly collectionId: u32;1324 readonly nftId: u32;1325 readonly maxBurns: u32;1326 } & Struct;1327 readonly isSend: boolean;1328 readonly asSend: {1329 readonly rmrkCollectionId: u32;1330 readonly rmrkNftId: u32;1331 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1332 } & Struct;1333 readonly isAcceptNft: boolean;1334 readonly asAcceptNft: {1335 readonly rmrkCollectionId: u32;1336 readonly rmrkNftId: u32;1337 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1338 } & Struct;1339 readonly isRejectNft: boolean;1340 readonly asRejectNft: {1341 readonly rmrkCollectionId: u32;1342 readonly rmrkNftId: u32;1343 } & Struct;1344 readonly isAcceptResource: boolean;1345 readonly asAcceptResource: {1346 readonly rmrkCollectionId: u32;1347 readonly rmrkNftId: u32;1348 readonly resourceId: u32;1349 } & Struct;1350 readonly isAcceptResourceRemoval: boolean;1351 readonly asAcceptResourceRemoval: {1352 readonly rmrkCollectionId: u32;1353 readonly rmrkNftId: u32;1354 readonly resourceId: u32;1355 } & Struct;1356 readonly isSetProperty: boolean;1357 readonly asSetProperty: {1358 readonly rmrkCollectionId: Compact<u32>;1359 readonly maybeNftId: Option<u32>;1360 readonly key: Bytes;1361 readonly value: Bytes;1362 } & Struct;1363 readonly isSetPriority: boolean;1364 readonly asSetPriority: {1365 readonly rmrkCollectionId: u32;1366 readonly rmrkNftId: u32;1367 readonly priorities: Vec<u32>;1368 } & Struct;1369 readonly isAddBasicResource: boolean;1370 readonly asAddBasicResource: {1371 readonly rmrkCollectionId: u32;1372 readonly nftId: u32;1373 readonly resource: RmrkTraitsResourceBasicResource;1374 } & Struct;1375 readonly isAddComposableResource: boolean;1376 readonly asAddComposableResource: {1377 readonly rmrkCollectionId: u32;1378 readonly nftId: u32;1379 readonly resource: RmrkTraitsResourceComposableResource;1380 } & Struct;1381 readonly isAddSlotResource: boolean;1382 readonly asAddSlotResource: {1383 readonly rmrkCollectionId: u32;1384 readonly nftId: u32;1385 readonly resource: RmrkTraitsResourceSlotResource;1386 } & Struct;1387 readonly isRemoveResource: boolean;1388 readonly asRemoveResource: {1389 readonly rmrkCollectionId: u32;1390 readonly nftId: u32;1391 readonly resourceId: u32;1392 } & Struct;1393 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1394}13951396/** @name PalletRmrkCoreError */1397export interface PalletRmrkCoreError extends Enum {1398 readonly isCorruptedCollectionType: boolean;1399 readonly isRmrkPropertyKeyIsTooLong: boolean;1400 readonly isRmrkPropertyValueIsTooLong: boolean;1401 readonly isRmrkPropertyIsNotFound: boolean;1402 readonly isUnableToDecodeRmrkData: boolean;1403 readonly isCollectionNotEmpty: boolean;1404 readonly isNoAvailableCollectionId: boolean;1405 readonly isNoAvailableNftId: boolean;1406 readonly isCollectionUnknown: boolean;1407 readonly isNoPermission: boolean;1408 readonly isNonTransferable: boolean;1409 readonly isCollectionFullOrLocked: boolean;1410 readonly isResourceDoesntExist: boolean;1411 readonly isCannotSendToDescendentOrSelf: boolean;1412 readonly isCannotAcceptNonOwnedNft: boolean;1413 readonly isCannotRejectNonOwnedNft: boolean;1414 readonly isCannotRejectNonPendingNft: boolean;1415 readonly isResourceNotPending: boolean;1416 readonly isNoAvailableResourceId: boolean;1417 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1418}14191420/** @name PalletRmrkCoreEvent */1421export interface PalletRmrkCoreEvent extends Enum {1422 readonly isCollectionCreated: boolean;1423 readonly asCollectionCreated: {1424 readonly issuer: AccountId32;1425 readonly collectionId: u32;1426 } & Struct;1427 readonly isCollectionDestroyed: boolean;1428 readonly asCollectionDestroyed: {1429 readonly issuer: AccountId32;1430 readonly collectionId: u32;1431 } & Struct;1432 readonly isIssuerChanged: boolean;1433 readonly asIssuerChanged: {1434 readonly oldIssuer: AccountId32;1435 readonly newIssuer: AccountId32;1436 readonly collectionId: u32;1437 } & Struct;1438 readonly isCollectionLocked: boolean;1439 readonly asCollectionLocked: {1440 readonly issuer: AccountId32;1441 readonly collectionId: u32;1442 } & Struct;1443 readonly isNftMinted: boolean;1444 readonly asNftMinted: {1445 readonly owner: AccountId32;1446 readonly collectionId: u32;1447 readonly nftId: u32;1448 } & Struct;1449 readonly isNftBurned: boolean;1450 readonly asNftBurned: {1451 readonly owner: AccountId32;1452 readonly nftId: u32;1453 } & Struct;1454 readonly isNftSent: boolean;1455 readonly asNftSent: {1456 readonly sender: AccountId32;1457 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1458 readonly collectionId: u32;1459 readonly nftId: u32;1460 readonly approvalRequired: bool;1461 } & Struct;1462 readonly isNftAccepted: boolean;1463 readonly asNftAccepted: {1464 readonly sender: AccountId32;1465 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1466 readonly collectionId: u32;1467 readonly nftId: u32;1468 } & Struct;1469 readonly isNftRejected: boolean;1470 readonly asNftRejected: {1471 readonly sender: AccountId32;1472 readonly collectionId: u32;1473 readonly nftId: u32;1474 } & Struct;1475 readonly isPropertySet: boolean;1476 readonly asPropertySet: {1477 readonly collectionId: u32;1478 readonly maybeNftId: Option<u32>;1479 readonly key: Bytes;1480 readonly value: Bytes;1481 } & Struct;1482 readonly isResourceAdded: boolean;1483 readonly asResourceAdded: {1484 readonly nftId: u32;1485 readonly resourceId: u32;1486 } & Struct;1487 readonly isResourceRemoval: boolean;1488 readonly asResourceRemoval: {1489 readonly nftId: u32;1490 readonly resourceId: u32;1491 } & Struct;1492 readonly isResourceAccepted: boolean;1493 readonly asResourceAccepted: {1494 readonly nftId: u32;1495 readonly resourceId: u32;1496 } & Struct;1497 readonly isResourceRemovalAccepted: boolean;1498 readonly asResourceRemovalAccepted: {1499 readonly nftId: u32;1500 readonly resourceId: u32;1501 } & Struct;1502 readonly isPrioritySet: boolean;1503 readonly asPrioritySet: {1504 readonly collectionId: u32;1505 readonly nftId: u32;1506 } & Struct;1507 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1508}15091510/** @name PalletRmrkEquipCall */1511export interface PalletRmrkEquipCall extends Enum {1512 readonly isCreateBase: boolean;1513 readonly asCreateBase: {1514 readonly baseType: Bytes;1515 readonly symbol: Bytes;1516 readonly parts: Vec<RmrkTraitsPartPartType>;1517 } & Struct;1518 readonly isThemeAdd: boolean;1519 readonly asThemeAdd: {1520 readonly baseId: u32;1521 readonly theme: RmrkTraitsTheme;1522 } & Struct;1523 readonly isEquippable: boolean;1524 readonly asEquippable: {1525 readonly baseId: u32;1526 readonly slotId: u32;1527 readonly equippables: RmrkTraitsPartEquippableList;1528 } & Struct;1529 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1530}15311532/** @name PalletRmrkEquipError */1533export interface PalletRmrkEquipError extends Enum {1534 readonly isPermissionError: boolean;1535 readonly isNoAvailableBaseId: boolean;1536 readonly isNoAvailablePartId: boolean;1537 readonly isBaseDoesntExist: boolean;1538 readonly isNeedsDefaultThemeFirst: boolean;1539 readonly isPartDoesntExist: boolean;1540 readonly isNoEquippableOnFixedPart: boolean;1541 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1542}15431544/** @name PalletRmrkEquipEvent */1545export interface PalletRmrkEquipEvent extends Enum {1546 readonly isBaseCreated: boolean;1547 readonly asBaseCreated: {1548 readonly issuer: AccountId32;1549 readonly baseId: u32;1550 } & Struct;1551 readonly isEquippablesUpdated: boolean;1552 readonly asEquippablesUpdated: {1553 readonly baseId: u32;1554 readonly slotId: u32;1555 } & Struct;1556 readonly type: 'BaseCreated' | 'EquippablesUpdated';1557}15581559/** @name PalletStructureCall */1560export interface PalletStructureCall extends Null {}15611562/** @name PalletStructureError */1563export interface PalletStructureError extends Enum {1564 readonly isOuroborosDetected: boolean;1565 readonly isDepthLimit: boolean;1566 readonly isBreadthLimit: boolean;1567 readonly isTokenNotFound: boolean;1568 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1569}15701571/** @name PalletStructureEvent */1572export interface PalletStructureEvent extends Enum {1573 readonly isExecuted: boolean;1574 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1575 readonly type: 'Executed';1576}15771578/** @name PalletSudoCall */1579export interface PalletSudoCall extends Enum {1580 readonly isSudo: boolean;1581 readonly asSudo: {1582 readonly call: Call;1583 } & Struct;1584 readonly isSudoUncheckedWeight: boolean;1585 readonly asSudoUncheckedWeight: {1586 readonly call: Call;1587 readonly weight: u64;1588 } & Struct;1589 readonly isSetKey: boolean;1590 readonly asSetKey: {1591 readonly new_: MultiAddress;1592 } & Struct;1593 readonly isSudoAs: boolean;1594 readonly asSudoAs: {1595 readonly who: MultiAddress;1596 readonly call: Call;1597 } & Struct;1598 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1599}16001601/** @name PalletSudoError */1602export interface PalletSudoError extends Enum {1603 readonly isRequireSudo: boolean;1604 readonly type: 'RequireSudo';1605}16061607/** @name PalletSudoEvent */1608export interface PalletSudoEvent extends Enum {1609 readonly isSudid: boolean;1610 readonly asSudid: {1611 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1612 } & Struct;1613 readonly isKeyChanged: boolean;1614 readonly asKeyChanged: {1615 readonly oldSudoer: Option<AccountId32>;1616 } & Struct;1617 readonly isSudoAsDone: boolean;1618 readonly asSudoAsDone: {1619 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1620 } & Struct;1621 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1622}16231624/** @name PalletTemplateTransactionPaymentCall */1625export interface PalletTemplateTransactionPaymentCall extends Null {}16261627/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1628export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16291630/** @name PalletTimestampCall */1631export interface PalletTimestampCall extends Enum {1632 readonly isSet: boolean;1633 readonly asSet: {1634 readonly now: Compact<u64>;1635 } & Struct;1636 readonly type: 'Set';1637}16381639/** @name PalletTransactionPaymentEvent */1640export interface PalletTransactionPaymentEvent extends Enum {1641 readonly isTransactionFeePaid: boolean;1642 readonly asTransactionFeePaid: {1643 readonly who: AccountId32;1644 readonly actualFee: u128;1645 readonly tip: u128;1646 } & Struct;1647 readonly type: 'TransactionFeePaid';1648}16491650/** @name PalletTransactionPaymentReleases */1651export interface PalletTransactionPaymentReleases extends Enum {1652 readonly isV1Ancient: boolean;1653 readonly isV2: boolean;1654 readonly type: 'V1Ancient' | 'V2';1655}16561657/** @name PalletTreasuryCall */1658export interface PalletTreasuryCall extends Enum {1659 readonly isProposeSpend: boolean;1660 readonly asProposeSpend: {1661 readonly value: Compact<u128>;1662 readonly beneficiary: MultiAddress;1663 } & Struct;1664 readonly isRejectProposal: boolean;1665 readonly asRejectProposal: {1666 readonly proposalId: Compact<u32>;1667 } & Struct;1668 readonly isApproveProposal: boolean;1669 readonly asApproveProposal: {1670 readonly proposalId: Compact<u32>;1671 } & Struct;1672 readonly isSpend: boolean;1673 readonly asSpend: {1674 readonly amount: Compact<u128>;1675 readonly beneficiary: MultiAddress;1676 } & Struct;1677 readonly isRemoveApproval: boolean;1678 readonly asRemoveApproval: {1679 readonly proposalId: Compact<u32>;1680 } & Struct;1681 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1682}16831684/** @name PalletTreasuryError */1685export interface PalletTreasuryError extends Enum {1686 readonly isInsufficientProposersBalance: boolean;1687 readonly isInvalidIndex: boolean;1688 readonly isTooManyApprovals: boolean;1689 readonly isInsufficientPermission: boolean;1690 readonly isProposalNotApproved: boolean;1691 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1692}16931694/** @name PalletTreasuryEvent */1695export interface PalletTreasuryEvent extends Enum {1696 readonly isProposed: boolean;1697 readonly asProposed: {1698 readonly proposalIndex: u32;1699 } & Struct;1700 readonly isSpending: boolean;1701 readonly asSpending: {1702 readonly budgetRemaining: u128;1703 } & Struct;1704 readonly isAwarded: boolean;1705 readonly asAwarded: {1706 readonly proposalIndex: u32;1707 readonly award: u128;1708 readonly account: AccountId32;1709 } & Struct;1710 readonly isRejected: boolean;1711 readonly asRejected: {1712 readonly proposalIndex: u32;1713 readonly slashed: u128;1714 } & Struct;1715 readonly isBurnt: boolean;1716 readonly asBurnt: {1717 readonly burntFunds: u128;1718 } & Struct;1719 readonly isRollover: boolean;1720 readonly asRollover: {1721 readonly rolloverBalance: u128;1722 } & Struct;1723 readonly isDeposit: boolean;1724 readonly asDeposit: {1725 readonly value: u128;1726 } & Struct;1727 readonly isSpendApproved: boolean;1728 readonly asSpendApproved: {1729 readonly proposalIndex: u32;1730 readonly amount: u128;1731 readonly beneficiary: AccountId32;1732 } & Struct;1733 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1734}17351736/** @name PalletTreasuryProposal */1737export interface PalletTreasuryProposal extends Struct {1738 readonly proposer: AccountId32;1739 readonly value: u128;1740 readonly beneficiary: AccountId32;1741 readonly bond: u128;1742}17431744/** @name PalletUniqueCall */1745export interface PalletUniqueCall extends Enum {1746 readonly isCreateCollection: boolean;1747 readonly asCreateCollection: {1748 readonly collectionName: Vec<u16>;1749 readonly collectionDescription: Vec<u16>;1750 readonly tokenPrefix: Bytes;1751 readonly mode: UpDataStructsCollectionMode;1752 } & Struct;1753 readonly isCreateCollectionEx: boolean;1754 readonly asCreateCollectionEx: {1755 readonly data: UpDataStructsCreateCollectionData;1756 } & Struct;1757 readonly isDestroyCollection: boolean;1758 readonly asDestroyCollection: {1759 readonly collectionId: u32;1760 } & Struct;1761 readonly isAddToAllowList: boolean;1762 readonly asAddToAllowList: {1763 readonly collectionId: u32;1764 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1765 } & Struct;1766 readonly isRemoveFromAllowList: boolean;1767 readonly asRemoveFromAllowList: {1768 readonly collectionId: u32;1769 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1770 } & Struct;1771 readonly isChangeCollectionOwner: boolean;1772 readonly asChangeCollectionOwner: {1773 readonly collectionId: u32;1774 readonly newOwner: AccountId32;1775 } & Struct;1776 readonly isAddCollectionAdmin: boolean;1777 readonly asAddCollectionAdmin: {1778 readonly collectionId: u32;1779 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1780 } & Struct;1781 readonly isRemoveCollectionAdmin: boolean;1782 readonly asRemoveCollectionAdmin: {1783 readonly collectionId: u32;1784 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1785 } & Struct;1786 readonly isSetCollectionSponsor: boolean;1787 readonly asSetCollectionSponsor: {1788 readonly collectionId: u32;1789 readonly newSponsor: AccountId32;1790 } & Struct;1791 readonly isConfirmSponsorship: boolean;1792 readonly asConfirmSponsorship: {1793 readonly collectionId: u32;1794 } & Struct;1795 readonly isRemoveCollectionSponsor: boolean;1796 readonly asRemoveCollectionSponsor: {1797 readonly collectionId: u32;1798 } & Struct;1799 readonly isCreateItem: boolean;1800 readonly asCreateItem: {1801 readonly collectionId: u32;1802 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1803 readonly data: UpDataStructsCreateItemData;1804 } & Struct;1805 readonly isCreateMultipleItems: boolean;1806 readonly asCreateMultipleItems: {1807 readonly collectionId: u32;1808 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1809 readonly itemsData: Vec<UpDataStructsCreateItemData>;1810 } & Struct;1811 readonly isSetCollectionProperties: boolean;1812 readonly asSetCollectionProperties: {1813 readonly collectionId: u32;1814 readonly properties: Vec<UpDataStructsProperty>;1815 } & Struct;1816 readonly isDeleteCollectionProperties: boolean;1817 readonly asDeleteCollectionProperties: {1818 readonly collectionId: u32;1819 readonly propertyKeys: Vec<Bytes>;1820 } & Struct;1821 readonly isSetTokenProperties: boolean;1822 readonly asSetTokenProperties: {1823 readonly collectionId: u32;1824 readonly tokenId: u32;1825 readonly properties: Vec<UpDataStructsProperty>;1826 } & Struct;1827 readonly isDeleteTokenProperties: boolean;1828 readonly asDeleteTokenProperties: {1829 readonly collectionId: u32;1830 readonly tokenId: u32;1831 readonly propertyKeys: Vec<Bytes>;1832 } & Struct;1833 readonly isSetTokenPropertyPermissions: boolean;1834 readonly asSetTokenPropertyPermissions: {1835 readonly collectionId: u32;1836 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1837 } & Struct;1838 readonly isCreateMultipleItemsEx: boolean;1839 readonly asCreateMultipleItemsEx: {1840 readonly collectionId: u32;1841 readonly data: UpDataStructsCreateItemExData;1842 } & Struct;1843 readonly isSetTransfersEnabledFlag: boolean;1844 readonly asSetTransfersEnabledFlag: {1845 readonly collectionId: u32;1846 readonly value: bool;1847 } & Struct;1848 readonly isBurnItem: boolean;1849 readonly asBurnItem: {1850 readonly collectionId: u32;1851 readonly itemId: u32;1852 readonly value: u128;1853 } & Struct;1854 readonly isBurnFrom: boolean;1855 readonly asBurnFrom: {1856 readonly collectionId: u32;1857 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1858 readonly itemId: u32;1859 readonly value: u128;1860 } & Struct;1861 readonly isTransfer: boolean;1862 readonly asTransfer: {1863 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1864 readonly collectionId: u32;1865 readonly itemId: u32;1866 readonly value: u128;1867 } & Struct;1868 readonly isApprove: boolean;1869 readonly asApprove: {1870 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1871 readonly collectionId: u32;1872 readonly itemId: u32;1873 readonly amount: u128;1874 } & Struct;1875 readonly isTransferFrom: boolean;1876 readonly asTransferFrom: {1877 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1878 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1879 readonly collectionId: u32;1880 readonly itemId: u32;1881 readonly value: u128;1882 } & Struct;1883 readonly isSetCollectionLimits: boolean;1884 readonly asSetCollectionLimits: {1885 readonly collectionId: u32;1886 readonly newLimit: UpDataStructsCollectionLimits;1887 } & Struct;1888 readonly isSetCollectionPermissions: boolean;1889 readonly asSetCollectionPermissions: {1890 readonly collectionId: u32;1891 readonly newPermission: UpDataStructsCollectionPermissions;1892 } & Struct;1893 readonly isRepartition: boolean;1894 readonly asRepartition: {1895 readonly collectionId: u32;1896 readonly tokenId: u32;1897 readonly amount: u128;1898 } & Struct;1899 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';1900}19011902/** @name PalletUniqueError */1903export interface PalletUniqueError extends Enum {1904 readonly isCollectionDecimalPointLimitExceeded: boolean;1905 readonly isConfirmUnsetSponsorFail: boolean;1906 readonly isEmptyArgument: boolean;1907 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1908 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1909}19101911/** @name PalletUniqueRawEvent */1912export interface PalletUniqueRawEvent extends Enum {1913 readonly isCollectionSponsorRemoved: boolean;1914 readonly asCollectionSponsorRemoved: u32;1915 readonly isCollectionAdminAdded: boolean;1916 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1917 readonly isCollectionOwnedChanged: boolean;1918 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1919 readonly isCollectionSponsorSet: boolean;1920 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1921 readonly isSponsorshipConfirmed: boolean;1922 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1923 readonly isCollectionAdminRemoved: boolean;1924 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1925 readonly isAllowListAddressRemoved: boolean;1926 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1927 readonly isAllowListAddressAdded: boolean;1928 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1929 readonly isCollectionLimitSet: boolean;1930 readonly asCollectionLimitSet: u32;1931 readonly isCollectionPermissionSet: boolean;1932 readonly asCollectionPermissionSet: u32;1933 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1934}19351936/** @name PalletUniqueSchedulerCall */1937export interface PalletUniqueSchedulerCall extends Enum {1938 readonly isScheduleNamed: boolean;1939 readonly asScheduleNamed: {1940 readonly id: U8aFixed;1941 readonly when: u32;1942 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1943 readonly priority: u8;1944 readonly call: FrameSupportScheduleMaybeHashed;1945 } & Struct;1946 readonly isCancelNamed: boolean;1947 readonly asCancelNamed: {1948 readonly id: U8aFixed;1949 } & Struct;1950 readonly isScheduleNamedAfter: boolean;1951 readonly asScheduleNamedAfter: {1952 readonly id: U8aFixed;1953 readonly after: u32;1954 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1955 readonly priority: u8;1956 readonly call: FrameSupportScheduleMaybeHashed;1957 } & Struct;1958 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1959}19601961/** @name PalletUniqueSchedulerError */1962export interface PalletUniqueSchedulerError extends Enum {1963 readonly isFailedToSchedule: boolean;1964 readonly isNotFound: boolean;1965 readonly isTargetBlockNumberInPast: boolean;1966 readonly isRescheduleNoChange: boolean;1967 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1968}19691970/** @name PalletUniqueSchedulerEvent */1971export interface PalletUniqueSchedulerEvent extends Enum {1972 readonly isScheduled: boolean;1973 readonly asScheduled: {1974 readonly when: u32;1975 readonly index: u32;1976 } & Struct;1977 readonly isCanceled: boolean;1978 readonly asCanceled: {1979 readonly when: u32;1980 readonly index: u32;1981 } & Struct;1982 readonly isDispatched: boolean;1983 readonly asDispatched: {1984 readonly task: ITuple<[u32, u32]>;1985 readonly id: Option<U8aFixed>;1986 readonly result: Result<Null, SpRuntimeDispatchError>;1987 } & Struct;1988 readonly isCallLookupFailed: boolean;1989 readonly asCallLookupFailed: {1990 readonly task: ITuple<[u32, u32]>;1991 readonly id: Option<U8aFixed>;1992 readonly error: FrameSupportScheduleLookupError;1993 } & Struct;1994 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1995}19961997/** @name PalletUniqueSchedulerScheduledV3 */1998export interface PalletUniqueSchedulerScheduledV3 extends Struct {1999 readonly maybeId: Option<U8aFixed>;2000 readonly priority: u8;2001 readonly call: FrameSupportScheduleMaybeHashed;2002 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2003 readonly origin: OpalRuntimeOriginCaller;2004}20052006/** @name PalletXcmCall */2007export interface PalletXcmCall extends Enum {2008 readonly isSend: boolean;2009 readonly asSend: {2010 readonly dest: XcmVersionedMultiLocation;2011 readonly message: XcmVersionedXcm;2012 } & Struct;2013 readonly isTeleportAssets: boolean;2014 readonly asTeleportAssets: {2015 readonly dest: XcmVersionedMultiLocation;2016 readonly beneficiary: XcmVersionedMultiLocation;2017 readonly assets: XcmVersionedMultiAssets;2018 readonly feeAssetItem: u32;2019 } & Struct;2020 readonly isReserveTransferAssets: boolean;2021 readonly asReserveTransferAssets: {2022 readonly dest: XcmVersionedMultiLocation;2023 readonly beneficiary: XcmVersionedMultiLocation;2024 readonly assets: XcmVersionedMultiAssets;2025 readonly feeAssetItem: u32;2026 } & Struct;2027 readonly isExecute: boolean;2028 readonly asExecute: {2029 readonly message: XcmVersionedXcm;2030 readonly maxWeight: u64;2031 } & Struct;2032 readonly isForceXcmVersion: boolean;2033 readonly asForceXcmVersion: {2034 readonly location: XcmV1MultiLocation;2035 readonly xcmVersion: u32;2036 } & Struct;2037 readonly isForceDefaultXcmVersion: boolean;2038 readonly asForceDefaultXcmVersion: {2039 readonly maybeXcmVersion: Option<u32>;2040 } & Struct;2041 readonly isForceSubscribeVersionNotify: boolean;2042 readonly asForceSubscribeVersionNotify: {2043 readonly location: XcmVersionedMultiLocation;2044 } & Struct;2045 readonly isForceUnsubscribeVersionNotify: boolean;2046 readonly asForceUnsubscribeVersionNotify: {2047 readonly location: XcmVersionedMultiLocation;2048 } & Struct;2049 readonly isLimitedReserveTransferAssets: boolean;2050 readonly asLimitedReserveTransferAssets: {2051 readonly dest: XcmVersionedMultiLocation;2052 readonly beneficiary: XcmVersionedMultiLocation;2053 readonly assets: XcmVersionedMultiAssets;2054 readonly feeAssetItem: u32;2055 readonly weightLimit: XcmV2WeightLimit;2056 } & Struct;2057 readonly isLimitedTeleportAssets: boolean;2058 readonly asLimitedTeleportAssets: {2059 readonly dest: XcmVersionedMultiLocation;2060 readonly beneficiary: XcmVersionedMultiLocation;2061 readonly assets: XcmVersionedMultiAssets;2062 readonly feeAssetItem: u32;2063 readonly weightLimit: XcmV2WeightLimit;2064 } & Struct;2065 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2066}20672068/** @name PalletXcmError */2069export interface PalletXcmError extends Enum {2070 readonly isUnreachable: boolean;2071 readonly isSendFailure: boolean;2072 readonly isFiltered: boolean;2073 readonly isUnweighableMessage: boolean;2074 readonly isDestinationNotInvertible: boolean;2075 readonly isEmpty: boolean;2076 readonly isCannotReanchor: boolean;2077 readonly isTooManyAssets: boolean;2078 readonly isInvalidOrigin: boolean;2079 readonly isBadVersion: boolean;2080 readonly isBadLocation: boolean;2081 readonly isNoSubscription: boolean;2082 readonly isAlreadySubscribed: boolean;2083 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2084}20852086/** @name PalletXcmEvent */2087export interface PalletXcmEvent extends Enum {2088 readonly isAttempted: boolean;2089 readonly asAttempted: XcmV2TraitsOutcome;2090 readonly isSent: boolean;2091 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2092 readonly isUnexpectedResponse: boolean;2093 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2094 readonly isResponseReady: boolean;2095 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2096 readonly isNotified: boolean;2097 readonly asNotified: ITuple<[u64, u8, u8]>;2098 readonly isNotifyOverweight: boolean;2099 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2100 readonly isNotifyDispatchError: boolean;2101 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2102 readonly isNotifyDecodeFailed: boolean;2103 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2104 readonly isInvalidResponder: boolean;2105 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2106 readonly isInvalidResponderVersion: boolean;2107 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2108 readonly isResponseTaken: boolean;2109 readonly asResponseTaken: u64;2110 readonly isAssetsTrapped: boolean;2111 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2112 readonly isVersionChangeNotified: boolean;2113 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2114 readonly isSupportedVersionChanged: boolean;2115 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2116 readonly isNotifyTargetSendFail: boolean;2117 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2118 readonly isNotifyTargetMigrationFail: boolean;2119 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2120 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2121}21222123/** @name PalletXcmOrigin */2124export interface PalletXcmOrigin extends Enum {2125 readonly isXcm: boolean;2126 readonly asXcm: XcmV1MultiLocation;2127 readonly isResponse: boolean;2128 readonly asResponse: XcmV1MultiLocation;2129 readonly type: 'Xcm' | 'Response';2130}21312132/** @name PhantomTypeUpDataStructs */2133export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21342135/** @name PolkadotCorePrimitivesInboundDownwardMessage */2136export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2137 readonly sentAt: u32;2138 readonly msg: Bytes;2139}21402141/** @name PolkadotCorePrimitivesInboundHrmpMessage */2142export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2143 readonly sentAt: u32;2144 readonly data: Bytes;2145}21462147/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2148export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2149 readonly recipient: u32;2150 readonly data: Bytes;2151}21522153/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2154export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2155 readonly isConcatenatedVersionedXcm: boolean;2156 readonly isConcatenatedEncodedBlob: boolean;2157 readonly isSignals: boolean;2158 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2159}21602161/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2162export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2163 readonly maxCodeSize: u32;2164 readonly maxHeadDataSize: u32;2165 readonly maxUpwardQueueCount: u32;2166 readonly maxUpwardQueueSize: u32;2167 readonly maxUpwardMessageSize: u32;2168 readonly maxUpwardMessageNumPerCandidate: u32;2169 readonly hrmpMaxMessageNumPerCandidate: u32;2170 readonly validationUpgradeCooldown: u32;2171 readonly validationUpgradeDelay: u32;2172}21732174/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2175export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2176 readonly maxCapacity: u32;2177 readonly maxTotalSize: u32;2178 readonly maxMessageSize: u32;2179 readonly msgCount: u32;2180 readonly totalSize: u32;2181 readonly mqcHead: Option<H256>;2182}21832184/** @name PolkadotPrimitivesV2PersistedValidationData */2185export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2186 readonly parentHead: Bytes;2187 readonly relayParentNumber: u32;2188 readonly relayParentStorageRoot: H256;2189 readonly maxPovSize: u32;2190}21912192/** @name PolkadotPrimitivesV2UpgradeRestriction */2193export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2194 readonly isPresent: boolean;2195 readonly type: 'Present';2196}21972198/** @name RmrkTraitsBaseBaseInfo */2199export interface RmrkTraitsBaseBaseInfo extends Struct {2200 readonly issuer: AccountId32;2201 readonly baseType: Bytes;2202 readonly symbol: Bytes;2203}22042205/** @name RmrkTraitsCollectionCollectionInfo */2206export interface RmrkTraitsCollectionCollectionInfo extends Struct {2207 readonly issuer: AccountId32;2208 readonly metadata: Bytes;2209 readonly max: Option<u32>;2210 readonly symbol: Bytes;2211 readonly nftsCount: u32;2212}22132214/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2215export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2216 readonly isAccountId: boolean;2217 readonly asAccountId: AccountId32;2218 readonly isCollectionAndNftTuple: boolean;2219 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2220 readonly type: 'AccountId' | 'CollectionAndNftTuple';2221}22222223/** @name RmrkTraitsNftNftChild */2224export interface RmrkTraitsNftNftChild extends Struct {2225 readonly collectionId: u32;2226 readonly nftId: u32;2227}22282229/** @name RmrkTraitsNftNftInfo */2230export interface RmrkTraitsNftNftInfo extends Struct {2231 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2232 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2233 readonly metadata: Bytes;2234 readonly equipped: bool;2235 readonly pending: bool;2236}22372238/** @name RmrkTraitsNftRoyaltyInfo */2239export interface RmrkTraitsNftRoyaltyInfo extends Struct {2240 readonly recipient: AccountId32;2241 readonly amount: Permill;2242}22432244/** @name RmrkTraitsPartEquippableList */2245export interface RmrkTraitsPartEquippableList extends Enum {2246 readonly isAll: boolean;2247 readonly isEmpty: boolean;2248 readonly isCustom: boolean;2249 readonly asCustom: Vec<u32>;2250 readonly type: 'All' | 'Empty' | 'Custom';2251}22522253/** @name RmrkTraitsPartFixedPart */2254export interface RmrkTraitsPartFixedPart extends Struct {2255 readonly id: u32;2256 readonly z: u32;2257 readonly src: Bytes;2258}22592260/** @name RmrkTraitsPartPartType */2261export interface RmrkTraitsPartPartType extends Enum {2262 readonly isFixedPart: boolean;2263 readonly asFixedPart: RmrkTraitsPartFixedPart;2264 readonly isSlotPart: boolean;2265 readonly asSlotPart: RmrkTraitsPartSlotPart;2266 readonly type: 'FixedPart' | 'SlotPart';2267}22682269/** @name RmrkTraitsPartSlotPart */2270export interface RmrkTraitsPartSlotPart extends Struct {2271 readonly id: u32;2272 readonly equippable: RmrkTraitsPartEquippableList;2273 readonly src: Bytes;2274 readonly z: u32;2275}22762277/** @name RmrkTraitsPropertyPropertyInfo */2278export interface RmrkTraitsPropertyPropertyInfo extends Struct {2279 readonly key: Bytes;2280 readonly value: Bytes;2281}22822283/** @name RmrkTraitsResourceBasicResource */2284export interface RmrkTraitsResourceBasicResource extends Struct {2285 readonly src: Option<Bytes>;2286 readonly metadata: Option<Bytes>;2287 readonly license: Option<Bytes>;2288 readonly thumb: Option<Bytes>;2289}22902291/** @name RmrkTraitsResourceComposableResource */2292export interface RmrkTraitsResourceComposableResource extends Struct {2293 readonly parts: Vec<u32>;2294 readonly base: u32;2295 readonly src: Option<Bytes>;2296 readonly metadata: Option<Bytes>;2297 readonly license: Option<Bytes>;2298 readonly thumb: Option<Bytes>;2299}23002301/** @name RmrkTraitsResourceResourceInfo */2302export interface RmrkTraitsResourceResourceInfo extends Struct {2303 readonly id: u32;2304 readonly resource: RmrkTraitsResourceResourceTypes;2305 readonly pending: bool;2306 readonly pendingRemoval: bool;2307}23082309/** @name RmrkTraitsResourceResourceTypes */2310export interface RmrkTraitsResourceResourceTypes extends Enum {2311 readonly isBasic: boolean;2312 readonly asBasic: RmrkTraitsResourceBasicResource;2313 readonly isComposable: boolean;2314 readonly asComposable: RmrkTraitsResourceComposableResource;2315 readonly isSlot: boolean;2316 readonly asSlot: RmrkTraitsResourceSlotResource;2317 readonly type: 'Basic' | 'Composable' | 'Slot';2318}23192320/** @name RmrkTraitsResourceSlotResource */2321export interface RmrkTraitsResourceSlotResource extends Struct {2322 readonly base: u32;2323 readonly src: Option<Bytes>;2324 readonly metadata: Option<Bytes>;2325 readonly slot: u32;2326 readonly license: Option<Bytes>;2327 readonly thumb: Option<Bytes>;2328}23292330/** @name RmrkTraitsTheme */2331export interface RmrkTraitsTheme extends Struct {2332 readonly name: Bytes;2333 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2334 readonly inherit: bool;2335}23362337/** @name RmrkTraitsThemeThemeProperty */2338export interface RmrkTraitsThemeThemeProperty extends Struct {2339 readonly key: Bytes;2340 readonly value: Bytes;2341}23422343/** @name SpCoreEcdsaSignature */2344export interface SpCoreEcdsaSignature extends U8aFixed {}23452346/** @name SpCoreEd25519Signature */2347export interface SpCoreEd25519Signature extends U8aFixed {}23482349/** @name SpCoreSr25519Signature */2350export interface SpCoreSr25519Signature extends U8aFixed {}23512352/** @name SpCoreVoid */2353export interface SpCoreVoid extends Null {}23542355/** @name SpRuntimeArithmeticError */2356export interface SpRuntimeArithmeticError extends Enum {2357 readonly isUnderflow: boolean;2358 readonly isOverflow: boolean;2359 readonly isDivisionByZero: boolean;2360 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2361}23622363/** @name SpRuntimeDigest */2364export interface SpRuntimeDigest extends Struct {2365 readonly logs: Vec<SpRuntimeDigestDigestItem>;2366}23672368/** @name SpRuntimeDigestDigestItem */2369export interface SpRuntimeDigestDigestItem extends Enum {2370 readonly isOther: boolean;2371 readonly asOther: Bytes;2372 readonly isConsensus: boolean;2373 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2374 readonly isSeal: boolean;2375 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2376 readonly isPreRuntime: boolean;2377 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2378 readonly isRuntimeEnvironmentUpdated: boolean;2379 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2380}23812382/** @name SpRuntimeDispatchError */2383export interface SpRuntimeDispatchError extends Enum {2384 readonly isOther: boolean;2385 readonly isCannotLookup: boolean;2386 readonly isBadOrigin: boolean;2387 readonly isModule: boolean;2388 readonly asModule: SpRuntimeModuleError;2389 readonly isConsumerRemaining: boolean;2390 readonly isNoProviders: boolean;2391 readonly isTooManyConsumers: boolean;2392 readonly isToken: boolean;2393 readonly asToken: SpRuntimeTokenError;2394 readonly isArithmetic: boolean;2395 readonly asArithmetic: SpRuntimeArithmeticError;2396 readonly isTransactional: boolean;2397 readonly asTransactional: SpRuntimeTransactionalError;2398 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2399}24002401/** @name SpRuntimeModuleError */2402export interface SpRuntimeModuleError extends Struct {2403 readonly index: u8;2404 readonly error: U8aFixed;2405}24062407/** @name SpRuntimeMultiSignature */2408export interface SpRuntimeMultiSignature extends Enum {2409 readonly isEd25519: boolean;2410 readonly asEd25519: SpCoreEd25519Signature;2411 readonly isSr25519: boolean;2412 readonly asSr25519: SpCoreSr25519Signature;2413 readonly isEcdsa: boolean;2414 readonly asEcdsa: SpCoreEcdsaSignature;2415 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2416}24172418/** @name SpRuntimeTokenError */2419export interface SpRuntimeTokenError extends Enum {2420 readonly isNoFunds: boolean;2421 readonly isWouldDie: boolean;2422 readonly isBelowMinimum: boolean;2423 readonly isCannotCreate: boolean;2424 readonly isUnknownAsset: boolean;2425 readonly isFrozen: boolean;2426 readonly isUnsupported: boolean;2427 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2428}24292430/** @name SpRuntimeTransactionalError */2431export interface SpRuntimeTransactionalError extends Enum {2432 readonly isLimitReached: boolean;2433 readonly isNoLayer: boolean;2434 readonly type: 'LimitReached' | 'NoLayer';2435}24362437/** @name SpTrieStorageProof */2438export interface SpTrieStorageProof extends Struct {2439 readonly trieNodes: BTreeSet<Bytes>;2440}24412442/** @name SpVersionRuntimeVersion */2443export interface SpVersionRuntimeVersion extends Struct {2444 readonly specName: Text;2445 readonly implName: Text;2446 readonly authoringVersion: u32;2447 readonly specVersion: u32;2448 readonly implVersion: u32;2449 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2450 readonly transactionVersion: u32;2451 readonly stateVersion: u8;2452}24532454/** @name UpDataStructsAccessMode */2455export interface UpDataStructsAccessMode extends Enum {2456 readonly isNormal: boolean;2457 readonly isAllowList: boolean;2458 readonly type: 'Normal' | 'AllowList';2459}24602461/** @name UpDataStructsCollection */2462export interface UpDataStructsCollection extends Struct {2463 readonly owner: AccountId32;2464 readonly mode: UpDataStructsCollectionMode;2465 readonly name: Vec<u16>;2466 readonly description: Vec<u16>;2467 readonly tokenPrefix: Bytes;2468 readonly sponsorship: UpDataStructsSponsorshipState;2469 readonly limits: UpDataStructsCollectionLimits;2470 readonly permissions: UpDataStructsCollectionPermissions;2471 readonly externalCollection: bool;2472}24732474/** @name UpDataStructsCollectionLimits */2475export interface UpDataStructsCollectionLimits extends Struct {2476 readonly accountTokenOwnershipLimit: Option<u32>;2477 readonly sponsoredDataSize: Option<u32>;2478 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2479 readonly tokenLimit: Option<u32>;2480 readonly sponsorTransferTimeout: Option<u32>;2481 readonly sponsorApproveTimeout: Option<u32>;2482 readonly ownerCanTransfer: Option<bool>;2483 readonly ownerCanDestroy: Option<bool>;2484 readonly transfersEnabled: Option<bool>;2485}24862487/** @name UpDataStructsCollectionMode */2488export interface UpDataStructsCollectionMode extends Enum {2489 readonly isNft: boolean;2490 readonly isFungible: boolean;2491 readonly asFungible: u8;2492 readonly isReFungible: boolean;2493 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2494}24952496/** @name UpDataStructsCollectionPermissions */2497export interface UpDataStructsCollectionPermissions extends Struct {2498 readonly access: Option<UpDataStructsAccessMode>;2499 readonly mintMode: Option<bool>;2500 readonly nesting: Option<UpDataStructsNestingPermissions>;2501}25022503/** @name UpDataStructsCollectionStats */2504export interface UpDataStructsCollectionStats extends Struct {2505 readonly created: u32;2506 readonly destroyed: u32;2507 readonly alive: u32;2508}25092510/** @name UpDataStructsCreateCollectionData */2511export interface UpDataStructsCreateCollectionData extends Struct {2512 readonly mode: UpDataStructsCollectionMode;2513 readonly access: Option<UpDataStructsAccessMode>;2514 readonly name: Vec<u16>;2515 readonly description: Vec<u16>;2516 readonly tokenPrefix: Bytes;2517 readonly pendingSponsor: Option<AccountId32>;2518 readonly limits: Option<UpDataStructsCollectionLimits>;2519 readonly permissions: Option<UpDataStructsCollectionPermissions>;2520 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2521 readonly properties: Vec<UpDataStructsProperty>;2522}25232524/** @name UpDataStructsCreateFungibleData */2525export interface UpDataStructsCreateFungibleData extends Struct {2526 readonly value: u128;2527}25282529/** @name UpDataStructsCreateItemData */2530export interface UpDataStructsCreateItemData extends Enum {2531 readonly isNft: boolean;2532 readonly asNft: UpDataStructsCreateNftData;2533 readonly isFungible: boolean;2534 readonly asFungible: UpDataStructsCreateFungibleData;2535 readonly isReFungible: boolean;2536 readonly asReFungible: UpDataStructsCreateReFungibleData;2537 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2538}25392540/** @name UpDataStructsCreateItemExData */2541export interface UpDataStructsCreateItemExData extends Enum {2542 readonly isNft: boolean;2543 readonly asNft: Vec<UpDataStructsCreateNftExData>;2544 readonly isFungible: boolean;2545 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2546 readonly isRefungibleMultipleItems: boolean;2547 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2548 readonly isRefungibleMultipleOwners: boolean;2549 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2550 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2551}25522553/** @name UpDataStructsCreateNftData */2554export interface UpDataStructsCreateNftData extends Struct {2555 readonly properties: Vec<UpDataStructsProperty>;2556}25572558/** @name UpDataStructsCreateNftExData */2559export interface UpDataStructsCreateNftExData extends Struct {2560 readonly properties: Vec<UpDataStructsProperty>;2561 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2562}25632564/** @name UpDataStructsCreateReFungibleData */2565export interface UpDataStructsCreateReFungibleData extends Struct {2566 readonly pieces: u128;2567 readonly properties: Vec<UpDataStructsProperty>;2568}25692570/** @name UpDataStructsCreateRefungibleExMultipleOwners */2571export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2572 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2573 readonly properties: Vec<UpDataStructsProperty>;2574}25752576/** @name UpDataStructsCreateRefungibleExSingleOwner */2577export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2578 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2579 readonly pieces: u128;2580 readonly properties: Vec<UpDataStructsProperty>;2581}25822583/** @name UpDataStructsNestingPermissions */2584export interface UpDataStructsNestingPermissions extends Struct {2585 readonly tokenOwner: bool;2586 readonly collectionAdmin: bool;2587 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2588}25892590/** @name UpDataStructsOwnerRestrictedSet */2591export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25922593/** @name UpDataStructsProperties */2594export interface UpDataStructsProperties extends Struct {2595 readonly map: UpDataStructsPropertiesMapBoundedVec;2596 readonly consumedSpace: u32;2597 readonly spaceLimit: u32;2598}25992600/** @name UpDataStructsPropertiesMapBoundedVec */2601export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26022603/** @name UpDataStructsPropertiesMapPropertyPermission */2604export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26052606/** @name UpDataStructsProperty */2607export interface UpDataStructsProperty extends Struct {2608 readonly key: Bytes;2609 readonly value: Bytes;2610}26112612/** @name UpDataStructsPropertyKeyPermission */2613export interface UpDataStructsPropertyKeyPermission extends Struct {2614 readonly key: Bytes;2615 readonly permission: UpDataStructsPropertyPermission;2616}26172618/** @name UpDataStructsPropertyPermission */2619export interface UpDataStructsPropertyPermission extends Struct {2620 readonly mutable: bool;2621 readonly collectionAdmin: bool;2622 readonly tokenOwner: bool;2623}26242625/** @name UpDataStructsPropertyScope */2626export interface UpDataStructsPropertyScope extends Enum {2627 readonly isNone: boolean;2628 readonly isRmrk: boolean;2629 readonly isEth: boolean;2630 readonly type: 'None' | 'Rmrk' | 'Eth';2631}26322633/** @name UpDataStructsRpcCollection */2634export interface UpDataStructsRpcCollection extends Struct {2635 readonly owner: AccountId32;2636 readonly mode: UpDataStructsCollectionMode;2637 readonly name: Vec<u16>;2638 readonly description: Vec<u16>;2639 readonly tokenPrefix: Bytes;2640 readonly sponsorship: UpDataStructsSponsorshipState;2641 readonly limits: UpDataStructsCollectionLimits;2642 readonly permissions: UpDataStructsCollectionPermissions;2643 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2644 readonly properties: Vec<UpDataStructsProperty>;2645 readonly readOnly: bool;2646}26472648/** @name UpDataStructsSponsoringRateLimit */2649export interface UpDataStructsSponsoringRateLimit extends Enum {2650 readonly isSponsoringDisabled: boolean;2651 readonly isBlocks: boolean;2652 readonly asBlocks: u32;2653 readonly type: 'SponsoringDisabled' | 'Blocks';2654}26552656/** @name UpDataStructsSponsorshipState */2657export interface UpDataStructsSponsorshipState extends Enum {2658 readonly isDisabled: boolean;2659 readonly isUnconfirmed: boolean;2660 readonly asUnconfirmed: AccountId32;2661 readonly isConfirmed: boolean;2662 readonly asConfirmed: AccountId32;2663 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2664}26652666/** @name UpDataStructsTokenChild */2667export interface UpDataStructsTokenChild extends Struct {2668 readonly token: u32;2669 readonly collection: u32;2670}26712672/** @name UpDataStructsTokenData */2673export interface UpDataStructsTokenData extends Struct {2674 readonly properties: Vec<UpDataStructsProperty>;2675 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2676 readonly pieces: u128;2677}26782679/** @name XcmDoubleEncoded */2680export interface XcmDoubleEncoded extends Struct {2681 readonly encoded: Bytes;2682}26832684/** @name XcmV0Junction */2685export interface XcmV0Junction extends Enum {2686 readonly isParent: boolean;2687 readonly isParachain: boolean;2688 readonly asParachain: Compact<u32>;2689 readonly isAccountId32: boolean;2690 readonly asAccountId32: {2691 readonly network: XcmV0JunctionNetworkId;2692 readonly id: U8aFixed;2693 } & Struct;2694 readonly isAccountIndex64: boolean;2695 readonly asAccountIndex64: {2696 readonly network: XcmV0JunctionNetworkId;2697 readonly index: Compact<u64>;2698 } & Struct;2699 readonly isAccountKey20: boolean;2700 readonly asAccountKey20: {2701 readonly network: XcmV0JunctionNetworkId;2702 readonly key: U8aFixed;2703 } & Struct;2704 readonly isPalletInstance: boolean;2705 readonly asPalletInstance: u8;2706 readonly isGeneralIndex: boolean;2707 readonly asGeneralIndex: Compact<u128>;2708 readonly isGeneralKey: boolean;2709 readonly asGeneralKey: Bytes;2710 readonly isOnlyChild: boolean;2711 readonly isPlurality: boolean;2712 readonly asPlurality: {2713 readonly id: XcmV0JunctionBodyId;2714 readonly part: XcmV0JunctionBodyPart;2715 } & Struct;2716 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2717}27182719/** @name XcmV0JunctionBodyId */2720export interface XcmV0JunctionBodyId extends Enum {2721 readonly isUnit: boolean;2722 readonly isNamed: boolean;2723 readonly asNamed: Bytes;2724 readonly isIndex: boolean;2725 readonly asIndex: Compact<u32>;2726 readonly isExecutive: boolean;2727 readonly isTechnical: boolean;2728 readonly isLegislative: boolean;2729 readonly isJudicial: boolean;2730 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2731}27322733/** @name XcmV0JunctionBodyPart */2734export interface XcmV0JunctionBodyPart extends Enum {2735 readonly isVoice: boolean;2736 readonly isMembers: boolean;2737 readonly asMembers: {2738 readonly count: Compact<u32>;2739 } & Struct;2740 readonly isFraction: boolean;2741 readonly asFraction: {2742 readonly nom: Compact<u32>;2743 readonly denom: Compact<u32>;2744 } & Struct;2745 readonly isAtLeastProportion: boolean;2746 readonly asAtLeastProportion: {2747 readonly nom: Compact<u32>;2748 readonly denom: Compact<u32>;2749 } & Struct;2750 readonly isMoreThanProportion: boolean;2751 readonly asMoreThanProportion: {2752 readonly nom: Compact<u32>;2753 readonly denom: Compact<u32>;2754 } & Struct;2755 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2756}27572758/** @name XcmV0JunctionNetworkId */2759export interface XcmV0JunctionNetworkId extends Enum {2760 readonly isAny: boolean;2761 readonly isNamed: boolean;2762 readonly asNamed: Bytes;2763 readonly isPolkadot: boolean;2764 readonly isKusama: boolean;2765 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2766}27672768/** @name XcmV0MultiAsset */2769export interface XcmV0MultiAsset extends Enum {2770 readonly isNone: boolean;2771 readonly isAll: boolean;2772 readonly isAllFungible: boolean;2773 readonly isAllNonFungible: boolean;2774 readonly isAllAbstractFungible: boolean;2775 readonly asAllAbstractFungible: {2776 readonly id: Bytes;2777 } & Struct;2778 readonly isAllAbstractNonFungible: boolean;2779 readonly asAllAbstractNonFungible: {2780 readonly class: Bytes;2781 } & Struct;2782 readonly isAllConcreteFungible: boolean;2783 readonly asAllConcreteFungible: {2784 readonly id: XcmV0MultiLocation;2785 } & Struct;2786 readonly isAllConcreteNonFungible: boolean;2787 readonly asAllConcreteNonFungible: {2788 readonly class: XcmV0MultiLocation;2789 } & Struct;2790 readonly isAbstractFungible: boolean;2791 readonly asAbstractFungible: {2792 readonly id: Bytes;2793 readonly amount: Compact<u128>;2794 } & Struct;2795 readonly isAbstractNonFungible: boolean;2796 readonly asAbstractNonFungible: {2797 readonly class: Bytes;2798 readonly instance: XcmV1MultiassetAssetInstance;2799 } & Struct;2800 readonly isConcreteFungible: boolean;2801 readonly asConcreteFungible: {2802 readonly id: XcmV0MultiLocation;2803 readonly amount: Compact<u128>;2804 } & Struct;2805 readonly isConcreteNonFungible: boolean;2806 readonly asConcreteNonFungible: {2807 readonly class: XcmV0MultiLocation;2808 readonly instance: XcmV1MultiassetAssetInstance;2809 } & Struct;2810 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2811}28122813/** @name XcmV0MultiLocation */2814export interface XcmV0MultiLocation extends Enum {2815 readonly isNull: boolean;2816 readonly isX1: boolean;2817 readonly asX1: XcmV0Junction;2818 readonly isX2: boolean;2819 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2820 readonly isX3: boolean;2821 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2822 readonly isX4: boolean;2823 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2824 readonly isX5: boolean;2825 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2826 readonly isX6: boolean;2827 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2828 readonly isX7: boolean;2829 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2830 readonly isX8: boolean;2831 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2832 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2833}28342835/** @name XcmV0Order */2836export interface XcmV0Order extends Enum {2837 readonly isNull: boolean;2838 readonly isDepositAsset: boolean;2839 readonly asDepositAsset: {2840 readonly assets: Vec<XcmV0MultiAsset>;2841 readonly dest: XcmV0MultiLocation;2842 } & Struct;2843 readonly isDepositReserveAsset: boolean;2844 readonly asDepositReserveAsset: {2845 readonly assets: Vec<XcmV0MultiAsset>;2846 readonly dest: XcmV0MultiLocation;2847 readonly effects: Vec<XcmV0Order>;2848 } & Struct;2849 readonly isExchangeAsset: boolean;2850 readonly asExchangeAsset: {2851 readonly give: Vec<XcmV0MultiAsset>;2852 readonly receive: Vec<XcmV0MultiAsset>;2853 } & Struct;2854 readonly isInitiateReserveWithdraw: boolean;2855 readonly asInitiateReserveWithdraw: {2856 readonly assets: Vec<XcmV0MultiAsset>;2857 readonly reserve: XcmV0MultiLocation;2858 readonly effects: Vec<XcmV0Order>;2859 } & Struct;2860 readonly isInitiateTeleport: boolean;2861 readonly asInitiateTeleport: {2862 readonly assets: Vec<XcmV0MultiAsset>;2863 readonly dest: XcmV0MultiLocation;2864 readonly effects: Vec<XcmV0Order>;2865 } & Struct;2866 readonly isQueryHolding: boolean;2867 readonly asQueryHolding: {2868 readonly queryId: Compact<u64>;2869 readonly dest: XcmV0MultiLocation;2870 readonly assets: Vec<XcmV0MultiAsset>;2871 } & Struct;2872 readonly isBuyExecution: boolean;2873 readonly asBuyExecution: {2874 readonly fees: XcmV0MultiAsset;2875 readonly weight: u64;2876 readonly debt: u64;2877 readonly haltOnError: bool;2878 readonly xcm: Vec<XcmV0Xcm>;2879 } & Struct;2880 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2881}28822883/** @name XcmV0OriginKind */2884export interface XcmV0OriginKind extends Enum {2885 readonly isNative: boolean;2886 readonly isSovereignAccount: boolean;2887 readonly isSuperuser: boolean;2888 readonly isXcm: boolean;2889 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2890}28912892/** @name XcmV0Response */2893export interface XcmV0Response extends Enum {2894 readonly isAssets: boolean;2895 readonly asAssets: Vec<XcmV0MultiAsset>;2896 readonly type: 'Assets';2897}28982899/** @name XcmV0Xcm */2900export interface XcmV0Xcm extends Enum {2901 readonly isWithdrawAsset: boolean;2902 readonly asWithdrawAsset: {2903 readonly assets: Vec<XcmV0MultiAsset>;2904 readonly effects: Vec<XcmV0Order>;2905 } & Struct;2906 readonly isReserveAssetDeposit: boolean;2907 readonly asReserveAssetDeposit: {2908 readonly assets: Vec<XcmV0MultiAsset>;2909 readonly effects: Vec<XcmV0Order>;2910 } & Struct;2911 readonly isTeleportAsset: boolean;2912 readonly asTeleportAsset: {2913 readonly assets: Vec<XcmV0MultiAsset>;2914 readonly effects: Vec<XcmV0Order>;2915 } & Struct;2916 readonly isQueryResponse: boolean;2917 readonly asQueryResponse: {2918 readonly queryId: Compact<u64>;2919 readonly response: XcmV0Response;2920 } & Struct;2921 readonly isTransferAsset: boolean;2922 readonly asTransferAsset: {2923 readonly assets: Vec<XcmV0MultiAsset>;2924 readonly dest: XcmV0MultiLocation;2925 } & Struct;2926 readonly isTransferReserveAsset: boolean;2927 readonly asTransferReserveAsset: {2928 readonly assets: Vec<XcmV0MultiAsset>;2929 readonly dest: XcmV0MultiLocation;2930 readonly effects: Vec<XcmV0Order>;2931 } & Struct;2932 readonly isTransact: boolean;2933 readonly asTransact: {2934 readonly originType: XcmV0OriginKind;2935 readonly requireWeightAtMost: u64;2936 readonly call: XcmDoubleEncoded;2937 } & Struct;2938 readonly isHrmpNewChannelOpenRequest: boolean;2939 readonly asHrmpNewChannelOpenRequest: {2940 readonly sender: Compact<u32>;2941 readonly maxMessageSize: Compact<u32>;2942 readonly maxCapacity: Compact<u32>;2943 } & Struct;2944 readonly isHrmpChannelAccepted: boolean;2945 readonly asHrmpChannelAccepted: {2946 readonly recipient: Compact<u32>;2947 } & Struct;2948 readonly isHrmpChannelClosing: boolean;2949 readonly asHrmpChannelClosing: {2950 readonly initiator: Compact<u32>;2951 readonly sender: Compact<u32>;2952 readonly recipient: Compact<u32>;2953 } & Struct;2954 readonly isRelayedFrom: boolean;2955 readonly asRelayedFrom: {2956 readonly who: XcmV0MultiLocation;2957 readonly message: XcmV0Xcm;2958 } & Struct;2959 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2960}29612962/** @name XcmV1Junction */2963export interface XcmV1Junction extends Enum {2964 readonly isParachain: boolean;2965 readonly asParachain: Compact<u32>;2966 readonly isAccountId32: boolean;2967 readonly asAccountId32: {2968 readonly network: XcmV0JunctionNetworkId;2969 readonly id: U8aFixed;2970 } & Struct;2971 readonly isAccountIndex64: boolean;2972 readonly asAccountIndex64: {2973 readonly network: XcmV0JunctionNetworkId;2974 readonly index: Compact<u64>;2975 } & Struct;2976 readonly isAccountKey20: boolean;2977 readonly asAccountKey20: {2978 readonly network: XcmV0JunctionNetworkId;2979 readonly key: U8aFixed;2980 } & Struct;2981 readonly isPalletInstance: boolean;2982 readonly asPalletInstance: u8;2983 readonly isGeneralIndex: boolean;2984 readonly asGeneralIndex: Compact<u128>;2985 readonly isGeneralKey: boolean;2986 readonly asGeneralKey: Bytes;2987 readonly isOnlyChild: boolean;2988 readonly isPlurality: boolean;2989 readonly asPlurality: {2990 readonly id: XcmV0JunctionBodyId;2991 readonly part: XcmV0JunctionBodyPart;2992 } & Struct;2993 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2994}29952996/** @name XcmV1MultiAsset */2997export interface XcmV1MultiAsset extends Struct {2998 readonly id: XcmV1MultiassetAssetId;2999 readonly fun: XcmV1MultiassetFungibility;3000}30013002/** @name XcmV1MultiassetAssetId */3003export interface XcmV1MultiassetAssetId extends Enum {3004 readonly isConcrete: boolean;3005 readonly asConcrete: XcmV1MultiLocation;3006 readonly isAbstract: boolean;3007 readonly asAbstract: Bytes;3008 readonly type: 'Concrete' | 'Abstract';3009}30103011/** @name XcmV1MultiassetAssetInstance */3012export interface XcmV1MultiassetAssetInstance extends Enum {3013 readonly isUndefined: boolean;3014 readonly isIndex: boolean;3015 readonly asIndex: Compact<u128>;3016 readonly isArray4: boolean;3017 readonly asArray4: U8aFixed;3018 readonly isArray8: boolean;3019 readonly asArray8: U8aFixed;3020 readonly isArray16: boolean;3021 readonly asArray16: U8aFixed;3022 readonly isArray32: boolean;3023 readonly asArray32: U8aFixed;3024 readonly isBlob: boolean;3025 readonly asBlob: Bytes;3026 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3027}30283029/** @name XcmV1MultiassetFungibility */3030export interface XcmV1MultiassetFungibility extends Enum {3031 readonly isFungible: boolean;3032 readonly asFungible: Compact<u128>;3033 readonly isNonFungible: boolean;3034 readonly asNonFungible: XcmV1MultiassetAssetInstance;3035 readonly type: 'Fungible' | 'NonFungible';3036}30373038/** @name XcmV1MultiassetMultiAssetFilter */3039export interface XcmV1MultiassetMultiAssetFilter extends Enum {3040 readonly isDefinite: boolean;3041 readonly asDefinite: XcmV1MultiassetMultiAssets;3042 readonly isWild: boolean;3043 readonly asWild: XcmV1MultiassetWildMultiAsset;3044 readonly type: 'Definite' | 'Wild';3045}30463047/** @name XcmV1MultiassetMultiAssets */3048export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30493050/** @name XcmV1MultiassetWildFungibility */3051export interface XcmV1MultiassetWildFungibility extends Enum {3052 readonly isFungible: boolean;3053 readonly isNonFungible: boolean;3054 readonly type: 'Fungible' | 'NonFungible';3055}30563057/** @name XcmV1MultiassetWildMultiAsset */3058export interface XcmV1MultiassetWildMultiAsset extends Enum {3059 readonly isAll: boolean;3060 readonly isAllOf: boolean;3061 readonly asAllOf: {3062 readonly id: XcmV1MultiassetAssetId;3063 readonly fun: XcmV1MultiassetWildFungibility;3064 } & Struct;3065 readonly type: 'All' | 'AllOf';3066}30673068/** @name XcmV1MultiLocation */3069export interface XcmV1MultiLocation extends Struct {3070 readonly parents: u8;3071 readonly interior: XcmV1MultilocationJunctions;3072}30733074/** @name XcmV1MultilocationJunctions */3075export interface XcmV1MultilocationJunctions extends Enum {3076 readonly isHere: boolean;3077 readonly isX1: boolean;3078 readonly asX1: XcmV1Junction;3079 readonly isX2: boolean;3080 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3081 readonly isX3: boolean;3082 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3083 readonly isX4: boolean;3084 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3085 readonly isX5: boolean;3086 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3087 readonly isX6: boolean;3088 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3089 readonly isX7: boolean;3090 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3091 readonly isX8: boolean;3092 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3093 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3094}30953096/** @name XcmV1Order */3097export interface XcmV1Order extends Enum {3098 readonly isNoop: boolean;3099 readonly isDepositAsset: boolean;3100 readonly asDepositAsset: {3101 readonly assets: XcmV1MultiassetMultiAssetFilter;3102 readonly maxAssets: u32;3103 readonly beneficiary: XcmV1MultiLocation;3104 } & Struct;3105 readonly isDepositReserveAsset: boolean;3106 readonly asDepositReserveAsset: {3107 readonly assets: XcmV1MultiassetMultiAssetFilter;3108 readonly maxAssets: u32;3109 readonly dest: XcmV1MultiLocation;3110 readonly effects: Vec<XcmV1Order>;3111 } & Struct;3112 readonly isExchangeAsset: boolean;3113 readonly asExchangeAsset: {3114 readonly give: XcmV1MultiassetMultiAssetFilter;3115 readonly receive: XcmV1MultiassetMultiAssets;3116 } & Struct;3117 readonly isInitiateReserveWithdraw: boolean;3118 readonly asInitiateReserveWithdraw: {3119 readonly assets: XcmV1MultiassetMultiAssetFilter;3120 readonly reserve: XcmV1MultiLocation;3121 readonly effects: Vec<XcmV1Order>;3122 } & Struct;3123 readonly isInitiateTeleport: boolean;3124 readonly asInitiateTeleport: {3125 readonly assets: XcmV1MultiassetMultiAssetFilter;3126 readonly dest: XcmV1MultiLocation;3127 readonly effects: Vec<XcmV1Order>;3128 } & Struct;3129 readonly isQueryHolding: boolean;3130 readonly asQueryHolding: {3131 readonly queryId: Compact<u64>;3132 readonly dest: XcmV1MultiLocation;3133 readonly assets: XcmV1MultiassetMultiAssetFilter;3134 } & Struct;3135 readonly isBuyExecution: boolean;3136 readonly asBuyExecution: {3137 readonly fees: XcmV1MultiAsset;3138 readonly weight: u64;3139 readonly debt: u64;3140 readonly haltOnError: bool;3141 readonly instructions: Vec<XcmV1Xcm>;3142 } & Struct;3143 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3144}31453146/** @name XcmV1Response */3147export interface XcmV1Response extends Enum {3148 readonly isAssets: boolean;3149 readonly asAssets: XcmV1MultiassetMultiAssets;3150 readonly isVersion: boolean;3151 readonly asVersion: u32;3152 readonly type: 'Assets' | 'Version';3153}31543155/** @name XcmV1Xcm */3156export interface XcmV1Xcm extends Enum {3157 readonly isWithdrawAsset: boolean;3158 readonly asWithdrawAsset: {3159 readonly assets: XcmV1MultiassetMultiAssets;3160 readonly effects: Vec<XcmV1Order>;3161 } & Struct;3162 readonly isReserveAssetDeposited: boolean;3163 readonly asReserveAssetDeposited: {3164 readonly assets: XcmV1MultiassetMultiAssets;3165 readonly effects: Vec<XcmV1Order>;3166 } & Struct;3167 readonly isReceiveTeleportedAsset: boolean;3168 readonly asReceiveTeleportedAsset: {3169 readonly assets: XcmV1MultiassetMultiAssets;3170 readonly effects: Vec<XcmV1Order>;3171 } & Struct;3172 readonly isQueryResponse: boolean;3173 readonly asQueryResponse: {3174 readonly queryId: Compact<u64>;3175 readonly response: XcmV1Response;3176 } & Struct;3177 readonly isTransferAsset: boolean;3178 readonly asTransferAsset: {3179 readonly assets: XcmV1MultiassetMultiAssets;3180 readonly beneficiary: XcmV1MultiLocation;3181 } & Struct;3182 readonly isTransferReserveAsset: boolean;3183 readonly asTransferReserveAsset: {3184 readonly assets: XcmV1MultiassetMultiAssets;3185 readonly dest: XcmV1MultiLocation;3186 readonly effects: Vec<XcmV1Order>;3187 } & Struct;3188 readonly isTransact: boolean;3189 readonly asTransact: {3190 readonly originType: XcmV0OriginKind;3191 readonly requireWeightAtMost: u64;3192 readonly call: XcmDoubleEncoded;3193 } & Struct;3194 readonly isHrmpNewChannelOpenRequest: boolean;3195 readonly asHrmpNewChannelOpenRequest: {3196 readonly sender: Compact<u32>;3197 readonly maxMessageSize: Compact<u32>;3198 readonly maxCapacity: Compact<u32>;3199 } & Struct;3200 readonly isHrmpChannelAccepted: boolean;3201 readonly asHrmpChannelAccepted: {3202 readonly recipient: Compact<u32>;3203 } & Struct;3204 readonly isHrmpChannelClosing: boolean;3205 readonly asHrmpChannelClosing: {3206 readonly initiator: Compact<u32>;3207 readonly sender: Compact<u32>;3208 readonly recipient: Compact<u32>;3209 } & Struct;3210 readonly isRelayedFrom: boolean;3211 readonly asRelayedFrom: {3212 readonly who: XcmV1MultilocationJunctions;3213 readonly message: XcmV1Xcm;3214 } & Struct;3215 readonly isSubscribeVersion: boolean;3216 readonly asSubscribeVersion: {3217 readonly queryId: Compact<u64>;3218 readonly maxResponseWeight: Compact<u64>;3219 } & Struct;3220 readonly isUnsubscribeVersion: boolean;3221 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3222}32233224/** @name XcmV2Instruction */3225export interface XcmV2Instruction extends Enum {3226 readonly isWithdrawAsset: boolean;3227 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3228 readonly isReserveAssetDeposited: boolean;3229 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3230 readonly isReceiveTeleportedAsset: boolean;3231 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3232 readonly isQueryResponse: boolean;3233 readonly asQueryResponse: {3234 readonly queryId: Compact<u64>;3235 readonly response: XcmV2Response;3236 readonly maxWeight: Compact<u64>;3237 } & Struct;3238 readonly isTransferAsset: boolean;3239 readonly asTransferAsset: {3240 readonly assets: XcmV1MultiassetMultiAssets;3241 readonly beneficiary: XcmV1MultiLocation;3242 } & Struct;3243 readonly isTransferReserveAsset: boolean;3244 readonly asTransferReserveAsset: {3245 readonly assets: XcmV1MultiassetMultiAssets;3246 readonly dest: XcmV1MultiLocation;3247 readonly xcm: XcmV2Xcm;3248 } & Struct;3249 readonly isTransact: boolean;3250 readonly asTransact: {3251 readonly originType: XcmV0OriginKind;3252 readonly requireWeightAtMost: Compact<u64>;3253 readonly call: XcmDoubleEncoded;3254 } & Struct;3255 readonly isHrmpNewChannelOpenRequest: boolean;3256 readonly asHrmpNewChannelOpenRequest: {3257 readonly sender: Compact<u32>;3258 readonly maxMessageSize: Compact<u32>;3259 readonly maxCapacity: Compact<u32>;3260 } & Struct;3261 readonly isHrmpChannelAccepted: boolean;3262 readonly asHrmpChannelAccepted: {3263 readonly recipient: Compact<u32>;3264 } & Struct;3265 readonly isHrmpChannelClosing: boolean;3266 readonly asHrmpChannelClosing: {3267 readonly initiator: Compact<u32>;3268 readonly sender: Compact<u32>;3269 readonly recipient: Compact<u32>;3270 } & Struct;3271 readonly isClearOrigin: boolean;3272 readonly isDescendOrigin: boolean;3273 readonly asDescendOrigin: XcmV1MultilocationJunctions;3274 readonly isReportError: boolean;3275 readonly asReportError: {3276 readonly queryId: Compact<u64>;3277 readonly dest: XcmV1MultiLocation;3278 readonly maxResponseWeight: Compact<u64>;3279 } & Struct;3280 readonly isDepositAsset: boolean;3281 readonly asDepositAsset: {3282 readonly assets: XcmV1MultiassetMultiAssetFilter;3283 readonly maxAssets: Compact<u32>;3284 readonly beneficiary: XcmV1MultiLocation;3285 } & Struct;3286 readonly isDepositReserveAsset: boolean;3287 readonly asDepositReserveAsset: {3288 readonly assets: XcmV1MultiassetMultiAssetFilter;3289 readonly maxAssets: Compact<u32>;3290 readonly dest: XcmV1MultiLocation;3291 readonly xcm: XcmV2Xcm;3292 } & Struct;3293 readonly isExchangeAsset: boolean;3294 readonly asExchangeAsset: {3295 readonly give: XcmV1MultiassetMultiAssetFilter;3296 readonly receive: XcmV1MultiassetMultiAssets;3297 } & Struct;3298 readonly isInitiateReserveWithdraw: boolean;3299 readonly asInitiateReserveWithdraw: {3300 readonly assets: XcmV1MultiassetMultiAssetFilter;3301 readonly reserve: XcmV1MultiLocation;3302 readonly xcm: XcmV2Xcm;3303 } & Struct;3304 readonly isInitiateTeleport: boolean;3305 readonly asInitiateTeleport: {3306 readonly assets: XcmV1MultiassetMultiAssetFilter;3307 readonly dest: XcmV1MultiLocation;3308 readonly xcm: XcmV2Xcm;3309 } & Struct;3310 readonly isQueryHolding: boolean;3311 readonly asQueryHolding: {3312 readonly queryId: Compact<u64>;3313 readonly dest: XcmV1MultiLocation;3314 readonly assets: XcmV1MultiassetMultiAssetFilter;3315 readonly maxResponseWeight: Compact<u64>;3316 } & Struct;3317 readonly isBuyExecution: boolean;3318 readonly asBuyExecution: {3319 readonly fees: XcmV1MultiAsset;3320 readonly weightLimit: XcmV2WeightLimit;3321 } & Struct;3322 readonly isRefundSurplus: boolean;3323 readonly isSetErrorHandler: boolean;3324 readonly asSetErrorHandler: XcmV2Xcm;3325 readonly isSetAppendix: boolean;3326 readonly asSetAppendix: XcmV2Xcm;3327 readonly isClearError: boolean;3328 readonly isClaimAsset: boolean;3329 readonly asClaimAsset: {3330 readonly assets: XcmV1MultiassetMultiAssets;3331 readonly ticket: XcmV1MultiLocation;3332 } & Struct;3333 readonly isTrap: boolean;3334 readonly asTrap: Compact<u64>;3335 readonly isSubscribeVersion: boolean;3336 readonly asSubscribeVersion: {3337 readonly queryId: Compact<u64>;3338 readonly maxResponseWeight: Compact<u64>;3339 } & Struct;3340 readonly isUnsubscribeVersion: boolean;3341 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';3342}33433344/** @name XcmV2Response */3345export interface XcmV2Response extends Enum {3346 readonly isNull: boolean;3347 readonly isAssets: boolean;3348 readonly asAssets: XcmV1MultiassetMultiAssets;3349 readonly isExecutionResult: boolean;3350 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3351 readonly isVersion: boolean;3352 readonly asVersion: u32;3353 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3354}33553356/** @name XcmV2TraitsError */3357export interface XcmV2TraitsError extends Enum {3358 readonly isOverflow: boolean;3359 readonly isUnimplemented: boolean;3360 readonly isUntrustedReserveLocation: boolean;3361 readonly isUntrustedTeleportLocation: boolean;3362 readonly isMultiLocationFull: boolean;3363 readonly isMultiLocationNotInvertible: boolean;3364 readonly isBadOrigin: boolean;3365 readonly isInvalidLocation: boolean;3366 readonly isAssetNotFound: boolean;3367 readonly isFailedToTransactAsset: boolean;3368 readonly isNotWithdrawable: boolean;3369 readonly isLocationCannotHold: boolean;3370 readonly isExceedsMaxMessageSize: boolean;3371 readonly isDestinationUnsupported: boolean;3372 readonly isTransport: boolean;3373 readonly isUnroutable: boolean;3374 readonly isUnknownClaim: boolean;3375 readonly isFailedToDecode: boolean;3376 readonly isMaxWeightInvalid: boolean;3377 readonly isNotHoldingFees: boolean;3378 readonly isTooExpensive: boolean;3379 readonly isTrap: boolean;3380 readonly asTrap: u64;3381 readonly isUnhandledXcmVersion: boolean;3382 readonly isWeightLimitReached: boolean;3383 readonly asWeightLimitReached: u64;3384 readonly isBarrier: boolean;3385 readonly isWeightNotComputable: boolean;3386 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';3387}33883389/** @name XcmV2TraitsOutcome */3390export interface XcmV2TraitsOutcome extends Enum {3391 readonly isComplete: boolean;3392 readonly asComplete: u64;3393 readonly isIncomplete: boolean;3394 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3395 readonly isError: boolean;3396 readonly asError: XcmV2TraitsError;3397 readonly type: 'Complete' | 'Incomplete' | 'Error';3398}33993400/** @name XcmV2WeightLimit */3401export interface XcmV2WeightLimit extends Enum {3402 readonly isUnlimited: boolean;3403 readonly isLimited: boolean;3404 readonly asLimited: Compact<u64>;3405 readonly type: 'Unlimited' | 'Limited';3406}34073408/** @name XcmV2Xcm */3409export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34103411/** @name XcmVersionedMultiAssets */3412export interface XcmVersionedMultiAssets extends Enum {3413 readonly isV0: boolean;3414 readonly asV0: Vec<XcmV0MultiAsset>;3415 readonly isV1: boolean;3416 readonly asV1: XcmV1MultiassetMultiAssets;3417 readonly type: 'V0' | 'V1';3418}34193420/** @name XcmVersionedMultiLocation */3421export interface XcmVersionedMultiLocation extends Enum {3422 readonly isV0: boolean;3423 readonly asV0: XcmV0MultiLocation;3424 readonly isV1: boolean;3425 readonly asV1: XcmV1MultiLocation;3426 readonly type: 'V0' | 'V1';3427}34283429/** @name XcmVersionedXcm */3430export interface XcmVersionedXcm extends Enum {3431 readonly isV0: boolean;3432 readonly asV0: XcmV0Xcm;3433 readonly isV1: boolean;3434 readonly asV1: XcmV1Xcm;3435 readonly isV2: boolean;3436 readonly asV2: XcmV2Xcm;3437 readonly type: 'V0' | 'V1' | 'V2';3438}34393440export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1198,7 +1198,14 @@
readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
- /** @name PalletEvmEvent (103) */
+ /** @name PalletAppPromotionEvent (103) */
+ interface PalletAppPromotionEvent extends Enum {
+ readonly isStakingRecalculation: boolean;
+ readonly asStakingRecalculation: ITuple<[u128, u128]>;
+ readonly type: 'StakingRecalculation';
+ }
+
+ /** @name PalletEvmEvent (104) */
interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -1217,21 +1224,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (104) */
+ /** @name EthereumLog (105) */
interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (108) */
+ /** @name PalletEthereumEvent (109) */
interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (109) */
+ /** @name EvmCoreErrorExitReason (110) */
interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -1244,7 +1251,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (110) */
+ /** @name EvmCoreErrorExitSucceed (111) */
interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -1252,7 +1259,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (111) */
+ /** @name EvmCoreErrorExitError (112) */
interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -1273,13 +1280,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (114) */
+ /** @name EvmCoreErrorExitRevert (115) */
interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (115) */
+ /** @name EvmCoreErrorExitFatal (116) */
interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -1290,7 +1297,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (116) */
+ /** @name FrameSystemPhase (117) */
interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1299,13 +1306,13 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (118) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (119) */
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemCall (119) */
+ /** @name FrameSystemCall (120) */
interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -1347,21 +1354,21 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name FrameSystemLimitsBlockWeights (124) */
+ /** @name FrameSystemLimitsBlockWeights (125) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (126) */
interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (126) */
+ /** @name FrameSystemLimitsWeightsPerClass (127) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -1369,25 +1376,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (128) */
+ /** @name FrameSystemLimitsBlockLength (129) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (129) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (130) */
interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (130) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (131) */
interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (131) */
+ /** @name SpVersionRuntimeVersion (132) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1399,7 +1406,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (136) */
+ /** @name FrameSystemError (137) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1410,7 +1417,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (137) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (138) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1418,18 +1425,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (141) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (141) */
+ /** @name SpTrieStorageProof (142) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (144) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1437,7 +1444,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (147) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1447,7 +1454,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (148) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1460,13 +1467,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (154) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (154) */
+ /** @name CumulusPalletParachainSystemCall (155) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1487,7 +1494,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (156) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1495,19 +1502,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (158) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (161) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (163) */
+ /** @name CumulusPalletParachainSystemError (164) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1520,14 +1527,14 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletBalancesBalanceLock (165) */
+ /** @name PalletBalancesBalanceLock (166) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (166) */
+ /** @name PalletBalancesReasons (167) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1535,20 +1542,20 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (169) */
+ /** @name PalletBalancesReserveData (170) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesReleases (171) */
+ /** @name PalletBalancesReleases (172) */
interface PalletBalancesReleases extends Enum {
readonly isV100: boolean;
readonly isV200: boolean;
readonly type: 'V100' | 'V200';
}
- /** @name PalletBalancesCall (172) */
+ /** @name PalletBalancesCall (173) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1585,7 +1592,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (175) */
+ /** @name PalletBalancesError (176) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1598,7 +1605,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (177) */
+ /** @name PalletTimestampCall (178) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1607,14 +1614,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (179) */
+ /** @name PalletTransactionPaymentReleases (180) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (180) */
+ /** @name PalletTreasuryProposal (181) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1622,7 +1629,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (183) */
+ /** @name PalletTreasuryCall (184) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -1649,10 +1656,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (186) */
+ /** @name FrameSupportPalletId (187) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (187) */
+ /** @name PalletTreasuryError (188) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -1662,7 +1669,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (188) */
+ /** @name PalletSudoCall (189) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -1685,7 +1692,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (190) */
+ /** @name OrmlVestingModuleCall (191) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -1705,7 +1712,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name CumulusPalletXcmpQueueCall (192) */
+ /** @name CumulusPalletXcmpQueueCall (193) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -1741,7 +1748,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (193) */
+ /** @name PalletXcmCall (194) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -1803,7 +1810,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (194) */
+ /** @name XcmVersionedXcm (195) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -1814,7 +1821,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (195) */
+ /** @name XcmV0Xcm (196) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -1877,7 +1884,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (197) */
+ /** @name XcmV0Order (198) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -1925,14 +1932,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (199) */
+ /** @name XcmV0Response (200) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (200) */
+ /** @name XcmV1Xcm (201) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2001,7 +2008,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (202) */
+ /** @name XcmV1Order (203) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2051,7 +2058,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (204) */
+ /** @name XcmV1Response (205) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2060,10 +2067,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (218) */
+ /** @name CumulusPalletXcmCall (219) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (219) */
+ /** @name CumulusPalletDmpQueueCall (220) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2073,7 +2080,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (220) */
+ /** @name PalletInflationCall (221) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2082,7 +2089,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (221) */
+ /** @name PalletUniqueCall (222) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2240,7 +2247,7 @@
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';
}
- /** @name UpDataStructsCollectionMode (226) */
+ /** @name UpDataStructsCollectionMode (227) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2249,7 +2256,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (227) */
+ /** @name UpDataStructsCreateCollectionData (228) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2263,14 +2270,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (229) */
+ /** @name UpDataStructsAccessMode (230) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (231) */
+ /** @name UpDataStructsCollectionLimits (232) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2283,7 +2290,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (233) */
+ /** @name UpDataStructsSponsoringRateLimit (234) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2291,43 +2298,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (236) */
+ /** @name UpDataStructsCollectionPermissions (237) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (238) */
+ /** @name UpDataStructsNestingPermissions (239) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (240) */
+ /** @name UpDataStructsOwnerRestrictedSet (241) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (245) */
+ /** @name UpDataStructsPropertyKeyPermission (246) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (246) */
+ /** @name UpDataStructsPropertyPermission (247) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (249) */
+ /** @name UpDataStructsProperty (250) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (252) */
+ /** @name UpDataStructsCreateItemData (253) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2338,23 +2345,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (253) */
+ /** @name UpDataStructsCreateNftData (254) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (254) */
+ /** @name UpDataStructsCreateFungibleData (255) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (255) */
+ /** @name UpDataStructsCreateReFungibleData (256) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (258) */
+ /** @name UpDataStructsCreateItemExData (259) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2367,26 +2374,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (260) */
+ /** @name UpDataStructsCreateNftExData (261) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (268) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (270) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletUniqueSchedulerCall (270) */
+ /** @name PalletUniqueSchedulerCall (271) */
interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
@@ -2411,7 +2418,7 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
- /** @name FrameSupportScheduleMaybeHashed (272) */
+ /** @name FrameSupportScheduleMaybeHashed (273) */
interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
@@ -2420,7 +2427,7 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletConfigurationCall (273) */
+ /** @name PalletConfigurationCall (274) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2433,13 +2440,13 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';
}
- /** @name PalletTemplateTransactionPaymentCall (274) */
+ /** @name PalletTemplateTransactionPaymentCall (275) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (275) */
+ /** @name PalletStructureCall (276) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (276) */
+ /** @name PalletRmrkCoreCall (277) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2545,7 +2552,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (282) */
+ /** @name RmrkTraitsResourceResourceTypes (283) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -2556,7 +2563,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (284) */
+ /** @name RmrkTraitsResourceBasicResource (285) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2564,7 +2571,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (286) */
+ /** @name RmrkTraitsResourceComposableResource (287) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -2574,7 +2581,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (287) */
+ /** @name RmrkTraitsResourceSlotResource (288) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2584,7 +2591,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (290) */
+ /** @name PalletRmrkEquipCall (291) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -2606,7 +2613,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (293) */
+ /** @name RmrkTraitsPartPartType (294) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -2615,14 +2622,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (295) */
+ /** @name RmrkTraitsPartFixedPart (296) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (296) */
+ /** @name RmrkTraitsPartSlotPart (297) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -2630,7 +2637,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (297) */
+ /** @name RmrkTraitsPartEquippableList (298) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -2639,28 +2646,28 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (299) */
+ /** @name RmrkTraitsTheme (300) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (301) */
+ /** @name RmrkTraitsThemeThemeProperty (302) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (303) */
+ /** @name PalletAppPromotionCall (304) */
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: {
@@ -2670,10 +2677,18 @@
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 PalletEvmCall (304) */
+ /** @name PalletEvmCall (305) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -2718,7 +2733,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (308) */
+ /** @name PalletEthereumCall (309) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -2727,7 +2742,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (309) */
+ /** @name EthereumTransactionTransactionV2 (310) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -2738,7 +2753,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (310) */
+ /** @name EthereumTransactionLegacyTransaction (311) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -2749,7 +2764,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (311) */
+ /** @name EthereumTransactionTransactionAction (312) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -2757,14 +2772,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (312) */
+ /** @name EthereumTransactionTransactionSignature (313) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (314) */
+ /** @name EthereumTransactionEip2930Transaction (315) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -2779,13 +2794,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (316) */
+ /** @name EthereumTransactionAccessListItem (317) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (317) */
+ /** @name EthereumTransactionEip1559Transaction (318) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -2801,7 +2816,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (318) */
+ /** @name PalletEvmMigrationCall (319) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -2820,13 +2835,13 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoError (321) */
+ /** @name PalletSudoError (322) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (323) */
+ /** @name OrmlVestingModuleError (324) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2837,21 +2852,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (325) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (326) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (326) */
+ /** @name CumulusPalletXcmpQueueInboundState (327) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (329) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (330) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2859,7 +2874,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (332) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (333) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2868,14 +2883,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (333) */
+ /** @name CumulusPalletXcmpQueueOutboundState (334) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (335) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (336) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2885,7 +2900,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (337) */
+ /** @name CumulusPalletXcmpQueueError (338) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2895,7 +2910,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (338) */
+ /** @name PalletXcmError (339) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2913,29 +2928,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (339) */
+ /** @name CumulusPalletXcmError (340) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (340) */
+ /** @name CumulusPalletDmpQueueConfigData (341) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (341) */
+ /** @name CumulusPalletDmpQueuePageIndexData (342) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (344) */
+ /** @name CumulusPalletDmpQueueError (345) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (348) */
+ /** @name PalletUniqueError (349) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2944,7 +2959,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletUniqueSchedulerScheduledV3 (351) */
+ /** @name PalletUniqueSchedulerScheduledV3 (352) */
interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
@@ -2953,7 +2968,7 @@
readonly origin: OpalRuntimeOriginCaller;
}
- /** @name OpalRuntimeOriginCaller (352) */
+ /** @name OpalRuntimeOriginCaller (353) */
interface OpalRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -2967,7 +2982,7 @@
readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
}
- /** @name FrameSupportDispatchRawOrigin (353) */
+ /** @name FrameSupportDispatchRawOrigin (354) */
interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
@@ -2976,7 +2991,7 @@
readonly type: 'Root' | 'Signed' | 'None';
}
- /** @name PalletXcmOrigin (354) */
+ /** @name PalletXcmOrigin (355) */
interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
@@ -2985,7 +3000,7 @@
readonly type: 'Xcm' | 'Response';
}
- /** @name CumulusPalletXcmOrigin (355) */
+ /** @name CumulusPalletXcmOrigin (356) */
interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -2993,17 +3008,17 @@
readonly type: 'Relay' | 'SiblingParachain';
}
- /** @name PalletEthereumRawOrigin (356) */
+ /** @name PalletEthereumRawOrigin (357) */
interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
- /** @name SpCoreVoid (357) */
+ /** @name SpCoreVoid (358) */
type SpCoreVoid = Null;
- /** @name PalletUniqueSchedulerError (358) */
+ /** @name PalletUniqueSchedulerError (359) */
interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
@@ -3012,7 +3027,7 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
- /** @name UpDataStructsCollection (359) */
+ /** @name UpDataStructsCollection (360) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3025,7 +3040,7 @@
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (360) */
+ /** @name UpDataStructsSponsorshipState (361) */
interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3035,43 +3050,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (361) */
+ /** @name UpDataStructsProperties (362) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (362) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (363) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (367) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (368) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (374) */
+ /** @name UpDataStructsCollectionStats (375) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (375) */
+ /** @name UpDataStructsTokenChild (376) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (376) */
+ /** @name PhantomTypeUpDataStructs (377) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (378) */
+ /** @name UpDataStructsTokenData (379) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (380) */
+ /** @name UpDataStructsRpcCollection (381) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3086,7 +3101,7 @@
readonly readOnly: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (381) */
+ /** @name RmrkTraitsCollectionCollectionInfo (382) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3095,7 +3110,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (382) */
+ /** @name RmrkTraitsNftNftInfo (383) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3104,13 +3119,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (384) */
+ /** @name RmrkTraitsNftRoyaltyInfo (385) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (385) */
+ /** @name RmrkTraitsResourceResourceInfo (386) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3118,26 +3133,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (386) */
+ /** @name RmrkTraitsPropertyPropertyInfo (387) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (387) */
+ /** @name RmrkTraitsBaseBaseInfo (388) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (388) */
+ /** @name RmrkTraitsNftNftChild (389) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (390) */
+ /** @name PalletCommonError (391) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3176,7 +3191,7 @@
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';
}
- /** @name PalletFungibleError (392) */
+ /** @name PalletFungibleError (393) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3186,12 +3201,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (393) */
+ /** @name PalletRefungibleItemData (394) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (398) */
+ /** @name PalletRefungibleError (399) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3201,12 +3216,12 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (399) */
+ /** @name PalletNonfungibleItemData (400) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (401) */
+ /** @name UpDataStructsPropertyScope (402) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
@@ -3214,7 +3229,7 @@
readonly type: 'None' | 'Rmrk' | 'Eth';
}
- /** @name PalletNonfungibleError (403) */
+ /** @name PalletNonfungibleError (404) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3222,7 +3237,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (404) */
+ /** @name PalletStructureError (405) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3231,7 +3246,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (405) */
+ /** @name PalletRmrkCoreError (406) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3255,7 +3270,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (407) */
+ /** @name PalletRmrkEquipError (408) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3267,7 +3282,17 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletEvmError (411) */
+ /** @name PalletAppPromotionError (410) */
+ 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 PalletEvmError (413) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3278,7 +3303,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (414) */
+ /** @name FpRpcTransactionStatus (416) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3289,10 +3314,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (416) */
+ /** @name EthbloomBloom (418) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (418) */
+ /** @name EthereumReceiptReceiptV3 (420) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3303,7 +3328,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (419) */
+ /** @name EthereumReceiptEip658ReceiptData (421) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3311,14 +3336,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (420) */
+ /** @name EthereumBlock (422) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (421) */
+ /** @name EthereumHeader (423) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3337,24 +3362,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (422) */
+ /** @name EthereumTypesHashH64 (424) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (427) */
+ /** @name PalletEthereumError (429) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (428) */
+ /** @name PalletEvmCoderSubstrateError (430) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (429) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (431) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3362,20 +3387,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (431) */
+ /** @name PalletEvmContractHelpersError (433) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (432) */
+ /** @name PalletEvmMigrationError (434) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (434) */
+ /** @name SpRuntimeMultiSignature (436) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3386,34 +3411,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (435) */
+ /** @name SpCoreEd25519Signature (437) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (437) */
+ /** @name SpCoreSr25519Signature (439) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (438) */
+ /** @name SpCoreEcdsaSignature (440) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (441) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (443) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (442) */
+ /** @name FrameSystemExtensionsCheckGenesis (444) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (445) */
+ /** @name FrameSystemExtensionsCheckNonce (447) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (446) */
+ /** @name FrameSystemExtensionsCheckWeight (448) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (447) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (449) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (448) */
+ /** @name OpalRuntimeRuntime (450) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (449) */
+ /** @name PalletEthereumFakeTransactionFinalizer (451) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module