difftreelog
feautres: Pending interval is now tied to relay blocks, contract sponsors and `stopAppPromotion` added. Preparing to integrate the `app-promotion` palette to integrate with Unique and Quartz.
in: master
13 files changed
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -37,9 +37,10 @@
pub mod weights;
use sp_std::{vec::Vec, iter::Sum, borrow::ToOwned};
+use sp_core::H160;
use codec::EncodeLike;
use pallet_balances::BalanceLock;
-pub use types::ExtendedLockableCurrency;
+pub use types::*;
// use up_common::constants::{DAYS, UNIQUE};
use up_data_structs::CollectionId;
@@ -78,7 +79,6 @@
use super::*;
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 {
@@ -89,6 +89,8 @@
CollectionId = CollectionId,
>;
+ type ContractHandler: ContractHandler<AccountId = Self::CrossAccountId, ContractId = H160>;
+
type TreasuryAccountId: Get<Self::AccountId>;
/// The app's pallet id, used for deriving its sovereign account ID.
@@ -98,7 +100,7 @@
/// In relay blocks.
#[pallet::constant]
type RecalculationInterval: Get<Self::BlockNumber>;
- /// In chain blocks.
+ /// In relay blocks.
#[pallet::constant]
type PendingInterval: Get<Self::BlockNumber>;
@@ -120,13 +122,6 @@
/// 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]
- // type InterestBlockInterval: Get<Self::BlockNumber>;
-
- // // Weight information for functions of this pallet.
- // type WeightInfo: WeightInfo;
}
#[pallet::pallet]
@@ -146,13 +141,14 @@
#[pallet::error]
pub enum Error<T> {
+ /// Error due to action requiring admin to be set
AdminNotSet,
- /// No permission to perform action
+ /// No permission to perform an action
NoPermission,
/// Insufficient funds to perform an action
NotSufficientFounds,
+ /// An error related to the fact that an invalid argument was passed to perform an action
InvalidArgument,
- AlreadySponsored,
}
#[pallet::storage]
@@ -183,7 +179,7 @@
QueryKind = ValueQuery,
>;
- /// A block when app-promotion has started
+ /// A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
#[pallet::storage]
pub type StartBlock<T: Config> = StorageValue<Value = T::BlockNumber, QueryKind = ValueQuery>;
@@ -285,6 +281,21 @@
Ok(())
}
+ #[pallet::weight(0)]
+ pub fn stop_app_promotion(origin: OriginFor<T>) -> DispatchResult
+ where
+ <T as frame_system::Config>::BlockNumber: From<u32>,
+ {
+ ensure_root(origin)?;
+
+ if <StartBlock<T>>::get() != 0u32.into() {
+ <StartBlock<T>>::set(T::BlockNumber::default());
+ <NextInterestBlock<T>>::set(T::BlockNumber::default());
+ }
+
+ Ok(())
+ }
+
#[pallet::weight(T::WeightInfo::stake())]
pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {
let staker_id = ensure_signed(staker)?;
@@ -341,7 +352,8 @@
.ok_or(ArithmeticError::Underflow)?,
);
- let block = frame_system::Pallet::<T>::block_number() + T::PendingInterval::get();
+ let block =
+ T::RelayBlockNumberProvider::current_block_number() + T::PendingInterval::get();
<PendingUnstake<T>>::insert(
(&staker_id, block),
<PendingUnstake<T>>::get((&staker_id, block))
@@ -415,113 +427,46 @@
);
T::CollectionHandler::remove_collection_sponsor(collection_id)
}
- }
-}
-
-impl<T: Config> Pallet<T> {
- // pub fn stake(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
- // let balance = <<T as Config>::Currency as Currency<T::AccountId>>::free_balance(staker);
-
- // ensure!(balance >= amount, ArithmeticError::Underflow);
-
- // Self::set_lock_unchecked(staker, amount);
-
- // let block_number = <T::BlockNumberProvider as BlockNumberProvider>::current_block_number();
- // <Staked<T>>::insert(
- // (staker, block_number),
- // <Staked<T>>::get((staker, block_number))
- // .checked_add(&amount)
- // .ok_or(ArithmeticError::Overflow)?,
- // );
-
- // <TotalStaked<T>>::set(
- // <TotalStaked<T>>::get()
- // .checked_add(&amount)
- // .ok_or(ArithmeticError::Overflow)?,
- // );
-
- // Ok(())
- // }
-
- // pub fn unstake(staker: &T::AccountId, amount: BalanceOf<T>) -> DispatchResult {
- // let mut stakes = Staked::<T>::iter_prefix((staker,)).collect::<Vec<_>>();
-
- // let total_staked = stakes
- // .iter()
- // .fold(<BalanceOf<T>>::default(), |acc, (_, amount)| acc + *amount);
-
- // ensure!(total_staked >= amount, ArithmeticError::Underflow);
-
- // <TotalStaked<T>>::set(
- // <TotalStaked<T>>::get()
- // .checked_sub(&amount)
- // .ok_or(ArithmeticError::Underflow)?,
- // );
-
- // let block = <T::BlockNumberProvider>::current_block_number() + WEEK.into();
- // <PendingUnstake<T>>::insert(
- // (staker, block),
- // <PendingUnstake<T>>::get((staker, block))
- // .checked_add(&amount)
- // .ok_or(ArithmeticError::Overflow)?,
- // );
-
- // stakes.sort_by_key(|(block, _)| *block);
-
- // let mut acc_amount = amount;
- // let new_state = stakes
- // .into_iter()
- // .map_while(|(block, balance_per_block)| {
- // if acc_amount == <BalanceOf<T>>::default() {
- // return None;
- // }
- // if acc_amount <= balance_per_block {
- // let res = (block, balance_per_block - acc_amount, acc_amount);
- // acc_amount = <BalanceOf<T>>::default();
- // return Some(res);
- // } else {
- // acc_amount -= balance_per_block;
- // return Some((block, <BalanceOf<T>>::default(), acc_amount));
- // }
- // })
- // .collect::<Vec<_>>();
-
- // new_state
- // .into_iter()
- // .for_each(|(block, to_staked, _to_pending)| {
- // if to_staked == <BalanceOf<T>>::default() {
- // <Staked<T>>::remove((staker, block));
- // } else {
- // <Staked<T>>::insert((staker, block), to_staked);
- // }
- // });
+ #[pallet::weight(0)]
+ pub fn sponsor_conract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
+ let admin_id = ensure_signed(admin)?;
- // Ok(())
- // }
+ ensure!(
+ admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+ Error::<T>::NoPermission
+ );
- // pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
- // Ok(())
- // }
+ T::ContractHandler::set_sponsor(
+ T::CrossAccountId::from_sub(Self::account_id()),
+ contract_id,
+ )
+ }
- // pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {
- // Ok(())
- // }
+ #[pallet::weight(0)]
+ pub fn stop_sponsorign_contract(admin: OriginFor<T>, contract_id: H160) -> DispatchResult {
+ let admin_id = ensure_signed(admin)?;
- pub fn sponsor_conract(admin: T::AccountId, app_id: u32) -> DispatchResult {
- Ok(())
- }
+ ensure!(
+ admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,
+ Error::<T>::NoPermission
+ );
- pub fn stop_sponsorign_contract(admin: T::AccountId, app_id: u32) -> DispatchResult {
- Ok(())
+ ensure!(
+ T::ContractHandler::get_sponsor(contract_id)?.ok_or(<Error<T>>::InvalidArgument)?
+ == T::CrossAccountId::from_sub(Self::account_id()),
+ <Error<T>>::NoPermission
+ );
+ T::ContractHandler::remove_contract_sponsor(contract_id)
+ }
}
+}
+impl<T: Config> Pallet<T> {
pub fn account_id() -> T::AccountId {
T::PalletId::get().into_account_truncating()
}
-}
-impl<T: Config> Pallet<T> {
fn unlock_balance_unchecked(staker: &T::AccountId, amount: BalanceOf<T>) {
let mut locked_balance = Self::get_locked_balance(staker).map(|l| l.amount).unwrap();
locked_balance -= amount;
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -9,7 +9,7 @@
use sp_runtime::DispatchError;
use up_data_structs::{CollectionId, SponsorshipState};
use sp_std::borrow::ToOwned;
-
+use pallet_evm_contract_helpers::{Pallet as EvmHelpersPallet, Config as EvmHelpersConfig, Sponsoring};
pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {
fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>
@@ -94,3 +94,40 @@
.map(|acc| acc.to_owned()))
}
}
+
+pub trait ContractHandler {
+ type ContractId;
+ type AccountId;
+
+ fn set_sponsor(sponsor_id: Self::AccountId, contract_id: Self::ContractId) -> DispatchResult;
+
+ fn remove_contract_sponsor(collection_id: Self::ContractId) -> DispatchResult;
+
+ fn get_sponsor(contract_id: Self::ContractId)
+ -> Result<Option<Self::AccountId>, DispatchError>;
+}
+
+impl<T: EvmHelpersConfig> ContractHandler for EvmHelpersPallet<T> {
+ type ContractId = sp_core::H160;
+
+ type AccountId = T::CrossAccountId;
+
+ fn set_sponsor(sponsor_id: Self::AccountId, contract_id: Self::ContractId) -> DispatchResult {
+ Sponsoring::<T>::insert(
+ contract_id,
+ SponsorshipState::<T::CrossAccountId>::Confirmed(sponsor_id),
+ );
+ Ok(())
+ }
+
+ fn remove_contract_sponsor(contract_id: Self::ContractId) -> DispatchResult {
+ Sponsoring::<T>::remove(contract_id);
+ Ok(())
+ }
+
+ fn get_sponsor(
+ contract_id: Self::ContractId,
+ ) -> Result<Option<Self::AccountId>, DispatchError> {
+ Ok(Self::get_sponsor(contract_id))
+ }
+}
pallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/lib.rs
+++ b/pallets/evm-contract-helpers/src/lib.rs
@@ -75,7 +75,7 @@
/// * **Key** - contract address.
/// * **Value** - sponsorship state.
#[pallet::storage]
- pub(super) type Sponsoring<T: Config> = StorageMap<
+ pub type Sponsoring<T: Config> = StorageMap<
Hasher = Twox64Concat,
Key = H160,
Value = SponsorshipState<T::CrossAccountId>,
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -22,6 +22,7 @@
use crate::types::{BlockNumber, Balance};
pub const MILLISECS_PER_BLOCK: u64 = 12000;
+pub const MILLISECS_PER_RELAY_BLOCK: u64 = 6000;
pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
@@ -30,6 +31,11 @@
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;
+// These time units are defined in number of relay blocks.
+pub const RELAY_MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_RELAY_BLOCK as BlockNumber);
+pub const RELAY_HOURS: BlockNumber = RELAY_MINUTES * 60;
+pub const RELAY_DAYS: BlockNumber = RELAY_HOURS * 24;
+
pub const MICROUNIQUE: Balance = 1_000_000_000_000;
pub const MILLIUNIQUE: Balance = 1_000 * MICROUNIQUE;
pub const CENTIUNIQUE: Balance = 10 * MILLIUNIQUE;
runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/app_promotion.rs
+++ b/runtime/common/config/pallets/app_promotion.rs
@@ -16,28 +16,40 @@
use crate::{
runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},
- Runtime, Balances, BlockNumber, Unique, Event,
+ Runtime, Balances, BlockNumber, Unique, Event, EvmContractHelpers,
};
use frame_support::{parameter_types, PalletId};
use sp_arithmetic::Perbill;
use up_common::{
- constants::{DAYS, UNIQUE},
+ constants::{DAYS, UNIQUE, RELAY_DAYS},
types::Balance,
};
+#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
parameter_types! {
pub const AppPromotionId: PalletId = PalletId(*b"appstake");
pub const RecalculationInterval: BlockNumber = 20;
- pub const PendingInterval: BlockNumber = 10;
+ pub const PendingInterval: BlockNumber = 20;
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);
+ pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), RELAY_DAYS) * Perbill::from_rational(5u32, 10_000);
+}
+
+#[cfg(any(feature = "unique-runtime", feature = "quartz-runtime"))]
+parameter_types! {
+ pub const AppPromotionId: PalletId = PalletId(*b"appstake");
+ pub const RecalculationInterval: BlockNumber = RELAY_DAYS;
+ pub const PendingInterval: BlockNumber = 7 * RELAY_DAYS;
+ pub const Nominal: Balance = UNIQUE;
+ pub const Day: BlockNumber = RELAY_DAYS;
+ pub IntervalIncome: Perbill = Perbill::from_rational(5u32, 10_000);
}
impl pallet_app_promotion::Config for Runtime {
type PalletId = AppPromotionId;
type CollectionHandler = Unique;
+ type ContractHandler = EvmContractHelpers;
type Currency = Balances;
type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;
type TreasuryAccountId = TreasuryAccountId;
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -706,6 +706,12 @@
nominal = helper.balance.getOneTokenNominal();
});
});
+
+ after(async function () {
+ await usingPlaygrounds(async (helper) => {
+ await helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.stopAppPromotion()));
+ });
+ });
it('will credit 0.05% for staking period', async () => {
// arrange: bob.stake(10000);
@@ -770,39 +776,24 @@
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));
});
});
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -78,7 +78,7 @@
**/
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
- * In chain blocks.
+ * In relay blocks.
**/
pendingInterval: u32 & AugmentedConst<ApiType>;
/**
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -430,11 +430,16 @@
[key: string]: AugmentedError<ApiType>;
};
promotion: {
+ /**
+ * Error due to action requiring admin to be set
+ **/
AdminNotSet: AugmentedError<ApiType>;
- AlreadySponsored: AugmentedError<ApiType>;
+ /**
+ * An error related to the fact that an invalid argument was passed to perform an action
+ **/
InvalidArgument: AugmentedError<ApiType>;
/**
- * No permission to perform action
+ * No permission to perform an action
**/
NoPermission: AugmentedError<ApiType>;
/**
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -525,7 +525,7 @@
**/
staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
/**
- * A block when app-promotion has started
+ * A block when app-promotion has started .I think this is redundant, because we only need `NextInterestBlock`.
**/
startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -365,9 +365,12 @@
promotion: {
setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;
sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ sponsorConract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ stopAppPromotion: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
stopSponsorignCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ stopSponsorignContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
/**
* Generic tx
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -816,6 +816,7 @@
readonly asStartAppPromotion: {
readonly promotionStartRelayBlock: Option<u32>;
} & Struct;
+ readonly isStopAppPromotion: boolean;
readonly isStake: boolean;
readonly asStake: {
readonly amount: u128;
@@ -832,7 +833,15 @@
readonly asStopSponsorignCollection: {
readonly collectionId: u32;
} & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';
+ readonly isSponsorConract: boolean;
+ readonly asSponsorConract: {
+ readonly contractId: H160;
+ } & Struct;
+ readonly isStopSponsorignContract: boolean;
+ readonly asStopSponsorignContract: {
+ readonly contractId: H160;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection' | 'SponsorConract' | 'StopSponsorignContract';
}
/** @name PalletAppPromotionError */
@@ -841,8 +850,7 @@
readonly isNoPermission: boolean;
readonly isNotSufficientFounds: boolean;
readonly isInvalidArgument: boolean;
- readonly isAlreadySponsored: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';
}
/** @name PalletAppPromotionEvent */
tests/src/interfaces/lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup3: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>9 **/10 FrameSystemAccountInfo: {11 nonce: 'u32',12 consumers: 'u32',13 providers: 'u32',14 sufficients: 'u32',15 data: 'PalletBalancesAccountData'16 },17 /**18 * Lookup5: pallet_balances::AccountData<Balance>19 **/20 PalletBalancesAccountData: {21 free: 'u128',22 reserved: 'u128',23 miscFrozen: 'u128',24 feeFrozen: 'u128'25 },26 /**27 * Lookup7: frame_support::weights::PerDispatchClass<T>28 **/29 FrameSupportWeightsPerDispatchClassU64: {30 normal: 'u64',31 operational: 'u64',32 mandatory: 'u64'33 },34 /**35 * Lookup11: sp_runtime::generic::digest::Digest36 **/37 SpRuntimeDigest: {38 logs: 'Vec<SpRuntimeDigestDigestItem>'39 },40 /**41 * Lookup13: sp_runtime::generic::digest::DigestItem42 **/43 SpRuntimeDigestDigestItem: {44 _enum: {45 Other: 'Bytes',46 __Unused1: 'Null',47 __Unused2: 'Null',48 __Unused3: 'Null',49 Consensus: '([u8;4],Bytes)',50 Seal: '([u8;4],Bytes)',51 PreRuntime: '([u8;4],Bytes)',52 __Unused7: 'Null',53 RuntimeEnvironmentUpdated: 'Null'54 }55 },56 /**57 * Lookup16: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>58 **/59 FrameSystemEventRecord: {60 phase: 'FrameSystemPhase',61 event: 'Event',62 topics: 'Vec<H256>'63 },64 /**65 * Lookup18: frame_system::pallet::Event<T>66 **/67 FrameSystemEvent: {68 _enum: {69 ExtrinsicSuccess: {70 dispatchInfo: 'FrameSupportWeightsDispatchInfo',71 },72 ExtrinsicFailed: {73 dispatchError: 'SpRuntimeDispatchError',74 dispatchInfo: 'FrameSupportWeightsDispatchInfo',75 },76 CodeUpdated: 'Null',77 NewAccount: {78 account: 'AccountId32',79 },80 KilledAccount: {81 account: 'AccountId32',82 },83 Remarked: {84 _alias: {85 hash_: 'hash',86 },87 sender: 'AccountId32',88 hash_: 'H256'89 }90 }91 },92 /**93 * Lookup19: frame_support::weights::DispatchInfo94 **/95 FrameSupportWeightsDispatchInfo: {96 weight: 'u64',97 class: 'FrameSupportWeightsDispatchClass',98 paysFee: 'FrameSupportWeightsPays'99 },100 /**101 * Lookup20: frame_support::weights::DispatchClass102 **/103 FrameSupportWeightsDispatchClass: {104 _enum: ['Normal', 'Operational', 'Mandatory']105 },106 /**107 * Lookup21: frame_support::weights::Pays108 **/109 FrameSupportWeightsPays: {110 _enum: ['Yes', 'No']111 },112 /**113 * Lookup22: sp_runtime::DispatchError114 **/115 SpRuntimeDispatchError: {116 _enum: {117 Other: 'Null',118 CannotLookup: 'Null',119 BadOrigin: 'Null',120 Module: 'SpRuntimeModuleError',121 ConsumerRemaining: 'Null',122 NoProviders: 'Null',123 TooManyConsumers: 'Null',124 Token: 'SpRuntimeTokenError',125 Arithmetic: 'SpRuntimeArithmeticError',126 Transactional: 'SpRuntimeTransactionalError'127 }128 },129 /**130 * Lookup23: sp_runtime::ModuleError131 **/132 SpRuntimeModuleError: {133 index: 'u8',134 error: '[u8;4]'135 },136 /**137 * Lookup24: sp_runtime::TokenError138 **/139 SpRuntimeTokenError: {140 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']141 },142 /**143 * Lookup25: sp_runtime::ArithmeticError144 **/145 SpRuntimeArithmeticError: {146 _enum: ['Underflow', 'Overflow', 'DivisionByZero']147 },148 /**149 * Lookup26: sp_runtime::TransactionalError150 **/151 SpRuntimeTransactionalError: {152 _enum: ['LimitReached', 'NoLayer']153 },154 /**155 * Lookup27: cumulus_pallet_parachain_system::pallet::Event<T>156 **/157 CumulusPalletParachainSystemEvent: {158 _enum: {159 ValidationFunctionStored: 'Null',160 ValidationFunctionApplied: {161 relayChainBlockNum: 'u32',162 },163 ValidationFunctionDiscarded: 'Null',164 UpgradeAuthorized: {165 codeHash: 'H256',166 },167 DownwardMessagesReceived: {168 count: 'u32',169 },170 DownwardMessagesProcessed: {171 weightUsed: 'u64',172 dmqHead: 'H256'173 }174 }175 },176 /**177 * Lookup28: pallet_balances::pallet::Event<T, I>178 **/179 PalletBalancesEvent: {180 _enum: {181 Endowed: {182 account: 'AccountId32',183 freeBalance: 'u128',184 },185 DustLost: {186 account: 'AccountId32',187 amount: 'u128',188 },189 Transfer: {190 from: 'AccountId32',191 to: 'AccountId32',192 amount: 'u128',193 },194 BalanceSet: {195 who: 'AccountId32',196 free: 'u128',197 reserved: 'u128',198 },199 Reserved: {200 who: 'AccountId32',201 amount: 'u128',202 },203 Unreserved: {204 who: 'AccountId32',205 amount: 'u128',206 },207 ReserveRepatriated: {208 from: 'AccountId32',209 to: 'AccountId32',210 amount: 'u128',211 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',212 },213 Deposit: {214 who: 'AccountId32',215 amount: 'u128',216 },217 Withdraw: {218 who: 'AccountId32',219 amount: 'u128',220 },221 Slashed: {222 who: 'AccountId32',223 amount: 'u128'224 }225 }226 },227 /**228 * Lookup29: frame_support::traits::tokens::misc::BalanceStatus229 **/230 FrameSupportTokensMiscBalanceStatus: {231 _enum: ['Free', 'Reserved']232 },233 /**234 * Lookup30: pallet_transaction_payment::pallet::Event<T>235 **/236 PalletTransactionPaymentEvent: {237 _enum: {238 TransactionFeePaid: {239 who: 'AccountId32',240 actualFee: 'u128',241 tip: 'u128'242 }243 }244 },245 /**246 * Lookup31: pallet_treasury::pallet::Event<T, I>247 **/248 PalletTreasuryEvent: {249 _enum: {250 Proposed: {251 proposalIndex: 'u32',252 },253 Spending: {254 budgetRemaining: 'u128',255 },256 Awarded: {257 proposalIndex: 'u32',258 award: 'u128',259 account: 'AccountId32',260 },261 Rejected: {262 proposalIndex: 'u32',263 slashed: 'u128',264 },265 Burnt: {266 burntFunds: 'u128',267 },268 Rollover: {269 rolloverBalance: 'u128',270 },271 Deposit: {272 value: 'u128',273 },274 SpendApproved: {275 proposalIndex: 'u32',276 amount: 'u128',277 beneficiary: 'AccountId32'278 }279 }280 },281 /**282 * Lookup32: pallet_sudo::pallet::Event<T>283 **/284 PalletSudoEvent: {285 _enum: {286 Sudid: {287 sudoResult: 'Result<Null, SpRuntimeDispatchError>',288 },289 KeyChanged: {290 oldSudoer: 'Option<AccountId32>',291 },292 SudoAsDone: {293 sudoResult: 'Result<Null, SpRuntimeDispatchError>'294 }295 }296 },297 /**298 * Lookup36: orml_vesting::module::Event<T>299 **/300 OrmlVestingModuleEvent: {301 _enum: {302 VestingScheduleAdded: {303 from: 'AccountId32',304 to: 'AccountId32',305 vestingSchedule: 'OrmlVestingVestingSchedule',306 },307 Claimed: {308 who: 'AccountId32',309 amount: 'u128',310 },311 VestingSchedulesUpdated: {312 who: 'AccountId32'313 }314 }315 },316 /**317 * Lookup37: orml_vesting::VestingSchedule<BlockNumber, Balance>318 **/319 OrmlVestingVestingSchedule: {320 start: 'u32',321 period: 'u32',322 periodCount: 'u32',323 perPeriod: 'Compact<u128>'324 },325 /**326 * Lookup39: cumulus_pallet_xcmp_queue::pallet::Event<T>327 **/328 CumulusPalletXcmpQueueEvent: {329 _enum: {330 Success: {331 messageHash: 'Option<H256>',332 weight: 'u64',333 },334 Fail: {335 messageHash: 'Option<H256>',336 error: 'XcmV2TraitsError',337 weight: 'u64',338 },339 BadVersion: {340 messageHash: 'Option<H256>',341 },342 BadFormat: {343 messageHash: 'Option<H256>',344 },345 UpwardMessageSent: {346 messageHash: 'Option<H256>',347 },348 XcmpMessageSent: {349 messageHash: 'Option<H256>',350 },351 OverweightEnqueued: {352 sender: 'u32',353 sentAt: 'u32',354 index: 'u64',355 required: 'u64',356 },357 OverweightServiced: {358 index: 'u64',359 used: 'u64'360 }361 }362 },363 /**364 * Lookup41: xcm::v2::traits::Error365 **/366 XcmV2TraitsError: {367 _enum: {368 Overflow: 'Null',369 Unimplemented: 'Null',370 UntrustedReserveLocation: 'Null',371 UntrustedTeleportLocation: 'Null',372 MultiLocationFull: 'Null',373 MultiLocationNotInvertible: 'Null',374 BadOrigin: 'Null',375 InvalidLocation: 'Null',376 AssetNotFound: 'Null',377 FailedToTransactAsset: 'Null',378 NotWithdrawable: 'Null',379 LocationCannotHold: 'Null',380 ExceedsMaxMessageSize: 'Null',381 DestinationUnsupported: 'Null',382 Transport: 'Null',383 Unroutable: 'Null',384 UnknownClaim: 'Null',385 FailedToDecode: 'Null',386 MaxWeightInvalid: 'Null',387 NotHoldingFees: 'Null',388 TooExpensive: 'Null',389 Trap: 'u64',390 UnhandledXcmVersion: 'Null',391 WeightLimitReached: 'u64',392 Barrier: 'Null',393 WeightNotComputable: 'Null'394 }395 },396 /**397 * Lookup43: pallet_xcm::pallet::Event<T>398 **/399 PalletXcmEvent: {400 _enum: {401 Attempted: 'XcmV2TraitsOutcome',402 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',403 UnexpectedResponse: '(XcmV1MultiLocation,u64)',404 ResponseReady: '(u64,XcmV2Response)',405 Notified: '(u64,u8,u8)',406 NotifyOverweight: '(u64,u8,u8,u64,u64)',407 NotifyDispatchError: '(u64,u8,u8)',408 NotifyDecodeFailed: '(u64,u8,u8)',409 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',410 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',411 ResponseTaken: 'u64',412 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',413 VersionChangeNotified: '(XcmV1MultiLocation,u32)',414 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',415 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',416 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'417 }418 },419 /**420 * Lookup44: xcm::v2::traits::Outcome421 **/422 XcmV2TraitsOutcome: {423 _enum: {424 Complete: 'u64',425 Incomplete: '(u64,XcmV2TraitsError)',426 Error: 'XcmV2TraitsError'427 }428 },429 /**430 * Lookup45: xcm::v1::multilocation::MultiLocation431 **/432 XcmV1MultiLocation: {433 parents: 'u8',434 interior: 'XcmV1MultilocationJunctions'435 },436 /**437 * Lookup46: xcm::v1::multilocation::Junctions438 **/439 XcmV1MultilocationJunctions: {440 _enum: {441 Here: 'Null',442 X1: 'XcmV1Junction',443 X2: '(XcmV1Junction,XcmV1Junction)',444 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',445 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',446 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',447 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',448 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',449 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'450 }451 },452 /**453 * Lookup47: xcm::v1::junction::Junction454 **/455 XcmV1Junction: {456 _enum: {457 Parachain: 'Compact<u32>',458 AccountId32: {459 network: 'XcmV0JunctionNetworkId',460 id: '[u8;32]',461 },462 AccountIndex64: {463 network: 'XcmV0JunctionNetworkId',464 index: 'Compact<u64>',465 },466 AccountKey20: {467 network: 'XcmV0JunctionNetworkId',468 key: '[u8;20]',469 },470 PalletInstance: 'u8',471 GeneralIndex: 'Compact<u128>',472 GeneralKey: 'Bytes',473 OnlyChild: 'Null',474 Plurality: {475 id: 'XcmV0JunctionBodyId',476 part: 'XcmV0JunctionBodyPart'477 }478 }479 },480 /**481 * Lookup49: xcm::v0::junction::NetworkId482 **/483 XcmV0JunctionNetworkId: {484 _enum: {485 Any: 'Null',486 Named: 'Bytes',487 Polkadot: 'Null',488 Kusama: 'Null'489 }490 },491 /**492 * Lookup53: xcm::v0::junction::BodyId493 **/494 XcmV0JunctionBodyId: {495 _enum: {496 Unit: 'Null',497 Named: 'Bytes',498 Index: 'Compact<u32>',499 Executive: 'Null',500 Technical: 'Null',501 Legislative: 'Null',502 Judicial: 'Null'503 }504 },505 /**506 * Lookup54: xcm::v0::junction::BodyPart507 **/508 XcmV0JunctionBodyPart: {509 _enum: {510 Voice: 'Null',511 Members: {512 count: 'Compact<u32>',513 },514 Fraction: {515 nom: 'Compact<u32>',516 denom: 'Compact<u32>',517 },518 AtLeastProportion: {519 nom: 'Compact<u32>',520 denom: 'Compact<u32>',521 },522 MoreThanProportion: {523 nom: 'Compact<u32>',524 denom: 'Compact<u32>'525 }526 }527 },528 /**529 * Lookup55: xcm::v2::Xcm<Call>530 **/531 XcmV2Xcm: 'Vec<XcmV2Instruction>',532 /**533 * Lookup57: xcm::v2::Instruction<Call>534 **/535 XcmV2Instruction: {536 _enum: {537 WithdrawAsset: 'XcmV1MultiassetMultiAssets',538 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',539 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',540 QueryResponse: {541 queryId: 'Compact<u64>',542 response: 'XcmV2Response',543 maxWeight: 'Compact<u64>',544 },545 TransferAsset: {546 assets: 'XcmV1MultiassetMultiAssets',547 beneficiary: 'XcmV1MultiLocation',548 },549 TransferReserveAsset: {550 assets: 'XcmV1MultiassetMultiAssets',551 dest: 'XcmV1MultiLocation',552 xcm: 'XcmV2Xcm',553 },554 Transact: {555 originType: 'XcmV0OriginKind',556 requireWeightAtMost: 'Compact<u64>',557 call: 'XcmDoubleEncoded',558 },559 HrmpNewChannelOpenRequest: {560 sender: 'Compact<u32>',561 maxMessageSize: 'Compact<u32>',562 maxCapacity: 'Compact<u32>',563 },564 HrmpChannelAccepted: {565 recipient: 'Compact<u32>',566 },567 HrmpChannelClosing: {568 initiator: 'Compact<u32>',569 sender: 'Compact<u32>',570 recipient: 'Compact<u32>',571 },572 ClearOrigin: 'Null',573 DescendOrigin: 'XcmV1MultilocationJunctions',574 ReportError: {575 queryId: 'Compact<u64>',576 dest: 'XcmV1MultiLocation',577 maxResponseWeight: 'Compact<u64>',578 },579 DepositAsset: {580 assets: 'XcmV1MultiassetMultiAssetFilter',581 maxAssets: 'Compact<u32>',582 beneficiary: 'XcmV1MultiLocation',583 },584 DepositReserveAsset: {585 assets: 'XcmV1MultiassetMultiAssetFilter',586 maxAssets: 'Compact<u32>',587 dest: 'XcmV1MultiLocation',588 xcm: 'XcmV2Xcm',589 },590 ExchangeAsset: {591 give: 'XcmV1MultiassetMultiAssetFilter',592 receive: 'XcmV1MultiassetMultiAssets',593 },594 InitiateReserveWithdraw: {595 assets: 'XcmV1MultiassetMultiAssetFilter',596 reserve: 'XcmV1MultiLocation',597 xcm: 'XcmV2Xcm',598 },599 InitiateTeleport: {600 assets: 'XcmV1MultiassetMultiAssetFilter',601 dest: 'XcmV1MultiLocation',602 xcm: 'XcmV2Xcm',603 },604 QueryHolding: {605 queryId: 'Compact<u64>',606 dest: 'XcmV1MultiLocation',607 assets: 'XcmV1MultiassetMultiAssetFilter',608 maxResponseWeight: 'Compact<u64>',609 },610 BuyExecution: {611 fees: 'XcmV1MultiAsset',612 weightLimit: 'XcmV2WeightLimit',613 },614 RefundSurplus: 'Null',615 SetErrorHandler: 'XcmV2Xcm',616 SetAppendix: 'XcmV2Xcm',617 ClearError: 'Null',618 ClaimAsset: {619 assets: 'XcmV1MultiassetMultiAssets',620 ticket: 'XcmV1MultiLocation',621 },622 Trap: 'Compact<u64>',623 SubscribeVersion: {624 queryId: 'Compact<u64>',625 maxResponseWeight: 'Compact<u64>',626 },627 UnsubscribeVersion: 'Null'628 }629 },630 /**631 * Lookup58: xcm::v1::multiasset::MultiAssets632 **/633 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',634 /**635 * Lookup60: xcm::v1::multiasset::MultiAsset636 **/637 XcmV1MultiAsset: {638 id: 'XcmV1MultiassetAssetId',639 fun: 'XcmV1MultiassetFungibility'640 },641 /**642 * Lookup61: xcm::v1::multiasset::AssetId643 **/644 XcmV1MultiassetAssetId: {645 _enum: {646 Concrete: 'XcmV1MultiLocation',647 Abstract: 'Bytes'648 }649 },650 /**651 * Lookup62: xcm::v1::multiasset::Fungibility652 **/653 XcmV1MultiassetFungibility: {654 _enum: {655 Fungible: 'Compact<u128>',656 NonFungible: 'XcmV1MultiassetAssetInstance'657 }658 },659 /**660 * Lookup63: xcm::v1::multiasset::AssetInstance661 **/662 XcmV1MultiassetAssetInstance: {663 _enum: {664 Undefined: 'Null',665 Index: 'Compact<u128>',666 Array4: '[u8;4]',667 Array8: '[u8;8]',668 Array16: '[u8;16]',669 Array32: '[u8;32]',670 Blob: 'Bytes'671 }672 },673 /**674 * Lookup66: xcm::v2::Response675 **/676 XcmV2Response: {677 _enum: {678 Null: 'Null',679 Assets: 'XcmV1MultiassetMultiAssets',680 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',681 Version: 'u32'682 }683 },684 /**685 * Lookup69: xcm::v0::OriginKind686 **/687 XcmV0OriginKind: {688 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']689 },690 /**691 * Lookup70: xcm::double_encoded::DoubleEncoded<T>692 **/693 XcmDoubleEncoded: {694 encoded: 'Bytes'695 },696 /**697 * Lookup71: xcm::v1::multiasset::MultiAssetFilter698 **/699 XcmV1MultiassetMultiAssetFilter: {700 _enum: {701 Definite: 'XcmV1MultiassetMultiAssets',702 Wild: 'XcmV1MultiassetWildMultiAsset'703 }704 },705 /**706 * Lookup72: xcm::v1::multiasset::WildMultiAsset707 **/708 XcmV1MultiassetWildMultiAsset: {709 _enum: {710 All: 'Null',711 AllOf: {712 id: 'XcmV1MultiassetAssetId',713 fun: 'XcmV1MultiassetWildFungibility'714 }715 }716 },717 /**718 * Lookup73: xcm::v1::multiasset::WildFungibility719 **/720 XcmV1MultiassetWildFungibility: {721 _enum: ['Fungible', 'NonFungible']722 },723 /**724 * Lookup74: xcm::v2::WeightLimit725 **/726 XcmV2WeightLimit: {727 _enum: {728 Unlimited: 'Null',729 Limited: 'Compact<u64>'730 }731 },732 /**733 * Lookup76: xcm::VersionedMultiAssets734 **/735 XcmVersionedMultiAssets: {736 _enum: {737 V0: 'Vec<XcmV0MultiAsset>',738 V1: 'XcmV1MultiassetMultiAssets'739 }740 },741 /**742 * Lookup78: xcm::v0::multi_asset::MultiAsset743 **/744 XcmV0MultiAsset: {745 _enum: {746 None: 'Null',747 All: 'Null',748 AllFungible: 'Null',749 AllNonFungible: 'Null',750 AllAbstractFungible: {751 id: 'Bytes',752 },753 AllAbstractNonFungible: {754 class: 'Bytes',755 },756 AllConcreteFungible: {757 id: 'XcmV0MultiLocation',758 },759 AllConcreteNonFungible: {760 class: 'XcmV0MultiLocation',761 },762 AbstractFungible: {763 id: 'Bytes',764 amount: 'Compact<u128>',765 },766 AbstractNonFungible: {767 class: 'Bytes',768 instance: 'XcmV1MultiassetAssetInstance',769 },770 ConcreteFungible: {771 id: 'XcmV0MultiLocation',772 amount: 'Compact<u128>',773 },774 ConcreteNonFungible: {775 class: 'XcmV0MultiLocation',776 instance: 'XcmV1MultiassetAssetInstance'777 }778 }779 },780 /**781 * Lookup79: xcm::v0::multi_location::MultiLocation782 **/783 XcmV0MultiLocation: {784 _enum: {785 Null: 'Null',786 X1: 'XcmV0Junction',787 X2: '(XcmV0Junction,XcmV0Junction)',788 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',789 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',790 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',791 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',792 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',793 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'794 }795 },796 /**797 * Lookup80: xcm::v0::junction::Junction798 **/799 XcmV0Junction: {800 _enum: {801 Parent: 'Null',802 Parachain: 'Compact<u32>',803 AccountId32: {804 network: 'XcmV0JunctionNetworkId',805 id: '[u8;32]',806 },807 AccountIndex64: {808 network: 'XcmV0JunctionNetworkId',809 index: 'Compact<u64>',810 },811 AccountKey20: {812 network: 'XcmV0JunctionNetworkId',813 key: '[u8;20]',814 },815 PalletInstance: 'u8',816 GeneralIndex: 'Compact<u128>',817 GeneralKey: 'Bytes',818 OnlyChild: 'Null',819 Plurality: {820 id: 'XcmV0JunctionBodyId',821 part: 'XcmV0JunctionBodyPart'822 }823 }824 },825 /**826 * Lookup81: xcm::VersionedMultiLocation827 **/828 XcmVersionedMultiLocation: {829 _enum: {830 V0: 'XcmV0MultiLocation',831 V1: 'XcmV1MultiLocation'832 }833 },834 /**835 * Lookup82: cumulus_pallet_xcm::pallet::Event<T>836 **/837 CumulusPalletXcmEvent: {838 _enum: {839 InvalidFormat: '[u8;8]',840 UnsupportedVersion: '[u8;8]',841 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'842 }843 },844 /**845 * Lookup83: cumulus_pallet_dmp_queue::pallet::Event<T>846 **/847 CumulusPalletDmpQueueEvent: {848 _enum: {849 InvalidFormat: {850 messageId: '[u8;32]',851 },852 UnsupportedVersion: {853 messageId: '[u8;32]',854 },855 ExecutedDownward: {856 messageId: '[u8;32]',857 outcome: 'XcmV2TraitsOutcome',858 },859 WeightExhausted: {860 messageId: '[u8;32]',861 remainingWeight: 'u64',862 requiredWeight: 'u64',863 },864 OverweightEnqueued: {865 messageId: '[u8;32]',866 overweightIndex: 'u64',867 requiredWeight: 'u64',868 },869 OverweightServiced: {870 overweightIndex: 'u64',871 weightUsed: 'u64'872 }873 }874 },875 /**876 * Lookup84: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>877 **/878 PalletUniqueRawEvent: {879 _enum: {880 CollectionSponsorRemoved: 'u32',881 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',882 CollectionOwnedChanged: '(u32,AccountId32)',883 CollectionSponsorSet: '(u32,AccountId32)',884 SponsorshipConfirmed: '(u32,AccountId32)',885 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',886 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',887 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',888 CollectionLimitSet: 'u32',889 CollectionPermissionSet: 'u32'890 }891 },892 /**893 * Lookup85: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>894 **/895 PalletEvmAccountBasicCrossAccountIdRepr: {896 _enum: {897 Substrate: 'AccountId32',898 Ethereum: 'H160'899 }900 },901 /**902 * Lookup88: pallet_unique_scheduler::pallet::Event<T>903 **/904 PalletUniqueSchedulerEvent: {905 _enum: {906 Scheduled: {907 when: 'u32',908 index: 'u32',909 },910 Canceled: {911 when: 'u32',912 index: 'u32',913 },914 Dispatched: {915 task: '(u32,u32)',916 id: 'Option<[u8;16]>',917 result: 'Result<Null, SpRuntimeDispatchError>',918 },919 CallLookupFailed: {920 task: '(u32,u32)',921 id: 'Option<[u8;16]>',922 error: 'FrameSupportScheduleLookupError'923 }924 }925 },926 /**927 * Lookup91: frame_support::traits::schedule::LookupError928 **/929 FrameSupportScheduleLookupError: {930 _enum: ['Unknown', 'BadFormat']931 },932 /**933 * Lookup92: pallet_common::pallet::Event<T>934 **/935 PalletCommonEvent: {936 _enum: {937 CollectionCreated: '(u32,u8,AccountId32)',938 CollectionDestroyed: 'u32',939 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',940 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',941 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',942 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',943 CollectionPropertySet: '(u32,Bytes)',944 CollectionPropertyDeleted: '(u32,Bytes)',945 TokenPropertySet: '(u32,u32,Bytes)',946 TokenPropertyDeleted: '(u32,u32,Bytes)',947 PropertyPermissionSet: '(u32,Bytes)'948 }949 },950 /**951 * Lookup95: pallet_structure::pallet::Event<T>952 **/953 PalletStructureEvent: {954 _enum: {955 Executed: 'Result<Null, SpRuntimeDispatchError>'956 }957 },958 /**959 * Lookup96: pallet_rmrk_core::pallet::Event<T>960 **/961 PalletRmrkCoreEvent: {962 _enum: {963 CollectionCreated: {964 issuer: 'AccountId32',965 collectionId: 'u32',966 },967 CollectionDestroyed: {968 issuer: 'AccountId32',969 collectionId: 'u32',970 },971 IssuerChanged: {972 oldIssuer: 'AccountId32',973 newIssuer: 'AccountId32',974 collectionId: 'u32',975 },976 CollectionLocked: {977 issuer: 'AccountId32',978 collectionId: 'u32',979 },980 NftMinted: {981 owner: 'AccountId32',982 collectionId: 'u32',983 nftId: 'u32',984 },985 NFTBurned: {986 owner: 'AccountId32',987 nftId: 'u32',988 },989 NFTSent: {990 sender: 'AccountId32',991 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',992 collectionId: 'u32',993 nftId: 'u32',994 approvalRequired: 'bool',995 },996 NFTAccepted: {997 sender: 'AccountId32',998 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',999 collectionId: 'u32',1000 nftId: 'u32',1001 },1002 NFTRejected: {1003 sender: 'AccountId32',1004 collectionId: 'u32',1005 nftId: 'u32',1006 },1007 PropertySet: {1008 collectionId: 'u32',1009 maybeNftId: 'Option<u32>',1010 key: 'Bytes',1011 value: 'Bytes',1012 },1013 ResourceAdded: {1014 nftId: 'u32',1015 resourceId: 'u32',1016 },1017 ResourceRemoval: {1018 nftId: 'u32',1019 resourceId: 'u32',1020 },1021 ResourceAccepted: {1022 nftId: 'u32',1023 resourceId: 'u32',1024 },1025 ResourceRemovalAccepted: {1026 nftId: 'u32',1027 resourceId: 'u32',1028 },1029 PrioritySet: {1030 collectionId: 'u32',1031 nftId: 'u32'1032 }1033 }1034 },1035 /**1036 * Lookup97: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1037 **/1038 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1039 _enum: {1040 AccountId: 'AccountId32',1041 CollectionAndNftTuple: '(u32,u32)'1042 }1043 },1044 /**1045 * Lookup102: pallet_rmrk_equip::pallet::Event<T>1046 **/1047 PalletRmrkEquipEvent: {1048 _enum: {1049 BaseCreated: {1050 issuer: 'AccountId32',1051 baseId: 'u32',1052 },1053 EquippablesUpdated: {1054 baseId: 'u32',1055 slotId: 'u32'1056 }1057 }1058 },1059 /**1060 * Lookup103: pallet_app_promotion::pallet::Event<T>1061 **/1062 PalletAppPromotionEvent: {1063 _enum: {1064 StakingRecalculation: '(u128,u128)'1065 }1066 },1067 /**1068 * Lookup104: pallet_evm::pallet::Event<T>1069 **/1070 PalletEvmEvent: {1071 _enum: {1072 Log: 'EthereumLog',1073 Created: 'H160',1074 CreatedFailed: 'H160',1075 Executed: 'H160',1076 ExecutedFailed: 'H160',1077 BalanceDeposit: '(AccountId32,H160,U256)',1078 BalanceWithdraw: '(AccountId32,H160,U256)'1079 }1080 },1081 /**1082 * Lookup105: ethereum::log::Log1083 **/1084 EthereumLog: {1085 address: 'H160',1086 topics: 'Vec<H256>',1087 data: 'Bytes'1088 },1089 /**1090 * Lookup109: pallet_ethereum::pallet::Event1091 **/1092 PalletEthereumEvent: {1093 _enum: {1094 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1095 }1096 },1097 /**1098 * Lookup110: evm_core::error::ExitReason1099 **/1100 EvmCoreErrorExitReason: {1101 _enum: {1102 Succeed: 'EvmCoreErrorExitSucceed',1103 Error: 'EvmCoreErrorExitError',1104 Revert: 'EvmCoreErrorExitRevert',1105 Fatal: 'EvmCoreErrorExitFatal'1106 }1107 },1108 /**1109 * Lookup111: evm_core::error::ExitSucceed1110 **/1111 EvmCoreErrorExitSucceed: {1112 _enum: ['Stopped', 'Returned', 'Suicided']1113 },1114 /**1115 * Lookup112: evm_core::error::ExitError1116 **/1117 EvmCoreErrorExitError: {1118 _enum: {1119 StackUnderflow: 'Null',1120 StackOverflow: 'Null',1121 InvalidJump: 'Null',1122 InvalidRange: 'Null',1123 DesignatedInvalid: 'Null',1124 CallTooDeep: 'Null',1125 CreateCollision: 'Null',1126 CreateContractLimit: 'Null',1127 OutOfOffset: 'Null',1128 OutOfGas: 'Null',1129 OutOfFund: 'Null',1130 PCUnderflow: 'Null',1131 CreateEmpty: 'Null',1132 Other: 'Text',1133 InvalidCode: 'Null'1134 }1135 },1136 /**1137 * Lookup115: evm_core::error::ExitRevert1138 **/1139 EvmCoreErrorExitRevert: {1140 _enum: ['Reverted']1141 },1142 /**1143 * Lookup116: evm_core::error::ExitFatal1144 **/1145 EvmCoreErrorExitFatal: {1146 _enum: {1147 NotSupported: 'Null',1148 UnhandledInterrupt: 'Null',1149 CallErrorAsFatal: 'EvmCoreErrorExitError',1150 Other: 'Text'1151 }1152 },1153 /**1154 * Lookup117: frame_system::Phase1155 **/1156 FrameSystemPhase: {1157 _enum: {1158 ApplyExtrinsic: 'u32',1159 Finalization: 'Null',1160 Initialization: 'Null'1161 }1162 },1163 /**1164 * Lookup119: frame_system::LastRuntimeUpgradeInfo1165 **/1166 FrameSystemLastRuntimeUpgradeInfo: {1167 specVersion: 'Compact<u32>',1168 specName: 'Text'1169 },1170 /**1171 * Lookup120: frame_system::pallet::Call<T>1172 **/1173 FrameSystemCall: {1174 _enum: {1175 fill_block: {1176 ratio: 'Perbill',1177 },1178 remark: {1179 remark: 'Bytes',1180 },1181 set_heap_pages: {1182 pages: 'u64',1183 },1184 set_code: {1185 code: 'Bytes',1186 },1187 set_code_without_checks: {1188 code: 'Bytes',1189 },1190 set_storage: {1191 items: 'Vec<(Bytes,Bytes)>',1192 },1193 kill_storage: {1194 _alias: {1195 keys_: 'keys',1196 },1197 keys_: 'Vec<Bytes>',1198 },1199 kill_prefix: {1200 prefix: 'Bytes',1201 subkeys: 'u32',1202 },1203 remark_with_event: {1204 remark: 'Bytes'1205 }1206 }1207 },1208 /**1209 * Lookup125: frame_system::limits::BlockWeights1210 **/1211 FrameSystemLimitsBlockWeights: {1212 baseBlock: 'u64',1213 maxBlock: 'u64',1214 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1215 },1216 /**1217 * Lookup126: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1218 **/1219 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1220 normal: 'FrameSystemLimitsWeightsPerClass',1221 operational: 'FrameSystemLimitsWeightsPerClass',1222 mandatory: 'FrameSystemLimitsWeightsPerClass'1223 },1224 /**1225 * Lookup127: frame_system::limits::WeightsPerClass1226 **/1227 FrameSystemLimitsWeightsPerClass: {1228 baseExtrinsic: 'u64',1229 maxExtrinsic: 'Option<u64>',1230 maxTotal: 'Option<u64>',1231 reserved: 'Option<u64>'1232 },1233 /**1234 * Lookup129: frame_system::limits::BlockLength1235 **/1236 FrameSystemLimitsBlockLength: {1237 max: 'FrameSupportWeightsPerDispatchClassU32'1238 },1239 /**1240 * Lookup130: frame_support::weights::PerDispatchClass<T>1241 **/1242 FrameSupportWeightsPerDispatchClassU32: {1243 normal: 'u32',1244 operational: 'u32',1245 mandatory: 'u32'1246 },1247 /**1248 * Lookup131: frame_support::weights::RuntimeDbWeight1249 **/1250 FrameSupportWeightsRuntimeDbWeight: {1251 read: 'u64',1252 write: 'u64'1253 },1254 /**1255 * Lookup132: sp_version::RuntimeVersion1256 **/1257 SpVersionRuntimeVersion: {1258 specName: 'Text',1259 implName: 'Text',1260 authoringVersion: 'u32',1261 specVersion: 'u32',1262 implVersion: 'u32',1263 apis: 'Vec<([u8;8],u32)>',1264 transactionVersion: 'u32',1265 stateVersion: 'u8'1266 },1267 /**1268 * Lookup137: frame_system::pallet::Error<T>1269 **/1270 FrameSystemError: {1271 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1272 },1273 /**1274 * Lookup138: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1275 **/1276 PolkadotPrimitivesV2PersistedValidationData: {1277 parentHead: 'Bytes',1278 relayParentNumber: 'u32',1279 relayParentStorageRoot: 'H256',1280 maxPovSize: 'u32'1281 },1282 /**1283 * Lookup141: polkadot_primitives::v2::UpgradeRestriction1284 **/1285 PolkadotPrimitivesV2UpgradeRestriction: {1286 _enum: ['Present']1287 },1288 /**1289 * Lookup142: sp_trie::storage_proof::StorageProof1290 **/1291 SpTrieStorageProof: {1292 trieNodes: 'BTreeSet<Bytes>'1293 },1294 /**1295 * Lookup144: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1296 **/1297 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1298 dmqMqcHead: 'H256',1299 relayDispatchQueueSize: '(u32,u32)',1300 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1301 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1302 },1303 /**1304 * Lookup147: polkadot_primitives::v2::AbridgedHrmpChannel1305 **/1306 PolkadotPrimitivesV2AbridgedHrmpChannel: {1307 maxCapacity: 'u32',1308 maxTotalSize: 'u32',1309 maxMessageSize: 'u32',1310 msgCount: 'u32',1311 totalSize: 'u32',1312 mqcHead: 'Option<H256>'1313 },1314 /**1315 * Lookup148: polkadot_primitives::v2::AbridgedHostConfiguration1316 **/1317 PolkadotPrimitivesV2AbridgedHostConfiguration: {1318 maxCodeSize: 'u32',1319 maxHeadDataSize: 'u32',1320 maxUpwardQueueCount: 'u32',1321 maxUpwardQueueSize: 'u32',1322 maxUpwardMessageSize: 'u32',1323 maxUpwardMessageNumPerCandidate: 'u32',1324 hrmpMaxMessageNumPerCandidate: 'u32',1325 validationUpgradeCooldown: 'u32',1326 validationUpgradeDelay: 'u32'1327 },1328 /**1329 * Lookup154: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1330 **/1331 PolkadotCorePrimitivesOutboundHrmpMessage: {1332 recipient: 'u32',1333 data: 'Bytes'1334 },1335 /**1336 * Lookup155: cumulus_pallet_parachain_system::pallet::Call<T>1337 **/1338 CumulusPalletParachainSystemCall: {1339 _enum: {1340 set_validation_data: {1341 data: 'CumulusPrimitivesParachainInherentParachainInherentData',1342 },1343 sudo_send_upward_message: {1344 message: 'Bytes',1345 },1346 authorize_upgrade: {1347 codeHash: 'H256',1348 },1349 enact_authorized_upgrade: {1350 code: 'Bytes'1351 }1352 }1353 },1354 /**1355 * Lookup156: cumulus_primitives_parachain_inherent::ParachainInherentData1356 **/1357 CumulusPrimitivesParachainInherentParachainInherentData: {1358 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1359 relayChainState: 'SpTrieStorageProof',1360 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1361 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1362 },1363 /**1364 * Lookup158: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1365 **/1366 PolkadotCorePrimitivesInboundDownwardMessage: {1367 sentAt: 'u32',1368 msg: 'Bytes'1369 },1370 /**1371 * Lookup161: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1372 **/1373 PolkadotCorePrimitivesInboundHrmpMessage: {1374 sentAt: 'u32',1375 data: 'Bytes'1376 },1377 /**1378 * Lookup164: cumulus_pallet_parachain_system::pallet::Error<T>1379 **/1380 CumulusPalletParachainSystemError: {1381 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1382 },1383 /**1384 * Lookup166: pallet_balances::BalanceLock<Balance>1385 **/1386 PalletBalancesBalanceLock: {1387 id: '[u8;8]',1388 amount: 'u128',1389 reasons: 'PalletBalancesReasons'1390 },1391 /**1392 * Lookup167: pallet_balances::Reasons1393 **/1394 PalletBalancesReasons: {1395 _enum: ['Fee', 'Misc', 'All']1396 },1397 /**1398 * Lookup170: pallet_balances::ReserveData<ReserveIdentifier, Balance>1399 **/1400 PalletBalancesReserveData: {1401 id: '[u8;16]',1402 amount: 'u128'1403 },1404 /**1405 * Lookup172: pallet_balances::Releases1406 **/1407 PalletBalancesReleases: {1408 _enum: ['V1_0_0', 'V2_0_0']1409 },1410 /**1411 * Lookup173: pallet_balances::pallet::Call<T, I>1412 **/1413 PalletBalancesCall: {1414 _enum: {1415 transfer: {1416 dest: 'MultiAddress',1417 value: 'Compact<u128>',1418 },1419 set_balance: {1420 who: 'MultiAddress',1421 newFree: 'Compact<u128>',1422 newReserved: 'Compact<u128>',1423 },1424 force_transfer: {1425 source: 'MultiAddress',1426 dest: 'MultiAddress',1427 value: 'Compact<u128>',1428 },1429 transfer_keep_alive: {1430 dest: 'MultiAddress',1431 value: 'Compact<u128>',1432 },1433 transfer_all: {1434 dest: 'MultiAddress',1435 keepAlive: 'bool',1436 },1437 force_unreserve: {1438 who: 'MultiAddress',1439 amount: 'u128'1440 }1441 }1442 },1443 /**1444 * Lookup176: pallet_balances::pallet::Error<T, I>1445 **/1446 PalletBalancesError: {1447 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1448 },1449 /**1450 * Lookup178: pallet_timestamp::pallet::Call<T>1451 **/1452 PalletTimestampCall: {1453 _enum: {1454 set: {1455 now: 'Compact<u64>'1456 }1457 }1458 },1459 /**1460 * Lookup180: pallet_transaction_payment::Releases1461 **/1462 PalletTransactionPaymentReleases: {1463 _enum: ['V1Ancient', 'V2']1464 },1465 /**1466 * Lookup181: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1467 **/1468 PalletTreasuryProposal: {1469 proposer: 'AccountId32',1470 value: 'u128',1471 beneficiary: 'AccountId32',1472 bond: 'u128'1473 },1474 /**1475 * Lookup184: pallet_treasury::pallet::Call<T, I>1476 **/1477 PalletTreasuryCall: {1478 _enum: {1479 propose_spend: {1480 value: 'Compact<u128>',1481 beneficiary: 'MultiAddress',1482 },1483 reject_proposal: {1484 proposalId: 'Compact<u32>',1485 },1486 approve_proposal: {1487 proposalId: 'Compact<u32>',1488 },1489 spend: {1490 amount: 'Compact<u128>',1491 beneficiary: 'MultiAddress',1492 },1493 remove_approval: {1494 proposalId: 'Compact<u32>'1495 }1496 }1497 },1498 /**1499 * Lookup187: frame_support::PalletId1500 **/1501 FrameSupportPalletId: '[u8;8]',1502 /**1503 * Lookup188: pallet_treasury::pallet::Error<T, I>1504 **/1505 PalletTreasuryError: {1506 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1507 },1508 /**1509 * Lookup189: pallet_sudo::pallet::Call<T>1510 **/1511 PalletSudoCall: {1512 _enum: {1513 sudo: {1514 call: 'Call',1515 },1516 sudo_unchecked_weight: {1517 call: 'Call',1518 weight: 'u64',1519 },1520 set_key: {1521 _alias: {1522 new_: 'new',1523 },1524 new_: 'MultiAddress',1525 },1526 sudo_as: {1527 who: 'MultiAddress',1528 call: 'Call'1529 }1530 }1531 },1532 /**1533 * Lookup191: orml_vesting::module::Call<T>1534 **/1535 OrmlVestingModuleCall: {1536 _enum: {1537 claim: 'Null',1538 vested_transfer: {1539 dest: 'MultiAddress',1540 schedule: 'OrmlVestingVestingSchedule',1541 },1542 update_vesting_schedules: {1543 who: 'MultiAddress',1544 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',1545 },1546 claim_for: {1547 dest: 'MultiAddress'1548 }1549 }1550 },1551 /**1552 * Lookup193: cumulus_pallet_xcmp_queue::pallet::Call<T>1553 **/1554 CumulusPalletXcmpQueueCall: {1555 _enum: {1556 service_overweight: {1557 index: 'u64',1558 weightLimit: 'u64',1559 },1560 suspend_xcm_execution: 'Null',1561 resume_xcm_execution: 'Null',1562 update_suspend_threshold: {1563 _alias: {1564 new_: 'new',1565 },1566 new_: 'u32',1567 },1568 update_drop_threshold: {1569 _alias: {1570 new_: 'new',1571 },1572 new_: 'u32',1573 },1574 update_resume_threshold: {1575 _alias: {1576 new_: 'new',1577 },1578 new_: 'u32',1579 },1580 update_threshold_weight: {1581 _alias: {1582 new_: 'new',1583 },1584 new_: 'u64',1585 },1586 update_weight_restrict_decay: {1587 _alias: {1588 new_: 'new',1589 },1590 new_: 'u64',1591 },1592 update_xcmp_max_individual_weight: {1593 _alias: {1594 new_: 'new',1595 },1596 new_: 'u64'1597 }1598 }1599 },1600 /**1601 * Lookup194: pallet_xcm::pallet::Call<T>1602 **/1603 PalletXcmCall: {1604 _enum: {1605 send: {1606 dest: 'XcmVersionedMultiLocation',1607 message: 'XcmVersionedXcm',1608 },1609 teleport_assets: {1610 dest: 'XcmVersionedMultiLocation',1611 beneficiary: 'XcmVersionedMultiLocation',1612 assets: 'XcmVersionedMultiAssets',1613 feeAssetItem: 'u32',1614 },1615 reserve_transfer_assets: {1616 dest: 'XcmVersionedMultiLocation',1617 beneficiary: 'XcmVersionedMultiLocation',1618 assets: 'XcmVersionedMultiAssets',1619 feeAssetItem: 'u32',1620 },1621 execute: {1622 message: 'XcmVersionedXcm',1623 maxWeight: 'u64',1624 },1625 force_xcm_version: {1626 location: 'XcmV1MultiLocation',1627 xcmVersion: 'u32',1628 },1629 force_default_xcm_version: {1630 maybeXcmVersion: 'Option<u32>',1631 },1632 force_subscribe_version_notify: {1633 location: 'XcmVersionedMultiLocation',1634 },1635 force_unsubscribe_version_notify: {1636 location: 'XcmVersionedMultiLocation',1637 },1638 limited_reserve_transfer_assets: {1639 dest: 'XcmVersionedMultiLocation',1640 beneficiary: 'XcmVersionedMultiLocation',1641 assets: 'XcmVersionedMultiAssets',1642 feeAssetItem: 'u32',1643 weightLimit: 'XcmV2WeightLimit',1644 },1645 limited_teleport_assets: {1646 dest: 'XcmVersionedMultiLocation',1647 beneficiary: 'XcmVersionedMultiLocation',1648 assets: 'XcmVersionedMultiAssets',1649 feeAssetItem: 'u32',1650 weightLimit: 'XcmV2WeightLimit'1651 }1652 }1653 },1654 /**1655 * Lookup195: xcm::VersionedXcm<Call>1656 **/1657 XcmVersionedXcm: {1658 _enum: {1659 V0: 'XcmV0Xcm',1660 V1: 'XcmV1Xcm',1661 V2: 'XcmV2Xcm'1662 }1663 },1664 /**1665 * Lookup196: xcm::v0::Xcm<Call>1666 **/1667 XcmV0Xcm: {1668 _enum: {1669 WithdrawAsset: {1670 assets: 'Vec<XcmV0MultiAsset>',1671 effects: 'Vec<XcmV0Order>',1672 },1673 ReserveAssetDeposit: {1674 assets: 'Vec<XcmV0MultiAsset>',1675 effects: 'Vec<XcmV0Order>',1676 },1677 TeleportAsset: {1678 assets: 'Vec<XcmV0MultiAsset>',1679 effects: 'Vec<XcmV0Order>',1680 },1681 QueryResponse: {1682 queryId: 'Compact<u64>',1683 response: 'XcmV0Response',1684 },1685 TransferAsset: {1686 assets: 'Vec<XcmV0MultiAsset>',1687 dest: 'XcmV0MultiLocation',1688 },1689 TransferReserveAsset: {1690 assets: 'Vec<XcmV0MultiAsset>',1691 dest: 'XcmV0MultiLocation',1692 effects: 'Vec<XcmV0Order>',1693 },1694 Transact: {1695 originType: 'XcmV0OriginKind',1696 requireWeightAtMost: 'u64',1697 call: 'XcmDoubleEncoded',1698 },1699 HrmpNewChannelOpenRequest: {1700 sender: 'Compact<u32>',1701 maxMessageSize: 'Compact<u32>',1702 maxCapacity: 'Compact<u32>',1703 },1704 HrmpChannelAccepted: {1705 recipient: 'Compact<u32>',1706 },1707 HrmpChannelClosing: {1708 initiator: 'Compact<u32>',1709 sender: 'Compact<u32>',1710 recipient: 'Compact<u32>',1711 },1712 RelayedFrom: {1713 who: 'XcmV0MultiLocation',1714 message: 'XcmV0Xcm'1715 }1716 }1717 },1718 /**1719 * Lookup198: xcm::v0::order::Order<Call>1720 **/1721 XcmV0Order: {1722 _enum: {1723 Null: 'Null',1724 DepositAsset: {1725 assets: 'Vec<XcmV0MultiAsset>',1726 dest: 'XcmV0MultiLocation',1727 },1728 DepositReserveAsset: {1729 assets: 'Vec<XcmV0MultiAsset>',1730 dest: 'XcmV0MultiLocation',1731 effects: 'Vec<XcmV0Order>',1732 },1733 ExchangeAsset: {1734 give: 'Vec<XcmV0MultiAsset>',1735 receive: 'Vec<XcmV0MultiAsset>',1736 },1737 InitiateReserveWithdraw: {1738 assets: 'Vec<XcmV0MultiAsset>',1739 reserve: 'XcmV0MultiLocation',1740 effects: 'Vec<XcmV0Order>',1741 },1742 InitiateTeleport: {1743 assets: 'Vec<XcmV0MultiAsset>',1744 dest: 'XcmV0MultiLocation',1745 effects: 'Vec<XcmV0Order>',1746 },1747 QueryHolding: {1748 queryId: 'Compact<u64>',1749 dest: 'XcmV0MultiLocation',1750 assets: 'Vec<XcmV0MultiAsset>',1751 },1752 BuyExecution: {1753 fees: 'XcmV0MultiAsset',1754 weight: 'u64',1755 debt: 'u64',1756 haltOnError: 'bool',1757 xcm: 'Vec<XcmV0Xcm>'1758 }1759 }1760 },1761 /**1762 * Lookup200: xcm::v0::Response1763 **/1764 XcmV0Response: {1765 _enum: {1766 Assets: 'Vec<XcmV0MultiAsset>'1767 }1768 },1769 /**1770 * Lookup201: xcm::v1::Xcm<Call>1771 **/1772 XcmV1Xcm: {1773 _enum: {1774 WithdrawAsset: {1775 assets: 'XcmV1MultiassetMultiAssets',1776 effects: 'Vec<XcmV1Order>',1777 },1778 ReserveAssetDeposited: {1779 assets: 'XcmV1MultiassetMultiAssets',1780 effects: 'Vec<XcmV1Order>',1781 },1782 ReceiveTeleportedAsset: {1783 assets: 'XcmV1MultiassetMultiAssets',1784 effects: 'Vec<XcmV1Order>',1785 },1786 QueryResponse: {1787 queryId: 'Compact<u64>',1788 response: 'XcmV1Response',1789 },1790 TransferAsset: {1791 assets: 'XcmV1MultiassetMultiAssets',1792 beneficiary: 'XcmV1MultiLocation',1793 },1794 TransferReserveAsset: {1795 assets: 'XcmV1MultiassetMultiAssets',1796 dest: 'XcmV1MultiLocation',1797 effects: 'Vec<XcmV1Order>',1798 },1799 Transact: {1800 originType: 'XcmV0OriginKind',1801 requireWeightAtMost: 'u64',1802 call: 'XcmDoubleEncoded',1803 },1804 HrmpNewChannelOpenRequest: {1805 sender: 'Compact<u32>',1806 maxMessageSize: 'Compact<u32>',1807 maxCapacity: 'Compact<u32>',1808 },1809 HrmpChannelAccepted: {1810 recipient: 'Compact<u32>',1811 },1812 HrmpChannelClosing: {1813 initiator: 'Compact<u32>',1814 sender: 'Compact<u32>',1815 recipient: 'Compact<u32>',1816 },1817 RelayedFrom: {1818 who: 'XcmV1MultilocationJunctions',1819 message: 'XcmV1Xcm',1820 },1821 SubscribeVersion: {1822 queryId: 'Compact<u64>',1823 maxResponseWeight: 'Compact<u64>',1824 },1825 UnsubscribeVersion: 'Null'1826 }1827 },1828 /**1829 * Lookup203: xcm::v1::order::Order<Call>1830 **/1831 XcmV1Order: {1832 _enum: {1833 Noop: 'Null',1834 DepositAsset: {1835 assets: 'XcmV1MultiassetMultiAssetFilter',1836 maxAssets: 'u32',1837 beneficiary: 'XcmV1MultiLocation',1838 },1839 DepositReserveAsset: {1840 assets: 'XcmV1MultiassetMultiAssetFilter',1841 maxAssets: 'u32',1842 dest: 'XcmV1MultiLocation',1843 effects: 'Vec<XcmV1Order>',1844 },1845 ExchangeAsset: {1846 give: 'XcmV1MultiassetMultiAssetFilter',1847 receive: 'XcmV1MultiassetMultiAssets',1848 },1849 InitiateReserveWithdraw: {1850 assets: 'XcmV1MultiassetMultiAssetFilter',1851 reserve: 'XcmV1MultiLocation',1852 effects: 'Vec<XcmV1Order>',1853 },1854 InitiateTeleport: {1855 assets: 'XcmV1MultiassetMultiAssetFilter',1856 dest: 'XcmV1MultiLocation',1857 effects: 'Vec<XcmV1Order>',1858 },1859 QueryHolding: {1860 queryId: 'Compact<u64>',1861 dest: 'XcmV1MultiLocation',1862 assets: 'XcmV1MultiassetMultiAssetFilter',1863 },1864 BuyExecution: {1865 fees: 'XcmV1MultiAsset',1866 weight: 'u64',1867 debt: 'u64',1868 haltOnError: 'bool',1869 instructions: 'Vec<XcmV1Xcm>'1870 }1871 }1872 },1873 /**1874 * Lookup205: xcm::v1::Response1875 **/1876 XcmV1Response: {1877 _enum: {1878 Assets: 'XcmV1MultiassetMultiAssets',1879 Version: 'u32'1880 }1881 },1882 /**1883 * Lookup219: cumulus_pallet_xcm::pallet::Call<T>1884 **/1885 CumulusPalletXcmCall: 'Null',1886 /**1887 * Lookup220: cumulus_pallet_dmp_queue::pallet::Call<T>1888 **/1889 CumulusPalletDmpQueueCall: {1890 _enum: {1891 service_overweight: {1892 index: 'u64',1893 weightLimit: 'u64'1894 }1895 }1896 },1897 /**1898 * Lookup221: pallet_inflation::pallet::Call<T>1899 **/1900 PalletInflationCall: {1901 _enum: {1902 start_inflation: {1903 inflationStartRelayBlock: 'u32'1904 }1905 }1906 },1907 /**1908 * Lookup222: pallet_unique::Call<T>1909 **/1910 PalletUniqueCall: {1911 _enum: {1912 create_collection: {1913 collectionName: 'Vec<u16>',1914 collectionDescription: 'Vec<u16>',1915 tokenPrefix: 'Bytes',1916 mode: 'UpDataStructsCollectionMode',1917 },1918 create_collection_ex: {1919 data: 'UpDataStructsCreateCollectionData',1920 },1921 destroy_collection: {1922 collectionId: 'u32',1923 },1924 add_to_allow_list: {1925 collectionId: 'u32',1926 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1927 },1928 remove_from_allow_list: {1929 collectionId: 'u32',1930 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1931 },1932 change_collection_owner: {1933 collectionId: 'u32',1934 newOwner: 'AccountId32',1935 },1936 add_collection_admin: {1937 collectionId: 'u32',1938 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1939 },1940 remove_collection_admin: {1941 collectionId: 'u32',1942 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1943 },1944 set_collection_sponsor: {1945 collectionId: 'u32',1946 newSponsor: 'AccountId32',1947 },1948 confirm_sponsorship: {1949 collectionId: 'u32',1950 },1951 remove_collection_sponsor: {1952 collectionId: 'u32',1953 },1954 create_item: {1955 collectionId: 'u32',1956 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1957 data: 'UpDataStructsCreateItemData',1958 },1959 create_multiple_items: {1960 collectionId: 'u32',1961 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1962 itemsData: 'Vec<UpDataStructsCreateItemData>',1963 },1964 set_collection_properties: {1965 collectionId: 'u32',1966 properties: 'Vec<UpDataStructsProperty>',1967 },1968 delete_collection_properties: {1969 collectionId: 'u32',1970 propertyKeys: 'Vec<Bytes>',1971 },1972 set_token_properties: {1973 collectionId: 'u32',1974 tokenId: 'u32',1975 properties: 'Vec<UpDataStructsProperty>',1976 },1977 delete_token_properties: {1978 collectionId: 'u32',1979 tokenId: 'u32',1980 propertyKeys: 'Vec<Bytes>',1981 },1982 set_token_property_permissions: {1983 collectionId: 'u32',1984 propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1985 },1986 create_multiple_items_ex: {1987 collectionId: 'u32',1988 data: 'UpDataStructsCreateItemExData',1989 },1990 set_transfers_enabled_flag: {1991 collectionId: 'u32',1992 value: 'bool',1993 },1994 burn_item: {1995 collectionId: 'u32',1996 itemId: 'u32',1997 value: 'u128',1998 },1999 burn_from: {2000 collectionId: 'u32',2001 from: 'PalletEvmAccountBasicCrossAccountIdRepr',2002 itemId: 'u32',2003 value: 'u128',2004 },2005 transfer: {2006 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',2007 collectionId: 'u32',2008 itemId: 'u32',2009 value: 'u128',2010 },2011 approve: {2012 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',2013 collectionId: 'u32',2014 itemId: 'u32',2015 amount: 'u128',2016 },2017 transfer_from: {2018 from: 'PalletEvmAccountBasicCrossAccountIdRepr',2019 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',2020 collectionId: 'u32',2021 itemId: 'u32',2022 value: 'u128',2023 },2024 set_collection_limits: {2025 collectionId: 'u32',2026 newLimit: 'UpDataStructsCollectionLimits',2027 },2028 set_collection_permissions: {2029 collectionId: 'u32',2030 newPermission: 'UpDataStructsCollectionPermissions',2031 },2032 repartition: {2033 collectionId: 'u32',2034 tokenId: 'u32',2035 amount: 'u128'2036 }2037 }2038 },2039 /**2040 * Lookup227: up_data_structs::CollectionMode2041 **/2042 UpDataStructsCollectionMode: {2043 _enum: {2044 NFT: 'Null',2045 Fungible: 'u8',2046 ReFungible: 'Null'2047 }2048 },2049 /**2050 * Lookup228: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2051 **/2052 UpDataStructsCreateCollectionData: {2053 mode: 'UpDataStructsCollectionMode',2054 access: 'Option<UpDataStructsAccessMode>',2055 name: 'Vec<u16>',2056 description: 'Vec<u16>',2057 tokenPrefix: 'Bytes',2058 pendingSponsor: 'Option<AccountId32>',2059 limits: 'Option<UpDataStructsCollectionLimits>',2060 permissions: 'Option<UpDataStructsCollectionPermissions>',2061 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2062 properties: 'Vec<UpDataStructsProperty>'2063 },2064 /**2065 * Lookup230: up_data_structs::AccessMode2066 **/2067 UpDataStructsAccessMode: {2068 _enum: ['Normal', 'AllowList']2069 },2070 /**2071 * Lookup232: up_data_structs::CollectionLimits2072 **/2073 UpDataStructsCollectionLimits: {2074 accountTokenOwnershipLimit: 'Option<u32>',2075 sponsoredDataSize: 'Option<u32>',2076 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',2077 tokenLimit: 'Option<u32>',2078 sponsorTransferTimeout: 'Option<u32>',2079 sponsorApproveTimeout: 'Option<u32>',2080 ownerCanTransfer: 'Option<bool>',2081 ownerCanDestroy: 'Option<bool>',2082 transfersEnabled: 'Option<bool>'2083 },2084 /**2085 * Lookup234: up_data_structs::SponsoringRateLimit2086 **/2087 UpDataStructsSponsoringRateLimit: {2088 _enum: {2089 SponsoringDisabled: 'Null',2090 Blocks: 'u32'2091 }2092 },2093 /**2094 * Lookup237: up_data_structs::CollectionPermissions2095 **/2096 UpDataStructsCollectionPermissions: {2097 access: 'Option<UpDataStructsAccessMode>',2098 mintMode: 'Option<bool>',2099 nesting: 'Option<UpDataStructsNestingPermissions>'2100 },2101 /**2102 * Lookup239: up_data_structs::NestingPermissions2103 **/2104 UpDataStructsNestingPermissions: {2105 tokenOwner: 'bool',2106 collectionAdmin: 'bool',2107 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2108 },2109 /**2110 * Lookup241: up_data_structs::OwnerRestrictedSet2111 **/2112 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2113 /**2114 * Lookup246: up_data_structs::PropertyKeyPermission2115 **/2116 UpDataStructsPropertyKeyPermission: {2117 key: 'Bytes',2118 permission: 'UpDataStructsPropertyPermission'2119 },2120 /**2121 * Lookup247: up_data_structs::PropertyPermission2122 **/2123 UpDataStructsPropertyPermission: {2124 mutable: 'bool',2125 collectionAdmin: 'bool',2126 tokenOwner: 'bool'2127 },2128 /**2129 * Lookup250: up_data_structs::Property2130 **/2131 UpDataStructsProperty: {2132 key: 'Bytes',2133 value: 'Bytes'2134 },2135 /**2136 * Lookup253: up_data_structs::CreateItemData2137 **/2138 UpDataStructsCreateItemData: {2139 _enum: {2140 NFT: 'UpDataStructsCreateNftData',2141 Fungible: 'UpDataStructsCreateFungibleData',2142 ReFungible: 'UpDataStructsCreateReFungibleData'2143 }2144 },2145 /**2146 * Lookup254: up_data_structs::CreateNftData2147 **/2148 UpDataStructsCreateNftData: {2149 properties: 'Vec<UpDataStructsProperty>'2150 },2151 /**2152 * Lookup255: up_data_structs::CreateFungibleData2153 **/2154 UpDataStructsCreateFungibleData: {2155 value: 'u128'2156 },2157 /**2158 * Lookup256: up_data_structs::CreateReFungibleData2159 **/2160 UpDataStructsCreateReFungibleData: {2161 pieces: 'u128',2162 properties: 'Vec<UpDataStructsProperty>'2163 },2164 /**2165 * Lookup259: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2166 **/2167 UpDataStructsCreateItemExData: {2168 _enum: {2169 NFT: 'Vec<UpDataStructsCreateNftExData>',2170 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2171 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExSingleOwner>',2172 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2173 }2174 },2175 /**2176 * Lookup261: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2177 **/2178 UpDataStructsCreateNftExData: {2179 properties: 'Vec<UpDataStructsProperty>',2180 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2181 },2182 /**2183 * Lookup268: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2184 **/2185 UpDataStructsCreateRefungibleExSingleOwner: {2186 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2187 pieces: 'u128',2188 properties: 'Vec<UpDataStructsProperty>'2189 },2190 /**2191 * Lookup270: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2192 **/2193 UpDataStructsCreateRefungibleExMultipleOwners: {2194 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2195 properties: 'Vec<UpDataStructsProperty>'2196 },2197 /**2198 * Lookup271: pallet_unique_scheduler::pallet::Call<T>2199 **/2200 PalletUniqueSchedulerCall: {2201 _enum: {2202 schedule_named: {2203 id: '[u8;16]',2204 when: 'u32',2205 maybePeriodic: 'Option<(u32,u32)>',2206 priority: 'u8',2207 call: 'FrameSupportScheduleMaybeHashed',2208 },2209 cancel_named: {2210 id: '[u8;16]',2211 },2212 schedule_named_after: {2213 id: '[u8;16]',2214 after: 'u32',2215 maybePeriodic: 'Option<(u32,u32)>',2216 priority: 'u8',2217 call: 'FrameSupportScheduleMaybeHashed'2218 }2219 }2220 },2221 /**2222 * Lookup273: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2223 **/2224 FrameSupportScheduleMaybeHashed: {2225 _enum: {2226 Value: 'Call',2227 Hash: 'H256'2228 }2229 },2230 /**2231 * Lookup274: pallet_configuration::pallet::Call<T>2232 **/2233 PalletConfigurationCall: {2234 _enum: {2235 set_weight_to_fee_coefficient_override: {2236 coeff: 'Option<u32>',2237 },2238 set_min_gas_price_override: {2239 coeff: 'Option<u64>'2240 }2241 }2242 },2243 /**2244 * Lookup275: pallet_template_transaction_payment::Call<T>2245 **/2246 PalletTemplateTransactionPaymentCall: 'Null',2247 /**2248 * Lookup276: pallet_structure::pallet::Call<T>2249 **/2250 PalletStructureCall: 'Null',2251 /**2252 * Lookup277: pallet_rmrk_core::pallet::Call<T>2253 **/2254 PalletRmrkCoreCall: {2255 _enum: {2256 create_collection: {2257 metadata: 'Bytes',2258 max: 'Option<u32>',2259 symbol: 'Bytes',2260 },2261 destroy_collection: {2262 collectionId: 'u32',2263 },2264 change_collection_issuer: {2265 collectionId: 'u32',2266 newIssuer: 'MultiAddress',2267 },2268 lock_collection: {2269 collectionId: 'u32',2270 },2271 mint_nft: {2272 owner: 'Option<AccountId32>',2273 collectionId: 'u32',2274 recipient: 'Option<AccountId32>',2275 royaltyAmount: 'Option<Permill>',2276 metadata: 'Bytes',2277 transferable: 'bool',2278 resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',2279 },2280 burn_nft: {2281 collectionId: 'u32',2282 nftId: 'u32',2283 maxBurns: 'u32',2284 },2285 send: {2286 rmrkCollectionId: 'u32',2287 rmrkNftId: 'u32',2288 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2289 },2290 accept_nft: {2291 rmrkCollectionId: 'u32',2292 rmrkNftId: 'u32',2293 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2294 },2295 reject_nft: {2296 rmrkCollectionId: 'u32',2297 rmrkNftId: 'u32',2298 },2299 accept_resource: {2300 rmrkCollectionId: 'u32',2301 rmrkNftId: 'u32',2302 resourceId: 'u32',2303 },2304 accept_resource_removal: {2305 rmrkCollectionId: 'u32',2306 rmrkNftId: 'u32',2307 resourceId: 'u32',2308 },2309 set_property: {2310 rmrkCollectionId: 'Compact<u32>',2311 maybeNftId: 'Option<u32>',2312 key: 'Bytes',2313 value: 'Bytes',2314 },2315 set_priority: {2316 rmrkCollectionId: 'u32',2317 rmrkNftId: 'u32',2318 priorities: 'Vec<u32>',2319 },2320 add_basic_resource: {2321 rmrkCollectionId: 'u32',2322 nftId: 'u32',2323 resource: 'RmrkTraitsResourceBasicResource',2324 },2325 add_composable_resource: {2326 rmrkCollectionId: 'u32',2327 nftId: 'u32',2328 resource: 'RmrkTraitsResourceComposableResource',2329 },2330 add_slot_resource: {2331 rmrkCollectionId: 'u32',2332 nftId: 'u32',2333 resource: 'RmrkTraitsResourceSlotResource',2334 },2335 remove_resource: {2336 rmrkCollectionId: 'u32',2337 nftId: 'u32',2338 resourceId: 'u32'2339 }2340 }2341 },2342 /**2343 * Lookup283: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2344 **/2345 RmrkTraitsResourceResourceTypes: {2346 _enum: {2347 Basic: 'RmrkTraitsResourceBasicResource',2348 Composable: 'RmrkTraitsResourceComposableResource',2349 Slot: 'RmrkTraitsResourceSlotResource'2350 }2351 },2352 /**2353 * Lookup285: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2354 **/2355 RmrkTraitsResourceBasicResource: {2356 src: 'Option<Bytes>',2357 metadata: 'Option<Bytes>',2358 license: 'Option<Bytes>',2359 thumb: 'Option<Bytes>'2360 },2361 /**2362 * Lookup287: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2363 **/2364 RmrkTraitsResourceComposableResource: {2365 parts: 'Vec<u32>',2366 base: 'u32',2367 src: 'Option<Bytes>',2368 metadata: 'Option<Bytes>',2369 license: 'Option<Bytes>',2370 thumb: 'Option<Bytes>'2371 },2372 /**2373 * Lookup288: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2374 **/2375 RmrkTraitsResourceSlotResource: {2376 base: 'u32',2377 src: 'Option<Bytes>',2378 metadata: 'Option<Bytes>',2379 slot: 'u32',2380 license: 'Option<Bytes>',2381 thumb: 'Option<Bytes>'2382 },2383 /**2384 * Lookup291: pallet_rmrk_equip::pallet::Call<T>2385 **/2386 PalletRmrkEquipCall: {2387 _enum: {2388 create_base: {2389 baseType: 'Bytes',2390 symbol: 'Bytes',2391 parts: 'Vec<RmrkTraitsPartPartType>',2392 },2393 theme_add: {2394 baseId: 'u32',2395 theme: 'RmrkTraitsTheme',2396 },2397 equippable: {2398 baseId: 'u32',2399 slotId: 'u32',2400 equippables: 'RmrkTraitsPartEquippableList'2401 }2402 }2403 },2404 /**2405 * Lookup294: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2406 **/2407 RmrkTraitsPartPartType: {2408 _enum: {2409 FixedPart: 'RmrkTraitsPartFixedPart',2410 SlotPart: 'RmrkTraitsPartSlotPart'2411 }2412 },2413 /**2414 * Lookup296: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2415 **/2416 RmrkTraitsPartFixedPart: {2417 id: 'u32',2418 z: 'u32',2419 src: 'Bytes'2420 },2421 /**2422 * Lookup297: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2423 **/2424 RmrkTraitsPartSlotPart: {2425 id: 'u32',2426 equippable: 'RmrkTraitsPartEquippableList',2427 src: 'Bytes',2428 z: 'u32'2429 },2430 /**2431 * Lookup298: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2432 **/2433 RmrkTraitsPartEquippableList: {2434 _enum: {2435 All: 'Null',2436 Empty: 'Null',2437 Custom: 'Vec<u32>'2438 }2439 },2440 /**2441 * 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>>2442 **/2443 RmrkTraitsTheme: {2444 name: 'Bytes',2445 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2446 inherit: 'bool'2447 },2448 /**2449 * Lookup302: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2450 **/2451 RmrkTraitsThemeThemeProperty: {2452 key: 'Bytes',2453 value: 'Bytes'2454 },2455 /**2456 * Lookup304: pallet_app_promotion::pallet::Call<T>2457 **/2458 PalletAppPromotionCall: {2459 _enum: {2460 set_admin_address: {2461 admin: 'PalletEvmAccountBasicCrossAccountIdRepr',2462 },2463 start_app_promotion: {2464 promotionStartRelayBlock: 'Option<u32>',2465 },2466 stake: {2467 amount: 'u128',2468 },2469 unstake: {2470 amount: 'u128',2471 },2472 sponsor_collection: {2473 collectionId: 'u32',2474 },2475 stop_sponsorign_collection: {2476 collectionId: 'u32'2477 }2478 }2479 },2480 /**2481 * Lookup305: pallet_evm::pallet::Call<T>2482 **/2483 PalletEvmCall: {2484 _enum: {2485 withdraw: {2486 address: 'H160',2487 value: 'u128',2488 },2489 call: {2490 source: 'H160',2491 target: 'H160',2492 input: 'Bytes',2493 value: 'U256',2494 gasLimit: 'u64',2495 maxFeePerGas: 'U256',2496 maxPriorityFeePerGas: 'Option<U256>',2497 nonce: 'Option<U256>',2498 accessList: 'Vec<(H160,Vec<H256>)>',2499 },2500 create: {2501 source: 'H160',2502 init: 'Bytes',2503 value: 'U256',2504 gasLimit: 'u64',2505 maxFeePerGas: 'U256',2506 maxPriorityFeePerGas: 'Option<U256>',2507 nonce: 'Option<U256>',2508 accessList: 'Vec<(H160,Vec<H256>)>',2509 },2510 create2: {2511 source: 'H160',2512 init: 'Bytes',2513 salt: 'H256',2514 value: 'U256',2515 gasLimit: 'u64',2516 maxFeePerGas: 'U256',2517 maxPriorityFeePerGas: 'Option<U256>',2518 nonce: 'Option<U256>',2519 accessList: 'Vec<(H160,Vec<H256>)>'2520 }2521 }2522 },2523 /**2524 * Lookup309: pallet_ethereum::pallet::Call<T>2525 **/2526 PalletEthereumCall: {2527 _enum: {2528 transact: {2529 transaction: 'EthereumTransactionTransactionV2'2530 }2531 }2532 },2533 /**2534 * Lookup310: ethereum::transaction::TransactionV22535 **/2536 EthereumTransactionTransactionV2: {2537 _enum: {2538 Legacy: 'EthereumTransactionLegacyTransaction',2539 EIP2930: 'EthereumTransactionEip2930Transaction',2540 EIP1559: 'EthereumTransactionEip1559Transaction'2541 }2542 },2543 /**2544 * Lookup311: ethereum::transaction::LegacyTransaction2545 **/2546 EthereumTransactionLegacyTransaction: {2547 nonce: 'U256',2548 gasPrice: 'U256',2549 gasLimit: 'U256',2550 action: 'EthereumTransactionTransactionAction',2551 value: 'U256',2552 input: 'Bytes',2553 signature: 'EthereumTransactionTransactionSignature'2554 },2555 /**2556 * Lookup312: ethereum::transaction::TransactionAction2557 **/2558 EthereumTransactionTransactionAction: {2559 _enum: {2560 Call: 'H160',2561 Create: 'Null'2562 }2563 },2564 /**2565 * Lookup313: ethereum::transaction::TransactionSignature2566 **/2567 EthereumTransactionTransactionSignature: {2568 v: 'u64',2569 r: 'H256',2570 s: 'H256'2571 },2572 /**2573 * Lookup315: ethereum::transaction::EIP2930Transaction2574 **/2575 EthereumTransactionEip2930Transaction: {2576 chainId: 'u64',2577 nonce: 'U256',2578 gasPrice: 'U256',2579 gasLimit: 'U256',2580 action: 'EthereumTransactionTransactionAction',2581 value: 'U256',2582 input: 'Bytes',2583 accessList: 'Vec<EthereumTransactionAccessListItem>',2584 oddYParity: 'bool',2585 r: 'H256',2586 s: 'H256'2587 },2588 /**2589 * Lookup317: ethereum::transaction::AccessListItem2590 **/2591 EthereumTransactionAccessListItem: {2592 address: 'H160',2593 storageKeys: 'Vec<H256>'2594 },2595 /**2596 * Lookup318: ethereum::transaction::EIP1559Transaction2597 **/2598 EthereumTransactionEip1559Transaction: {2599 chainId: 'u64',2600 nonce: 'U256',2601 maxPriorityFeePerGas: 'U256',2602 maxFeePerGas: 'U256',2603 gasLimit: 'U256',2604 action: 'EthereumTransactionTransactionAction',2605 value: 'U256',2606 input: 'Bytes',2607 accessList: 'Vec<EthereumTransactionAccessListItem>',2608 oddYParity: 'bool',2609 r: 'H256',2610 s: 'H256'2611 },2612 /**2613 * Lookup319: pallet_evm_migration::pallet::Call<T>2614 **/2615 PalletEvmMigrationCall: {2616 _enum: {2617 begin: {2618 address: 'H160',2619 },2620 set_data: {2621 address: 'H160',2622 data: 'Vec<(H256,H256)>',2623 },2624 finish: {2625 address: 'H160',2626 code: 'Bytes'2627 }2628 }2629 },2630 /**2631 * Lookup322: pallet_sudo::pallet::Error<T>2632 **/2633 PalletSudoError: {2634 _enum: ['RequireSudo']2635 },2636 /**2637 * Lookup324: orml_vesting::module::Error<T>2638 **/2639 OrmlVestingModuleError: {2640 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2641 },2642 /**2643 * Lookup326: cumulus_pallet_xcmp_queue::InboundChannelDetails2644 **/2645 CumulusPalletXcmpQueueInboundChannelDetails: {2646 sender: 'u32',2647 state: 'CumulusPalletXcmpQueueInboundState',2648 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2649 },2650 /**2651 * Lookup327: cumulus_pallet_xcmp_queue::InboundState2652 **/2653 CumulusPalletXcmpQueueInboundState: {2654 _enum: ['Ok', 'Suspended']2655 },2656 /**2657 * Lookup330: polkadot_parachain::primitives::XcmpMessageFormat2658 **/2659 PolkadotParachainPrimitivesXcmpMessageFormat: {2660 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2661 },2662 /**2663 * Lookup333: cumulus_pallet_xcmp_queue::OutboundChannelDetails2664 **/2665 CumulusPalletXcmpQueueOutboundChannelDetails: {2666 recipient: 'u32',2667 state: 'CumulusPalletXcmpQueueOutboundState',2668 signalsExist: 'bool',2669 firstIndex: 'u16',2670 lastIndex: 'u16'2671 },2672 /**2673 * Lookup334: cumulus_pallet_xcmp_queue::OutboundState2674 **/2675 CumulusPalletXcmpQueueOutboundState: {2676 _enum: ['Ok', 'Suspended']2677 },2678 /**2679 * Lookup336: cumulus_pallet_xcmp_queue::QueueConfigData2680 **/2681 CumulusPalletXcmpQueueQueueConfigData: {2682 suspendThreshold: 'u32',2683 dropThreshold: 'u32',2684 resumeThreshold: 'u32',2685 thresholdWeight: 'u64',2686 weightRestrictDecay: 'u64',2687 xcmpMaxIndividualWeight: 'u64'2688 },2689 /**2690 * Lookup338: cumulus_pallet_xcmp_queue::pallet::Error<T>2691 **/2692 CumulusPalletXcmpQueueError: {2693 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2694 },2695 /**2696 * Lookup339: pallet_xcm::pallet::Error<T>2697 **/2698 PalletXcmError: {2699 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2700 },2701 /**2702 * Lookup340: cumulus_pallet_xcm::pallet::Error<T>2703 **/2704 CumulusPalletXcmError: 'Null',2705 /**2706 * Lookup341: cumulus_pallet_dmp_queue::ConfigData2707 **/2708 CumulusPalletDmpQueueConfigData: {2709 maxIndividual: 'u64'2710 },2711 /**2712 * Lookup342: cumulus_pallet_dmp_queue::PageIndexData2713 **/2714 CumulusPalletDmpQueuePageIndexData: {2715 beginUsed: 'u32',2716 endUsed: 'u32',2717 overweightCount: 'u64'2718 },2719 /**2720 * Lookup345: cumulus_pallet_dmp_queue::pallet::Error<T>2721 **/2722 CumulusPalletDmpQueueError: {2723 _enum: ['Unknown', 'OverLimit']2724 },2725 /**2726 * Lookup349: pallet_unique::Error<T>2727 **/2728 PalletUniqueError: {2729 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2730 },2731 /**2732 * Lookup352: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2733 **/2734 PalletUniqueSchedulerScheduledV3: {2735 maybeId: 'Option<[u8;16]>',2736 priority: 'u8',2737 call: 'FrameSupportScheduleMaybeHashed',2738 maybePeriodic: 'Option<(u32,u32)>',2739 origin: 'OpalRuntimeOriginCaller'2740 },2741 /**2742 * Lookup353: opal_runtime::OriginCaller2743 **/2744 OpalRuntimeOriginCaller: {2745 _enum: {2746 system: 'FrameSupportDispatchRawOrigin',2747 __Unused1: 'Null',2748 __Unused2: 'Null',2749 __Unused3: 'Null',2750 Void: 'SpCoreVoid',2751 __Unused5: 'Null',2752 __Unused6: 'Null',2753 __Unused7: 'Null',2754 __Unused8: 'Null',2755 __Unused9: 'Null',2756 __Unused10: 'Null',2757 __Unused11: 'Null',2758 __Unused12: 'Null',2759 __Unused13: 'Null',2760 __Unused14: 'Null',2761 __Unused15: 'Null',2762 __Unused16: 'Null',2763 __Unused17: 'Null',2764 __Unused18: 'Null',2765 __Unused19: 'Null',2766 __Unused20: 'Null',2767 __Unused21: 'Null',2768 __Unused22: 'Null',2769 __Unused23: 'Null',2770 __Unused24: 'Null',2771 __Unused25: 'Null',2772 __Unused26: 'Null',2773 __Unused27: 'Null',2774 __Unused28: 'Null',2775 __Unused29: 'Null',2776 __Unused30: 'Null',2777 __Unused31: 'Null',2778 __Unused32: 'Null',2779 __Unused33: 'Null',2780 __Unused34: 'Null',2781 __Unused35: 'Null',2782 __Unused36: 'Null',2783 __Unused37: 'Null',2784 __Unused38: 'Null',2785 __Unused39: 'Null',2786 __Unused40: 'Null',2787 __Unused41: 'Null',2788 __Unused42: 'Null',2789 __Unused43: 'Null',2790 __Unused44: 'Null',2791 __Unused45: 'Null',2792 __Unused46: 'Null',2793 __Unused47: 'Null',2794 __Unused48: 'Null',2795 __Unused49: 'Null',2796 __Unused50: 'Null',2797 PolkadotXcm: 'PalletXcmOrigin',2798 CumulusXcm: 'CumulusPalletXcmOrigin',2799 __Unused53: 'Null',2800 __Unused54: 'Null',2801 __Unused55: 'Null',2802 __Unused56: 'Null',2803 __Unused57: 'Null',2804 __Unused58: 'Null',2805 __Unused59: 'Null',2806 __Unused60: 'Null',2807 __Unused61: 'Null',2808 __Unused62: 'Null',2809 __Unused63: 'Null',2810 __Unused64: 'Null',2811 __Unused65: 'Null',2812 __Unused66: 'Null',2813 __Unused67: 'Null',2814 __Unused68: 'Null',2815 __Unused69: 'Null',2816 __Unused70: 'Null',2817 __Unused71: 'Null',2818 __Unused72: 'Null',2819 __Unused73: 'Null',2820 __Unused74: 'Null',2821 __Unused75: 'Null',2822 __Unused76: 'Null',2823 __Unused77: 'Null',2824 __Unused78: 'Null',2825 __Unused79: 'Null',2826 __Unused80: 'Null',2827 __Unused81: 'Null',2828 __Unused82: 'Null',2829 __Unused83: 'Null',2830 __Unused84: 'Null',2831 __Unused85: 'Null',2832 __Unused86: 'Null',2833 __Unused87: 'Null',2834 __Unused88: 'Null',2835 __Unused89: 'Null',2836 __Unused90: 'Null',2837 __Unused91: 'Null',2838 __Unused92: 'Null',2839 __Unused93: 'Null',2840 __Unused94: 'Null',2841 __Unused95: 'Null',2842 __Unused96: 'Null',2843 __Unused97: 'Null',2844 __Unused98: 'Null',2845 __Unused99: 'Null',2846 __Unused100: 'Null',2847 Ethereum: 'PalletEthereumRawOrigin'2848 }2849 },2850 /**2851 * Lookup354: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2852 **/2853 FrameSupportDispatchRawOrigin: {2854 _enum: {2855 Root: 'Null',2856 Signed: 'AccountId32',2857 None: 'Null'2858 }2859 },2860 /**2861 * Lookup355: pallet_xcm::pallet::Origin2862 **/2863 PalletXcmOrigin: {2864 _enum: {2865 Xcm: 'XcmV1MultiLocation',2866 Response: 'XcmV1MultiLocation'2867 }2868 },2869 /**2870 * Lookup356: cumulus_pallet_xcm::pallet::Origin2871 **/2872 CumulusPalletXcmOrigin: {2873 _enum: {2874 Relay: 'Null',2875 SiblingParachain: 'u32'2876 }2877 },2878 /**2879 * Lookup357: pallet_ethereum::RawOrigin2880 **/2881 PalletEthereumRawOrigin: {2882 _enum: {2883 EthereumTransaction: 'H160'2884 }2885 },2886 /**2887 * Lookup358: sp_core::Void2888 **/2889 SpCoreVoid: 'Null',2890 /**2891 * Lookup359: pallet_unique_scheduler::pallet::Error<T>2892 **/2893 PalletUniqueSchedulerError: {2894 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2895 },2896 /**2897 * Lookup360: up_data_structs::Collection<sp_core::crypto::AccountId32>2898 **/2899 UpDataStructsCollection: {2900 owner: 'AccountId32',2901 mode: 'UpDataStructsCollectionMode',2902 name: 'Vec<u16>',2903 description: 'Vec<u16>',2904 tokenPrefix: 'Bytes',2905 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2906 limits: 'UpDataStructsCollectionLimits',2907 permissions: 'UpDataStructsCollectionPermissions',2908 externalCollection: 'bool'2909 },2910 /**2911 * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2912 **/2913 UpDataStructsSponsorshipStateAccountId32: {2914 _enum: {2915 Disabled: 'Null',2916 Unconfirmed: 'AccountId32',2917 Confirmed: 'AccountId32'2918 }2919 },2920 /**2921 * Lookup362: up_data_structs::Properties2922 **/2923 UpDataStructsProperties: {2924 map: 'UpDataStructsPropertiesMapBoundedVec',2925 consumedSpace: 'u32',2926 spaceLimit: 'u32'2927 },2928 /**2929 * Lookup363: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2930 **/2931 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2932 /**2933 * Lookup368: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2934 **/2935 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2936 /**2937 * Lookup375: up_data_structs::CollectionStats2938 **/2939 UpDataStructsCollectionStats: {2940 created: 'u32',2941 destroyed: 'u32',2942 alive: 'u32'2943 },2944 /**2945 * Lookup376: up_data_structs::TokenChild2946 **/2947 UpDataStructsTokenChild: {2948 token: 'u32',2949 collection: 'u32'2950 },2951 /**2952 * Lookup377: PhantomType::up_data_structs<T>2953 **/2954 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2955 /**2956 * Lookup379: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2957 **/2958 UpDataStructsTokenData: {2959 properties: 'Vec<UpDataStructsProperty>',2960 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2961 pieces: 'u128'2962 },2963 /**2964 * Lookup381: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2965 **/2966 UpDataStructsRpcCollection: {2967 owner: 'AccountId32',2968 mode: 'UpDataStructsCollectionMode',2969 name: 'Vec<u16>',2970 description: 'Vec<u16>',2971 tokenPrefix: 'Bytes',2972 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2973 limits: 'UpDataStructsCollectionLimits',2974 permissions: 'UpDataStructsCollectionPermissions',2975 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2976 properties: 'Vec<UpDataStructsProperty>',2977 readOnly: 'bool'2978 },2979 /**2980 * 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>2981 **/2982 RmrkTraitsCollectionCollectionInfo: {2983 issuer: 'AccountId32',2984 metadata: 'Bytes',2985 max: 'Option<u32>',2986 symbol: 'Bytes',2987 nftsCount: 'u32'2988 },2989 /**2990 * Lookup383: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2991 **/2992 RmrkTraitsNftNftInfo: {2993 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2994 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2995 metadata: 'Bytes',2996 equipped: 'bool',2997 pending: 'bool'2998 },2999 /**3000 * Lookup385: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3001 **/3002 RmrkTraitsNftRoyaltyInfo: {3003 recipient: 'AccountId32',3004 amount: 'Permill'3005 },3006 /**3007 * Lookup386: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3008 **/3009 RmrkTraitsResourceResourceInfo: {3010 id: 'u32',3011 resource: 'RmrkTraitsResourceResourceTypes',3012 pending: 'bool',3013 pendingRemoval: 'bool'3014 },3015 /**3016 * Lookup387: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3017 **/3018 RmrkTraitsPropertyPropertyInfo: {3019 key: 'Bytes',3020 value: 'Bytes'3021 },3022 /**3023 * Lookup388: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3024 **/3025 RmrkTraitsBaseBaseInfo: {3026 issuer: 'AccountId32',3027 baseType: 'Bytes',3028 symbol: 'Bytes'3029 },3030 /**3031 * Lookup389: rmrk_traits::nft::NftChild3032 **/3033 RmrkTraitsNftNftChild: {3034 collectionId: 'u32',3035 nftId: 'u32'3036 },3037 /**3038 * Lookup391: pallet_common::pallet::Error<T>3039 **/3040 PalletCommonError: {3041 _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']3042 },3043 /**3044 * Lookup393: pallet_fungible::pallet::Error<T>3045 **/3046 PalletFungibleError: {3047 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3048 },3049 /**3050 * Lookup394: pallet_refungible::ItemData3051 **/3052 PalletRefungibleItemData: {3053 constData: 'Bytes'3054 },3055 /**3056 * Lookup399: pallet_refungible::pallet::Error<T>3057 **/3058 PalletRefungibleError: {3059 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3060 },3061 /**3062 * Lookup400: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3063 **/3064 PalletNonfungibleItemData: {3065 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3066 },3067 /**3068 * Lookup402: up_data_structs::PropertyScope3069 **/3070 UpDataStructsPropertyScope: {3071 _enum: ['None', 'Rmrk', 'Eth']3072 },3073 /**3074 * Lookup404: pallet_nonfungible::pallet::Error<T>3075 **/3076 PalletNonfungibleError: {3077 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3078 },3079 /**3080 * Lookup405: pallet_structure::pallet::Error<T>3081 **/3082 PalletStructureError: {3083 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3084 },3085 /**3086 * Lookup406: pallet_rmrk_core::pallet::Error<T>3087 **/3088 PalletRmrkCoreError: {3089 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3090 },3091 /**3092 * Lookup408: pallet_rmrk_equip::pallet::Error<T>3093 **/3094 PalletRmrkEquipError: {3095 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3096 },3097 /**3098 * Lookup410: pallet_app_promotion::pallet::Error<T>3099 **/3100 PalletAppPromotionError: {3101 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument', 'AlreadySponsored']3102 },3103 /**3104 * Lookup413: pallet_evm::pallet::Error<T>3105 **/3106 PalletEvmError: {3107 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3108 },3109 /**3110 * Lookup416: fp_rpc::TransactionStatus3111 **/3112 FpRpcTransactionStatus: {3113 transactionHash: 'H256',3114 transactionIndex: 'u32',3115 from: 'H160',3116 to: 'Option<H160>',3117 contractAddress: 'Option<H160>',3118 logs: 'Vec<EthereumLog>',3119 logsBloom: 'EthbloomBloom'3120 },3121 /**3122 * Lookup418: ethbloom::Bloom3123 **/3124 EthbloomBloom: '[u8;256]',3125 /**3126 * Lookup420: ethereum::receipt::ReceiptV33127 **/3128 EthereumReceiptReceiptV3: {3129 _enum: {3130 Legacy: 'EthereumReceiptEip658ReceiptData',3131 EIP2930: 'EthereumReceiptEip658ReceiptData',3132 EIP1559: 'EthereumReceiptEip658ReceiptData'3133 }3134 },3135 /**3136 * Lookup421: ethereum::receipt::EIP658ReceiptData3137 **/3138 EthereumReceiptEip658ReceiptData: {3139 statusCode: 'u8',3140 usedGas: 'U256',3141 logsBloom: 'EthbloomBloom',3142 logs: 'Vec<EthereumLog>'3143 },3144 /**3145 * Lookup422: ethereum::block::Block<ethereum::transaction::TransactionV2>3146 **/3147 EthereumBlock: {3148 header: 'EthereumHeader',3149 transactions: 'Vec<EthereumTransactionTransactionV2>',3150 ommers: 'Vec<EthereumHeader>'3151 },3152 /**3153 * Lookup423: ethereum::header::Header3154 **/3155 EthereumHeader: {3156 parentHash: 'H256',3157 ommersHash: 'H256',3158 beneficiary: 'H160',3159 stateRoot: 'H256',3160 transactionsRoot: 'H256',3161 receiptsRoot: 'H256',3162 logsBloom: 'EthbloomBloom',3163 difficulty: 'U256',3164 number: 'U256',3165 gasLimit: 'U256',3166 gasUsed: 'U256',3167 timestamp: 'u64',3168 extraData: 'Bytes',3169 mixHash: 'H256',3170 nonce: 'EthereumTypesHashH64'3171 },3172 /**3173 * Lookup424: ethereum_types::hash::H643174 **/3175 EthereumTypesHashH64: '[u8;8]',3176 /**3177 * Lookup429: pallet_ethereum::pallet::Error<T>3178 **/3179 PalletEthereumError: {3180 _enum: ['InvalidSignature', 'PreLogExists']3181 },3182 /**3183 * Lookup430: pallet_evm_coder_substrate::pallet::Error<T>3184 **/3185 PalletEvmCoderSubstrateError: {3186 _enum: ['OutOfGas', 'OutOfFund']3187 },3188 /**3189 * Lookup431: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3190 **/3191 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3192 _enum: {3193 Disabled: 'Null',3194 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3195 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3196 }3197 },3198 /**3199 * Lookup432: pallet_evm_contract_helpers::SponsoringModeT3200 **/3201 PalletEvmContractHelpersSponsoringModeT: {3202 _enum: ['Disabled', 'Allowlisted', 'Generous']3203 },3204 /**3205 * Lookup434: pallet_evm_contract_helpers::pallet::Error<T>3206 **/3207 PalletEvmContractHelpersError: {3208 _enum: ['NoPermission', 'NoPendingSponsor']3209 },3210 /**3211 * Lookup435: pallet_evm_migration::pallet::Error<T>3212 **/3213 PalletEvmMigrationError: {3214 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3215 },3216 /**3217 * Lookup437: sp_runtime::MultiSignature3218 **/3219 SpRuntimeMultiSignature: {3220 _enum: {3221 Ed25519: 'SpCoreEd25519Signature',3222 Sr25519: 'SpCoreSr25519Signature',3223 Ecdsa: 'SpCoreEcdsaSignature'3224 }3225 },3226 /**3227 * Lookup438: sp_core::ed25519::Signature3228 **/3229 SpCoreEd25519Signature: '[u8;64]',3230 /**3231 * Lookup440: sp_core::sr25519::Signature3232 **/3233 SpCoreSr25519Signature: '[u8;64]',3234 /**3235 * Lookup441: sp_core::ecdsa::Signature3236 **/3237 SpCoreEcdsaSignature: '[u8;65]',3238 /**3239 * Lookup444: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3240 **/3241 FrameSystemExtensionsCheckSpecVersion: 'Null',3242 /**3243 * Lookup445: frame_system::extensions::check_genesis::CheckGenesis<T>3244 **/3245 FrameSystemExtensionsCheckGenesis: 'Null',3246 /**3247 * Lookup448: frame_system::extensions::check_nonce::CheckNonce<T>3248 **/3249 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3250 /**3251 * Lookup449: frame_system::extensions::check_weight::CheckWeight<T>3252 **/3253 FrameSystemExtensionsCheckWeight: 'Null',3254 /**3255 * Lookup450: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3256 **/3257 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3258 /**3259 * Lookup451: opal_runtime::Runtime3260 **/3261 OpalRuntimeRuntime: 'Null',3262 /**3263 * Lookup452: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3264 **/3265 PalletEthereumFakeTransactionFinalizer: 'Null'3266};tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2669,6 +2669,7 @@
readonly asStartAppPromotion: {
readonly promotionStartRelayBlock: Option<u32>;
} & Struct;
+ readonly isStopAppPromotion: boolean;
readonly isStake: boolean;
readonly asStake: {
readonly amount: u128;
@@ -2685,7 +2686,15 @@
readonly asStopSponsorignCollection: {
readonly collectionId: u32;
} & Struct;
- readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';
+ readonly isSponsorConract: boolean;
+ readonly asSponsorConract: {
+ readonly contractId: H160;
+ } & Struct;
+ readonly isStopSponsorignContract: boolean;
+ readonly asStopSponsorignContract: {
+ readonly contractId: H160;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'StopAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection' | 'SponsorConract' | 'StopSponsorignContract';
}
/** @name PalletEvmCall (305) */
@@ -3288,8 +3297,7 @@
readonly isNoPermission: boolean;
readonly isNotSufficientFounds: boolean;
readonly isInvalidArgument: boolean;
- readonly isAlreadySponsored: boolean;
- readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';
+ readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument';
}
/** @name PalletEvmError (413) */