difftreelog
features : added full test coverage(except contract sponsoting) + switch to realay block for income calc + add recalc event
in: master
19 files changed
Cargo.lockdiffbeforeafterboth5304 "frame-support",5304 "frame-support",5305 "frame-system",5305 "frame-system",5306 "pallet-balances",5306 "pallet-balances",5307 "pallet-common",5307 "pallet-evm",5308 "pallet-evm",5308 "pallet-randomness-collective-flip",5309 "pallet-randomness-collective-flip",5309 "pallet-timestamp",5310 "pallet-timestamp",5311 "pallet-unique",5310 "parity-scale-codec 3.1.5",5312 "parity-scale-codec 3.1.5",5311 "scale-info",5313 "scale-info",5312 "serde",5314 "serde",5313 "sp-core",5315 "sp-core",5314 "sp-io",5316 "sp-io",5315 "sp-runtime",5317 "sp-runtime",5316 "sp-std",5318 "sp-std",5319 "up-data-structs",5317]5320]531853215319[[package]]5322[[package]]pallets/app-promotion/Cargo.tomldiffbeforeafterboth104git = "https://github.com/uniquenetwork/frontier"104git = "https://github.com/uniquenetwork/frontier"105branch = "unique-polkadot-v0.9.27"105branch = "unique-polkadot-v0.9.27"106107################################################################################108# local dependencies109[dependencies.up-data-structs]110default-features = false111path = "../../primitives/data-structs"112113[dependencies.pallet-common]114default-features = false115path = "../common"116117[dependencies.pallet-unique]118default-features = false119path = "../unique"120121################################################################################106122107[dependencies]123[dependencies]108scale-info = { version = "2.0.1", default-features = false, features = [124scale-info = { version = "2.0.1", default-features = false, features = [pallets/app-promotion/src/benchmarking.rsdiffbeforeafterboth59 let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());59 let _ = T::Currency::make_free_balance_be(&caller, Perbill::from_rational(1u32, 2) * BalanceOf::<T>::max_value());60 let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?;60 let _ = PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?;616162 } : {PromototionPallet::<T>::stake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}62 } : {PromototionPallet::<T>::unstake(RawOrigin::Signed(caller.clone()).into(), share * T::Currency::total_balance(&caller))?}636364 recalculate_stake {64 recalculate_stake {65 let caller = account::<T::AccountId>("caller", 0, SEED);65 let caller = account::<T::AccountId>("caller", 0, SEED);pallets/app-promotion/src/lib.rsdiffbeforeafterboth36pub mod types;36pub mod types;37pub mod weights;37pub mod weights;383839use sp_std::{vec::Vec, iter::Sum};39use sp_std::{vec::Vec, iter::Sum, borrow::ToOwned};40use codec::EncodeLike;40use codec::EncodeLike;41use pallet_balances::BalanceLock;41use pallet_balances::BalanceLock;42pub use types::ExtendedLockableCurrency;42pub use types::ExtendedLockableCurrency;4344// use up_common::constants::{DAYS, UNIQUE};45use up_data_structs::CollectionId;434644use frame_support::{47use frame_support::{45 dispatch::{DispatchResult},48 dispatch::{DispatchResult},55use pallet_evm::account::CrossAccountId;58use pallet_evm::account::CrossAccountId;56use sp_runtime::{59use sp_runtime::{57 Perbill,60 Perbill,58 traits::{BlockNumberProvider, CheckedAdd, CheckedSub},61 traits::{BlockNumberProvider, CheckedAdd, CheckedSub, AccountIdConversion},59 ArithmeticError,62 ArithmeticError,60};63};616462type BalanceOf<T> =65type BalanceOf<T> =63 <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;66 <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;646765const SECONDS_TO_BLOCK: u32 = 6;68// const SECONDS_TO_BLOCK: u32 = 6;66const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;69// const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;67const WEEK: u32 = 7 * DAY;70// const WEEK: u32 = 7 * DAY;68const TWO_WEEK: u32 = 2 * WEEK;71// const TWO_WEEK: u32 = 2 * WEEK;69const YEAR: u32 = DAY * 365;72// const YEAR: u32 = DAY * 365;707371pub const LOCK_IDENTIFIER: [u8; 8] = *b"appstake";74pub const LOCK_IDENTIFIER: [u8; 8] = *b"appstake";727573#[frame_support::pallet]76#[frame_support::pallet]74pub mod pallet {77pub mod pallet {75 use super::*;78 use super::*;76 use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key};79 use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key, PalletId};77 use frame_system::pallet_prelude::*;80 use frame_system::pallet_prelude::*;81 use types::CollectionHandler;788279 #[pallet::config]83 #[pallet::config]80 pub trait Config: frame_system::Config + pallet_evm::account::Config {84 pub trait Config: frame_system::Config + pallet_evm::account::Config {81 type Currency: ExtendedLockableCurrency<Self::AccountId>;85 type Currency: ExtendedLockableCurrency<Self::AccountId>;8687 type CollectionHandler: CollectionHandler<88 AccountId = Self::AccountId,89 CollectionId = CollectionId,90 >;829183 type TreasuryAccountId: Get<Self::AccountId>;92 type TreasuryAccountId: Get<Self::AccountId>;9394 /// The app's pallet id, used for deriving its sovereign account ID.95 #[pallet::constant]96 type PalletId: Get<PalletId>;9798 /// In relay blocks.99 #[pallet::constant]100 type RecalculationInterval: Get<Self::BlockNumber>;101 /// In chain blocks.102 #[pallet::constant]103 type PendingInterval: Get<Self::BlockNumber>;104105 /// In chain blocks.106 #[pallet::constant]107 type Day: Get<Self::BlockNumber>; // useless108109 #[pallet::constant]110 type Nominal: Get<BalanceOf<Self>>;111112 #[pallet::constant]113 type IntervalIncome: Get<Perbill>;8411485 /// Weight information for extrinsics in this pallet.115 /// Weight information for extrinsics in this pallet.86 type WeightInfo: WeightInfo;116 type WeightInfo: WeightInfo;8711788 // The block number provider118 // The relay block number provider89 type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;119 type RelayBlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;120121 /// Events compatible with [`frame_system::Config::Event`].122 type Event: IsType<<Self as frame_system::Config>::Event> + From<Event<Self>>;9012391 // /// Number of blocks that pass between treasury balance updates due to inflation124 // /// Number of blocks that pass between treasury balance updates due to inflation92 // #[pallet::constant]125 // #[pallet::constant]100 #[pallet::generate_store(pub(super) trait Store)]133 #[pallet::generate_store(pub(super) trait Store)]101 pub struct Pallet<T>(_);134 pub struct Pallet<T>(_);135136 #[pallet::event]137 #[pallet::generate_deposit(fn deposit_event)]138 pub enum Event<T: Config> {139 StakingRecalculation(140 /// Base on which interest is calculated141 BalanceOf<T>,142 /// Amount of accrued interest143 BalanceOf<T>,144 ),145 }146147 #[pallet::error]148 pub enum Error<T> {149 AdminNotSet,150 /// No permission to perform action151 NoPermission,152 /// Insufficient funds to perform an action153 NotSufficientFounds,154 InvalidArgument,155 AlreadySponsored,156 }102157103 #[pallet::storage]158 #[pallet::storage]104 pub type TotalStaked<T: Config> = StorageValue<Value = BalanceOf<T>, QueryKind = ValueQuery>;159 pub type TotalStaked<T: Config> = StorageValue<Value = BalanceOf<T>, QueryKind = ValueQuery>;164 });219 });165220166 let next_interest_block = Self::get_interest_block();221 let next_interest_block = Self::get_interest_block();167222 let current_relay_block = T::RelayBlockNumberProvider::current_block_number();168 if next_interest_block != 0.into() && current_block >= next_interest_block {223 if next_interest_block != 0.into() && current_relay_block >= next_interest_block {169 let mut acc = <BalanceOf<T>>::default();224 let mut acc = <BalanceOf<T>>::default();225 let mut base_acc = <BalanceOf<T>>::default();170226171 NextInterestBlock::<T>::set(current_block + DAY.into());227 NextInterestBlock::<T>::set(228 NextInterestBlock::<T>::get() + T::RecalculationInterval::get(),229 );172 add_weight(0, 1, 0);230 add_weight(0, 1, 0);173231174 Staked::<T>::iter()232 Staked::<T>::iter()175 .filter(|((_, block), _)| *block + DAY.into() <= current_block)233 .filter(|((_, block), _)| {234 *block + T::RecalculationInterval::get() <= current_relay_block235 })176 .for_each(|((staker, block), amount)| {236 .for_each(|((staker, block), amount)| {177 Self::recalculate_stake(&staker, block, amount, &mut acc);237 Self::recalculate_stake(&staker, block, amount, &mut acc);178 add_weight(0, 0, T::WeightInfo::recalculate_stake());238 add_weight(0, 0, T::WeightInfo::recalculate_stake());239 base_acc += amount;179 });240 });180 <TotalStaked<T>>::get()241 <TotalStaked<T>>::get()181 .checked_add(&acc)242 .checked_add(&acc)182 .map(|res| <TotalStaked<T>>::set(res));243 .map(|res| <TotalStaked<T>>::set(res));244245 Self::deposit_event(Event::StakingRecalculation(base_acc, acc));183 add_weight(0, 1, 0);246 add_weight(0, 1, 0);184 };247 } else {248 add_weight(1, 0, 0)249 };185 consumed_weight250 consumed_weight186 }251 }187 }252 }188253189 #[pallet::call]254 #[pallet::call]190 impl<T: Config> Pallet<T> {255 impl<T: Config> Pallet<T> {191 #[pallet::weight(T::WeightInfo::set_admin_address())]256 #[pallet::weight(T::WeightInfo::set_admin_address())]192 pub fn set_admin_address(origin: OriginFor<T>, admin: T::AccountId) -> DispatchResult {257 pub fn set_admin_address(origin: OriginFor<T>, admin: T::CrossAccountId) -> DispatchResult {193 ensure_root(origin)?;258 ensure_root(origin)?;194 <Admin<T>>::set(Some(admin));259 <Admin<T>>::set(Some(admin.as_sub().to_owned()));195260196 Ok(())261 Ok(())197 }262 }198263199 #[pallet::weight(T::WeightInfo::start_app_promotion())]264 #[pallet::weight(T::WeightInfo::start_app_promotion())]200 pub fn start_app_promotion(265 pub fn start_app_promotion(201 origin: OriginFor<T>,266 origin: OriginFor<T>,202 promotion_start_relay_block: T::BlockNumber,267 promotion_start_relay_block: Option<T::BlockNumber>,203 ) -> DispatchResult268 ) -> DispatchResult204 where269 where205 <T as frame_system::Config>::BlockNumber: From<u32>,270 <T as frame_system::Config>::BlockNumber: From<u32>,208273209 // Start app-promotion mechanics if it has not been yet initialized274 // Start app-promotion mechanics if it has not been yet initialized210 if <StartBlock<T>>::get() == 0u32.into() {275 if <StartBlock<T>>::get() == 0u32.into() {276 let start_block = promotion_start_relay_block277 .unwrap_or(T::RelayBlockNumberProvider::current_block_number());278211 // Set promotion global start block279 // Set promotion global start block212 <StartBlock<T>>::set(promotion_start_relay_block);280 <StartBlock<T>>::set(start_block);213281214 <NextInterestBlock<T>>::set(promotion_start_relay_block + DAY.into());282 <NextInterestBlock<T>>::set(start_block + T::RecalculationInterval::get());215 }283 }216284217 Ok(())285 Ok(())221 pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {289 pub fn stake(staker: OriginFor<T>, amount: BalanceOf<T>) -> DispatchResult {222 let staker_id = ensure_signed(staker)?;290 let staker_id = ensure_signed(staker)?;291292 ensure!(amount >= T::Nominal::get(), ArithmeticError::Underflow);223293224 let balance =294 let balance =225 <<T as Config>::Currency as Currency<T::AccountId>>::free_balance(&staker_id);295 <<T as Config>::Currency as Currency<T::AccountId>>::free_balance(&staker_id);235305236 Self::add_lock_balance(&staker_id, amount)?;306 Self::add_lock_balance(&staker_id, amount)?;237307238 let block_number = frame_system::Pallet::<T>::block_number();308 let block_number = T::RelayBlockNumberProvider::current_block_number();239309240 <Staked<T>>::insert(310 <Staked<T>>::insert(241 (&staker_id, block_number),311 (&staker_id, block_number),271 .ok_or(ArithmeticError::Underflow)?,341 .ok_or(ArithmeticError::Underflow)?,272 );342 );273343274 let block = frame_system::Pallet::<T>::block_number() + WEEK.into();344 let block = frame_system::Pallet::<T>::block_number() + T::PendingInterval::get();275 <PendingUnstake<T>>::insert(345 <PendingUnstake<T>>::insert(276 (&staker_id, block),346 (&staker_id, block),277 <PendingUnstake<T>>::get((&staker_id, block))347 <PendingUnstake<T>>::get((&staker_id, block))312 Ok(())382 Ok(())313 }383 }384385 #[pallet::weight(0)]386 pub fn sponsor_collection(387 admin: OriginFor<T>,388 collection_id: CollectionId,389 ) -> DispatchResult {390 let admin_id = ensure_signed(admin)?;391 ensure!(392 admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,393 Error::<T>::NoPermission394 );395396 T::CollectionHandler::set_sponsor(Self::account_id(), collection_id)397 }398 #[pallet::weight(0)]399 pub fn stop_sponsorign_collection(400 admin: OriginFor<T>,401 collection_id: CollectionId,402 ) -> DispatchResult {403 let admin_id = ensure_signed(admin)?;404405 ensure!(406 admin_id == Admin::<T>::get().ok_or(Error::<T>::AdminNotSet)?,407 Error::<T>::NoPermission408 );409410 ensure!(411 T::CollectionHandler::get_sponsor(collection_id)?412 .ok_or(<Error<T>>::InvalidArgument)?413 == Self::account_id(),414 <Error<T>>::NoPermission415 );416 T::CollectionHandler::remove_collection_sponsor(collection_id)417 }314 }418 }315}419}316420396 // Ok(())500 // Ok(())397 // }501 // }398502399 pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {503 // pub fn sponsor_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {400 Ok(())504 // Ok(())401 }505 // }402506403 pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {507 // pub fn stop_sponsorign_collection(admin: T::AccountId, collection_id: u32) -> DispatchResult {404 Ok(())508 // Ok(())405 }509 // }406510407 pub fn sponsor_conract(admin: T::AccountId, app_id: u32) -> DispatchResult {511 pub fn sponsor_conract(admin: T::AccountId, app_id: u32) -> DispatchResult {408 Ok(())512 Ok(())412 Ok(())516 Ok(())413 }517 }518519 pub fn account_id() -> T::AccountId {520 T::PalletId::get().into_account_truncating()521 }414}522}415523416impl<T: Config> Pallet<T> {524impl<T: Config> Pallet<T> {514 where622 where515 I: EncodeLike<BalanceOf<T>> + Balance,623 I: EncodeLike<BalanceOf<T>> + Balance,516 {624 {517 let day_rate = Perbill::from_rational(5u32, 1_0000);625 T::IntervalIncome::get() * base518 day_rate * base519 }626 }520}627}521628pallets/app-promotion/src/tests.rsdiffbeforeafterboth28use sp_runtime::{28use sp_runtime::{29 traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup},29 traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup},30 testing::Header,30 testing::Header,31 Perbill,31 Perbill, Perquintill,32};32};333334// type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;34// type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;127// } )127// } )128// }128// }129130#[test]131fn test_perbill() {132 const ONE_UNIQE: u128 = 1_000_000_000_000_000_000;133 const SECONDS_TO_BLOCK: u32 = 12;134 const DAY: u32 = 60 * 60 * 24 / SECONDS_TO_BLOCK;135 const RECALCULATION_INTERVAL: u32 = 10;136 let day_rate = Perbill::from_rational(5u64, 10_000);137 let interval_rate =138 Perbill::from_rational::<u64>(RECALCULATION_INTERVAL.into(), DAY.into()) * day_rate;139 println!("{:?}", interval_rate * ONE_UNIQE + ONE_UNIQE);140 println!("{:?}", day_rate * ONE_UNIQE);141 println!("{:?}", Perbill::one() * ONE_UNIQE);142 println!("{:?}", ONE_UNIQE);143 let mut next_iters = ONE_UNIQE + interval_rate * ONE_UNIQE;144 next_iters += interval_rate * next_iters;145 println!("{:?}", next_iters);146 let day_income = day_rate * ONE_UNIQE;147 let interval_income = interval_rate * ONE_UNIQE;148 let ratio = day_income / interval_income;149 println!("{:?} || {:?}", ratio, DAY / RECALCULATION_INTERVAL);150}129151pallets/app-promotion/src/types.rsdiffbeforeafterboth1use codec::EncodeLike;1use codec::EncodeLike;2use frame_support::{traits::LockableCurrency, WeakBoundedVec, Parameter};2use frame_support::{3 traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,4};5use frame_system::Config;3use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};6use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};7use pallet_common::CollectionHandle;8use pallet_unique::{Event as UniqueEvent, Error as UniqueError};9use sp_runtime::DispatchError;10use up_data_structs::{CollectionId, SponsorshipState};11use sp_std::borrow::ToOwned;4125pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {13pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {6 fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>14 fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>19 }27 }20}28}2930pub trait CollectionHandler {31 type CollectionId;32 type AccountId;3334 fn set_sponsor(35 sponsor_id: Self::AccountId,36 collection_id: Self::CollectionId,37 ) -> DispatchResult;3839 fn remove_collection_sponsor(collection_id: Self::CollectionId) -> DispatchResult;4041 fn get_sponsor(42 collection_id: Self::CollectionId,43 ) -> Result<Option<Self::AccountId>, DispatchError>;44}4546impl<T: pallet_unique::Config> CollectionHandler for pallet_unique::Pallet<T> {47 type CollectionId = CollectionId;4849 type AccountId = T::AccountId;5051 fn set_sponsor(52 sponsor_id: Self::AccountId,53 collection_id: Self::CollectionId,54 ) -> DispatchResult {55 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;56 target_collection.check_is_internal()?;57 target_collection.set_sponsor(sponsor_id.clone())?;5859 Self::deposit_event(UniqueEvent::<T>::CollectionSponsorSet(60 collection_id,61 sponsor_id.clone(),62 ));6364 ensure!(65 target_collection.confirm_sponsorship(&sponsor_id)?,66 UniqueError::<T>::ConfirmUnsetSponsorFail67 );6869 Self::deposit_event(UniqueEvent::<T>::SponsorshipConfirmed(70 collection_id,71 sponsor_id,72 ));7374 target_collection.save()75 }7677 fn remove_collection_sponsor(collection_id: Self::CollectionId) -> DispatchResult {78 let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;79 target_collection.check_is_internal()?;80 target_collection.sponsorship = SponsorshipState::Disabled;8182 Self::deposit_event(UniqueEvent::<T>::CollectionSponsorRemoved(collection_id));8384 target_collection.save()85 }8687 fn get_sponsor(88 collection_id: Self::CollectionId,89 ) -> Result<Option<Self::AccountId>, DispatchError> {90 Ok(<CollectionHandle<T>>::try_get(collection_id)?91 .sponsorship92 .pending_sponsor()93 .map(|acc| acc.to_owned()))94 }95}2196pallets/unique/src/lib.rsdiffbeforeafterboth277 {277 {278 type Error = Error<T>;278 type Error = Error<T>;279279280 fn deposit_event() = default;280 pub fn deposit_event() = default;281281282 fn on_initialize(_now: T::BlockNumber) -> Weight {282 fn on_initialize(_now: T::BlockNumber) -> Weight {283 0283 0runtime/common/config/pallets/app_promotion.rsdiffbeforeafterboth161617use crate::{17use crate::{18 runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},18 runtime_common::config::pallets::{TreasuryAccountId, RelayChainBlockNumberProvider},19 Runtime, Balances,19 Runtime, Balances, BlockNumber, Unique, Event,20};20};2122use frame_support::{parameter_types, PalletId};23use sp_arithmetic::Perbill;24use up_common::{25 constants::{DAYS, UNIQUE},26 types::Balance,27};2829parameter_types! {30 pub const AppPromotionId: PalletId = PalletId(*b"appstake");31 pub const RecalculationInterval: BlockNumber = 20;32 pub const PendingInterval: BlockNumber = 10;33 pub const Nominal: Balance = UNIQUE;34 pub const Day: BlockNumber = DAYS;35 pub IntervalIncome: Perbill = Perbill::from_rational(RecalculationInterval::get(), 2 * DAYS) * Perbill::from_rational(5u32, 10_000);36}213722impl pallet_app_promotion::Config for Runtime {38impl pallet_app_promotion::Config for Runtime {39 type PalletId = AppPromotionId;40 type CollectionHandler = Unique;23 type Currency = Balances;41 type Currency = Balances;24 type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;42 type WeightInfo = pallet_app_promotion::weights::SubstrateWeight<Self>;25 type TreasuryAccountId = TreasuryAccountId;43 type TreasuryAccountId = TreasuryAccountId;26 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;44 type RelayBlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;45 type RecalculationInterval = RecalculationInterval;46 type PendingInterval = PendingInterval;47 type Day = Day;48 type Nominal = Nominal;49 type IntervalIncome = IntervalIncome;50 type Event = Event;27}51}2852runtime/common/construct_runtime/mod.rsdiffbeforeafterboth78 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,78 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,797980 #[runtimes(opal)]80 #[runtimes(opal)]81 Promotion: pallet_app_promotion::{Pallet, Call, Storage} = 73,81 Promotion: pallet_app_promotion::{Pallet, Call, Storage, Event<T>} = 73,828283 // Frontier83 // Frontier84 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,84 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,tests/src/app-promotion.test.tsdiffbeforeafterboth404041import chai, {use} from 'chai';41import chai, {use} from 'chai';42import chaiAsPromised from 'chai-as-promised';42import chaiAsPromised from 'chai-as-promised';43import getBalance, {getBalanceSingle} from './substrate/get-balance';44import {unique} from './interfaces/definitions';45import {usingPlaygrounds} from './util/playgrounds';43import {usingPlaygrounds} from './util/playgrounds';46import {default as waitNewBlocks} from './substrate/wait-new-blocks';44import {default as waitNewBlocks} from './substrate/wait-new-blocks';474548import BN from 'bn.js';46import {encodeAddress, hdEthereum, mnemonicGenerate} from '@polkadot/util-crypto';49import {mnemonicGenerate} from '@polkadot/util-crypto';47import {stringToU8a} from '@polkadot/util';50import {UniqueHelper} from './util/playgrounds/unique';48import {UniqueHelper} from './util/playgrounds/unique';49import {ApiPromise} from '@polkadot/api';51chai.use(chaiAsPromised);50chai.use(chaiAsPromised);52const expect = chai.expect;51const expect = chai.expect;535254let alice: IKeyringPair;53let alice: IKeyringPair;55let bob: IKeyringPair;54let bob: IKeyringPair;56let palletAdmin: IKeyringPair;55let palletAdmin: IKeyringPair;57let nominal: bigint; 56let nominal: bigint;57let promotionStartBlock: number | null = null;585859describe('integration test: AppPromotion', () => {59describe('app-promotions.stake extrinsic', () => {60 before(async function() {60 before(async function() {61 await usingPlaygrounds(async (helper, privateKeyWrapper) => {61 await usingPlaygrounds(async (helper, privateKeyWrapper) => {62 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();62 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();63 alice = privateKeyWrapper('//Alice');63 alice = privateKeyWrapper('//Alice');64 bob = privateKeyWrapper('//Bob');64 bob = privateKeyWrapper('//Bob');65 palletAdmin = privateKeyWrapper('//palletAdmin');65 palletAdmin = privateKeyWrapper('//palletAdmin');66 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));66 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));67 nominal = helper.balance.getOneTokenNominal();67 nominal = helper.balance.getOneTokenNominal();68 await submitTransactionAsync(alice, tx);68 await helper.signTransaction(alice, tx);69 });69 });70 });70 });71 it('will change balance state to "locked", add it to "staked" map, and increase "totalStaked" amount', async () => {71 it('will change balance state to "locked", add it to "staked" map, and increase "totalStaked" amount', async () => {85 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();85 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();86 const staker = await createUser();86 const staker = await createUser();87 87 88 const firstStakedBlock = await helper.chain.getLatestBlockNumber();89 88 90 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;89 90 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(nominal / 2n))).to.be.eventually.rejected;91 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;91 expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);92 expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);92 expect(9n * nominal - await helper.balance.getSubstrate(staker.address) <= nominal / 2n).to.be.true;93 expect(9n * nominal - await helper.balance.getSubstrate(staker.address) <= nominal / 2n).to.be.true;93 expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);94 expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(nominal);94 expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + nominal);95 expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + nominal);95 96 96 await waitNewBlocks(helper.api!, 1);97 await waitNewBlocks(helper.api!, 1);97 const secondStakedBlock = await helper.chain.getLatestBlockNumber();98 98 99 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;99 100 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;100 expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(3n * nominal);101 expect((await helper.api!.rpc.unique.totalStakingLocked(normalizeAccountId(staker))).toBigInt()).to.be.equal(3n * nominal);101 102 102 const stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]);103 const stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]);115 116 116 const staker = await createUser();117 const staker = await createUser();117 118 118 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.rejected;119 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.rejected;119 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(7n * nominal))).to.be.eventually.fulfilled;120 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(7n * nominal))).to.be.eventually.fulfilled;120 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(4n * nominal))).to.be.eventually.rejected;121 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(4n * nominal))).to.be.eventually.rejected;121 122 122 });123 });123 });124 });128129129 // assert: query appPromotion.staked(Alice/Bob/Charlie/Dave) equal [100]130 // assert: query appPromotion.staked(Alice/Bob/Charlie/Dave) equal [100]130 await usingPlaygrounds(async helper => {131 await usingPlaygrounds(async helper => {131 // const userOne = await createUser();132 // const userTwo = await createUser();133 // const userThree = await createUser();134 // const userFour = await createUser();135 const crowd = [];132 const crowd = [];136 for(let i = 4; i--;) crowd.push(await createUser());133 for(let i = 4; i--;) crowd.push(await createUser());137 // const crowd = await creteAccounts([10n, 10n, 10n, 10n], alice, helper);138 // const crowd = [userOne, userTwo, userThree, userFour];139 134 140 135 const promises = crowd.map(async user => helper.signTransaction(user, helper.api!.tx.promotion.stake(nominal)));141 const promises = crowd.map(async user => submitTransactionAsync(user, helper.api!.tx.promotion.stake(nominal)));142 await expect(Promise.all(promises)).to.be.eventually.fulfilled;136 await expect(Promise.all(promises)).to.be.eventually.fulfilled;143 137 144 for (let i = 0; i < crowd.length; i++){138 for (let i = 0; i < crowd.length; i++){156 alice = privateKeyWrapper('//Alice');150 alice = privateKeyWrapper('//Alice');157 bob = privateKeyWrapper('//Bob');151 bob = privateKeyWrapper('//Bob');158 palletAdmin = privateKeyWrapper('//palletAdmin');152 palletAdmin = privateKeyWrapper('//palletAdmin');159 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(palletAdmin.addressRaw));153 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));160 nominal = helper.balance.getOneTokenNominal();154 nominal = helper.balance.getOneTokenNominal();161 await submitTransactionAsync(alice, tx);155 await helper.signTransaction(alice, tx);162 });156 });163 });157 });164 158 174 await usingPlaygrounds(async helper => {168 await usingPlaygrounds(async helper => {175 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();169 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();176 const staker = await createUser();170 const staker = await createUser();177 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(5n * nominal))).to.be.eventually.fulfilled;171 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(5n * nominal))).to.be.eventually.fulfilled;178 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(3n * nominal))).to.be.eventually.fulfilled;172 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(3n * nominal))).to.be.eventually.fulfilled;179 expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal);173 expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal);180 expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(2n * nominal);174 expect((await helper.api!.rpc.unique.totalStaked(normalizeAccountId(staker))).toBigInt()).to.be.equal(2n * nominal);181 expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + 2n * nominal);175 expect((await helper.api!.rpc.unique.totalStaked()).toBigInt()).to.be.equal(totalStakedBefore + 2n * nominal);204 await usingPlaygrounds(async helper => {198 await usingPlaygrounds(async helper => {205 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();199 const totalStakedBefore = (await helper.api!.rpc.unique.totalStaked()).toBigInt();206 const staker = await createUser();200 const staker = await createUser();207 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;201 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;208 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;202 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;209 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.stake(3n * nominal))).to.be.eventually.fulfilled;203 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(3n * nominal))).to.be.eventually.fulfilled;210 let stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());204 let stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());211 expect(stakedPerBlock).to.be.deep.equal([nominal, 2n * nominal, 3n * nominal]);205 expect(stakedPerBlock).to.be.deep.equal([nominal, 2n * nominal, 3n * nominal]);212 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(3n * nominal / 10n))).to.be.eventually.fulfilled;206 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(3n * nominal / 10n))).to.be.eventually.fulfilled;213 expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal / 10n);207 expect((await helper.api!.rpc.unique.pendingUnstake(normalizeAccountId(staker.address))).toBigInt()).to.be.equal(3n * nominal / 10n);214 stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());208 stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());215 209 216 expect(stakedPerBlock).to.be.deep.equal([7n * nominal / 10n, 2n * nominal, 3n * nominal]);210 expect(stakedPerBlock).to.be.deep.equal([7n * nominal / 10n, 2n * nominal, 3n * nominal]);217 211 218 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(17n * nominal / 10n))).to.be.eventually.fulfilled;212 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(17n * nominal / 10n))).to.be.eventually.fulfilled;219 stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());213 stakedPerBlock = (await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());220 expect(stakedPerBlock).to.be.deep.equal([nominal, 3n * nominal]);214 expect(stakedPerBlock).to.be.deep.equal([nominal, 3n * nominal]);221 const unstakedPerBlock = (await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());215 const unstakedPerBlock = (await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt());222 216 223 expect(unstakedPerBlock).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n]);217 expect(unstakedPerBlock).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n]);224 218 225 await waitNewBlocks(helper.api!, 1);219 await waitNewBlocks(helper.api!, 1);226 await expect(submitTransactionAsync(staker, helper.api!.tx.promotion.unstake(4n * nominal))).to.be.eventually.fulfilled;220 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(4n * nominal))).to.be.eventually.fulfilled;227 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([]);221 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([]);228 expect((await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n, 4n * nominal]);222 expect((await helper.api!.rpc.unique.pendingUnstakePerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt())).to.be.deep.equal([3n * nominal / 10n, 17n * nominal / 10n, 4n * nominal]);229 });223 });233227228229230describe('Admin adress', () => {231 before(async function () {232 await usingPlaygrounds(async (helper, privateKeyWrapper) => {233 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();234 alice = privateKeyWrapper('//Alice');235 bob = privateKeyWrapper('//Bob');236 palletAdmin = privateKeyWrapper('//palletAdmin');237 await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());238 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));239 240 await helper.signTransaction(alice, tx);241 242 nominal = helper.balance.getOneTokenNominal();243 });244 });245246 it('can be set by sudo only', async () => {247 // assert: Sudo calls appPromotion.setAdminAddress(Alice) /// Sudo successfully sets Alice as admin248 // assert: Bob calls appPromotion.setAdminAddress(Bob) throws /// Random account can not set admin249 // assert: Alice calls appPromotion.setAdminAddress(Bob) throws /// Admin account can not set admin250 await usingPlaygrounds(async (helper) => {251 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(alice))))).to.be.eventually.fulfilled;252 await expect(helper.signTransaction(bob, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.rejected;253 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.fulfilled;254 });255 256 });257 258 it('can be any valid CrossAccountId', async () => {259 /// We are not going to set an eth address as a sponsor,260 /// but we do want to check, it doesn't break anything;261262 // arrange: Charlie creates Punks263 // arrange: Sudo calls appPromotion.setAdminAddress(0x0...) success264 // arrange: Sudo calls appPromotion.setAdminAddress(Alice) success265 266 // assert: Alice calls appPromotion.sponsorCollection(Punks.id) success267 268 await usingPlaygrounds(async (helper) => {269 270 const ethAcc = {Ethereum: '0x67fb3503a61b284dc83fa96dceec4192db47dc7c'};271 272 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(ethAcc)))).to.be.eventually.fulfilled;273 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin))))).to.be.eventually.fulfilled;274 275 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});276 277 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;278 });279 280 });281282 it('can be reassigned', async () => {283 // arrange: Charlie creates Punks284 // arrange: Sudo calls appPromotion.setAdminAddress(Alice)285 // act: Sudo calls appPromotion.setAdminAddress(Bob)286287 // assert: Alice calls appPromotion.sponsorCollection(Punks.id) throws /// Alice can not set collection sponsor288 // assert: Bob calls appPromotion.sponsorCollection(Punks.id) successful /// Bob can set collection sponsor289290 // act: Sudo calls appPromotion.setAdminAddress(null) successful /// Sudo can set null as a sponsor291 // assert: Bob calls appPromotion.stopSponsoringCollection(Punks.id) throws /// Bob is no longer an admin292 293 await usingPlaygrounds(async (helper) => {294 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});295 296 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(alice))))).to.be.eventually.fulfilled;297 await expect(helper.signTransaction(alice, helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(bob))))).to.be.eventually.fulfilled;298 await expect(helper.signTransaction(alice, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.rejected;299 300 await expect(helper.signTransaction(bob, helper.api!.tx.promotion.sponsorCollection(collection.collectionId))).to.be.eventually.fulfilled;301 });302 303 });304305});306307describe('App-promotion collection sponsoring', () => {308 before(async function () {309 await usingPlaygrounds(async (helper, privateKeyWrapper) => {310 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();311 alice = privateKeyWrapper('//Alice');312 bob = privateKeyWrapper('//Bob');313 palletAdmin = privateKeyWrapper('//palletAdmin');314 await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());315 await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());316 317 318 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));319 await helper.signTransaction(alice, tx);320 321 // const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock));322 // await helper.signTransaction(alice, txStart);323 324 nominal = helper.balance.getOneTokenNominal();325 });326 });327 328 it('can not be set by non admin', async () => {329 330 331 // arrange: Charlie creates Punks332 // arrange: Sudo calls appPromotion.setAdminAddress(Alice)333334 // assert: Random calls appPromotion.sponsorCollection(Punks.id) throws /// Random account can not set sponsoring335 // assert: Alice calls appPromotion.sponsorCollection(Punks.id) success /// Admin account can set sponsoring336 337 await usingPlaygrounds(async (helper) => {338 const colletcion = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});339 340 const collectionId = colletcion.collectionId;341 342 await expect(helper.signTransaction(bob, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.rejected;343 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;344 });345 346 });347348 it('will set pallet address as confirmed admin for collection without sponsor', async () => {349 // arrange: Charlie creates Punks350351 // act: Admin calls appPromotion.sponsorCollection(Punks.id)352353 // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress354 355 await usingPlaygrounds(async (helper) => {356 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});357 const collectionId = collection.collectionId;358359 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;360 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});361 });362 363 });364365 it('will set pallet address as confirmed admin for collection with unconfirmed sponsor', async () => {366 // arrange: Charlie creates Punks367 // arrange: Charlie calls setCollectionSponsor(Punks.Id, Dave) /// Dave is unconfirmed sponsor368369 // act: Admin calls appPromotion.sponsorCollection(Punks.id)370371 // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress372 373 await usingPlaygrounds(async (helper) => {374 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});375 await collection.setSponsor(alice, bob.address);376 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});377 378 const collectionId = collection.collectionId;379 380 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;381 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});382 });383 384 });385386 it('will set pallet address as confirmed admin for collection with confirmed sponsor', async () => {387 // arrange: Charlie creates Punks388 // arrange: setCollectionSponsor(Punks.Id, Dave)389 // arrange: confirmSponsorship(Punks.Id, Dave) /// Dave is confirmed sponsor390391 // act: Admin calls appPromotion.sponsorCollection(Punks.id)392393 // assert: query collectionById: Punks sponsoring is confirmed by PalleteAddress394 395 await usingPlaygrounds(async (helper) => {396 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});397 await collection.setSponsor(alice, bob.address);398 399 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});400 expect(await collection.confirmSponsorship(bob)).to.be.true;401 402 const collectionId = collection.collectionId;403 404 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;405 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});406 });407 });408409 it('can be overwritten by collection owner', async () => {410 // arrange: Charlie creates Punks411 // arrange: appPromotion.sponsorCollection(Punks.Id) /// Sponsor of Punks is pallete412413 // act: Charlie calls unique.setCollectionLimits(limits) /// Charlie as owner can successfully change limits414 // assert: query collectionById(Punks.id) 1. sponsored by pallete, 2. limits has been changed415416 // act: Charlie calls setCollectionSponsor(Dave) /// Collection owner reasignes sponsoring417 // assert: query collectionById: Punks sponsoring is unconfirmed by Dave418 419 await usingPlaygrounds(async (helper) => {420 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});421 const collectionId = collection.collectionId;422 423 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;424 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});425 426 expect(await collection.setLimits(alice, {sponsorTransferTimeout: 0})).to.be.true;427 expect((await collection.getData())?.raw.limits.sponsorTransferTimeout).to.be.equal(0);428 429 expect((await collection.setSponsor(alice, bob.address))).to.be.true;430 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Unconfirmed: bob.address});431 });432 433 });434 435 it('will keep collection limits set by the owner earlier', async () => {436 // arrange: const limits = {...all possible collection limits}437 // arrange: Charlie creates Punks438 // arrange: Charlie calls unique.setCollectionLimits(limits) /// Owner sets all possible limits439440 // act: Admin calls appPromotion.sponsorCollection(Punks.id)441 // assert: query collectionById(Punks.id) returns limits442 443 await usingPlaygrounds(async (helper) => {444 445 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});446 expect(await collection.setLimits(alice, {sponsorTransferTimeout: 0})).to.be.true;447 const limits = (await collection.getData())?.raw.limits;448 449 const collectionId = collection.collectionId;450 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;451 expect((await collection.getData())?.raw.limits).to.be.deep.equal(limits);452 });453 454 });455 456 it('will throw if collection doesn\'t exist', async () => {457 // assert: Admin calls appPromotion.sponsorCollection(999999999999999) throw 458 await usingPlaygrounds(async (helper) => {459 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(999999999))).to.be.eventually.rejected;460 });461 });462463 it('will throw if collection was burnt', async () => {464 // arrange: Charlie creates Punks465 // arrange: Charlie burns Punks466467 // assert: Admin calls appPromotion.sponsorCollection(Punks.id) throw468 469 await usingPlaygrounds(async (helper) => {470 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});471 const collectionId = collection.collectionId;472 473 expect((await collection.burn(alice))).to.be.true;474 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.rejected;475 });476 477 });478});479480481describe('app-promotion stopSponsoringCollection', () => {482 before(async function () {483 await usingPlaygrounds(async (helper, privateKeyWrapper) => {484 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();485 alice = privateKeyWrapper('//Alice');486 bob = privateKeyWrapper('//Bob');487 palletAdmin = privateKeyWrapper('//palletAdmin');488 await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());489 await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());490 491 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));492 await helper.signTransaction(alice, tx);493494 nominal = helper.balance.getOneTokenNominal();495 });496 });497 498 it('can not be called by non-admin', async () => {499 // arrange: Alice creates Punks500 // arrange: appPromotion.sponsorCollection(Punks.Id)501502 // assert: Random calls appPromotion.stopSponsoringCollection(Punks) throws503 // assert: query collectionById(Punks.id): sponsoring confirmed by PalleteAddress504 505 await usingPlaygrounds(async (helper) => {506 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});507 const collectionId = collection.collectionId;508 509 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;510 511 await expect(helper.signTransaction(bob, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;512 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: calculatePalleteAddress('appstake')});513 });514 });515516 it('will set sponsoring as disabled', async () => {517 // arrange: Alice creates Punks518 // arrange: appPromotion.sponsorCollection(Punks.Id)519520 // act: Admin calls appPromotion.stopSponsoringCollection(Punks)521522 // assert: query collectionById(Punks.id): sponsoring unconfirmed523 524 await usingPlaygrounds(async (helper) => {525 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});526 const collectionId = collection.collectionId;527 528 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.sponsorCollection(collectionId))).to.be.eventually.fulfilled;529 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.fulfilled;530 531 expect((await collection.getData())?.raw.sponsorship).to.be.equal('Disabled');532 });533 });534535 it('will not affect collection which is not sponsored by pallete', async () => {536 // arrange: Alice creates Punks537 // arrange: Alice calls setCollectionSponsoring(Punks)538 // arrange: Alice calls confirmSponsorship(Punks)539540 // act: Admin calls appPromotion.stopSponsoringCollection(A)541 // assert: query collectionById(Punks): Sponsoring: {Confirmed: Alice} /// Alice still collection owner542 543 await usingPlaygrounds(async (helper) => {544 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});545 const collectionId = collection.collectionId;546 expect(await collection.setSponsor(alice, alice.address)).to.be.true;547 expect(await collection.confirmSponsorship(alice)).to.be.true;548 549 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;550 551 expect((await collection.getData())?.raw.sponsorship).to.be.deep.equal({Confirmed: alice.address});552 });553 554 });555556 it('will throw if collection does not exist', async () => {557 // arrange: Alice creates Punks558 // arrange: Alice burns Punks559560 // assert: Admin calls appPromotion.stopSponsoringCollection(Punks.id) throws561 // assert: Admin calls appPromotion.stopSponsoringCollection(999999999999999) throw562 563 await usingPlaygrounds(async (helper) => {564 const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New Collection', tokenPrefix: 'Promotion'});565 const collectionId = collection.collectionId;566 567 expect((await collection.burn(alice))).to.be.true;568 await expect(helper.signTransaction(palletAdmin, helper.api!.tx.promotion.stopSponsorignCollection(collectionId))).to.be.eventually.rejected;569 });570 });571});572573describe('app-promotion contract sponsoring', () => {574 it('will set contract sponsoring mode and set palletes address as a sponsor', async () => {575 // arrange: Alice deploys Flipper576 577 // act: Admin calls appPromotion.sponsorContract(Flipper.address)578579 // assert: contract.sponsoringMode = TODO580 // assert: contract.sponsor to be PalleteAddress581 });582583 it('will overwrite sponsoring mode and existed sponsor', async () => {584 // arrange: Alice deploys Flipper585 // arrange: Alice sets self sponsoring for Flipper586587 // act: Admin calls appPromotion.sponsorContract(Flipper.address)588589 // assert: contract.sponsoringMode = TODO590 // assert: contract.sponsor to be PalleteAddress591 });592593 it('can be overwritten by contract owner', async () => {594 // arrange: Alice deploys Flipper595 // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)596597 // act: Alice sets self sponsoring for Flipper598599 // assert: contract.sponsoringMode = Self600 // assert: contract.sponsor to be contract601 });602603 it('can not be set by non admin', async () => {604 // arrange: Alice deploys Flipper605 // arrange: Alice sets self sponsoring for Flipper606607 // assert: Random calls appPromotion.sponsorContract(Flipper.address) throws608 // assert: contract.sponsoringMode = Self609 // assert: contract.sponsor to be contract610 });611612 it('will return unused gas fee to app-promotion pallete', async () => {613 // arrange: Alice deploys Flipper614 // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)615616 // assert: Bob calls Flipper - expect balances deposit event do not appears for Bob /// Unused gas fee returns to contract617 // assert: Bobs balance the same618 });619620 it('will failed for non contract address', async () => {621 // arrange: web3 creates new address - 0x0622623 // assert: Admin calls appPromotion.sponsorContract(0x0) throws624 // assert: Admin calls appPromotion.sponsorContract(Substrate address) throws625 });626627 it('will actually sponsor transactions', async () => {628 // TODO test it because this is a new way of contract sponsoring629 });630});631632describe('app-promotion stopSponsoringContract', () => {633 before(async function () {634 await usingPlaygrounds(async (helper, privateKeyWrapper) => {635 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();636 alice = privateKeyWrapper('//Alice');637 bob = privateKeyWrapper('//Bob');638 palletAdmin = privateKeyWrapper('//palletAdmin');639 await helper.balance.transferToSubstrate(alice, palletAdmin.address, 10n * helper.balance.getOneTokenNominal());640 await helper.balance.transferToSubstrate(alice, calculatePalleteAddress('appstake'), 10n * helper.balance.getOneTokenNominal());641 642 const promotionStartBlock = await helper.chain.getLatestBlockNumber();643 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));644 await helper.signTransaction(alice, tx);645 646 const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock));647 await helper.signTransaction(alice, txStart);648 649 nominal = helper.balance.getOneTokenNominal();650 });651 });652 653 it('will set contract sponsoring mode as disabled', async () => {654 // arrange: Alice deploys Flipper655 // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)656 657 // act: Admin calls appPromotion.stopSponsoringContract(Flipper.address)658 // assert: contract sponsoring mode = TODO659660 // act: Bob calls Flipper661662 // assert: PalleteAddress balance did not change663 // assert: Bobs balance less than before /// Bob payed some fee664 });665666 it('can not be called by non-admin', async () => {667 // arrange: Alice deploys Flipper668 // arrange: Admin calls appPromotion.sponsorContract(Flipper.address)669670 // assert: Random calls appPromotion.stopSponsoringContract(Flipper.address) throws671 // assert: contract sponsor is PallereAddress672 });673674 it('will not affect a contract which is not sponsored by pallete', async () => {675 // arrange: Alice deploys Flipper676 // arrange: Alice sets self sponsoring for Flipper677 678 // act: Admin calls appPromotion.stopSponsoringContract(Flipper.address) throws679680 // assert: contract.sponsoringMode = Self681 // assert: contract.sponsor to be contract682 });683684 it('will failed for non contract address', async () => {685 // arrange: web3 creates new address - 0x0686687 // expect stopSponsoringContract(0x0) throws688 });689});690691describe('app-promotion rewards', () => {692 const DAY = 7200n;693 694 695 before(async function () {696 await usingPlaygrounds(async (helper, privateKeyWrapper) => {697 if (!getModuleNames(helper.api!).includes(Pallets.AppPromotion)) this.skip();698 alice = privateKeyWrapper('//Alice');699 bob = privateKeyWrapper('//Bob');700 palletAdmin = privateKeyWrapper('//palletAdmin');701 if (promotionStartBlock == null) {702 promotionStartBlock = (await helper.api!.query.parachainSystem.lastRelayChainBlockNumber()).toNumber();703 }704 const tx = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.setAdminAddress(normalizeAccountId(palletAdmin)));705 await helper.signTransaction(alice, tx);706 707 const txStart = helper.api!.tx.sudo.sudo(helper.api!.tx.promotion.startAppPromotion(promotionStartBlock!));708 await helper.signTransaction(alice, txStart);709710 nominal = helper.balance.getOneTokenNominal();711 });712 });713 714 it('will credit 0.05% for staking period', async () => {715 // arrange: bob.stake(10000);716 // arrange: bob.stake(20000);717 // arrange: waitForRewards();718719 // assert: bob.staked to equal [10005, 20010]720 721 await usingPlaygrounds(async helper => {722 const staker = await createUser(50n * nominal);723 await waitForRecalculationBlock(helper.api!);724 725 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(1n * nominal))).to.be.eventually.fulfilled;726 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(2n * nominal))).to.be.eventually.fulfilled;727 await waitForRelayBlock(helper.api!, 36);728 729 730 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))731 .map(([_, amount]) => amount.toBigInt()))732 .to.be.deep.equal([calculateIncome(nominal, 10n), calculateIncome(2n * nominal, 10n)]);733 });734 735 });736 737 it('will not be credited for unstaked (reserved) balance', async () => {738 // arrange: bob.stake(10000);739 // arrange: bob.unstake(5000);740 // arrange: waitForRewards();741742 // assert: bob.staked to equal [5002.5]743 await usingPlaygrounds(async helper => {744 const staker = await createUser(20n * nominal);745 await waitForRecalculationBlock(helper.api!);746 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;747 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(5n * nominal))).to.be.eventually.fulfilled;748 await waitForRelayBlock(helper.api!, 38);749750 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))751 .map(([_, amount]) => amount.toBigInt()))752 .to.be.deep.equal([calculateIncome(5n * nominal, 10n)]);753 754 });755 756 });757 758 it('will bring compound interest', async () => {759 // arrange: bob balance = 30000760 // arrange: bob.stake(10000);761 // arrange: bob.stake(10000);762 // arrange: waitForRewards();763764 // assert: bob.staked() equal [10005, 10005, 10005] /// 10_000 * 1.0005765 // act: waitForRewards();766767 // assert: bob.staked() equal [10010.0025, 10010.0025, 10010.0025] /// 10_005 * 1.0005768 // act: bob.unstake(10.0025)769 // assert: bob.staked() equal [10000, 10010.0025, 10010.0025] /// 10_005 * 1.0005770771 // act: waitForRewards();772 // assert: bob.staked() equal [10005, 10015,00750125, 10015,00750125] ///773 await usingPlaygrounds(async helper => {774 const staker = await createUser(40n * nominal);775 776 await waitForRecalculationBlock(helper.api!);777 // const foo = await helper.api!.registry.getChainProperties().778779 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;780 // await waitNewBlocks(helper.api!, 1);781 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;782 // await waitNewBlocks(helper.api!, 1);783 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.stake(10n * nominal))).to.be.eventually.fulfilled;784 // console.log(await helper.balance.getSubstrate(staker.address));785 // await waitNewBlocks(helper.api!, 17);786 await waitForRelayBlock(helper.api!, 34);787 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))788 .map(([_, amount]) => amount.toBigInt()))789 .to.be.deep.equal([calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n), calculateIncome(10n * nominal, 10n)]);790 791 // console.log(await getBlockNumber(helper.api!));792 // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([block, amount]) => [block.toBigInt(), amount.toBigInt()]));793 // console.log(`${calculateIncome(10n * nominal, 10n)} || ${calculateIncome(10n * nominal, 10n, 2)}`);794 // await waitNewBlocks(helper.api!, 10);795 await waitForRelayBlock(helper.api!, 20);796 // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));797 // console.log(await helper.balance.getSubstrate(staker.address));798 await expect(helper.signTransaction(staker, helper.api!.tx.promotion.unstake(calculateIncome(10n * nominal, 10n, 2) - 10n * nominal))).to.be.eventually.fulfilled;799 // console.log(calculateIncome(10n * nominal, 10n, 2));800 // console.log(calculateIncome(10n * nominal, 10n, 3));801 // console.log(calculateIncome(10n * nominal, 10n, 4));802 // console.log(calculateIncome(10n * nominal, 10n, 5));803 expect((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker)))804 .map(([_, amount]) => amount.toBigInt()))805 .to.be.deep.equal([10n * nominal, calculateIncome(10n * nominal, 10n, 2), calculateIncome(10n * nominal, 10n, 2)]);806 807 // console.log((await helper.api!.rpc.unique.totalStakedPerBlock(normalizeAccountId(staker))).map(([_, amount]) => amount.toBigInt()));808 809 // console.log(await helper.balance.getSubstrate(staker.address));810 });811 812 });813});814815816function waitForRecalculationBlock(api: ApiPromise): Promise<void> {817 return new Promise<void>(async (resolve, reject) => {818 const unsubscribe = await api.query.system.events((events) => {819 820 events.forEach((record) => {821 822 const {event, phase} = record;823 const types = event.typeDef;824 825 if (event.section === 'promotion' && event.method === 'StakingRecalculation') {826 unsubscribe();827 resolve();828 }829 });830 });831 });832}833834async function waitForRelayBlock(api: ApiPromise, blocks = 1): Promise<void> {835 const current_block = (await api.query.parachainSystem.lastRelayChainBlockNumber()).toNumber();836 return new Promise<void>(async (resolve, reject) => {837 const unsubscribe = await api.query.parachainSystem.validationData(async (data) => {838 // console.log(`${current_block} || ${data.value.relayParentNumber.toNumber()}`);839 if (data.value.relayParentNumber.toNumber() - current_block >= blocks) {840 unsubscribe();841 resolve();842 }843 });844 });845 846}847848849function calculatePalleteAddress(palletId: any) {850 const address = stringToU8a(('modl' + palletId).padEnd(32, '\0'));851 return encodeAddress(address);852}853function calculateIncome(base: bigint, calcPeriod: bigint, iter = 0): bigint {854 const DAY = 7200n;855 const ACCURACY = 1_000_000_000n;856 const income = base + base * (ACCURACY * (calcPeriod * 5n) / (10_000n * DAY)) / ACCURACY ;857 858 if (iter > 1) {859 return calculateIncome(income, calcPeriod, iter - 1);860 } else return income;861}234862235async function createUser(amount?: bigint) {863async function createUser(amount?: bigint) {236 return await usingPlaygrounds(async (helper, privateKeyWrapper) => {864 return await usingPlaygrounds(async helper => {237 const user: IKeyringPair = privateKeyWrapper(`//Alice+${(new Date()).getTime()}`);865 const user: IKeyringPair = helper.util.fromSeed(mnemonicGenerate());238 await helper.balance.transferToSubstrate(alice, user.address, amount ? amount : 10n * helper.balance.getOneTokenNominal());866 await helper.balance.transferToSubstrate(alice, user.address, amount ? amount : 10n * helper.balance.getOneTokenNominal());239 return user;867 return user;240 });868 });tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth8import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';8import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';9import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec } from '@polkadot/types-codec/types';10import type { Codec } from '@polkadot/types-codec/types';11import type { Permill } from '@polkadot/types/interfaces/runtime';11import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';12import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';131314export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;14export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;66 **/66 **/67 [key: string]: Codec;67 [key: string]: Codec;68 };68 };69 promotion: {70 /**71 * In chain blocks.72 **/73 day: u32 & AugmentedConst<ApiType>;74 intervalIncome: Perbill & AugmentedConst<ApiType>;75 nominal: u128 & AugmentedConst<ApiType>;76 /**77 * The app's pallet id, used for deriving its sovereign account ID.78 **/79 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;80 /**81 * In chain blocks.82 **/83 pendingInterval: u32 & AugmentedConst<ApiType>;84 /**85 * In relay blocks.86 **/87 recalculationInterval: u32 & AugmentedConst<ApiType>;88 /**89 * Generic const90 **/91 [key: string]: Codec;92 };69 scheduler: {93 scheduler: {70 /**94 /**71 * The maximum weight that may be scheduled per block for any dispatchables of less95 * The maximum weight that may be scheduled per block for any dispatchables of lesstests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth425 **/425 **/426 [key: string]: AugmentedError<ApiType>;426 [key: string]: AugmentedError<ApiType>;427 };427 };428 promotion: {429 AdminNotSet: AugmentedError<ApiType>;430 AlreadySponsored: AugmentedError<ApiType>;431 InvalidArgument: AugmentedError<ApiType>;432 /**433 * No permission to perform action434 **/435 NoPermission: AugmentedError<ApiType>;436 /**437 * Insufficient funds to perform an action438 **/439 NotSufficientFounds: AugmentedError<ApiType>;440 /**441 * Generic error442 **/443 [key: string]: AugmentedError<ApiType>;444 };428 refungible: {445 refungible: {429 /**446 /**430 * Not Refungible item data used to mint in Refungible collection.447 * Not Refungible item data used to mint in Refungible collection.tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth360 **/360 **/361 [key: string]: AugmentedEvent<ApiType>;361 [key: string]: AugmentedEvent<ApiType>;362 };362 };363 promotion: {364 StakingRecalculation: AugmentedEvent<ApiType, [u128, u128]>;365 /**366 * Generic event367 **/368 [key: string]: AugmentedEvent<ApiType>;369 };363 rmrkCore: {370 rmrkCore: {364 CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;371 CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;365 CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;372 CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth363 [key: string]: SubmittableExtrinsicFunction<ApiType>;363 [key: string]: SubmittableExtrinsicFunction<ApiType>;364 };364 };365 promotion: {365 promotion: {366 setAdminAddress: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;366 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;367 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;367 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;368 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;368 startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;369 startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;370 stopSponsorignCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;369 unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;371 unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;370 /**372 /**371 * Generic tx373 * Generic txtests/src/interfaces/augment-types.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';9import type { Data, StorageKey } from '@polkadot/types';9import type { Data, StorageKey } from '@polkadot/types';10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';10import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';805 PageCounter: PageCounter;805 PageCounter: PageCounter;806 PageIndexData: PageIndexData;806 PageIndexData: PageIndexData;807 PalletAppPromotionCall: PalletAppPromotionCall;807 PalletAppPromotionCall: PalletAppPromotionCall;808 PalletAppPromotionError: PalletAppPromotionError;809 PalletAppPromotionEvent: PalletAppPromotionEvent;808 PalletBalancesAccountData: PalletBalancesAccountData;810 PalletBalancesAccountData: PalletBalancesAccountData;809 PalletBalancesBalanceLock: PalletBalancesBalanceLock;811 PalletBalancesBalanceLock: PalletBalancesBalanceLock;810 PalletBalancesCall: PalletBalancesCall;812 PalletBalancesCall: PalletBalancesCall;tests/src/interfaces/default/types.tsdiffbeforeafterboth810export interface PalletAppPromotionCall extends Enum {810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {812 readonly asSetAdminAddress: {813 readonly admin: AccountId32;813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;814 } & Struct;815 readonly isStartAppPromotion: boolean;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: u32;817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;818 } & Struct;819 readonly isStake: boolean;819 readonly isStake: boolean;820 readonly asStake: {820 readonly asStake: {824 readonly asUnstake: {824 readonly asUnstake: {825 readonly amount: u128;825 readonly amount: u128;826 } & Struct;826 } & Struct;827 readonly isSponsorCollection: boolean;828 readonly asSponsorCollection: {829 readonly collectionId: u32;830 } & Struct;831 readonly isStopSponsorignCollection: boolean;832 readonly asStopSponsorignCollection: {833 readonly collectionId: u32;834 } & Struct;827 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';835 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';828}836}837838/** @name PalletAppPromotionError */839export interface PalletAppPromotionError extends Enum {840 readonly isAdminNotSet: boolean;841 readonly isNoPermission: boolean;842 readonly isNotSufficientFounds: boolean;843 readonly isInvalidArgument: boolean;844 readonly isAlreadySponsored: boolean;845 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';846}847848/** @name PalletAppPromotionEvent */849export interface PalletAppPromotionEvent extends Enum {850 readonly isStakingRecalculation: boolean;851 readonly asStakingRecalculation: ITuple<[u128, u128]>;852 readonly type: 'StakingRecalculation';853}829854830/** @name PalletBalancesAccountData */855/** @name PalletBalancesAccountData */831export interface PalletBalancesAccountData extends Struct {856export interface PalletBalancesAccountData extends Struct {tests/src/interfaces/lookup.tsdiffbeforeafterboth1056 }1056 }1057 }1057 }1058 },1058 },1059 /**1060 * Lookup103: pallet_app_promotion::pallet::Event<T>1061 **/1062 PalletAppPromotionEvent: {1063 _enum: {1064 StakingRecalculation: '(u128,u128)'1065 }1066 },1059 /**1067 /**1060 * Lookup103: pallet_evm::pallet::Event<T>1068 * Lookup104: pallet_evm::pallet::Event<T>1061 **/1069 **/1062 PalletEvmEvent: {1070 PalletEvmEvent: {1063 _enum: {1071 _enum: {1064 Log: 'EthereumLog',1072 Log: 'EthereumLog',1070 BalanceWithdraw: '(AccountId32,H160,U256)'1078 BalanceWithdraw: '(AccountId32,H160,U256)'1071 }1079 }1072 },1080 },1073 /**1081 /**1074 * Lookup104: ethereum::log::Log1082 * Lookup105: ethereum::log::Log1075 **/1083 **/1076 EthereumLog: {1084 EthereumLog: {1077 address: 'H160',1085 address: 'H160',1078 topics: 'Vec<H256>',1086 topics: 'Vec<H256>',1079 data: 'Bytes'1087 data: 'Bytes'1080 },1088 },1081 /**1089 /**1082 * Lookup108: pallet_ethereum::pallet::Event1090 * Lookup109: pallet_ethereum::pallet::Event1083 **/1091 **/1084 PalletEthereumEvent: {1092 PalletEthereumEvent: {1085 _enum: {1093 _enum: {1086 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1094 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1087 }1095 }1088 },1096 },1089 /**1097 /**1090 * Lookup109: evm_core::error::ExitReason1098 * Lookup110: evm_core::error::ExitReason1091 **/1099 **/1092 EvmCoreErrorExitReason: {1100 EvmCoreErrorExitReason: {1093 _enum: {1101 _enum: {1094 Succeed: 'EvmCoreErrorExitSucceed',1102 Succeed: 'EvmCoreErrorExitSucceed',1097 Fatal: 'EvmCoreErrorExitFatal'1105 Fatal: 'EvmCoreErrorExitFatal'1098 }1106 }1099 },1107 },1100 /**1108 /**1101 * Lookup110: evm_core::error::ExitSucceed1109 * Lookup111: evm_core::error::ExitSucceed1102 **/1110 **/1103 EvmCoreErrorExitSucceed: {1111 EvmCoreErrorExitSucceed: {1104 _enum: ['Stopped', 'Returned', 'Suicided']1112 _enum: ['Stopped', 'Returned', 'Suicided']1105 },1113 },1106 /**1114 /**1107 * Lookup111: evm_core::error::ExitError1115 * Lookup112: evm_core::error::ExitError1108 **/1116 **/1109 EvmCoreErrorExitError: {1117 EvmCoreErrorExitError: {1110 _enum: {1118 _enum: {1111 StackUnderflow: 'Null',1119 StackUnderflow: 'Null',1125 InvalidCode: 'Null'1133 InvalidCode: 'Null'1126 }1134 }1127 },1135 },1128 /**1136 /**1129 * Lookup114: evm_core::error::ExitRevert1137 * Lookup115: evm_core::error::ExitRevert1130 **/1138 **/1131 EvmCoreErrorExitRevert: {1139 EvmCoreErrorExitRevert: {1132 _enum: ['Reverted']1140 _enum: ['Reverted']1133 },1141 },1134 /**1142 /**1135 * Lookup115: evm_core::error::ExitFatal1143 * Lookup116: evm_core::error::ExitFatal1136 **/1144 **/1137 EvmCoreErrorExitFatal: {1145 EvmCoreErrorExitFatal: {1138 _enum: {1146 _enum: {1139 NotSupported: 'Null',1147 NotSupported: 'Null',1142 Other: 'Text'1150 Other: 'Text'1143 }1151 }1144 },1152 },1145 /**1153 /**1146 * Lookup116: frame_system::Phase1154 * Lookup117: frame_system::Phase1147 **/1155 **/1148 FrameSystemPhase: {1156 FrameSystemPhase: {1149 _enum: {1157 _enum: {1150 ApplyExtrinsic: 'u32',1158 ApplyExtrinsic: 'u32',1151 Finalization: 'Null',1159 Finalization: 'Null',1152 Initialization: 'Null'1160 Initialization: 'Null'1153 }1161 }1154 },1162 },1155 /**1163 /**1156 * Lookup118: frame_system::LastRuntimeUpgradeInfo1164 * Lookup119: frame_system::LastRuntimeUpgradeInfo1157 **/1165 **/1158 FrameSystemLastRuntimeUpgradeInfo: {1166 FrameSystemLastRuntimeUpgradeInfo: {1159 specVersion: 'Compact<u32>',1167 specVersion: 'Compact<u32>',1160 specName: 'Text'1168 specName: 'Text'1161 },1169 },1162 /**1170 /**1163 * Lookup119: frame_system::pallet::Call<T>1171 * Lookup120: frame_system::pallet::Call<T>1164 **/1172 **/1165 FrameSystemCall: {1173 FrameSystemCall: {1166 _enum: {1174 _enum: {1167 fill_block: {1175 fill_block: {1197 }1205 }1198 }1206 }1199 },1207 },1200 /**1208 /**1201 * Lookup124: frame_system::limits::BlockWeights1209 * Lookup125: frame_system::limits::BlockWeights1202 **/1210 **/1203 FrameSystemLimitsBlockWeights: {1211 FrameSystemLimitsBlockWeights: {1204 baseBlock: 'u64',1212 baseBlock: 'u64',1205 maxBlock: 'u64',1213 maxBlock: 'u64',1206 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1214 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1207 },1215 },1208 /**1216 /**1209 * Lookup125: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1217 * Lookup126: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1210 **/1218 **/1211 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1219 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1212 normal: 'FrameSystemLimitsWeightsPerClass',1220 normal: 'FrameSystemLimitsWeightsPerClass',1213 operational: 'FrameSystemLimitsWeightsPerClass',1221 operational: 'FrameSystemLimitsWeightsPerClass',1214 mandatory: 'FrameSystemLimitsWeightsPerClass'1222 mandatory: 'FrameSystemLimitsWeightsPerClass'1215 },1223 },1216 /**1224 /**1217 * Lookup126: frame_system::limits::WeightsPerClass1225 * Lookup127: frame_system::limits::WeightsPerClass1218 **/1226 **/1219 FrameSystemLimitsWeightsPerClass: {1227 FrameSystemLimitsWeightsPerClass: {1220 baseExtrinsic: 'u64',1228 baseExtrinsic: 'u64',1221 maxExtrinsic: 'Option<u64>',1229 maxExtrinsic: 'Option<u64>',1222 maxTotal: 'Option<u64>',1230 maxTotal: 'Option<u64>',1223 reserved: 'Option<u64>'1231 reserved: 'Option<u64>'1224 },1232 },1225 /**1233 /**1226 * Lookup128: frame_system::limits::BlockLength1234 * Lookup129: frame_system::limits::BlockLength1227 **/1235 **/1228 FrameSystemLimitsBlockLength: {1236 FrameSystemLimitsBlockLength: {1229 max: 'FrameSupportWeightsPerDispatchClassU32'1237 max: 'FrameSupportWeightsPerDispatchClassU32'1230 },1238 },1231 /**1239 /**1232 * Lookup129: frame_support::weights::PerDispatchClass<T>1240 * Lookup130: frame_support::weights::PerDispatchClass<T>1233 **/1241 **/1234 FrameSupportWeightsPerDispatchClassU32: {1242 FrameSupportWeightsPerDispatchClassU32: {1235 normal: 'u32',1243 normal: 'u32',1236 operational: 'u32',1244 operational: 'u32',1237 mandatory: 'u32'1245 mandatory: 'u32'1238 },1246 },1239 /**1247 /**1240 * Lookup130: frame_support::weights::RuntimeDbWeight1248 * Lookup131: frame_support::weights::RuntimeDbWeight1241 **/1249 **/1242 FrameSupportWeightsRuntimeDbWeight: {1250 FrameSupportWeightsRuntimeDbWeight: {1243 read: 'u64',1251 read: 'u64',1244 write: 'u64'1252 write: 'u64'1245 },1253 },1246 /**1254 /**1247 * Lookup131: sp_version::RuntimeVersion1255 * Lookup132: sp_version::RuntimeVersion1248 **/1256 **/1249 SpVersionRuntimeVersion: {1257 SpVersionRuntimeVersion: {1250 specName: 'Text',1258 specName: 'Text',1251 implName: 'Text',1259 implName: 'Text',1256 transactionVersion: 'u32',1264 transactionVersion: 'u32',1257 stateVersion: 'u8'1265 stateVersion: 'u8'1258 },1266 },1259 /**1267 /**1260 * Lookup136: frame_system::pallet::Error<T>1268 * Lookup137: frame_system::pallet::Error<T>1261 **/1269 **/1262 FrameSystemError: {1270 FrameSystemError: {1263 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1271 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1264 },1272 },1265 /**1273 /**1266 * Lookup137: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1274 * Lookup138: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1267 **/1275 **/1268 PolkadotPrimitivesV2PersistedValidationData: {1276 PolkadotPrimitivesV2PersistedValidationData: {1269 parentHead: 'Bytes',1277 parentHead: 'Bytes',1270 relayParentNumber: 'u32',1278 relayParentNumber: 'u32',1271 relayParentStorageRoot: 'H256',1279 relayParentStorageRoot: 'H256',1272 maxPovSize: 'u32'1280 maxPovSize: 'u32'1273 },1281 },1274 /**1282 /**1275 * Lookup140: polkadot_primitives::v2::UpgradeRestriction1283 * Lookup141: polkadot_primitives::v2::UpgradeRestriction1276 **/1284 **/1277 PolkadotPrimitivesV2UpgradeRestriction: {1285 PolkadotPrimitivesV2UpgradeRestriction: {1278 _enum: ['Present']1286 _enum: ['Present']1279 },1287 },1280 /**1288 /**1281 * Lookup141: sp_trie::storage_proof::StorageProof1289 * Lookup142: sp_trie::storage_proof::StorageProof1282 **/1290 **/1283 SpTrieStorageProof: {1291 SpTrieStorageProof: {1284 trieNodes: 'BTreeSet<Bytes>'1292 trieNodes: 'BTreeSet<Bytes>'1285 },1293 },1286 /**1294 /**1287 * Lookup143: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1295 * Lookup144: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1288 **/1296 **/1289 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1297 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1290 dmqMqcHead: 'H256',1298 dmqMqcHead: 'H256',1291 relayDispatchQueueSize: '(u32,u32)',1299 relayDispatchQueueSize: '(u32,u32)',1292 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1300 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1293 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1301 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1294 },1302 },1295 /**1303 /**1296 * Lookup146: polkadot_primitives::v2::AbridgedHrmpChannel1304 * Lookup147: polkadot_primitives::v2::AbridgedHrmpChannel1297 **/1305 **/1298 PolkadotPrimitivesV2AbridgedHrmpChannel: {1306 PolkadotPrimitivesV2AbridgedHrmpChannel: {1299 maxCapacity: 'u32',1307 maxCapacity: 'u32',1300 maxTotalSize: 'u32',1308 maxTotalSize: 'u32',1303 totalSize: 'u32',1311 totalSize: 'u32',1304 mqcHead: 'Option<H256>'1312 mqcHead: 'Option<H256>'1305 },1313 },1306 /**1314 /**1307 * Lookup147: polkadot_primitives::v2::AbridgedHostConfiguration1315 * Lookup148: polkadot_primitives::v2::AbridgedHostConfiguration1308 **/1316 **/1309 PolkadotPrimitivesV2AbridgedHostConfiguration: {1317 PolkadotPrimitivesV2AbridgedHostConfiguration: {1310 maxCodeSize: 'u32',1318 maxCodeSize: 'u32',1311 maxHeadDataSize: 'u32',1319 maxHeadDataSize: 'u32',1317 validationUpgradeCooldown: 'u32',1325 validationUpgradeCooldown: 'u32',1318 validationUpgradeDelay: 'u32'1326 validationUpgradeDelay: 'u32'1319 },1327 },1320 /**1328 /**1321 * Lookup153: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1329 * Lookup154: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1322 **/1330 **/1323 PolkadotCorePrimitivesOutboundHrmpMessage: {1331 PolkadotCorePrimitivesOutboundHrmpMessage: {1324 recipient: 'u32',1332 recipient: 'u32',1325 data: 'Bytes'1333 data: 'Bytes'1326 },1334 },1327 /**1335 /**1328 * Lookup154: cumulus_pallet_parachain_system::pallet::Call<T>1336 * Lookup155: cumulus_pallet_parachain_system::pallet::Call<T>1329 **/1337 **/1330 CumulusPalletParachainSystemCall: {1338 CumulusPalletParachainSystemCall: {1331 _enum: {1339 _enum: {1332 set_validation_data: {1340 set_validation_data: {1343 }1351 }1344 }1352 }1345 },1353 },1346 /**1354 /**1347 * Lookup155: cumulus_primitives_parachain_inherent::ParachainInherentData1355 * Lookup156: cumulus_primitives_parachain_inherent::ParachainInherentData1348 **/1356 **/1349 CumulusPrimitivesParachainInherentParachainInherentData: {1357 CumulusPrimitivesParachainInherentParachainInherentData: {1350 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1358 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1351 relayChainState: 'SpTrieStorageProof',1359 relayChainState: 'SpTrieStorageProof',1352 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1360 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1353 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1361 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1354 },1362 },1355 /**1363 /**1356 * Lookup157: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1364 * Lookup158: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1357 **/1365 **/1358 PolkadotCorePrimitivesInboundDownwardMessage: {1366 PolkadotCorePrimitivesInboundDownwardMessage: {1359 sentAt: 'u32',1367 sentAt: 'u32',1360 msg: 'Bytes'1368 msg: 'Bytes'1361 },1369 },1362 /**1370 /**1363 * Lookup160: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1371 * Lookup161: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1364 **/1372 **/1365 PolkadotCorePrimitivesInboundHrmpMessage: {1373 PolkadotCorePrimitivesInboundHrmpMessage: {1366 sentAt: 'u32',1374 sentAt: 'u32',1367 data: 'Bytes'1375 data: 'Bytes'1368 },1376 },1369 /**1377 /**1370 * Lookup163: cumulus_pallet_parachain_system::pallet::Error<T>1378 * Lookup164: cumulus_pallet_parachain_system::pallet::Error<T>1371 **/1379 **/1372 CumulusPalletParachainSystemError: {1380 CumulusPalletParachainSystemError: {1373 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1381 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1374 },1382 },1375 /**1383 /**1376 * Lookup165: pallet_balances::BalanceLock<Balance>1384 * Lookup166: pallet_balances::BalanceLock<Balance>1377 **/1385 **/1378 PalletBalancesBalanceLock: {1386 PalletBalancesBalanceLock: {1379 id: '[u8;8]',1387 id: '[u8;8]',1380 amount: 'u128',1388 amount: 'u128',1381 reasons: 'PalletBalancesReasons'1389 reasons: 'PalletBalancesReasons'1382 },1390 },1383 /**1391 /**1384 * Lookup166: pallet_balances::Reasons1392 * Lookup167: pallet_balances::Reasons1385 **/1393 **/1386 PalletBalancesReasons: {1394 PalletBalancesReasons: {1387 _enum: ['Fee', 'Misc', 'All']1395 _enum: ['Fee', 'Misc', 'All']1388 },1396 },1389 /**1397 /**1390 * Lookup169: pallet_balances::ReserveData<ReserveIdentifier, Balance>1398 * Lookup170: pallet_balances::ReserveData<ReserveIdentifier, Balance>1391 **/1399 **/1392 PalletBalancesReserveData: {1400 PalletBalancesReserveData: {1393 id: '[u8;16]',1401 id: '[u8;16]',1394 amount: 'u128'1402 amount: 'u128'1395 },1403 },1396 /**1404 /**1397 * Lookup171: pallet_balances::Releases1405 * Lookup172: pallet_balances::Releases1398 **/1406 **/1399 PalletBalancesReleases: {1407 PalletBalancesReleases: {1400 _enum: ['V1_0_0', 'V2_0_0']1408 _enum: ['V1_0_0', 'V2_0_0']1401 },1409 },1402 /**1410 /**1403 * Lookup172: pallet_balances::pallet::Call<T, I>1411 * Lookup173: pallet_balances::pallet::Call<T, I>1404 **/1412 **/1405 PalletBalancesCall: {1413 PalletBalancesCall: {1406 _enum: {1414 _enum: {1407 transfer: {1415 transfer: {1432 }1440 }1433 }1441 }1434 },1442 },1435 /**1443 /**1436 * Lookup175: pallet_balances::pallet::Error<T, I>1444 * Lookup176: pallet_balances::pallet::Error<T, I>1437 **/1445 **/1438 PalletBalancesError: {1446 PalletBalancesError: {1439 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1447 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1440 },1448 },1441 /**1449 /**1442 * Lookup177: pallet_timestamp::pallet::Call<T>1450 * Lookup178: pallet_timestamp::pallet::Call<T>1443 **/1451 **/1444 PalletTimestampCall: {1452 PalletTimestampCall: {1445 _enum: {1453 _enum: {1446 set: {1454 set: {1447 now: 'Compact<u64>'1455 now: 'Compact<u64>'1448 }1456 }1449 }1457 }1450 },1458 },1451 /**1459 /**1452 * Lookup179: pallet_transaction_payment::Releases1460 * Lookup180: pallet_transaction_payment::Releases1453 **/1461 **/1454 PalletTransactionPaymentReleases: {1462 PalletTransactionPaymentReleases: {1455 _enum: ['V1Ancient', 'V2']1463 _enum: ['V1Ancient', 'V2']1456 },1464 },1457 /**1465 /**1458 * Lookup180: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1466 * Lookup181: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1459 **/1467 **/1460 PalletTreasuryProposal: {1468 PalletTreasuryProposal: {1461 proposer: 'AccountId32',1469 proposer: 'AccountId32',1462 value: 'u128',1470 value: 'u128',1463 beneficiary: 'AccountId32',1471 beneficiary: 'AccountId32',1464 bond: 'u128'1472 bond: 'u128'1465 },1473 },1466 /**1474 /**1467 * Lookup183: pallet_treasury::pallet::Call<T, I>1475 * Lookup184: pallet_treasury::pallet::Call<T, I>1468 **/1476 **/1469 PalletTreasuryCall: {1477 PalletTreasuryCall: {1470 _enum: {1478 _enum: {1471 propose_spend: {1479 propose_spend: {1487 }1495 }1488 }1496 }1489 },1497 },1490 /**1498 /**1491 * Lookup186: frame_support::PalletId1499 * Lookup187: frame_support::PalletId1492 **/1500 **/1493 FrameSupportPalletId: '[u8;8]',1501 FrameSupportPalletId: '[u8;8]',1494 /**1502 /**1495 * Lookup187: pallet_treasury::pallet::Error<T, I>1503 * Lookup188: pallet_treasury::pallet::Error<T, I>1496 **/1504 **/1497 PalletTreasuryError: {1505 PalletTreasuryError: {1498 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1506 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1499 },1507 },1500 /**1508 /**1501 * Lookup188: pallet_sudo::pallet::Call<T>1509 * Lookup189: pallet_sudo::pallet::Call<T>1502 **/1510 **/1503 PalletSudoCall: {1511 PalletSudoCall: {1504 _enum: {1512 _enum: {1505 sudo: {1513 sudo: {1521 }1529 }1522 }1530 }1523 },1531 },1524 /**1532 /**1525 * Lookup190: orml_vesting::module::Call<T>1533 * Lookup191: orml_vesting::module::Call<T>1526 **/1534 **/1527 OrmlVestingModuleCall: {1535 OrmlVestingModuleCall: {1528 _enum: {1536 _enum: {1529 claim: 'Null',1537 claim: 'Null',1540 }1548 }1541 }1549 }1542 },1550 },1543 /**1551 /**1544 * Lookup192: cumulus_pallet_xcmp_queue::pallet::Call<T>1552 * Lookup193: cumulus_pallet_xcmp_queue::pallet::Call<T>1545 **/1553 **/1546 CumulusPalletXcmpQueueCall: {1554 CumulusPalletXcmpQueueCall: {1547 _enum: {1555 _enum: {1548 service_overweight: {1556 service_overweight: {1589 }1597 }1590 }1598 }1591 },1599 },1592 /**1600 /**1593 * Lookup193: pallet_xcm::pallet::Call<T>1601 * Lookup194: pallet_xcm::pallet::Call<T>1594 **/1602 **/1595 PalletXcmCall: {1603 PalletXcmCall: {1596 _enum: {1604 _enum: {1597 send: {1605 send: {1643 }1651 }1644 }1652 }1645 },1653 },1646 /**1654 /**1647 * Lookup194: xcm::VersionedXcm<Call>1655 * Lookup195: xcm::VersionedXcm<Call>1648 **/1656 **/1649 XcmVersionedXcm: {1657 XcmVersionedXcm: {1650 _enum: {1658 _enum: {1651 V0: 'XcmV0Xcm',1659 V0: 'XcmV0Xcm',1652 V1: 'XcmV1Xcm',1660 V1: 'XcmV1Xcm',1653 V2: 'XcmV2Xcm'1661 V2: 'XcmV2Xcm'1654 }1662 }1655 },1663 },1656 /**1664 /**1657 * Lookup195: xcm::v0::Xcm<Call>1665 * Lookup196: xcm::v0::Xcm<Call>1658 **/1666 **/1659 XcmV0Xcm: {1667 XcmV0Xcm: {1660 _enum: {1668 _enum: {1661 WithdrawAsset: {1669 WithdrawAsset: {1707 }1715 }1708 }1716 }1709 },1717 },1710 /**1718 /**1711 * Lookup197: xcm::v0::order::Order<Call>1719 * Lookup198: xcm::v0::order::Order<Call>1712 **/1720 **/1713 XcmV0Order: {1721 XcmV0Order: {1714 _enum: {1722 _enum: {1715 Null: 'Null',1723 Null: 'Null',1750 }1758 }1751 }1759 }1752 },1760 },1753 /**1761 /**1754 * Lookup199: xcm::v0::Response1762 * Lookup200: xcm::v0::Response1755 **/1763 **/1756 XcmV0Response: {1764 XcmV0Response: {1757 _enum: {1765 _enum: {1758 Assets: 'Vec<XcmV0MultiAsset>'1766 Assets: 'Vec<XcmV0MultiAsset>'1759 }1767 }1760 },1768 },1761 /**1769 /**1762 * Lookup200: xcm::v1::Xcm<Call>1770 * Lookup201: xcm::v1::Xcm<Call>1763 **/1771 **/1764 XcmV1Xcm: {1772 XcmV1Xcm: {1765 _enum: {1773 _enum: {1766 WithdrawAsset: {1774 WithdrawAsset: {1817 UnsubscribeVersion: 'Null'1825 UnsubscribeVersion: 'Null'1818 }1826 }1819 },1827 },1820 /**1828 /**1821 * Lookup202: xcm::v1::order::Order<Call>1829 * Lookup203: xcm::v1::order::Order<Call>1822 **/1830 **/1823 XcmV1Order: {1831 XcmV1Order: {1824 _enum: {1832 _enum: {1825 Noop: 'Null',1833 Noop: 'Null',1862 }1870 }1863 }1871 }1864 },1872 },1865 /**1873 /**1866 * Lookup204: xcm::v1::Response1874 * Lookup205: xcm::v1::Response1867 **/1875 **/1868 XcmV1Response: {1876 XcmV1Response: {1869 _enum: {1877 _enum: {1870 Assets: 'XcmV1MultiassetMultiAssets',1878 Assets: 'XcmV1MultiassetMultiAssets',1871 Version: 'u32'1879 Version: 'u32'1872 }1880 }1873 },1881 },1874 /**1882 /**1875 * Lookup218: cumulus_pallet_xcm::pallet::Call<T>1883 * Lookup219: cumulus_pallet_xcm::pallet::Call<T>1876 **/1884 **/1877 CumulusPalletXcmCall: 'Null',1885 CumulusPalletXcmCall: 'Null',1878 /**1886 /**1879 * Lookup219: cumulus_pallet_dmp_queue::pallet::Call<T>1887 * Lookup220: cumulus_pallet_dmp_queue::pallet::Call<T>1880 **/1888 **/1881 CumulusPalletDmpQueueCall: {1889 CumulusPalletDmpQueueCall: {1882 _enum: {1890 _enum: {1883 service_overweight: {1891 service_overweight: {1886 }1894 }1887 }1895 }1888 },1896 },1889 /**1897 /**1890 * Lookup220: pallet_inflation::pallet::Call<T>1898 * Lookup221: pallet_inflation::pallet::Call<T>1891 **/1899 **/1892 PalletInflationCall: {1900 PalletInflationCall: {1893 _enum: {1901 _enum: {1894 start_inflation: {1902 start_inflation: {1895 inflationStartRelayBlock: 'u32'1903 inflationStartRelayBlock: 'u32'1896 }1904 }1897 }1905 }1898 },1906 },1899 /**1907 /**1900 * Lookup221: pallet_unique::Call<T>1908 * Lookup222: pallet_unique::Call<T>1901 **/1909 **/1902 PalletUniqueCall: {1910 PalletUniqueCall: {1903 _enum: {1911 _enum: {1904 create_collection: {1912 create_collection: {2028 }2036 }2029 }2037 }2030 },2038 },2031 /**2039 /**2032 * Lookup226: up_data_structs::CollectionMode2040 * Lookup227: up_data_structs::CollectionMode2033 **/2041 **/2034 UpDataStructsCollectionMode: {2042 UpDataStructsCollectionMode: {2035 _enum: {2043 _enum: {2036 NFT: 'Null',2044 NFT: 'Null',2037 Fungible: 'u8',2045 Fungible: 'u8',2038 ReFungible: 'Null'2046 ReFungible: 'Null'2039 }2047 }2040 },2048 },2041 /**2049 /**2042 * Lookup227: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2050 * Lookup228: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2043 **/2051 **/2044 UpDataStructsCreateCollectionData: {2052 UpDataStructsCreateCollectionData: {2045 mode: 'UpDataStructsCollectionMode',2053 mode: 'UpDataStructsCollectionMode',2046 access: 'Option<UpDataStructsAccessMode>',2054 access: 'Option<UpDataStructsAccessMode>',2053 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2061 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2054 properties: 'Vec<UpDataStructsProperty>'2062 properties: 'Vec<UpDataStructsProperty>'2055 },2063 },2056 /**2064 /**2057 * Lookup229: up_data_structs::AccessMode2065 * Lookup230: up_data_structs::AccessMode2058 **/2066 **/2059 UpDataStructsAccessMode: {2067 UpDataStructsAccessMode: {2060 _enum: ['Normal', 'AllowList']2068 _enum: ['Normal', 'AllowList']2061 },2069 },2062 /**2070 /**2063 * Lookup231: up_data_structs::CollectionLimits2071 * Lookup232: up_data_structs::CollectionLimits2064 **/2072 **/2065 UpDataStructsCollectionLimits: {2073 UpDataStructsCollectionLimits: {2066 accountTokenOwnershipLimit: 'Option<u32>',2074 accountTokenOwnershipLimit: 'Option<u32>',2067 sponsoredDataSize: 'Option<u32>',2075 sponsoredDataSize: 'Option<u32>',2073 ownerCanDestroy: 'Option<bool>',2081 ownerCanDestroy: 'Option<bool>',2074 transfersEnabled: 'Option<bool>'2082 transfersEnabled: 'Option<bool>'2075 },2083 },2076 /**2084 /**2077 * Lookup233: up_data_structs::SponsoringRateLimit2085 * Lookup234: up_data_structs::SponsoringRateLimit2078 **/2086 **/2079 UpDataStructsSponsoringRateLimit: {2087 UpDataStructsSponsoringRateLimit: {2080 _enum: {2088 _enum: {2081 SponsoringDisabled: 'Null',2089 SponsoringDisabled: 'Null',2082 Blocks: 'u32'2090 Blocks: 'u32'2083 }2091 }2084 },2092 },2085 /**2093 /**2086 * Lookup236: up_data_structs::CollectionPermissions2094 * Lookup237: up_data_structs::CollectionPermissions2087 **/2095 **/2088 UpDataStructsCollectionPermissions: {2096 UpDataStructsCollectionPermissions: {2089 access: 'Option<UpDataStructsAccessMode>',2097 access: 'Option<UpDataStructsAccessMode>',2090 mintMode: 'Option<bool>',2098 mintMode: 'Option<bool>',2091 nesting: 'Option<UpDataStructsNestingPermissions>'2099 nesting: 'Option<UpDataStructsNestingPermissions>'2092 },2100 },2093 /**2101 /**2094 * Lookup238: up_data_structs::NestingPermissions2102 * Lookup239: up_data_structs::NestingPermissions2095 **/2103 **/2096 UpDataStructsNestingPermissions: {2104 UpDataStructsNestingPermissions: {2097 tokenOwner: 'bool',2105 tokenOwner: 'bool',2098 collectionAdmin: 'bool',2106 collectionAdmin: 'bool',2099 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2107 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2100 },2108 },2101 /**2109 /**2102 * Lookup240: up_data_structs::OwnerRestrictedSet2110 * Lookup241: up_data_structs::OwnerRestrictedSet2103 **/2111 **/2104 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2112 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2105 /**2113 /**2106 * Lookup245: up_data_structs::PropertyKeyPermission2114 * Lookup246: up_data_structs::PropertyKeyPermission2107 **/2115 **/2108 UpDataStructsPropertyKeyPermission: {2116 UpDataStructsPropertyKeyPermission: {2109 key: 'Bytes',2117 key: 'Bytes',2110 permission: 'UpDataStructsPropertyPermission'2118 permission: 'UpDataStructsPropertyPermission'2111 },2119 },2112 /**2120 /**2113 * Lookup246: up_data_structs::PropertyPermission2121 * Lookup247: up_data_structs::PropertyPermission2114 **/2122 **/2115 UpDataStructsPropertyPermission: {2123 UpDataStructsPropertyPermission: {2116 mutable: 'bool',2124 mutable: 'bool',2117 collectionAdmin: 'bool',2125 collectionAdmin: 'bool',2118 tokenOwner: 'bool'2126 tokenOwner: 'bool'2119 },2127 },2120 /**2128 /**2121 * Lookup249: up_data_structs::Property2129 * Lookup250: up_data_structs::Property2122 **/2130 **/2123 UpDataStructsProperty: {2131 UpDataStructsProperty: {2124 key: 'Bytes',2132 key: 'Bytes',2125 value: 'Bytes'2133 value: 'Bytes'2126 },2134 },2127 /**2135 /**2128 * Lookup252: up_data_structs::CreateItemData2136 * Lookup253: up_data_structs::CreateItemData2129 **/2137 **/2130 UpDataStructsCreateItemData: {2138 UpDataStructsCreateItemData: {2131 _enum: {2139 _enum: {2132 NFT: 'UpDataStructsCreateNftData',2140 NFT: 'UpDataStructsCreateNftData',2133 Fungible: 'UpDataStructsCreateFungibleData',2141 Fungible: 'UpDataStructsCreateFungibleData',2134 ReFungible: 'UpDataStructsCreateReFungibleData'2142 ReFungible: 'UpDataStructsCreateReFungibleData'2135 }2143 }2136 },2144 },2137 /**2145 /**2138 * Lookup253: up_data_structs::CreateNftData2146 * Lookup254: up_data_structs::CreateNftData2139 **/2147 **/2140 UpDataStructsCreateNftData: {2148 UpDataStructsCreateNftData: {2141 properties: 'Vec<UpDataStructsProperty>'2149 properties: 'Vec<UpDataStructsProperty>'2142 },2150 },2143 /**2151 /**2144 * Lookup254: up_data_structs::CreateFungibleData2152 * Lookup255: up_data_structs::CreateFungibleData2145 **/2153 **/2146 UpDataStructsCreateFungibleData: {2154 UpDataStructsCreateFungibleData: {2147 value: 'u128'2155 value: 'u128'2148 },2156 },2149 /**2157 /**2150 * Lookup255: up_data_structs::CreateReFungibleData2158 * Lookup256: up_data_structs::CreateReFungibleData2151 **/2159 **/2152 UpDataStructsCreateReFungibleData: {2160 UpDataStructsCreateReFungibleData: {2153 pieces: 'u128',2161 pieces: 'u128',2154 properties: 'Vec<UpDataStructsProperty>'2162 properties: 'Vec<UpDataStructsProperty>'2155 },2163 },2156 /**2164 /**2157 * Lookup258: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2165 * Lookup259: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2158 **/2166 **/2159 UpDataStructsCreateItemExData: {2167 UpDataStructsCreateItemExData: {2160 _enum: {2168 _enum: {2161 NFT: 'Vec<UpDataStructsCreateNftExData>',2169 NFT: 'Vec<UpDataStructsCreateNftExData>',2164 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2172 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2165 }2173 }2166 },2174 },2167 /**2175 /**2168 * Lookup260: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2176 * Lookup261: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2169 **/2177 **/2170 UpDataStructsCreateNftExData: {2178 UpDataStructsCreateNftExData: {2171 properties: 'Vec<UpDataStructsProperty>',2179 properties: 'Vec<UpDataStructsProperty>',2172 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2180 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2173 },2181 },2174 /**2182 /**2175 * Lookup267: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2183 * Lookup268: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2176 **/2184 **/2177 UpDataStructsCreateRefungibleExSingleOwner: {2185 UpDataStructsCreateRefungibleExSingleOwner: {2178 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2186 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2179 pieces: 'u128',2187 pieces: 'u128',2180 properties: 'Vec<UpDataStructsProperty>'2188 properties: 'Vec<UpDataStructsProperty>'2181 },2189 },2182 /**2190 /**2183 * Lookup269: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2191 * Lookup270: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2184 **/2192 **/2185 UpDataStructsCreateRefungibleExMultipleOwners: {2193 UpDataStructsCreateRefungibleExMultipleOwners: {2186 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2194 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2187 properties: 'Vec<UpDataStructsProperty>'2195 properties: 'Vec<UpDataStructsProperty>'2188 },2196 },2189 /**2197 /**2190 * Lookup270: pallet_unique_scheduler::pallet::Call<T>2198 * Lookup271: pallet_unique_scheduler::pallet::Call<T>2191 **/2199 **/2192 PalletUniqueSchedulerCall: {2200 PalletUniqueSchedulerCall: {2193 _enum: {2201 _enum: {2194 schedule_named: {2202 schedule_named: {2210 }2218 }2211 }2219 }2212 },2220 },2213 /**2221 /**2214 * Lookup272: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2222 * Lookup273: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2215 **/2223 **/2216 FrameSupportScheduleMaybeHashed: {2224 FrameSupportScheduleMaybeHashed: {2217 _enum: {2225 _enum: {2218 Value: 'Call',2226 Value: 'Call',2219 Hash: 'H256'2227 Hash: 'H256'2220 }2228 }2221 },2229 },2222 /**2230 /**2223 * Lookup273: pallet_configuration::pallet::Call<T>2231 * Lookup274: pallet_configuration::pallet::Call<T>2224 **/2232 **/2225 PalletConfigurationCall: {2233 PalletConfigurationCall: {2226 _enum: {2234 _enum: {2227 set_weight_to_fee_coefficient_override: {2235 set_weight_to_fee_coefficient_override: {2232 }2240 }2233 }2241 }2234 },2242 },2235 /**2243 /**2236 * Lookup274: pallet_template_transaction_payment::Call<T>2244 * Lookup275: pallet_template_transaction_payment::Call<T>2237 **/2245 **/2238 PalletTemplateTransactionPaymentCall: 'Null',2246 PalletTemplateTransactionPaymentCall: 'Null',2239 /**2247 /**2240 * Lookup275: pallet_structure::pallet::Call<T>2248 * Lookup276: pallet_structure::pallet::Call<T>2241 **/2249 **/2242 PalletStructureCall: 'Null',2250 PalletStructureCall: 'Null',2243 /**2251 /**2244 * Lookup276: pallet_rmrk_core::pallet::Call<T>2252 * Lookup277: pallet_rmrk_core::pallet::Call<T>2245 **/2253 **/2246 PalletRmrkCoreCall: {2254 PalletRmrkCoreCall: {2247 _enum: {2255 _enum: {2248 create_collection: {2256 create_collection: {2331 }2339 }2332 }2340 }2333 },2341 },2334 /**2342 /**2335 * Lookup282: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2343 * Lookup283: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2336 **/2344 **/2337 RmrkTraitsResourceResourceTypes: {2345 RmrkTraitsResourceResourceTypes: {2338 _enum: {2346 _enum: {2339 Basic: 'RmrkTraitsResourceBasicResource',2347 Basic: 'RmrkTraitsResourceBasicResource',2340 Composable: 'RmrkTraitsResourceComposableResource',2348 Composable: 'RmrkTraitsResourceComposableResource',2341 Slot: 'RmrkTraitsResourceSlotResource'2349 Slot: 'RmrkTraitsResourceSlotResource'2342 }2350 }2343 },2351 },2344 /**2352 /**2345 * Lookup284: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2353 * Lookup285: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2346 **/2354 **/2347 RmrkTraitsResourceBasicResource: {2355 RmrkTraitsResourceBasicResource: {2348 src: 'Option<Bytes>',2356 src: 'Option<Bytes>',2349 metadata: 'Option<Bytes>',2357 metadata: 'Option<Bytes>',2350 license: 'Option<Bytes>',2358 license: 'Option<Bytes>',2351 thumb: 'Option<Bytes>'2359 thumb: 'Option<Bytes>'2352 },2360 },2353 /**2361 /**2354 * Lookup286: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2362 * Lookup287: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2355 **/2363 **/2356 RmrkTraitsResourceComposableResource: {2364 RmrkTraitsResourceComposableResource: {2357 parts: 'Vec<u32>',2365 parts: 'Vec<u32>',2358 base: 'u32',2366 base: 'u32',2361 license: 'Option<Bytes>',2369 license: 'Option<Bytes>',2362 thumb: 'Option<Bytes>'2370 thumb: 'Option<Bytes>'2363 },2371 },2364 /**2372 /**2365 * Lookup287: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2373 * Lookup288: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2366 **/2374 **/2367 RmrkTraitsResourceSlotResource: {2375 RmrkTraitsResourceSlotResource: {2368 base: 'u32',2376 base: 'u32',2369 src: 'Option<Bytes>',2377 src: 'Option<Bytes>',2372 license: 'Option<Bytes>',2380 license: 'Option<Bytes>',2373 thumb: 'Option<Bytes>'2381 thumb: 'Option<Bytes>'2374 },2382 },2375 /**2383 /**2376 * Lookup290: pallet_rmrk_equip::pallet::Call<T>2384 * Lookup291: pallet_rmrk_equip::pallet::Call<T>2377 **/2385 **/2378 PalletRmrkEquipCall: {2386 PalletRmrkEquipCall: {2379 _enum: {2387 _enum: {2380 create_base: {2388 create_base: {2393 }2401 }2394 }2402 }2395 },2403 },2396 /**2404 /**2397 * Lookup293: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2405 * Lookup294: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2398 **/2406 **/2399 RmrkTraitsPartPartType: {2407 RmrkTraitsPartPartType: {2400 _enum: {2408 _enum: {2401 FixedPart: 'RmrkTraitsPartFixedPart',2409 FixedPart: 'RmrkTraitsPartFixedPart',2402 SlotPart: 'RmrkTraitsPartSlotPart'2410 SlotPart: 'RmrkTraitsPartSlotPart'2403 }2411 }2404 },2412 },2405 /**2413 /**2406 * Lookup295: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2414 * Lookup296: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2407 **/2415 **/2408 RmrkTraitsPartFixedPart: {2416 RmrkTraitsPartFixedPart: {2409 id: 'u32',2417 id: 'u32',2410 z: 'u32',2418 z: 'u32',2411 src: 'Bytes'2419 src: 'Bytes'2412 },2420 },2413 /**2421 /**2414 * Lookup296: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2422 * Lookup297: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2415 **/2423 **/2416 RmrkTraitsPartSlotPart: {2424 RmrkTraitsPartSlotPart: {2417 id: 'u32',2425 id: 'u32',2418 equippable: 'RmrkTraitsPartEquippableList',2426 equippable: 'RmrkTraitsPartEquippableList',2419 src: 'Bytes',2427 src: 'Bytes',2420 z: 'u32'2428 z: 'u32'2421 },2429 },2422 /**2430 /**2423 * Lookup297: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2431 * Lookup298: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2424 **/2432 **/2425 RmrkTraitsPartEquippableList: {2433 RmrkTraitsPartEquippableList: {2426 _enum: {2434 _enum: {2427 All: 'Null',2435 All: 'Null',2428 Empty: 'Null',2436 Empty: 'Null',2429 Custom: 'Vec<u32>'2437 Custom: 'Vec<u32>'2430 }2438 }2431 },2439 },2432 /**2440 /**2433 * Lookup299: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>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>>2434 **/2442 **/2435 RmrkTraitsTheme: {2443 RmrkTraitsTheme: {2436 name: 'Bytes',2444 name: 'Bytes',2437 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2445 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2438 inherit: 'bool'2446 inherit: 'bool'2439 },2447 },2440 /**2448 /**2441 * Lookup301: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2449 * Lookup302: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2442 **/2450 **/2443 RmrkTraitsThemeThemeProperty: {2451 RmrkTraitsThemeThemeProperty: {2444 key: 'Bytes',2452 key: 'Bytes',2445 value: 'Bytes'2453 value: 'Bytes'2446 },2454 },2447 /**2455 /**2448 * Lookup303: pallet_app_promotion::pallet::Call<T>2456 * Lookup304: pallet_app_promotion::pallet::Call<T>2449 **/2457 **/2450 PalletAppPromotionCall: {2458 PalletAppPromotionCall: {2451 _enum: {2459 _enum: {2452 set_admin_address: {2460 set_admin_address: {2453 admin: 'AccountId32',2461 admin: 'PalletEvmAccountBasicCrossAccountIdRepr',2454 },2462 },2455 start_app_promotion: {2463 start_app_promotion: {2456 promotionStartRelayBlock: 'u32',2464 promotionStartRelayBlock: 'Option<u32>',2457 },2465 },2458 stake: {2466 stake: {2459 amount: 'u128',2467 amount: 'u128',2460 },2468 },2461 unstake: {2469 unstake: {2462 amount: 'u128'2470 amount: 'u128',2463 }2471 },2472 sponsor_collection: {2473 collectionId: 'u32',2474 },2475 stop_sponsorign_collection: {2476 collectionId: 'u32'2477 }2464 }2478 }2465 },2479 },2466 /**2480 /**2467 * Lookup304: pallet_evm::pallet::Call<T>2481 * Lookup305: pallet_evm::pallet::Call<T>2468 **/2482 **/2469 PalletEvmCall: {2483 PalletEvmCall: {2470 _enum: {2484 _enum: {2471 withdraw: {2485 withdraw: {2506 }2520 }2507 }2521 }2508 },2522 },2509 /**2523 /**2510 * Lookup308: pallet_ethereum::pallet::Call<T>2524 * Lookup309: pallet_ethereum::pallet::Call<T>2511 **/2525 **/2512 PalletEthereumCall: {2526 PalletEthereumCall: {2513 _enum: {2527 _enum: {2514 transact: {2528 transact: {2515 transaction: 'EthereumTransactionTransactionV2'2529 transaction: 'EthereumTransactionTransactionV2'2516 }2530 }2517 }2531 }2518 },2532 },2519 /**2533 /**2520 * Lookup309: ethereum::transaction::TransactionV22534 * Lookup310: ethereum::transaction::TransactionV22521 **/2535 **/2522 EthereumTransactionTransactionV2: {2536 EthereumTransactionTransactionV2: {2523 _enum: {2537 _enum: {2524 Legacy: 'EthereumTransactionLegacyTransaction',2538 Legacy: 'EthereumTransactionLegacyTransaction',2525 EIP2930: 'EthereumTransactionEip2930Transaction',2539 EIP2930: 'EthereumTransactionEip2930Transaction',2526 EIP1559: 'EthereumTransactionEip1559Transaction'2540 EIP1559: 'EthereumTransactionEip1559Transaction'2527 }2541 }2528 },2542 },2529 /**2543 /**2530 * Lookup310: ethereum::transaction::LegacyTransaction2544 * Lookup311: ethereum::transaction::LegacyTransaction2531 **/2545 **/2532 EthereumTransactionLegacyTransaction: {2546 EthereumTransactionLegacyTransaction: {2533 nonce: 'U256',2547 nonce: 'U256',2534 gasPrice: 'U256',2548 gasPrice: 'U256',2538 input: 'Bytes',2552 input: 'Bytes',2539 signature: 'EthereumTransactionTransactionSignature'2553 signature: 'EthereumTransactionTransactionSignature'2540 },2554 },2541 /**2555 /**2542 * Lookup311: ethereum::transaction::TransactionAction2556 * Lookup312: ethereum::transaction::TransactionAction2543 **/2557 **/2544 EthereumTransactionTransactionAction: {2558 EthereumTransactionTransactionAction: {2545 _enum: {2559 _enum: {2546 Call: 'H160',2560 Call: 'H160',2547 Create: 'Null'2561 Create: 'Null'2548 }2562 }2549 },2563 },2550 /**2564 /**2551 * Lookup312: ethereum::transaction::TransactionSignature2565 * Lookup313: ethereum::transaction::TransactionSignature2552 **/2566 **/2553 EthereumTransactionTransactionSignature: {2567 EthereumTransactionTransactionSignature: {2554 v: 'u64',2568 v: 'u64',2555 r: 'H256',2569 r: 'H256',2556 s: 'H256'2570 s: 'H256'2557 },2571 },2558 /**2572 /**2559 * Lookup314: ethereum::transaction::EIP2930Transaction2573 * Lookup315: ethereum::transaction::EIP2930Transaction2560 **/2574 **/2561 EthereumTransactionEip2930Transaction: {2575 EthereumTransactionEip2930Transaction: {2562 chainId: 'u64',2576 chainId: 'u64',2563 nonce: 'U256',2577 nonce: 'U256',2571 r: 'H256',2585 r: 'H256',2572 s: 'H256'2586 s: 'H256'2573 },2587 },2574 /**2588 /**2575 * Lookup316: ethereum::transaction::AccessListItem2589 * Lookup317: ethereum::transaction::AccessListItem2576 **/2590 **/2577 EthereumTransactionAccessListItem: {2591 EthereumTransactionAccessListItem: {2578 address: 'H160',2592 address: 'H160',2579 storageKeys: 'Vec<H256>'2593 storageKeys: 'Vec<H256>'2580 },2594 },2581 /**2595 /**2582 * Lookup317: ethereum::transaction::EIP1559Transaction2596 * Lookup318: ethereum::transaction::EIP1559Transaction2583 **/2597 **/2584 EthereumTransactionEip1559Transaction: {2598 EthereumTransactionEip1559Transaction: {2585 chainId: 'u64',2599 chainId: 'u64',2586 nonce: 'U256',2600 nonce: 'U256',2595 r: 'H256',2609 r: 'H256',2596 s: 'H256'2610 s: 'H256'2597 },2611 },2598 /**2612 /**2599 * Lookup318: pallet_evm_migration::pallet::Call<T>2613 * Lookup319: pallet_evm_migration::pallet::Call<T>2600 **/2614 **/2601 PalletEvmMigrationCall: {2615 PalletEvmMigrationCall: {2602 _enum: {2616 _enum: {2603 begin: {2617 begin: {2613 }2627 }2614 }2628 }2615 },2629 },2616 /**2630 /**2617 * Lookup321: pallet_sudo::pallet::Error<T>2631 * Lookup322: pallet_sudo::pallet::Error<T>2618 **/2632 **/2619 PalletSudoError: {2633 PalletSudoError: {2620 _enum: ['RequireSudo']2634 _enum: ['RequireSudo']2621 },2635 },2622 /**2636 /**2623 * Lookup323: orml_vesting::module::Error<T>2637 * Lookup324: orml_vesting::module::Error<T>2624 **/2638 **/2625 OrmlVestingModuleError: {2639 OrmlVestingModuleError: {2626 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2640 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2627 },2641 },2628 /**2642 /**2629 * Lookup325: cumulus_pallet_xcmp_queue::InboundChannelDetails2643 * Lookup326: cumulus_pallet_xcmp_queue::InboundChannelDetails2630 **/2644 **/2631 CumulusPalletXcmpQueueInboundChannelDetails: {2645 CumulusPalletXcmpQueueInboundChannelDetails: {2632 sender: 'u32',2646 sender: 'u32',2633 state: 'CumulusPalletXcmpQueueInboundState',2647 state: 'CumulusPalletXcmpQueueInboundState',2634 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2648 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2635 },2649 },2636 /**2650 /**2637 * Lookup326: cumulus_pallet_xcmp_queue::InboundState2651 * Lookup327: cumulus_pallet_xcmp_queue::InboundState2638 **/2652 **/2639 CumulusPalletXcmpQueueInboundState: {2653 CumulusPalletXcmpQueueInboundState: {2640 _enum: ['Ok', 'Suspended']2654 _enum: ['Ok', 'Suspended']2641 },2655 },2642 /**2656 /**2643 * Lookup329: polkadot_parachain::primitives::XcmpMessageFormat2657 * Lookup330: polkadot_parachain::primitives::XcmpMessageFormat2644 **/2658 **/2645 PolkadotParachainPrimitivesXcmpMessageFormat: {2659 PolkadotParachainPrimitivesXcmpMessageFormat: {2646 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2660 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2647 },2661 },2648 /**2662 /**2649 * Lookup332: cumulus_pallet_xcmp_queue::OutboundChannelDetails2663 * Lookup333: cumulus_pallet_xcmp_queue::OutboundChannelDetails2650 **/2664 **/2651 CumulusPalletXcmpQueueOutboundChannelDetails: {2665 CumulusPalletXcmpQueueOutboundChannelDetails: {2652 recipient: 'u32',2666 recipient: 'u32',2653 state: 'CumulusPalletXcmpQueueOutboundState',2667 state: 'CumulusPalletXcmpQueueOutboundState',2654 signalsExist: 'bool',2668 signalsExist: 'bool',2655 firstIndex: 'u16',2669 firstIndex: 'u16',2656 lastIndex: 'u16'2670 lastIndex: 'u16'2657 },2671 },2658 /**2672 /**2659 * Lookup333: cumulus_pallet_xcmp_queue::OutboundState2673 * Lookup334: cumulus_pallet_xcmp_queue::OutboundState2660 **/2674 **/2661 CumulusPalletXcmpQueueOutboundState: {2675 CumulusPalletXcmpQueueOutboundState: {2662 _enum: ['Ok', 'Suspended']2676 _enum: ['Ok', 'Suspended']2663 },2677 },2664 /**2678 /**2665 * Lookup335: cumulus_pallet_xcmp_queue::QueueConfigData2679 * Lookup336: cumulus_pallet_xcmp_queue::QueueConfigData2666 **/2680 **/2667 CumulusPalletXcmpQueueQueueConfigData: {2681 CumulusPalletXcmpQueueQueueConfigData: {2668 suspendThreshold: 'u32',2682 suspendThreshold: 'u32',2669 dropThreshold: 'u32',2683 dropThreshold: 'u32',2672 weightRestrictDecay: 'u64',2686 weightRestrictDecay: 'u64',2673 xcmpMaxIndividualWeight: 'u64'2687 xcmpMaxIndividualWeight: 'u64'2674 },2688 },2675 /**2689 /**2676 * Lookup337: cumulus_pallet_xcmp_queue::pallet::Error<T>2690 * Lookup338: cumulus_pallet_xcmp_queue::pallet::Error<T>2677 **/2691 **/2678 CumulusPalletXcmpQueueError: {2692 CumulusPalletXcmpQueueError: {2679 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2693 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2680 },2694 },2681 /**2695 /**2682 * Lookup338: pallet_xcm::pallet::Error<T>2696 * Lookup339: pallet_xcm::pallet::Error<T>2683 **/2697 **/2684 PalletXcmError: {2698 PalletXcmError: {2685 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2699 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2686 },2700 },2687 /**2701 /**2688 * Lookup339: cumulus_pallet_xcm::pallet::Error<T>2702 * Lookup340: cumulus_pallet_xcm::pallet::Error<T>2689 **/2703 **/2690 CumulusPalletXcmError: 'Null',2704 CumulusPalletXcmError: 'Null',2691 /**2705 /**2692 * Lookup340: cumulus_pallet_dmp_queue::ConfigData2706 * Lookup341: cumulus_pallet_dmp_queue::ConfigData2693 **/2707 **/2694 CumulusPalletDmpQueueConfigData: {2708 CumulusPalletDmpQueueConfigData: {2695 maxIndividual: 'u64'2709 maxIndividual: 'u64'2696 },2710 },2697 /**2711 /**2698 * Lookup341: cumulus_pallet_dmp_queue::PageIndexData2712 * Lookup342: cumulus_pallet_dmp_queue::PageIndexData2699 **/2713 **/2700 CumulusPalletDmpQueuePageIndexData: {2714 CumulusPalletDmpQueuePageIndexData: {2701 beginUsed: 'u32',2715 beginUsed: 'u32',2702 endUsed: 'u32',2716 endUsed: 'u32',2703 overweightCount: 'u64'2717 overweightCount: 'u64'2704 },2718 },2705 /**2719 /**2706 * Lookup344: cumulus_pallet_dmp_queue::pallet::Error<T>2720 * Lookup345: cumulus_pallet_dmp_queue::pallet::Error<T>2707 **/2721 **/2708 CumulusPalletDmpQueueError: {2722 CumulusPalletDmpQueueError: {2709 _enum: ['Unknown', 'OverLimit']2723 _enum: ['Unknown', 'OverLimit']2710 },2724 },2711 /**2725 /**2712 * Lookup348: pallet_unique::Error<T>2726 * Lookup349: pallet_unique::Error<T>2713 **/2727 **/2714 PalletUniqueError: {2728 PalletUniqueError: {2715 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2729 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2716 },2730 },2717 /**2731 /**2718 * Lookup351: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>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>2719 **/2733 **/2720 PalletUniqueSchedulerScheduledV3: {2734 PalletUniqueSchedulerScheduledV3: {2721 maybeId: 'Option<[u8;16]>',2735 maybeId: 'Option<[u8;16]>',2722 priority: 'u8',2736 priority: 'u8',2723 call: 'FrameSupportScheduleMaybeHashed',2737 call: 'FrameSupportScheduleMaybeHashed',2724 maybePeriodic: 'Option<(u32,u32)>',2738 maybePeriodic: 'Option<(u32,u32)>',2725 origin: 'OpalRuntimeOriginCaller'2739 origin: 'OpalRuntimeOriginCaller'2726 },2740 },2727 /**2741 /**2728 * Lookup352: opal_runtime::OriginCaller2742 * Lookup353: opal_runtime::OriginCaller2729 **/2743 **/2730 OpalRuntimeOriginCaller: {2744 OpalRuntimeOriginCaller: {2731 _enum: {2745 _enum: {2732 system: 'FrameSupportDispatchRawOrigin',2746 system: 'FrameSupportDispatchRawOrigin',2833 Ethereum: 'PalletEthereumRawOrigin'2847 Ethereum: 'PalletEthereumRawOrigin'2834 }2848 }2835 },2849 },2836 /**2850 /**2837 * Lookup353: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2851 * Lookup354: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2838 **/2852 **/2839 FrameSupportDispatchRawOrigin: {2853 FrameSupportDispatchRawOrigin: {2840 _enum: {2854 _enum: {2841 Root: 'Null',2855 Root: 'Null',2842 Signed: 'AccountId32',2856 Signed: 'AccountId32',2843 None: 'Null'2857 None: 'Null'2844 }2858 }2845 },2859 },2846 /**2860 /**2847 * Lookup354: pallet_xcm::pallet::Origin2861 * Lookup355: pallet_xcm::pallet::Origin2848 **/2862 **/2849 PalletXcmOrigin: {2863 PalletXcmOrigin: {2850 _enum: {2864 _enum: {2851 Xcm: 'XcmV1MultiLocation',2865 Xcm: 'XcmV1MultiLocation',2852 Response: 'XcmV1MultiLocation'2866 Response: 'XcmV1MultiLocation'2853 }2867 }2854 },2868 },2855 /**2869 /**2856 * Lookup355: cumulus_pallet_xcm::pallet::Origin2870 * Lookup356: cumulus_pallet_xcm::pallet::Origin2857 **/2871 **/2858 CumulusPalletXcmOrigin: {2872 CumulusPalletXcmOrigin: {2859 _enum: {2873 _enum: {2860 Relay: 'Null',2874 Relay: 'Null',2861 SiblingParachain: 'u32'2875 SiblingParachain: 'u32'2862 }2876 }2863 },2877 },2864 /**2878 /**2865 * Lookup356: pallet_ethereum::RawOrigin2879 * Lookup357: pallet_ethereum::RawOrigin2866 **/2880 **/2867 PalletEthereumRawOrigin: {2881 PalletEthereumRawOrigin: {2868 _enum: {2882 _enum: {2869 EthereumTransaction: 'H160'2883 EthereumTransaction: 'H160'2870 }2884 }2871 },2885 },2872 /**2886 /**2873 * Lookup357: sp_core::Void2887 * Lookup358: sp_core::Void2874 **/2888 **/2875 SpCoreVoid: 'Null',2889 SpCoreVoid: 'Null',2876 /**2890 /**2877 * Lookup358: pallet_unique_scheduler::pallet::Error<T>2891 * Lookup359: pallet_unique_scheduler::pallet::Error<T>2878 **/2892 **/2879 PalletUniqueSchedulerError: {2893 PalletUniqueSchedulerError: {2880 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2894 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2881 },2895 },2882 /**2896 /**2883 * Lookup359: up_data_structs::Collection<sp_core::crypto::AccountId32>2897 * Lookup360: up_data_structs::Collection<sp_core::crypto::AccountId32>2884 **/2898 **/2885 UpDataStructsCollection: {2899 UpDataStructsCollection: {2886 owner: 'AccountId32',2900 owner: 'AccountId32',2887 mode: 'UpDataStructsCollectionMode',2901 mode: 'UpDataStructsCollectionMode',2893 permissions: 'UpDataStructsCollectionPermissions',2907 permissions: 'UpDataStructsCollectionPermissions',2894 externalCollection: 'bool'2908 externalCollection: 'bool'2895 },2909 },2896 /**2910 /**2897 * Lookup360: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2911 * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2898 **/2912 **/2899 UpDataStructsSponsorshipState: {2913 UpDataStructsSponsorshipState: {2900 _enum: {2914 _enum: {2901 Disabled: 'Null',2915 Disabled: 'Null',2902 Unconfirmed: 'AccountId32',2916 Unconfirmed: 'AccountId32',2903 Confirmed: 'AccountId32'2917 Confirmed: 'AccountId32'2904 }2918 }2905 },2919 },2906 /**2920 /**2907 * Lookup361: up_data_structs::Properties2921 * Lookup362: up_data_structs::Properties2908 **/2922 **/2909 UpDataStructsProperties: {2923 UpDataStructsProperties: {2910 map: 'UpDataStructsPropertiesMapBoundedVec',2924 map: 'UpDataStructsPropertiesMapBoundedVec',2911 consumedSpace: 'u32',2925 consumedSpace: 'u32',2912 spaceLimit: 'u32'2926 spaceLimit: 'u32'2913 },2927 },2914 /**2928 /**2915 * Lookup362: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2929 * Lookup363: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2916 **/2930 **/2917 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2931 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2918 /**2932 /**2919 * Lookup367: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2933 * Lookup368: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2920 **/2934 **/2921 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2935 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2922 /**2936 /**2923 * Lookup374: up_data_structs::CollectionStats2937 * Lookup375: up_data_structs::CollectionStats2924 **/2938 **/2925 UpDataStructsCollectionStats: {2939 UpDataStructsCollectionStats: {2926 created: 'u32',2940 created: 'u32',2927 destroyed: 'u32',2941 destroyed: 'u32',2928 alive: 'u32'2942 alive: 'u32'2929 },2943 },2930 /**2944 /**2931 * Lookup375: up_data_structs::TokenChild2945 * Lookup376: up_data_structs::TokenChild2932 **/2946 **/2933 UpDataStructsTokenChild: {2947 UpDataStructsTokenChild: {2934 token: 'u32',2948 token: 'u32',2935 collection: 'u32'2949 collection: 'u32'2936 },2950 },2937 /**2951 /**2938 * Lookup376: PhantomType::up_data_structs<T>2952 * Lookup377: PhantomType::up_data_structs<T>2939 **/2953 **/2940 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2954 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2941 /**2955 /**2942 * Lookup378: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2956 * Lookup379: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2943 **/2957 **/2944 UpDataStructsTokenData: {2958 UpDataStructsTokenData: {2945 properties: 'Vec<UpDataStructsProperty>',2959 properties: 'Vec<UpDataStructsProperty>',2946 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2960 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2947 pieces: 'u128'2961 pieces: 'u128'2948 },2962 },2949 /**2963 /**2950 * Lookup380: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2964 * Lookup381: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2951 **/2965 **/2952 UpDataStructsRpcCollection: {2966 UpDataStructsRpcCollection: {2953 owner: 'AccountId32',2967 owner: 'AccountId32',2954 mode: 'UpDataStructsCollectionMode',2968 mode: 'UpDataStructsCollectionMode',2962 properties: 'Vec<UpDataStructsProperty>',2976 properties: 'Vec<UpDataStructsProperty>',2963 readOnly: 'bool'2977 readOnly: 'bool'2964 },2978 },2965 /**2979 /**2966 * Lookup381: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>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>2967 **/2981 **/2968 RmrkTraitsCollectionCollectionInfo: {2982 RmrkTraitsCollectionCollectionInfo: {2969 issuer: 'AccountId32',2983 issuer: 'AccountId32',2970 metadata: 'Bytes',2984 metadata: 'Bytes',2971 max: 'Option<u32>',2985 max: 'Option<u32>',2972 symbol: 'Bytes',2986 symbol: 'Bytes',2973 nftsCount: 'u32'2987 nftsCount: 'u32'2974 },2988 },2975 /**2989 /**2976 * Lookup382: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2990 * Lookup383: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2977 **/2991 **/2978 RmrkTraitsNftNftInfo: {2992 RmrkTraitsNftNftInfo: {2979 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2993 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2980 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2994 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2981 metadata: 'Bytes',2995 metadata: 'Bytes',2982 equipped: 'bool',2996 equipped: 'bool',2983 pending: 'bool'2997 pending: 'bool'2984 },2998 },2985 /**2999 /**2986 * Lookup384: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3000 * Lookup385: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2987 **/3001 **/2988 RmrkTraitsNftRoyaltyInfo: {3002 RmrkTraitsNftRoyaltyInfo: {2989 recipient: 'AccountId32',3003 recipient: 'AccountId32',2990 amount: 'Permill'3004 amount: 'Permill'2991 },3005 },2992 /**3006 /**2993 * Lookup385: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3007 * Lookup386: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2994 **/3008 **/2995 RmrkTraitsResourceResourceInfo: {3009 RmrkTraitsResourceResourceInfo: {2996 id: 'u32',3010 id: 'u32',2997 resource: 'RmrkTraitsResourceResourceTypes',3011 resource: 'RmrkTraitsResourceResourceTypes',2998 pending: 'bool',3012 pending: 'bool',2999 pendingRemoval: 'bool'3013 pendingRemoval: 'bool'3000 },3014 },3001 /**3015 /**3002 * Lookup386: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3016 * Lookup387: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3003 **/3017 **/3004 RmrkTraitsPropertyPropertyInfo: {3018 RmrkTraitsPropertyPropertyInfo: {3005 key: 'Bytes',3019 key: 'Bytes',3006 value: 'Bytes'3020 value: 'Bytes'3007 },3021 },3008 /**3022 /**3009 * Lookup387: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3023 * Lookup388: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3010 **/3024 **/3011 RmrkTraitsBaseBaseInfo: {3025 RmrkTraitsBaseBaseInfo: {3012 issuer: 'AccountId32',3026 issuer: 'AccountId32',3013 baseType: 'Bytes',3027 baseType: 'Bytes',3014 symbol: 'Bytes'3028 symbol: 'Bytes'3015 },3029 },3016 /**3030 /**3017 * Lookup388: rmrk_traits::nft::NftChild3031 * Lookup389: rmrk_traits::nft::NftChild3018 **/3032 **/3019 RmrkTraitsNftNftChild: {3033 RmrkTraitsNftNftChild: {3020 collectionId: 'u32',3034 collectionId: 'u32',3021 nftId: 'u32'3035 nftId: 'u32'3022 },3036 },3023 /**3037 /**3024 * Lookup390: pallet_common::pallet::Error<T>3038 * Lookup391: pallet_common::pallet::Error<T>3025 **/3039 **/3026 PalletCommonError: {3040 PalletCommonError: {3027 _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']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']3028 },3042 },3029 /**3043 /**3030 * Lookup392: pallet_fungible::pallet::Error<T>3044 * Lookup393: pallet_fungible::pallet::Error<T>3031 **/3045 **/3032 PalletFungibleError: {3046 PalletFungibleError: {3033 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3047 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3034 },3048 },3035 /**3049 /**3036 * Lookup393: pallet_refungible::ItemData3050 * Lookup394: pallet_refungible::ItemData3037 **/3051 **/3038 PalletRefungibleItemData: {3052 PalletRefungibleItemData: {3039 constData: 'Bytes'3053 constData: 'Bytes'3040 },3054 },3041 /**3055 /**3042 * Lookup398: pallet_refungible::pallet::Error<T>3056 * Lookup399: pallet_refungible::pallet::Error<T>3043 **/3057 **/3044 PalletRefungibleError: {3058 PalletRefungibleError: {3045 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3059 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3046 },3060 },3047 /**3061 /**3048 * Lookup399: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3062 * Lookup400: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3049 **/3063 **/3050 PalletNonfungibleItemData: {3064 PalletNonfungibleItemData: {3051 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3065 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3052 },3066 },3053 /**3067 /**3054 * Lookup401: up_data_structs::PropertyScope3068 * Lookup402: up_data_structs::PropertyScope3055 **/3069 **/3056 UpDataStructsPropertyScope: {3070 UpDataStructsPropertyScope: {3057 _enum: ['None', 'Rmrk', 'Eth']3071 _enum: ['None', 'Rmrk', 'Eth']3058 },3072 },3059 /**3073 /**3060 * Lookup403: pallet_nonfungible::pallet::Error<T>3074 * Lookup404: pallet_nonfungible::pallet::Error<T>3061 **/3075 **/3062 PalletNonfungibleError: {3076 PalletNonfungibleError: {3063 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3077 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3064 },3078 },3065 /**3079 /**3066 * Lookup404: pallet_structure::pallet::Error<T>3080 * Lookup405: pallet_structure::pallet::Error<T>3067 **/3081 **/3068 PalletStructureError: {3082 PalletStructureError: {3069 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3083 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3070 },3084 },3071 /**3085 /**3072 * Lookup405: pallet_rmrk_core::pallet::Error<T>3086 * Lookup406: pallet_rmrk_core::pallet::Error<T>3073 **/3087 **/3074 PalletRmrkCoreError: {3088 PalletRmrkCoreError: {3075 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3089 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3076 },3090 },3077 /**3091 /**3078 * Lookup407: pallet_rmrk_equip::pallet::Error<T>3092 * Lookup408: pallet_rmrk_equip::pallet::Error<T>3079 **/3093 **/3080 PalletRmrkEquipError: {3094 PalletRmrkEquipError: {3081 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3095 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3082 },3096 },3097 /**3098 * Lookup410: pallet_app_promotion::pallet::Error<T>3099 **/3100 PalletAppPromotionError: {3101 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument', 'AlreadySponsored']3102 },3083 /**3103 /**3084 * Lookup411: pallet_evm::pallet::Error<T>3104 * Lookup413: pallet_evm::pallet::Error<T>3085 **/3105 **/3086 PalletEvmError: {3106 PalletEvmError: {3087 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3107 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3088 },3108 },3089 /**3109 /**3090 * Lookup414: fp_rpc::TransactionStatus3110 * Lookup416: fp_rpc::TransactionStatus3091 **/3111 **/3092 FpRpcTransactionStatus: {3112 FpRpcTransactionStatus: {3093 transactionHash: 'H256',3113 transactionHash: 'H256',3094 transactionIndex: 'u32',3114 transactionIndex: 'u32',3098 logs: 'Vec<EthereumLog>',3118 logs: 'Vec<EthereumLog>',3099 logsBloom: 'EthbloomBloom'3119 logsBloom: 'EthbloomBloom'3100 },3120 },3101 /**3121 /**3102 * Lookup416: ethbloom::Bloom3122 * Lookup418: ethbloom::Bloom3103 **/3123 **/3104 EthbloomBloom: '[u8;256]',3124 EthbloomBloom: '[u8;256]',3105 /**3125 /**3106 * Lookup418: ethereum::receipt::ReceiptV33126 * Lookup420: ethereum::receipt::ReceiptV33107 **/3127 **/3108 EthereumReceiptReceiptV3: {3128 EthereumReceiptReceiptV3: {3109 _enum: {3129 _enum: {3110 Legacy: 'EthereumReceiptEip658ReceiptData',3130 Legacy: 'EthereumReceiptEip658ReceiptData',3111 EIP2930: 'EthereumReceiptEip658ReceiptData',3131 EIP2930: 'EthereumReceiptEip658ReceiptData',3112 EIP1559: 'EthereumReceiptEip658ReceiptData'3132 EIP1559: 'EthereumReceiptEip658ReceiptData'3113 }3133 }3114 },3134 },3115 /**3135 /**3116 * Lookup419: ethereum::receipt::EIP658ReceiptData3136 * Lookup421: ethereum::receipt::EIP658ReceiptData3117 **/3137 **/3118 EthereumReceiptEip658ReceiptData: {3138 EthereumReceiptEip658ReceiptData: {3119 statusCode: 'u8',3139 statusCode: 'u8',3120 usedGas: 'U256',3140 usedGas: 'U256',3121 logsBloom: 'EthbloomBloom',3141 logsBloom: 'EthbloomBloom',3122 logs: 'Vec<EthereumLog>'3142 logs: 'Vec<EthereumLog>'3123 },3143 },3124 /**3144 /**3125 * Lookup420: ethereum::block::Block<ethereum::transaction::TransactionV2>3145 * Lookup422: ethereum::block::Block<ethereum::transaction::TransactionV2>3126 **/3146 **/3127 EthereumBlock: {3147 EthereumBlock: {3128 header: 'EthereumHeader',3148 header: 'EthereumHeader',3129 transactions: 'Vec<EthereumTransactionTransactionV2>',3149 transactions: 'Vec<EthereumTransactionTransactionV2>',3130 ommers: 'Vec<EthereumHeader>'3150 ommers: 'Vec<EthereumHeader>'3131 },3151 },3132 /**3152 /**3133 * Lookup421: ethereum::header::Header3153 * Lookup423: ethereum::header::Header3134 **/3154 **/3135 EthereumHeader: {3155 EthereumHeader: {3136 parentHash: 'H256',3156 parentHash: 'H256',3137 ommersHash: 'H256',3157 ommersHash: 'H256',3149 mixHash: 'H256',3169 mixHash: 'H256',3150 nonce: 'EthereumTypesHashH64'3170 nonce: 'EthereumTypesHashH64'3151 },3171 },3152 /**3172 /**3153 * Lookup422: ethereum_types::hash::H643173 * Lookup424: ethereum_types::hash::H643154 **/3174 **/3155 EthereumTypesHashH64: '[u8;8]',3175 EthereumTypesHashH64: '[u8;8]',3156 /**3176 /**3157 * Lookup427: pallet_ethereum::pallet::Error<T>3177 * Lookup429: pallet_ethereum::pallet::Error<T>3158 **/3178 **/3159 PalletEthereumError: {3179 PalletEthereumError: {3160 _enum: ['InvalidSignature', 'PreLogExists']3180 _enum: ['InvalidSignature', 'PreLogExists']3161 },3181 },3162 /**3182 /**3163 * Lookup428: pallet_evm_coder_substrate::pallet::Error<T>3183 * Lookup430: pallet_evm_coder_substrate::pallet::Error<T>3164 **/3184 **/3165 PalletEvmCoderSubstrateError: {3185 PalletEvmCoderSubstrateError: {3166 _enum: ['OutOfGas', 'OutOfFund']3186 _enum: ['OutOfGas', 'OutOfFund']3167 },3187 },3168 /**3188 /**3169 * Lookup429: pallet_evm_contract_helpers::SponsoringModeT3189 * Lookup431: pallet_evm_contract_helpers::SponsoringModeT3170 **/3190 **/3171 PalletEvmContractHelpersSponsoringModeT: {3191 PalletEvmContractHelpersSponsoringModeT: {3172 _enum: ['Disabled', 'Allowlisted', 'Generous']3192 _enum: ['Disabled', 'Allowlisted', 'Generous']3173 },3193 },3174 /**3194 /**3175 * Lookup431: pallet_evm_contract_helpers::pallet::Error<T>3195 * Lookup433: pallet_evm_contract_helpers::pallet::Error<T>3176 **/3196 **/3177 PalletEvmContractHelpersError: {3197 PalletEvmContractHelpersError: {3178 _enum: ['NoPermission']3198 _enum: ['NoPermission']3179 },3199 },3180 /**3200 /**3181 * Lookup432: pallet_evm_migration::pallet::Error<T>3201 * Lookup434: pallet_evm_migration::pallet::Error<T>3182 **/3202 **/3183 PalletEvmMigrationError: {3203 PalletEvmMigrationError: {3184 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3204 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3185 },3205 },3186 /**3206 /**3187 * Lookup434: sp_runtime::MultiSignature3207 * Lookup436: sp_runtime::MultiSignature3188 **/3208 **/3189 SpRuntimeMultiSignature: {3209 SpRuntimeMultiSignature: {3190 _enum: {3210 _enum: {3191 Ed25519: 'SpCoreEd25519Signature',3211 Ed25519: 'SpCoreEd25519Signature',3192 Sr25519: 'SpCoreSr25519Signature',3212 Sr25519: 'SpCoreSr25519Signature',3193 Ecdsa: 'SpCoreEcdsaSignature'3213 Ecdsa: 'SpCoreEcdsaSignature'3194 }3214 }3195 },3215 },3196 /**3216 /**3197 * Lookup435: sp_core::ed25519::Signature3217 * Lookup437: sp_core::ed25519::Signature3198 **/3218 **/3199 SpCoreEd25519Signature: '[u8;64]',3219 SpCoreEd25519Signature: '[u8;64]',3200 /**3220 /**3201 * Lookup437: sp_core::sr25519::Signature3221 * Lookup439: sp_core::sr25519::Signature3202 **/3222 **/3203 SpCoreSr25519Signature: '[u8;64]',3223 SpCoreSr25519Signature: '[u8;64]',3204 /**3224 /**3205 * Lookup438: sp_core::ecdsa::Signature3225 * Lookup440: sp_core::ecdsa::Signature3206 **/3226 **/3207 SpCoreEcdsaSignature: '[u8;65]',3227 SpCoreEcdsaSignature: '[u8;65]',3208 /**3228 /**3209 * Lookup441: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3229 * Lookup443: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3210 **/3230 **/3211 FrameSystemExtensionsCheckSpecVersion: 'Null',3231 FrameSystemExtensionsCheckSpecVersion: 'Null',3212 /**3232 /**3213 * Lookup442: frame_system::extensions::check_genesis::CheckGenesis<T>3233 * Lookup444: frame_system::extensions::check_genesis::CheckGenesis<T>3214 **/3234 **/3215 FrameSystemExtensionsCheckGenesis: 'Null',3235 FrameSystemExtensionsCheckGenesis: 'Null',3216 /**3236 /**3217 * Lookup445: frame_system::extensions::check_nonce::CheckNonce<T>3237 * Lookup447: frame_system::extensions::check_nonce::CheckNonce<T>3218 **/3238 **/3219 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3239 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3220 /**3240 /**3221 * Lookup446: frame_system::extensions::check_weight::CheckWeight<T>3241 * Lookup448: frame_system::extensions::check_weight::CheckWeight<T>3222 **/3242 **/3223 FrameSystemExtensionsCheckWeight: 'Null',3243 FrameSystemExtensionsCheckWeight: 'Null',3224 /**3244 /**3225 * Lookup447: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3245 * Lookup449: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3226 **/3246 **/3227 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3247 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3228 /**3248 /**3229 * Lookup448: opal_runtime::Runtime3249 * Lookup450: opal_runtime::Runtime3230 **/3250 **/3231 OpalRuntimeRuntime: 'Null',3251 OpalRuntimeRuntime: 'Null',3232 /**3252 /**3233 * Lookup449: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3253 * Lookup451: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3234 **/3254 **/3235 PalletEthereumFakeTransactionFinalizer: 'Null'3255 PalletEthereumFakeTransactionFinalizer: 'Null'3236};3256};32373257tests/src/interfaces/registry.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';9910declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {11 interface InterfaceTypes {11 interface InterfaceTypes {84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;86 PalletAppPromotionCall: PalletAppPromotionCall;86 PalletAppPromotionCall: PalletAppPromotionCall;87 PalletAppPromotionError: PalletAppPromotionError;88 PalletAppPromotionEvent: PalletAppPromotionEvent;87 PalletBalancesAccountData: PalletBalancesAccountData;89 PalletBalancesAccountData: PalletBalancesAccountData;88 PalletBalancesBalanceLock: PalletBalancesBalanceLock;90 PalletBalancesBalanceLock: PalletBalancesBalanceLock;89 PalletBalancesCall: PalletBalancesCall;91 PalletBalancesCall: PalletBalancesCall;tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }1199 }12001201 /** @name PalletAppPromotionEvent (103) */1202 interface PalletAppPromotionEvent extends Enum {1203 readonly isStakingRecalculation: boolean;1204 readonly asStakingRecalculation: ITuple<[u128, u128]>;1205 readonly type: 'StakingRecalculation';1206 }120012071201 /** @name PalletEvmEvent (103) */1208 /** @name PalletEvmEvent (104) */1202 interface PalletEvmEvent extends Enum {1209 interface PalletEvmEvent extends Enum {1203 readonly isLog: boolean;1210 readonly isLog: boolean;1204 readonly asLog: EthereumLog;1211 readonly asLog: EthereumLog;1217 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1224 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1218 }1225 }121912261220 /** @name EthereumLog (104) */1227 /** @name EthereumLog (105) */1221 interface EthereumLog extends Struct {1228 interface EthereumLog extends Struct {1222 readonly address: H160;1229 readonly address: H160;1223 readonly topics: Vec<H256>;1230 readonly topics: Vec<H256>;1224 readonly data: Bytes;1231 readonly data: Bytes;1225 }1232 }122612331227 /** @name PalletEthereumEvent (108) */1234 /** @name PalletEthereumEvent (109) */1228 interface PalletEthereumEvent extends Enum {1235 interface PalletEthereumEvent extends Enum {1229 readonly isExecuted: boolean;1236 readonly isExecuted: boolean;1230 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1237 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1231 readonly type: 'Executed';1238 readonly type: 'Executed';1232 }1239 }123312401234 /** @name EvmCoreErrorExitReason (109) */1241 /** @name EvmCoreErrorExitReason (110) */1235 interface EvmCoreErrorExitReason extends Enum {1242 interface EvmCoreErrorExitReason extends Enum {1236 readonly isSucceed: boolean;1243 readonly isSucceed: boolean;1237 readonly asSucceed: EvmCoreErrorExitSucceed;1244 readonly asSucceed: EvmCoreErrorExitSucceed;1244 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1251 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1245 }1252 }124612531247 /** @name EvmCoreErrorExitSucceed (110) */1254 /** @name EvmCoreErrorExitSucceed (111) */1248 interface EvmCoreErrorExitSucceed extends Enum {1255 interface EvmCoreErrorExitSucceed extends Enum {1249 readonly isStopped: boolean;1256 readonly isStopped: boolean;1250 readonly isReturned: boolean;1257 readonly isReturned: boolean;1251 readonly isSuicided: boolean;1258 readonly isSuicided: boolean;1252 readonly type: 'Stopped' | 'Returned' | 'Suicided';1259 readonly type: 'Stopped' | 'Returned' | 'Suicided';1253 }1260 }125412611255 /** @name EvmCoreErrorExitError (111) */1262 /** @name EvmCoreErrorExitError (112) */1256 interface EvmCoreErrorExitError extends Enum {1263 interface EvmCoreErrorExitError extends Enum {1257 readonly isStackUnderflow: boolean;1264 readonly isStackUnderflow: boolean;1258 readonly isStackOverflow: boolean;1265 readonly isStackOverflow: boolean;1273 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1280 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1274 }1281 }127512821276 /** @name EvmCoreErrorExitRevert (114) */1283 /** @name EvmCoreErrorExitRevert (115) */1277 interface EvmCoreErrorExitRevert extends Enum {1284 interface EvmCoreErrorExitRevert extends Enum {1278 readonly isReverted: boolean;1285 readonly isReverted: boolean;1279 readonly type: 'Reverted';1286 readonly type: 'Reverted';1280 }1287 }128112881282 /** @name EvmCoreErrorExitFatal (115) */1289 /** @name EvmCoreErrorExitFatal (116) */1283 interface EvmCoreErrorExitFatal extends Enum {1290 interface EvmCoreErrorExitFatal extends Enum {1284 readonly isNotSupported: boolean;1291 readonly isNotSupported: boolean;1285 readonly isUnhandledInterrupt: boolean;1292 readonly isUnhandledInterrupt: boolean;1290 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1297 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1291 }1298 }129212991293 /** @name FrameSystemPhase (116) */1300 /** @name FrameSystemPhase (117) */1294 interface FrameSystemPhase extends Enum {1301 interface FrameSystemPhase extends Enum {1295 readonly isApplyExtrinsic: boolean;1302 readonly isApplyExtrinsic: boolean;1296 readonly asApplyExtrinsic: u32;1303 readonly asApplyExtrinsic: u32;1299 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1306 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1300 }1307 }130113081302 /** @name FrameSystemLastRuntimeUpgradeInfo (118) */1309 /** @name FrameSystemLastRuntimeUpgradeInfo (119) */1303 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1310 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1304 readonly specVersion: Compact<u32>;1311 readonly specVersion: Compact<u32>;1305 readonly specName: Text;1312 readonly specName: Text;1306 }1313 }130713141308 /** @name FrameSystemCall (119) */1315 /** @name FrameSystemCall (120) */1309 interface FrameSystemCall extends Enum {1316 interface FrameSystemCall extends Enum {1310 readonly isFillBlock: boolean;1317 readonly isFillBlock: boolean;1311 readonly asFillBlock: {1318 readonly asFillBlock: {1347 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1354 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1348 }1355 }134913561350 /** @name FrameSystemLimitsBlockWeights (124) */1357 /** @name FrameSystemLimitsBlockWeights (125) */1351 interface FrameSystemLimitsBlockWeights extends Struct {1358 interface FrameSystemLimitsBlockWeights extends Struct {1352 readonly baseBlock: u64;1359 readonly baseBlock: u64;1353 readonly maxBlock: u64;1360 readonly maxBlock: u64;1354 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1361 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1355 }1362 }135613631357 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */1364 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (126) */1358 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1365 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1359 readonly normal: FrameSystemLimitsWeightsPerClass;1366 readonly normal: FrameSystemLimitsWeightsPerClass;1360 readonly operational: FrameSystemLimitsWeightsPerClass;1367 readonly operational: FrameSystemLimitsWeightsPerClass;1361 readonly mandatory: FrameSystemLimitsWeightsPerClass;1368 readonly mandatory: FrameSystemLimitsWeightsPerClass;1362 }1369 }136313701364 /** @name FrameSystemLimitsWeightsPerClass (126) */1371 /** @name FrameSystemLimitsWeightsPerClass (127) */1365 interface FrameSystemLimitsWeightsPerClass extends Struct {1372 interface FrameSystemLimitsWeightsPerClass extends Struct {1366 readonly baseExtrinsic: u64;1373 readonly baseExtrinsic: u64;1367 readonly maxExtrinsic: Option<u64>;1374 readonly maxExtrinsic: Option<u64>;1368 readonly maxTotal: Option<u64>;1375 readonly maxTotal: Option<u64>;1369 readonly reserved: Option<u64>;1376 readonly reserved: Option<u64>;1370 }1377 }137113781372 /** @name FrameSystemLimitsBlockLength (128) */1379 /** @name FrameSystemLimitsBlockLength (129) */1373 interface FrameSystemLimitsBlockLength extends Struct {1380 interface FrameSystemLimitsBlockLength extends Struct {1374 readonly max: FrameSupportWeightsPerDispatchClassU32;1381 readonly max: FrameSupportWeightsPerDispatchClassU32;1375 }1382 }137613831377 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1384 /** @name FrameSupportWeightsPerDispatchClassU32 (130) */1378 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1385 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1379 readonly normal: u32;1386 readonly normal: u32;1380 readonly operational: u32;1387 readonly operational: u32;1381 readonly mandatory: u32;1388 readonly mandatory: u32;1382 }1389 }138313901384 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1391 /** @name FrameSupportWeightsRuntimeDbWeight (131) */1385 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1392 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1386 readonly read: u64;1393 readonly read: u64;1387 readonly write: u64;1394 readonly write: u64;1388 }1395 }138913961390 /** @name SpVersionRuntimeVersion (131) */1397 /** @name SpVersionRuntimeVersion (132) */1391 interface SpVersionRuntimeVersion extends Struct {1398 interface SpVersionRuntimeVersion extends Struct {1392 readonly specName: Text;1399 readonly specName: Text;1393 readonly implName: Text;1400 readonly implName: Text;1399 readonly stateVersion: u8;1406 readonly stateVersion: u8;1400 }1407 }140114081402 /** @name FrameSystemError (136) */1409 /** @name FrameSystemError (137) */1403 interface FrameSystemError extends Enum {1410 interface FrameSystemError extends Enum {1404 readonly isInvalidSpecName: boolean;1411 readonly isInvalidSpecName: boolean;1405 readonly isSpecVersionNeedsToIncrease: boolean;1412 readonly isSpecVersionNeedsToIncrease: boolean;1410 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1417 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1411 }1418 }141214191413 /** @name PolkadotPrimitivesV2PersistedValidationData (137) */1420 /** @name PolkadotPrimitivesV2PersistedValidationData (138) */1414 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1421 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1415 readonly parentHead: Bytes;1422 readonly parentHead: Bytes;1416 readonly relayParentNumber: u32;1423 readonly relayParentNumber: u32;1417 readonly relayParentStorageRoot: H256;1424 readonly relayParentStorageRoot: H256;1418 readonly maxPovSize: u32;1425 readonly maxPovSize: u32;1419 }1426 }142014271421 /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */1428 /** @name PolkadotPrimitivesV2UpgradeRestriction (141) */1422 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1429 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1423 readonly isPresent: boolean;1430 readonly isPresent: boolean;1424 readonly type: 'Present';1431 readonly type: 'Present';1425 }1432 }142614331427 /** @name SpTrieStorageProof (141) */1434 /** @name SpTrieStorageProof (142) */1428 interface SpTrieStorageProof extends Struct {1435 interface SpTrieStorageProof extends Struct {1429 readonly trieNodes: BTreeSet<Bytes>;1436 readonly trieNodes: BTreeSet<Bytes>;1430 }1437 }143114381432 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */1439 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (144) */1433 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1440 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1434 readonly dmqMqcHead: H256;1441 readonly dmqMqcHead: H256;1435 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1442 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1436 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1443 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1437 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1444 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1438 }1445 }143914461440 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */1447 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (147) */1441 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1448 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1442 readonly maxCapacity: u32;1449 readonly maxCapacity: u32;1443 readonly maxTotalSize: u32;1450 readonly maxTotalSize: u32;1447 readonly mqcHead: Option<H256>;1454 readonly mqcHead: Option<H256>;1448 }1455 }144914561450 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */1457 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (148) */1451 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1458 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1452 readonly maxCodeSize: u32;1459 readonly maxCodeSize: u32;1453 readonly maxHeadDataSize: u32;1460 readonly maxHeadDataSize: u32;1460 readonly validationUpgradeDelay: u32;1467 readonly validationUpgradeDelay: u32;1461 }1468 }146214691463 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */1470 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (154) */1464 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1471 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1465 readonly recipient: u32;1472 readonly recipient: u32;1466 readonly data: Bytes;1473 readonly data: Bytes;1467 }1474 }146814751469 /** @name CumulusPalletParachainSystemCall (154) */1476 /** @name CumulusPalletParachainSystemCall (155) */1470 interface CumulusPalletParachainSystemCall extends Enum {1477 interface CumulusPalletParachainSystemCall extends Enum {1471 readonly isSetValidationData: boolean;1478 readonly isSetValidationData: boolean;1472 readonly asSetValidationData: {1479 readonly asSetValidationData: {1487 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1494 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1488 }1495 }148914961490 /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */1497 /** @name CumulusPrimitivesParachainInherentParachainInherentData (156) */1491 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1498 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1492 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1499 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1493 readonly relayChainState: SpTrieStorageProof;1500 readonly relayChainState: SpTrieStorageProof;1494 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1501 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1495 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1502 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1496 }1503 }149715041498 /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */1505 /** @name PolkadotCorePrimitivesInboundDownwardMessage (158) */1499 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1506 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1500 readonly sentAt: u32;1507 readonly sentAt: u32;1501 readonly msg: Bytes;1508 readonly msg: Bytes;1502 }1509 }150315101504 /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */1511 /** @name PolkadotCorePrimitivesInboundHrmpMessage (161) */1505 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1512 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1506 readonly sentAt: u32;1513 readonly sentAt: u32;1507 readonly data: Bytes;1514 readonly data: Bytes;1508 }1515 }150915161510 /** @name CumulusPalletParachainSystemError (163) */1517 /** @name CumulusPalletParachainSystemError (164) */1511 interface CumulusPalletParachainSystemError extends Enum {1518 interface CumulusPalletParachainSystemError extends Enum {1512 readonly isOverlappingUpgrades: boolean;1519 readonly isOverlappingUpgrades: boolean;1513 readonly isProhibitedByPolkadot: boolean;1520 readonly isProhibitedByPolkadot: boolean;1520 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1527 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1521 }1528 }152215291523 /** @name PalletBalancesBalanceLock (165) */1530 /** @name PalletBalancesBalanceLock (166) */1524 interface PalletBalancesBalanceLock extends Struct {1531 interface PalletBalancesBalanceLock extends Struct {1525 readonly id: U8aFixed;1532 readonly id: U8aFixed;1526 readonly amount: u128;1533 readonly amount: u128;1527 readonly reasons: PalletBalancesReasons;1534 readonly reasons: PalletBalancesReasons;1528 }1535 }152915361530 /** @name PalletBalancesReasons (166) */1537 /** @name PalletBalancesReasons (167) */1531 interface PalletBalancesReasons extends Enum {1538 interface PalletBalancesReasons extends Enum {1532 readonly isFee: boolean;1539 readonly isFee: boolean;1533 readonly isMisc: boolean;1540 readonly isMisc: boolean;1534 readonly isAll: boolean;1541 readonly isAll: boolean;1535 readonly type: 'Fee' | 'Misc' | 'All';1542 readonly type: 'Fee' | 'Misc' | 'All';1536 }1543 }153715441538 /** @name PalletBalancesReserveData (169) */1545 /** @name PalletBalancesReserveData (170) */1539 interface PalletBalancesReserveData extends Struct {1546 interface PalletBalancesReserveData extends Struct {1540 readonly id: U8aFixed;1547 readonly id: U8aFixed;1541 readonly amount: u128;1548 readonly amount: u128;1542 }1549 }154315501544 /** @name PalletBalancesReleases (171) */1551 /** @name PalletBalancesReleases (172) */1545 interface PalletBalancesReleases extends Enum {1552 interface PalletBalancesReleases extends Enum {1546 readonly isV100: boolean;1553 readonly isV100: boolean;1547 readonly isV200: boolean;1554 readonly isV200: boolean;1548 readonly type: 'V100' | 'V200';1555 readonly type: 'V100' | 'V200';1549 }1556 }155015571551 /** @name PalletBalancesCall (172) */1558 /** @name PalletBalancesCall (173) */1552 interface PalletBalancesCall extends Enum {1559 interface PalletBalancesCall extends Enum {1553 readonly isTransfer: boolean;1560 readonly isTransfer: boolean;1554 readonly asTransfer: {1561 readonly asTransfer: {1585 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1592 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1586 }1593 }158715941588 /** @name PalletBalancesError (175) */1595 /** @name PalletBalancesError (176) */1589 interface PalletBalancesError extends Enum {1596 interface PalletBalancesError extends Enum {1590 readonly isVestingBalance: boolean;1597 readonly isVestingBalance: boolean;1591 readonly isLiquidityRestrictions: boolean;1598 readonly isLiquidityRestrictions: boolean;1598 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1605 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1599 }1606 }160016071601 /** @name PalletTimestampCall (177) */1608 /** @name PalletTimestampCall (178) */1602 interface PalletTimestampCall extends Enum {1609 interface PalletTimestampCall extends Enum {1603 readonly isSet: boolean;1610 readonly isSet: boolean;1604 readonly asSet: {1611 readonly asSet: {1607 readonly type: 'Set';1614 readonly type: 'Set';1608 }1615 }160916161610 /** @name PalletTransactionPaymentReleases (179) */1617 /** @name PalletTransactionPaymentReleases (180) */1611 interface PalletTransactionPaymentReleases extends Enum {1618 interface PalletTransactionPaymentReleases extends Enum {1612 readonly isV1Ancient: boolean;1619 readonly isV1Ancient: boolean;1613 readonly isV2: boolean;1620 readonly isV2: boolean;1614 readonly type: 'V1Ancient' | 'V2';1621 readonly type: 'V1Ancient' | 'V2';1615 }1622 }161616231617 /** @name PalletTreasuryProposal (180) */1624 /** @name PalletTreasuryProposal (181) */1618 interface PalletTreasuryProposal extends Struct {1625 interface PalletTreasuryProposal extends Struct {1619 readonly proposer: AccountId32;1626 readonly proposer: AccountId32;1620 readonly value: u128;1627 readonly value: u128;1621 readonly beneficiary: AccountId32;1628 readonly beneficiary: AccountId32;1622 readonly bond: u128;1629 readonly bond: u128;1623 }1630 }162416311625 /** @name PalletTreasuryCall (183) */1632 /** @name PalletTreasuryCall (184) */1626 interface PalletTreasuryCall extends Enum {1633 interface PalletTreasuryCall extends Enum {1627 readonly isProposeSpend: boolean;1634 readonly isProposeSpend: boolean;1628 readonly asProposeSpend: {1635 readonly asProposeSpend: {1649 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1656 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1650 }1657 }165116581652 /** @name FrameSupportPalletId (186) */1659 /** @name FrameSupportPalletId (187) */1653 interface FrameSupportPalletId extends U8aFixed {}1660 interface FrameSupportPalletId extends U8aFixed {}165416611655 /** @name PalletTreasuryError (187) */1662 /** @name PalletTreasuryError (188) */1656 interface PalletTreasuryError extends Enum {1663 interface PalletTreasuryError extends Enum {1657 readonly isInsufficientProposersBalance: boolean;1664 readonly isInsufficientProposersBalance: boolean;1658 readonly isInvalidIndex: boolean;1665 readonly isInvalidIndex: boolean;1662 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1669 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1663 }1670 }166416711665 /** @name PalletSudoCall (188) */1672 /** @name PalletSudoCall (189) */1666 interface PalletSudoCall extends Enum {1673 interface PalletSudoCall extends Enum {1667 readonly isSudo: boolean;1674 readonly isSudo: boolean;1668 readonly asSudo: {1675 readonly asSudo: {1685 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1692 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1686 }1693 }168716941688 /** @name OrmlVestingModuleCall (190) */1695 /** @name OrmlVestingModuleCall (191) */1689 interface OrmlVestingModuleCall extends Enum {1696 interface OrmlVestingModuleCall extends Enum {1690 readonly isClaim: boolean;1697 readonly isClaim: boolean;1691 readonly isVestedTransfer: boolean;1698 readonly isVestedTransfer: boolean;1705 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1712 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1706 }1713 }170717141708 /** @name CumulusPalletXcmpQueueCall (192) */1715 /** @name CumulusPalletXcmpQueueCall (193) */1709 interface CumulusPalletXcmpQueueCall extends Enum {1716 interface CumulusPalletXcmpQueueCall extends Enum {1710 readonly isServiceOverweight: boolean;1717 readonly isServiceOverweight: boolean;1711 readonly asServiceOverweight: {1718 readonly asServiceOverweight: {1741 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1748 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1742 }1749 }174317501744 /** @name PalletXcmCall (193) */1751 /** @name PalletXcmCall (194) */1745 interface PalletXcmCall extends Enum {1752 interface PalletXcmCall extends Enum {1746 readonly isSend: boolean;1753 readonly isSend: boolean;1747 readonly asSend: {1754 readonly asSend: {1803 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1810 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1804 }1811 }180518121806 /** @name XcmVersionedXcm (194) */1813 /** @name XcmVersionedXcm (195) */1807 interface XcmVersionedXcm extends Enum {1814 interface XcmVersionedXcm extends Enum {1808 readonly isV0: boolean;1815 readonly isV0: boolean;1809 readonly asV0: XcmV0Xcm;1816 readonly asV0: XcmV0Xcm;1814 readonly type: 'V0' | 'V1' | 'V2';1821 readonly type: 'V0' | 'V1' | 'V2';1815 }1822 }181618231817 /** @name XcmV0Xcm (195) */1824 /** @name XcmV0Xcm (196) */1818 interface XcmV0Xcm extends Enum {1825 interface XcmV0Xcm extends Enum {1819 readonly isWithdrawAsset: boolean;1826 readonly isWithdrawAsset: boolean;1820 readonly asWithdrawAsset: {1827 readonly asWithdrawAsset: {1877 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1884 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1878 }1885 }187918861880 /** @name XcmV0Order (197) */1887 /** @name XcmV0Order (198) */1881 interface XcmV0Order extends Enum {1888 interface XcmV0Order extends Enum {1882 readonly isNull: boolean;1889 readonly isNull: boolean;1883 readonly isDepositAsset: boolean;1890 readonly isDepositAsset: boolean;1925 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1932 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1926 }1933 }192719341928 /** @name XcmV0Response (199) */1935 /** @name XcmV0Response (200) */1929 interface XcmV0Response extends Enum {1936 interface XcmV0Response extends Enum {1930 readonly isAssets: boolean;1937 readonly isAssets: boolean;1931 readonly asAssets: Vec<XcmV0MultiAsset>;1938 readonly asAssets: Vec<XcmV0MultiAsset>;1932 readonly type: 'Assets';1939 readonly type: 'Assets';1933 }1940 }193419411935 /** @name XcmV1Xcm (200) */1942 /** @name XcmV1Xcm (201) */1936 interface XcmV1Xcm extends Enum {1943 interface XcmV1Xcm extends Enum {1937 readonly isWithdrawAsset: boolean;1944 readonly isWithdrawAsset: boolean;1938 readonly asWithdrawAsset: {1945 readonly asWithdrawAsset: {2001 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2008 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2002 }2009 }200320102004 /** @name XcmV1Order (202) */2011 /** @name XcmV1Order (203) */2005 interface XcmV1Order extends Enum {2012 interface XcmV1Order extends Enum {2006 readonly isNoop: boolean;2013 readonly isNoop: boolean;2007 readonly isDepositAsset: boolean;2014 readonly isDepositAsset: boolean;2051 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2058 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2052 }2059 }205320602054 /** @name XcmV1Response (204) */2061 /** @name XcmV1Response (205) */2055 interface XcmV1Response extends Enum {2062 interface XcmV1Response extends Enum {2056 readonly isAssets: boolean;2063 readonly isAssets: boolean;2057 readonly asAssets: XcmV1MultiassetMultiAssets;2064 readonly asAssets: XcmV1MultiassetMultiAssets;2060 readonly type: 'Assets' | 'Version';2067 readonly type: 'Assets' | 'Version';2061 }2068 }206220692063 /** @name CumulusPalletXcmCall (218) */2070 /** @name CumulusPalletXcmCall (219) */2064 type CumulusPalletXcmCall = Null;2071 type CumulusPalletXcmCall = Null;206520722066 /** @name CumulusPalletDmpQueueCall (219) */2073 /** @name CumulusPalletDmpQueueCall (220) */2067 interface CumulusPalletDmpQueueCall extends Enum {2074 interface CumulusPalletDmpQueueCall extends Enum {2068 readonly isServiceOverweight: boolean;2075 readonly isServiceOverweight: boolean;2069 readonly asServiceOverweight: {2076 readonly asServiceOverweight: {2073 readonly type: 'ServiceOverweight';2080 readonly type: 'ServiceOverweight';2074 }2081 }207520822076 /** @name PalletInflationCall (220) */2083 /** @name PalletInflationCall (221) */2077 interface PalletInflationCall extends Enum {2084 interface PalletInflationCall extends Enum {2078 readonly isStartInflation: boolean;2085 readonly isStartInflation: boolean;2079 readonly asStartInflation: {2086 readonly asStartInflation: {2082 readonly type: 'StartInflation';2089 readonly type: 'StartInflation';2083 }2090 }208420912085 /** @name PalletUniqueCall (221) */2092 /** @name PalletUniqueCall (222) */2086 interface PalletUniqueCall extends Enum {2093 interface PalletUniqueCall extends Enum {2087 readonly isCreateCollection: boolean;2094 readonly isCreateCollection: boolean;2088 readonly asCreateCollection: {2095 readonly asCreateCollection: {2240 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';2247 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';2241 }2248 }224222492243 /** @name UpDataStructsCollectionMode (226) */2250 /** @name UpDataStructsCollectionMode (227) */2244 interface UpDataStructsCollectionMode extends Enum {2251 interface UpDataStructsCollectionMode extends Enum {2245 readonly isNft: boolean;2252 readonly isNft: boolean;2246 readonly isFungible: boolean;2253 readonly isFungible: boolean;2249 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2256 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2250 }2257 }225122582252 /** @name UpDataStructsCreateCollectionData (227) */2259 /** @name UpDataStructsCreateCollectionData (228) */2253 interface UpDataStructsCreateCollectionData extends Struct {2260 interface UpDataStructsCreateCollectionData extends Struct {2254 readonly mode: UpDataStructsCollectionMode;2261 readonly mode: UpDataStructsCollectionMode;2255 readonly access: Option<UpDataStructsAccessMode>;2262 readonly access: Option<UpDataStructsAccessMode>;2263 readonly properties: Vec<UpDataStructsProperty>;2270 readonly properties: Vec<UpDataStructsProperty>;2264 }2271 }226522722266 /** @name UpDataStructsAccessMode (229) */2273 /** @name UpDataStructsAccessMode (230) */2267 interface UpDataStructsAccessMode extends Enum {2274 interface UpDataStructsAccessMode extends Enum {2268 readonly isNormal: boolean;2275 readonly isNormal: boolean;2269 readonly isAllowList: boolean;2276 readonly isAllowList: boolean;2270 readonly type: 'Normal' | 'AllowList';2277 readonly type: 'Normal' | 'AllowList';2271 }2278 }227222792273 /** @name UpDataStructsCollectionLimits (231) */2280 /** @name UpDataStructsCollectionLimits (232) */2274 interface UpDataStructsCollectionLimits extends Struct {2281 interface UpDataStructsCollectionLimits extends Struct {2275 readonly accountTokenOwnershipLimit: Option<u32>;2282 readonly accountTokenOwnershipLimit: Option<u32>;2276 readonly sponsoredDataSize: Option<u32>;2283 readonly sponsoredDataSize: Option<u32>;2283 readonly transfersEnabled: Option<bool>;2290 readonly transfersEnabled: Option<bool>;2284 }2291 }228522922286 /** @name UpDataStructsSponsoringRateLimit (233) */2293 /** @name UpDataStructsSponsoringRateLimit (234) */2287 interface UpDataStructsSponsoringRateLimit extends Enum {2294 interface UpDataStructsSponsoringRateLimit extends Enum {2288 readonly isSponsoringDisabled: boolean;2295 readonly isSponsoringDisabled: boolean;2289 readonly isBlocks: boolean;2296 readonly isBlocks: boolean;2290 readonly asBlocks: u32;2297 readonly asBlocks: u32;2291 readonly type: 'SponsoringDisabled' | 'Blocks';2298 readonly type: 'SponsoringDisabled' | 'Blocks';2292 }2299 }229323002294 /** @name UpDataStructsCollectionPermissions (236) */2301 /** @name UpDataStructsCollectionPermissions (237) */2295 interface UpDataStructsCollectionPermissions extends Struct {2302 interface UpDataStructsCollectionPermissions extends Struct {2296 readonly access: Option<UpDataStructsAccessMode>;2303 readonly access: Option<UpDataStructsAccessMode>;2297 readonly mintMode: Option<bool>;2304 readonly mintMode: Option<bool>;2298 readonly nesting: Option<UpDataStructsNestingPermissions>;2305 readonly nesting: Option<UpDataStructsNestingPermissions>;2299 }2306 }230023072301 /** @name UpDataStructsNestingPermissions (238) */2308 /** @name UpDataStructsNestingPermissions (239) */2302 interface UpDataStructsNestingPermissions extends Struct {2309 interface UpDataStructsNestingPermissions extends Struct {2303 readonly tokenOwner: bool;2310 readonly tokenOwner: bool;2304 readonly collectionAdmin: bool;2311 readonly collectionAdmin: bool;2305 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2312 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2306 }2313 }230723142308 /** @name UpDataStructsOwnerRestrictedSet (240) */2315 /** @name UpDataStructsOwnerRestrictedSet (241) */2309 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2316 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}231023172311 /** @name UpDataStructsPropertyKeyPermission (245) */2318 /** @name UpDataStructsPropertyKeyPermission (246) */2312 interface UpDataStructsPropertyKeyPermission extends Struct {2319 interface UpDataStructsPropertyKeyPermission extends Struct {2313 readonly key: Bytes;2320 readonly key: Bytes;2314 readonly permission: UpDataStructsPropertyPermission;2321 readonly permission: UpDataStructsPropertyPermission;2315 }2322 }231623232317 /** @name UpDataStructsPropertyPermission (246) */2324 /** @name UpDataStructsPropertyPermission (247) */2318 interface UpDataStructsPropertyPermission extends Struct {2325 interface UpDataStructsPropertyPermission extends Struct {2319 readonly mutable: bool;2326 readonly mutable: bool;2320 readonly collectionAdmin: bool;2327 readonly collectionAdmin: bool;2321 readonly tokenOwner: bool;2328 readonly tokenOwner: bool;2322 }2329 }232323302324 /** @name UpDataStructsProperty (249) */2331 /** @name UpDataStructsProperty (250) */2325 interface UpDataStructsProperty extends Struct {2332 interface UpDataStructsProperty extends Struct {2326 readonly key: Bytes;2333 readonly key: Bytes;2327 readonly value: Bytes;2334 readonly value: Bytes;2328 }2335 }232923362330 /** @name UpDataStructsCreateItemData (252) */2337 /** @name UpDataStructsCreateItemData (253) */2331 interface UpDataStructsCreateItemData extends Enum {2338 interface UpDataStructsCreateItemData extends Enum {2332 readonly isNft: boolean;2339 readonly isNft: boolean;2333 readonly asNft: UpDataStructsCreateNftData;2340 readonly asNft: UpDataStructsCreateNftData;2338 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2345 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2339 }2346 }234023472341 /** @name UpDataStructsCreateNftData (253) */2348 /** @name UpDataStructsCreateNftData (254) */2342 interface UpDataStructsCreateNftData extends Struct {2349 interface UpDataStructsCreateNftData extends Struct {2343 readonly properties: Vec<UpDataStructsProperty>;2350 readonly properties: Vec<UpDataStructsProperty>;2344 }2351 }234523522346 /** @name UpDataStructsCreateFungibleData (254) */2353 /** @name UpDataStructsCreateFungibleData (255) */2347 interface UpDataStructsCreateFungibleData extends Struct {2354 interface UpDataStructsCreateFungibleData extends Struct {2348 readonly value: u128;2355 readonly value: u128;2349 }2356 }235023572351 /** @name UpDataStructsCreateReFungibleData (255) */2358 /** @name UpDataStructsCreateReFungibleData (256) */2352 interface UpDataStructsCreateReFungibleData extends Struct {2359 interface UpDataStructsCreateReFungibleData extends Struct {2353 readonly pieces: u128;2360 readonly pieces: u128;2354 readonly properties: Vec<UpDataStructsProperty>;2361 readonly properties: Vec<UpDataStructsProperty>;2355 }2362 }235623632357 /** @name UpDataStructsCreateItemExData (258) */2364 /** @name UpDataStructsCreateItemExData (259) */2358 interface UpDataStructsCreateItemExData extends Enum {2365 interface UpDataStructsCreateItemExData extends Enum {2359 readonly isNft: boolean;2366 readonly isNft: boolean;2360 readonly asNft: Vec<UpDataStructsCreateNftExData>;2367 readonly asNft: Vec<UpDataStructsCreateNftExData>;2367 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2374 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2368 }2375 }236923762370 /** @name UpDataStructsCreateNftExData (260) */2377 /** @name UpDataStructsCreateNftExData (261) */2371 interface UpDataStructsCreateNftExData extends Struct {2378 interface UpDataStructsCreateNftExData extends Struct {2372 readonly properties: Vec<UpDataStructsProperty>;2379 readonly properties: Vec<UpDataStructsProperty>;2373 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2380 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2374 }2381 }237523822376 /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */2383 /** @name UpDataStructsCreateRefungibleExSingleOwner (268) */2377 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2384 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2378 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2385 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly pieces: u128;2386 readonly pieces: u128;2380 readonly properties: Vec<UpDataStructsProperty>;2387 readonly properties: Vec<UpDataStructsProperty>;2381 }2388 }238223892383 /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */2390 /** @name UpDataStructsCreateRefungibleExMultipleOwners (270) */2384 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2391 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2385 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2392 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2386 readonly properties: Vec<UpDataStructsProperty>;2393 readonly properties: Vec<UpDataStructsProperty>;2387 }2394 }238823952389 /** @name PalletUniqueSchedulerCall (270) */2396 /** @name PalletUniqueSchedulerCall (271) */2390 interface PalletUniqueSchedulerCall extends Enum {2397 interface PalletUniqueSchedulerCall extends Enum {2391 readonly isScheduleNamed: boolean;2398 readonly isScheduleNamed: boolean;2392 readonly asScheduleNamed: {2399 readonly asScheduleNamed: {2411 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2418 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2412 }2419 }241324202414 /** @name FrameSupportScheduleMaybeHashed (272) */2421 /** @name FrameSupportScheduleMaybeHashed (273) */2415 interface FrameSupportScheduleMaybeHashed extends Enum {2422 interface FrameSupportScheduleMaybeHashed extends Enum {2416 readonly isValue: boolean;2423 readonly isValue: boolean;2417 readonly asValue: Call;2424 readonly asValue: Call;2420 readonly type: 'Value' | 'Hash';2427 readonly type: 'Value' | 'Hash';2421 }2428 }242224292423 /** @name PalletConfigurationCall (273) */2430 /** @name PalletConfigurationCall (274) */2424 interface PalletConfigurationCall extends Enum {2431 interface PalletConfigurationCall extends Enum {2425 readonly isSetWeightToFeeCoefficientOverride: boolean;2432 readonly isSetWeightToFeeCoefficientOverride: boolean;2426 readonly asSetWeightToFeeCoefficientOverride: {2433 readonly asSetWeightToFeeCoefficientOverride: {2433 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2440 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2434 }2441 }243524422436 /** @name PalletTemplateTransactionPaymentCall (274) */2443 /** @name PalletTemplateTransactionPaymentCall (275) */2437 type PalletTemplateTransactionPaymentCall = Null;2444 type PalletTemplateTransactionPaymentCall = Null;243824452439 /** @name PalletStructureCall (275) */2446 /** @name PalletStructureCall (276) */2440 type PalletStructureCall = Null;2447 type PalletStructureCall = Null;244124482442 /** @name PalletRmrkCoreCall (276) */2449 /** @name PalletRmrkCoreCall (277) */2443 interface PalletRmrkCoreCall extends Enum {2450 interface PalletRmrkCoreCall extends Enum {2444 readonly isCreateCollection: boolean;2451 readonly isCreateCollection: boolean;2445 readonly asCreateCollection: {2452 readonly asCreateCollection: {2545 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2552 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2546 }2553 }254725542548 /** @name RmrkTraitsResourceResourceTypes (282) */2555 /** @name RmrkTraitsResourceResourceTypes (283) */2549 interface RmrkTraitsResourceResourceTypes extends Enum {2556 interface RmrkTraitsResourceResourceTypes extends Enum {2550 readonly isBasic: boolean;2557 readonly isBasic: boolean;2551 readonly asBasic: RmrkTraitsResourceBasicResource;2558 readonly asBasic: RmrkTraitsResourceBasicResource;2556 readonly type: 'Basic' | 'Composable' | 'Slot';2563 readonly type: 'Basic' | 'Composable' | 'Slot';2557 }2564 }255825652559 /** @name RmrkTraitsResourceBasicResource (284) */2566 /** @name RmrkTraitsResourceBasicResource (285) */2560 interface RmrkTraitsResourceBasicResource extends Struct {2567 interface RmrkTraitsResourceBasicResource extends Struct {2561 readonly src: Option<Bytes>;2568 readonly src: Option<Bytes>;2562 readonly metadata: Option<Bytes>;2569 readonly metadata: Option<Bytes>;2563 readonly license: Option<Bytes>;2570 readonly license: Option<Bytes>;2564 readonly thumb: Option<Bytes>;2571 readonly thumb: Option<Bytes>;2565 }2572 }256625732567 /** @name RmrkTraitsResourceComposableResource (286) */2574 /** @name RmrkTraitsResourceComposableResource (287) */2568 interface RmrkTraitsResourceComposableResource extends Struct {2575 interface RmrkTraitsResourceComposableResource extends Struct {2569 readonly parts: Vec<u32>;2576 readonly parts: Vec<u32>;2570 readonly base: u32;2577 readonly base: u32;2574 readonly thumb: Option<Bytes>;2581 readonly thumb: Option<Bytes>;2575 }2582 }257625832577 /** @name RmrkTraitsResourceSlotResource (287) */2584 /** @name RmrkTraitsResourceSlotResource (288) */2578 interface RmrkTraitsResourceSlotResource extends Struct {2585 interface RmrkTraitsResourceSlotResource extends Struct {2579 readonly base: u32;2586 readonly base: u32;2580 readonly src: Option<Bytes>;2587 readonly src: Option<Bytes>;2584 readonly thumb: Option<Bytes>;2591 readonly thumb: Option<Bytes>;2585 }2592 }258625932587 /** @name PalletRmrkEquipCall (290) */2594 /** @name PalletRmrkEquipCall (291) */2588 interface PalletRmrkEquipCall extends Enum {2595 interface PalletRmrkEquipCall extends Enum {2589 readonly isCreateBase: boolean;2596 readonly isCreateBase: boolean;2590 readonly asCreateBase: {2597 readonly asCreateBase: {2606 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2613 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2607 }2614 }260826152609 /** @name RmrkTraitsPartPartType (293) */2616 /** @name RmrkTraitsPartPartType (294) */2610 interface RmrkTraitsPartPartType extends Enum {2617 interface RmrkTraitsPartPartType extends Enum {2611 readonly isFixedPart: boolean;2618 readonly isFixedPart: boolean;2612 readonly asFixedPart: RmrkTraitsPartFixedPart;2619 readonly asFixedPart: RmrkTraitsPartFixedPart;2615 readonly type: 'FixedPart' | 'SlotPart';2622 readonly type: 'FixedPart' | 'SlotPart';2616 }2623 }261726242618 /** @name RmrkTraitsPartFixedPart (295) */2625 /** @name RmrkTraitsPartFixedPart (296) */2619 interface RmrkTraitsPartFixedPart extends Struct {2626 interface RmrkTraitsPartFixedPart extends Struct {2620 readonly id: u32;2627 readonly id: u32;2621 readonly z: u32;2628 readonly z: u32;2622 readonly src: Bytes;2629 readonly src: Bytes;2623 }2630 }262426312625 /** @name RmrkTraitsPartSlotPart (296) */2632 /** @name RmrkTraitsPartSlotPart (297) */2626 interface RmrkTraitsPartSlotPart extends Struct {2633 interface RmrkTraitsPartSlotPart extends Struct {2627 readonly id: u32;2634 readonly id: u32;2628 readonly equippable: RmrkTraitsPartEquippableList;2635 readonly equippable: RmrkTraitsPartEquippableList;2629 readonly src: Bytes;2636 readonly src: Bytes;2630 readonly z: u32;2637 readonly z: u32;2631 }2638 }263226392633 /** @name RmrkTraitsPartEquippableList (297) */2640 /** @name RmrkTraitsPartEquippableList (298) */2634 interface RmrkTraitsPartEquippableList extends Enum {2641 interface RmrkTraitsPartEquippableList extends Enum {2635 readonly isAll: boolean;2642 readonly isAll: boolean;2636 readonly isEmpty: boolean;2643 readonly isEmpty: boolean;2639 readonly type: 'All' | 'Empty' | 'Custom';2646 readonly type: 'All' | 'Empty' | 'Custom';2640 }2647 }264126482642 /** @name RmrkTraitsTheme (299) */2649 /** @name RmrkTraitsTheme (300) */2643 interface RmrkTraitsTheme extends Struct {2650 interface RmrkTraitsTheme extends Struct {2644 readonly name: Bytes;2651 readonly name: Bytes;2645 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2652 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2646 readonly inherit: bool;2653 readonly inherit: bool;2647 }2654 }264826552649 /** @name RmrkTraitsThemeThemeProperty (301) */2656 /** @name RmrkTraitsThemeThemeProperty (302) */2650 interface RmrkTraitsThemeThemeProperty extends Struct {2657 interface RmrkTraitsThemeThemeProperty extends Struct {2651 readonly key: Bytes;2658 readonly key: Bytes;2652 readonly value: Bytes;2659 readonly value: Bytes;2653 }2660 }265426612655 /** @name PalletAppPromotionCall (303) */2662 /** @name PalletAppPromotionCall (304) */2656 interface PalletAppPromotionCall extends Enum {2663 interface PalletAppPromotionCall extends Enum {2657 readonly isSetAdminAddress: boolean;2664 readonly isSetAdminAddress: boolean;2658 readonly asSetAdminAddress: {2665 readonly asSetAdminAddress: {2659 readonly admin: AccountId32;2666 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2660 } & Struct;2667 } & Struct;2661 readonly isStartAppPromotion: boolean;2668 readonly isStartAppPromotion: boolean;2662 readonly asStartAppPromotion: {2669 readonly asStartAppPromotion: {2663 readonly promotionStartRelayBlock: u32;2670 readonly promotionStartRelayBlock: Option<u32>;2664 } & Struct;2671 } & Struct;2665 readonly isStake: boolean;2672 readonly isStake: boolean;2666 readonly asStake: {2673 readonly asStake: {2670 readonly asUnstake: {2677 readonly asUnstake: {2671 readonly amount: u128;2678 readonly amount: u128;2672 } & Struct;2679 } & Struct;2680 readonly isSponsorCollection: boolean;2681 readonly asSponsorCollection: {2682 readonly collectionId: u32;2683 } & Struct;2684 readonly isStopSponsorignCollection: boolean;2685 readonly asStopSponsorignCollection: {2686 readonly collectionId: u32;2687 } & Struct;2673 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';2688 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';2674 }2689 }267526902676 /** @name PalletEvmCall (304) */2691 /** @name PalletEvmCall (305) */2677 interface PalletEvmCall extends Enum {2692 interface PalletEvmCall extends Enum {2678 readonly isWithdraw: boolean;2693 readonly isWithdraw: boolean;2679 readonly asWithdraw: {2694 readonly asWithdraw: {2718 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2733 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2719 }2734 }272027352721 /** @name PalletEthereumCall (308) */2736 /** @name PalletEthereumCall (309) */2722 interface PalletEthereumCall extends Enum {2737 interface PalletEthereumCall extends Enum {2723 readonly isTransact: boolean;2738 readonly isTransact: boolean;2724 readonly asTransact: {2739 readonly asTransact: {2727 readonly type: 'Transact';2742 readonly type: 'Transact';2728 }2743 }272927442730 /** @name EthereumTransactionTransactionV2 (309) */2745 /** @name EthereumTransactionTransactionV2 (310) */2731 interface EthereumTransactionTransactionV2 extends Enum {2746 interface EthereumTransactionTransactionV2 extends Enum {2732 readonly isLegacy: boolean;2747 readonly isLegacy: boolean;2733 readonly asLegacy: EthereumTransactionLegacyTransaction;2748 readonly asLegacy: EthereumTransactionLegacyTransaction;2738 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2753 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2739 }2754 }274027552741 /** @name EthereumTransactionLegacyTransaction (310) */2756 /** @name EthereumTransactionLegacyTransaction (311) */2742 interface EthereumTransactionLegacyTransaction extends Struct {2757 interface EthereumTransactionLegacyTransaction extends Struct {2743 readonly nonce: U256;2758 readonly nonce: U256;2744 readonly gasPrice: U256;2759 readonly gasPrice: U256;2749 readonly signature: EthereumTransactionTransactionSignature;2764 readonly signature: EthereumTransactionTransactionSignature;2750 }2765 }275127662752 /** @name EthereumTransactionTransactionAction (311) */2767 /** @name EthereumTransactionTransactionAction (312) */2753 interface EthereumTransactionTransactionAction extends Enum {2768 interface EthereumTransactionTransactionAction extends Enum {2754 readonly isCall: boolean;2769 readonly isCall: boolean;2755 readonly asCall: H160;2770 readonly asCall: H160;2756 readonly isCreate: boolean;2771 readonly isCreate: boolean;2757 readonly type: 'Call' | 'Create';2772 readonly type: 'Call' | 'Create';2758 }2773 }275927742760 /** @name EthereumTransactionTransactionSignature (312) */2775 /** @name EthereumTransactionTransactionSignature (313) */2761 interface EthereumTransactionTransactionSignature extends Struct {2776 interface EthereumTransactionTransactionSignature extends Struct {2762 readonly v: u64;2777 readonly v: u64;2763 readonly r: H256;2778 readonly r: H256;2764 readonly s: H256;2779 readonly s: H256;2765 }2780 }276627812767 /** @name EthereumTransactionEip2930Transaction (314) */2782 /** @name EthereumTransactionEip2930Transaction (315) */2768 interface EthereumTransactionEip2930Transaction extends Struct {2783 interface EthereumTransactionEip2930Transaction extends Struct {2769 readonly chainId: u64;2784 readonly chainId: u64;2770 readonly nonce: U256;2785 readonly nonce: U256;2779 readonly s: H256;2794 readonly s: H256;2780 }2795 }278127962782 /** @name EthereumTransactionAccessListItem (316) */2797 /** @name EthereumTransactionAccessListItem (317) */2783 interface EthereumTransactionAccessListItem extends Struct {2798 interface EthereumTransactionAccessListItem extends Struct {2784 readonly address: H160;2799 readonly address: H160;2785 readonly storageKeys: Vec<H256>;2800 readonly storageKeys: Vec<H256>;2786 }2801 }278728022788 /** @name EthereumTransactionEip1559Transaction (317) */2803 /** @name EthereumTransactionEip1559Transaction (318) */2789 interface EthereumTransactionEip1559Transaction extends Struct {2804 interface EthereumTransactionEip1559Transaction extends Struct {2790 readonly chainId: u64;2805 readonly chainId: u64;2791 readonly nonce: U256;2806 readonly nonce: U256;2801 readonly s: H256;2816 readonly s: H256;2802 }2817 }280328182804 /** @name PalletEvmMigrationCall (318) */2819 /** @name PalletEvmMigrationCall (319) */2805 interface PalletEvmMigrationCall extends Enum {2820 interface PalletEvmMigrationCall extends Enum {2806 readonly isBegin: boolean;2821 readonly isBegin: boolean;2807 readonly asBegin: {2822 readonly asBegin: {2820 readonly type: 'Begin' | 'SetData' | 'Finish';2835 readonly type: 'Begin' | 'SetData' | 'Finish';2821 }2836 }282228372823 /** @name PalletSudoError (321) */2838 /** @name PalletSudoError (322) */2824 interface PalletSudoError extends Enum {2839 interface PalletSudoError extends Enum {2825 readonly isRequireSudo: boolean;2840 readonly isRequireSudo: boolean;2826 readonly type: 'RequireSudo';2841 readonly type: 'RequireSudo';2827 }2842 }282828432829 /** @name OrmlVestingModuleError (323) */2844 /** @name OrmlVestingModuleError (324) */2830 interface OrmlVestingModuleError extends Enum {2845 interface OrmlVestingModuleError extends Enum {2831 readonly isZeroVestingPeriod: boolean;2846 readonly isZeroVestingPeriod: boolean;2832 readonly isZeroVestingPeriodCount: boolean;2847 readonly isZeroVestingPeriodCount: boolean;2837 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2852 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2838 }2853 }283928542840 /** @name CumulusPalletXcmpQueueInboundChannelDetails (325) */2855 /** @name CumulusPalletXcmpQueueInboundChannelDetails (326) */2841 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2856 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2842 readonly sender: u32;2857 readonly sender: u32;2843 readonly state: CumulusPalletXcmpQueueInboundState;2858 readonly state: CumulusPalletXcmpQueueInboundState;2844 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2859 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2845 }2860 }284628612847 /** @name CumulusPalletXcmpQueueInboundState (326) */2862 /** @name CumulusPalletXcmpQueueInboundState (327) */2848 interface CumulusPalletXcmpQueueInboundState extends Enum {2863 interface CumulusPalletXcmpQueueInboundState extends Enum {2849 readonly isOk: boolean;2864 readonly isOk: boolean;2850 readonly isSuspended: boolean;2865 readonly isSuspended: boolean;2851 readonly type: 'Ok' | 'Suspended';2866 readonly type: 'Ok' | 'Suspended';2852 }2867 }285328682854 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (329) */2869 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (330) */2855 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2870 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2856 readonly isConcatenatedVersionedXcm: boolean;2871 readonly isConcatenatedVersionedXcm: boolean;2857 readonly isConcatenatedEncodedBlob: boolean;2872 readonly isConcatenatedEncodedBlob: boolean;2858 readonly isSignals: boolean;2873 readonly isSignals: boolean;2859 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2874 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2860 }2875 }286128762862 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (332) */2877 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (333) */2863 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2878 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2864 readonly recipient: u32;2879 readonly recipient: u32;2865 readonly state: CumulusPalletXcmpQueueOutboundState;2880 readonly state: CumulusPalletXcmpQueueOutboundState;2868 readonly lastIndex: u16;2883 readonly lastIndex: u16;2869 }2884 }287028852871 /** @name CumulusPalletXcmpQueueOutboundState (333) */2886 /** @name CumulusPalletXcmpQueueOutboundState (334) */2872 interface CumulusPalletXcmpQueueOutboundState extends Enum {2887 interface CumulusPalletXcmpQueueOutboundState extends Enum {2873 readonly isOk: boolean;2888 readonly isOk: boolean;2874 readonly isSuspended: boolean;2889 readonly isSuspended: boolean;2875 readonly type: 'Ok' | 'Suspended';2890 readonly type: 'Ok' | 'Suspended';2876 }2891 }287728922878 /** @name CumulusPalletXcmpQueueQueueConfigData (335) */2893 /** @name CumulusPalletXcmpQueueQueueConfigData (336) */2879 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2894 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2880 readonly suspendThreshold: u32;2895 readonly suspendThreshold: u32;2881 readonly dropThreshold: u32;2896 readonly dropThreshold: u32;2885 readonly xcmpMaxIndividualWeight: u64;2900 readonly xcmpMaxIndividualWeight: u64;2886 }2901 }288729022888 /** @name CumulusPalletXcmpQueueError (337) */2903 /** @name CumulusPalletXcmpQueueError (338) */2889 interface CumulusPalletXcmpQueueError extends Enum {2904 interface CumulusPalletXcmpQueueError extends Enum {2890 readonly isFailedToSend: boolean;2905 readonly isFailedToSend: boolean;2891 readonly isBadXcmOrigin: boolean;2906 readonly isBadXcmOrigin: boolean;2895 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2910 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2896 }2911 }289729122898 /** @name PalletXcmError (338) */2913 /** @name PalletXcmError (339) */2899 interface PalletXcmError extends Enum {2914 interface PalletXcmError extends Enum {2900 readonly isUnreachable: boolean;2915 readonly isUnreachable: boolean;2901 readonly isSendFailure: boolean;2916 readonly isSendFailure: boolean;2913 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2928 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2914 }2929 }291529302916 /** @name CumulusPalletXcmError (339) */2931 /** @name CumulusPalletXcmError (340) */2917 type CumulusPalletXcmError = Null;2932 type CumulusPalletXcmError = Null;291829332919 /** @name CumulusPalletDmpQueueConfigData (340) */2934 /** @name CumulusPalletDmpQueueConfigData (341) */2920 interface CumulusPalletDmpQueueConfigData extends Struct {2935 interface CumulusPalletDmpQueueConfigData extends Struct {2921 readonly maxIndividual: u64;2936 readonly maxIndividual: u64;2922 }2937 }292329382924 /** @name CumulusPalletDmpQueuePageIndexData (341) */2939 /** @name CumulusPalletDmpQueuePageIndexData (342) */2925 interface CumulusPalletDmpQueuePageIndexData extends Struct {2940 interface CumulusPalletDmpQueuePageIndexData extends Struct {2926 readonly beginUsed: u32;2941 readonly beginUsed: u32;2927 readonly endUsed: u32;2942 readonly endUsed: u32;2928 readonly overweightCount: u64;2943 readonly overweightCount: u64;2929 }2944 }293029452931 /** @name CumulusPalletDmpQueueError (344) */2946 /** @name CumulusPalletDmpQueueError (345) */2932 interface CumulusPalletDmpQueueError extends Enum {2947 interface CumulusPalletDmpQueueError extends Enum {2933 readonly isUnknown: boolean;2948 readonly isUnknown: boolean;2934 readonly isOverLimit: boolean;2949 readonly isOverLimit: boolean;2935 readonly type: 'Unknown' | 'OverLimit';2950 readonly type: 'Unknown' | 'OverLimit';2936 }2951 }293729522938 /** @name PalletUniqueError (348) */2953 /** @name PalletUniqueError (349) */2939 interface PalletUniqueError extends Enum {2954 interface PalletUniqueError extends Enum {2940 readonly isCollectionDecimalPointLimitExceeded: boolean;2955 readonly isCollectionDecimalPointLimitExceeded: boolean;2941 readonly isConfirmUnsetSponsorFail: boolean;2956 readonly isConfirmUnsetSponsorFail: boolean;2944 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2959 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2945 }2960 }294629612947 /** @name PalletUniqueSchedulerScheduledV3 (351) */2962 /** @name PalletUniqueSchedulerScheduledV3 (352) */2948 interface PalletUniqueSchedulerScheduledV3 extends Struct {2963 interface PalletUniqueSchedulerScheduledV3 extends Struct {2949 readonly maybeId: Option<U8aFixed>;2964 readonly maybeId: Option<U8aFixed>;2950 readonly priority: u8;2965 readonly priority: u8;2953 readonly origin: OpalRuntimeOriginCaller;2968 readonly origin: OpalRuntimeOriginCaller;2954 }2969 }295529702956 /** @name OpalRuntimeOriginCaller (352) */2971 /** @name OpalRuntimeOriginCaller (353) */2957 interface OpalRuntimeOriginCaller extends Enum {2972 interface OpalRuntimeOriginCaller extends Enum {2958 readonly isSystem: boolean;2973 readonly isSystem: boolean;2959 readonly asSystem: FrameSupportDispatchRawOrigin;2974 readonly asSystem: FrameSupportDispatchRawOrigin;2967 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2982 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2968 }2983 }296929842970 /** @name FrameSupportDispatchRawOrigin (353) */2985 /** @name FrameSupportDispatchRawOrigin (354) */2971 interface FrameSupportDispatchRawOrigin extends Enum {2986 interface FrameSupportDispatchRawOrigin extends Enum {2972 readonly isRoot: boolean;2987 readonly isRoot: boolean;2973 readonly isSigned: boolean;2988 readonly isSigned: boolean;2976 readonly type: 'Root' | 'Signed' | 'None';2991 readonly type: 'Root' | 'Signed' | 'None';2977 }2992 }297829932979 /** @name PalletXcmOrigin (354) */2994 /** @name PalletXcmOrigin (355) */2980 interface PalletXcmOrigin extends Enum {2995 interface PalletXcmOrigin extends Enum {2981 readonly isXcm: boolean;2996 readonly isXcm: boolean;2982 readonly asXcm: XcmV1MultiLocation;2997 readonly asXcm: XcmV1MultiLocation;2985 readonly type: 'Xcm' | 'Response';3000 readonly type: 'Xcm' | 'Response';2986 }3001 }298730022988 /** @name CumulusPalletXcmOrigin (355) */3003 /** @name CumulusPalletXcmOrigin (356) */2989 interface CumulusPalletXcmOrigin extends Enum {3004 interface CumulusPalletXcmOrigin extends Enum {2990 readonly isRelay: boolean;3005 readonly isRelay: boolean;2991 readonly isSiblingParachain: boolean;3006 readonly isSiblingParachain: boolean;2992 readonly asSiblingParachain: u32;3007 readonly asSiblingParachain: u32;2993 readonly type: 'Relay' | 'SiblingParachain';3008 readonly type: 'Relay' | 'SiblingParachain';2994 }3009 }299530102996 /** @name PalletEthereumRawOrigin (356) */3011 /** @name PalletEthereumRawOrigin (357) */2997 interface PalletEthereumRawOrigin extends Enum {3012 interface PalletEthereumRawOrigin extends Enum {2998 readonly isEthereumTransaction: boolean;3013 readonly isEthereumTransaction: boolean;2999 readonly asEthereumTransaction: H160;3014 readonly asEthereumTransaction: H160;3000 readonly type: 'EthereumTransaction';3015 readonly type: 'EthereumTransaction';3001 }3016 }300230173003 /** @name SpCoreVoid (357) */3018 /** @name SpCoreVoid (358) */3004 type SpCoreVoid = Null;3019 type SpCoreVoid = Null;300530203006 /** @name PalletUniqueSchedulerError (358) */3021 /** @name PalletUniqueSchedulerError (359) */3007 interface PalletUniqueSchedulerError extends Enum {3022 interface PalletUniqueSchedulerError extends Enum {3008 readonly isFailedToSchedule: boolean;3023 readonly isFailedToSchedule: boolean;3009 readonly isNotFound: boolean;3024 readonly isNotFound: boolean;3012 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3027 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3013 }3028 }301430293015 /** @name UpDataStructsCollection (359) */3030 /** @name UpDataStructsCollection (360) */3016 interface UpDataStructsCollection extends Struct {3031 interface UpDataStructsCollection extends Struct {3017 readonly owner: AccountId32;3032 readonly owner: AccountId32;3018 readonly mode: UpDataStructsCollectionMode;3033 readonly mode: UpDataStructsCollectionMode;3025 readonly externalCollection: bool;3040 readonly externalCollection: bool;3026 }3041 }302730423028 /** @name UpDataStructsSponsorshipState (360) */3043 /** @name UpDataStructsSponsorshipState (361) */3029 interface UpDataStructsSponsorshipState extends Enum {3044 interface UpDataStructsSponsorshipState extends Enum {3030 readonly isDisabled: boolean;3045 readonly isDisabled: boolean;3031 readonly isUnconfirmed: boolean;3046 readonly isUnconfirmed: boolean;3035 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3050 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3036 }3051 }303730523038 /** @name UpDataStructsProperties (361) */3053 /** @name UpDataStructsProperties (362) */3039 interface UpDataStructsProperties extends Struct {3054 interface UpDataStructsProperties extends Struct {3040 readonly map: UpDataStructsPropertiesMapBoundedVec;3055 readonly map: UpDataStructsPropertiesMapBoundedVec;3041 readonly consumedSpace: u32;3056 readonly consumedSpace: u32;3042 readonly spaceLimit: u32;3057 readonly spaceLimit: u32;3043 }3058 }304430593045 /** @name UpDataStructsPropertiesMapBoundedVec (362) */3060 /** @name UpDataStructsPropertiesMapBoundedVec (363) */3046 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3061 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}304730623048 /** @name UpDataStructsPropertiesMapPropertyPermission (367) */3063 /** @name UpDataStructsPropertiesMapPropertyPermission (368) */3049 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3064 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}305030653051 /** @name UpDataStructsCollectionStats (374) */3066 /** @name UpDataStructsCollectionStats (375) */3052 interface UpDataStructsCollectionStats extends Struct {3067 interface UpDataStructsCollectionStats extends Struct {3053 readonly created: u32;3068 readonly created: u32;3054 readonly destroyed: u32;3069 readonly destroyed: u32;3055 readonly alive: u32;3070 readonly alive: u32;3056 }3071 }305730723058 /** @name UpDataStructsTokenChild (375) */3073 /** @name UpDataStructsTokenChild (376) */3059 interface UpDataStructsTokenChild extends Struct {3074 interface UpDataStructsTokenChild extends Struct {3060 readonly token: u32;3075 readonly token: u32;3061 readonly collection: u32;3076 readonly collection: u32;3062 }3077 }306330783064 /** @name PhantomTypeUpDataStructs (376) */3079 /** @name PhantomTypeUpDataStructs (377) */3065 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3080 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}306630813067 /** @name UpDataStructsTokenData (378) */3082 /** @name UpDataStructsTokenData (379) */3068 interface UpDataStructsTokenData extends Struct {3083 interface UpDataStructsTokenData extends Struct {3069 readonly properties: Vec<UpDataStructsProperty>;3084 readonly properties: Vec<UpDataStructsProperty>;3070 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3085 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3071 readonly pieces: u128;3086 readonly pieces: u128;3072 }3087 }307330883074 /** @name UpDataStructsRpcCollection (380) */3089 /** @name UpDataStructsRpcCollection (381) */3075 interface UpDataStructsRpcCollection extends Struct {3090 interface UpDataStructsRpcCollection extends Struct {3076 readonly owner: AccountId32;3091 readonly owner: AccountId32;3077 readonly mode: UpDataStructsCollectionMode;3092 readonly mode: UpDataStructsCollectionMode;3086 readonly readOnly: bool;3101 readonly readOnly: bool;3087 }3102 }308831033089 /** @name RmrkTraitsCollectionCollectionInfo (381) */3104 /** @name RmrkTraitsCollectionCollectionInfo (382) */3090 interface RmrkTraitsCollectionCollectionInfo extends Struct {3105 interface RmrkTraitsCollectionCollectionInfo extends Struct {3091 readonly issuer: AccountId32;3106 readonly issuer: AccountId32;3092 readonly metadata: Bytes;3107 readonly metadata: Bytes;3095 readonly nftsCount: u32;3110 readonly nftsCount: u32;3096 }3111 }309731123098 /** @name RmrkTraitsNftNftInfo (382) */3113 /** @name RmrkTraitsNftNftInfo (383) */3099 interface RmrkTraitsNftNftInfo extends Struct {3114 interface RmrkTraitsNftNftInfo extends Struct {3100 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3115 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3101 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3116 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3104 readonly pending: bool;3119 readonly pending: bool;3105 }3120 }310631213107 /** @name RmrkTraitsNftRoyaltyInfo (384) */3122 /** @name RmrkTraitsNftRoyaltyInfo (385) */3108 interface RmrkTraitsNftRoyaltyInfo extends Struct {3123 interface RmrkTraitsNftRoyaltyInfo extends Struct {3109 readonly recipient: AccountId32;3124 readonly recipient: AccountId32;3110 readonly amount: Permill;3125 readonly amount: Permill;3111 }3126 }311231273113 /** @name RmrkTraitsResourceResourceInfo (385) */3128 /** @name RmrkTraitsResourceResourceInfo (386) */3114 interface RmrkTraitsResourceResourceInfo extends Struct {3129 interface RmrkTraitsResourceResourceInfo extends Struct {3115 readonly id: u32;3130 readonly id: u32;3116 readonly resource: RmrkTraitsResourceResourceTypes;3131 readonly resource: RmrkTraitsResourceResourceTypes;3117 readonly pending: bool;3132 readonly pending: bool;3118 readonly pendingRemoval: bool;3133 readonly pendingRemoval: bool;3119 }3134 }312031353121 /** @name RmrkTraitsPropertyPropertyInfo (386) */3136 /** @name RmrkTraitsPropertyPropertyInfo (387) */3122 interface RmrkTraitsPropertyPropertyInfo extends Struct {3137 interface RmrkTraitsPropertyPropertyInfo extends Struct {3123 readonly key: Bytes;3138 readonly key: Bytes;3124 readonly value: Bytes;3139 readonly value: Bytes;3125 }3140 }312631413127 /** @name RmrkTraitsBaseBaseInfo (387) */3142 /** @name RmrkTraitsBaseBaseInfo (388) */3128 interface RmrkTraitsBaseBaseInfo extends Struct {3143 interface RmrkTraitsBaseBaseInfo extends Struct {3129 readonly issuer: AccountId32;3144 readonly issuer: AccountId32;3130 readonly baseType: Bytes;3145 readonly baseType: Bytes;3131 readonly symbol: Bytes;3146 readonly symbol: Bytes;3132 }3147 }313331483134 /** @name RmrkTraitsNftNftChild (388) */3149 /** @name RmrkTraitsNftNftChild (389) */3135 interface RmrkTraitsNftNftChild extends Struct {3150 interface RmrkTraitsNftNftChild extends Struct {3136 readonly collectionId: u32;3151 readonly collectionId: u32;3137 readonly nftId: u32;3152 readonly nftId: u32;3138 }3153 }313931543140 /** @name PalletCommonError (390) */3155 /** @name PalletCommonError (391) */3141 interface PalletCommonError extends Enum {3156 interface PalletCommonError extends Enum {3142 readonly isCollectionNotFound: boolean;3157 readonly isCollectionNotFound: boolean;3143 readonly isMustBeTokenOwner: boolean;3158 readonly isMustBeTokenOwner: boolean;3176 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3191 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3177 }3192 }317831933179 /** @name PalletFungibleError (392) */3194 /** @name PalletFungibleError (393) */3180 interface PalletFungibleError extends Enum {3195 interface PalletFungibleError extends Enum {3181 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3196 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3182 readonly isFungibleItemsHaveNoId: boolean;3197 readonly isFungibleItemsHaveNoId: boolean;3186 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3201 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3187 }3202 }318832033189 /** @name PalletRefungibleItemData (393) */3204 /** @name PalletRefungibleItemData (394) */3190 interface PalletRefungibleItemData extends Struct {3205 interface PalletRefungibleItemData extends Struct {3191 readonly constData: Bytes;3206 readonly constData: Bytes;3192 }3207 }319332083194 /** @name PalletRefungibleError (398) */3209 /** @name PalletRefungibleError (399) */3195 interface PalletRefungibleError extends Enum {3210 interface PalletRefungibleError extends Enum {3196 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3211 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3197 readonly isWrongRefungiblePieces: boolean;3212 readonly isWrongRefungiblePieces: boolean;3201 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3216 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3202 }3217 }320332183204 /** @name PalletNonfungibleItemData (399) */3219 /** @name PalletNonfungibleItemData (400) */3205 interface PalletNonfungibleItemData extends Struct {3220 interface PalletNonfungibleItemData extends Struct {3206 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3221 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3207 }3222 }320832233209 /** @name UpDataStructsPropertyScope (401) */3224 /** @name UpDataStructsPropertyScope (402) */3210 interface UpDataStructsPropertyScope extends Enum {3225 interface UpDataStructsPropertyScope extends Enum {3211 readonly isNone: boolean;3226 readonly isNone: boolean;3212 readonly isRmrk: boolean;3227 readonly isRmrk: boolean;3213 readonly isEth: boolean;3228 readonly isEth: boolean;3214 readonly type: 'None' | 'Rmrk' | 'Eth';3229 readonly type: 'None' | 'Rmrk' | 'Eth';3215 }3230 }321632313217 /** @name PalletNonfungibleError (403) */3232 /** @name PalletNonfungibleError (404) */3218 interface PalletNonfungibleError extends Enum {3233 interface PalletNonfungibleError extends Enum {3219 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3234 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3220 readonly isNonfungibleItemsHaveNoAmount: boolean;3235 readonly isNonfungibleItemsHaveNoAmount: boolean;3221 readonly isCantBurnNftWithChildren: boolean;3236 readonly isCantBurnNftWithChildren: boolean;3222 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3237 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3223 }3238 }322432393225 /** @name PalletStructureError (404) */3240 /** @name PalletStructureError (405) */3226 interface PalletStructureError extends Enum {3241 interface PalletStructureError extends Enum {3227 readonly isOuroborosDetected: boolean;3242 readonly isOuroborosDetected: boolean;3228 readonly isDepthLimit: boolean;3243 readonly isDepthLimit: boolean;3231 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3246 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3232 }3247 }323332483234 /** @name PalletRmrkCoreError (405) */3249 /** @name PalletRmrkCoreError (406) */3235 interface PalletRmrkCoreError extends Enum {3250 interface PalletRmrkCoreError extends Enum {3236 readonly isCorruptedCollectionType: boolean;3251 readonly isCorruptedCollectionType: boolean;3237 readonly isRmrkPropertyKeyIsTooLong: boolean;3252 readonly isRmrkPropertyKeyIsTooLong: boolean;3255 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3270 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3256 }3271 }325732723258 /** @name PalletRmrkEquipError (407) */3273 /** @name PalletRmrkEquipError (408) */3259 interface PalletRmrkEquipError extends Enum {3274 interface PalletRmrkEquipError extends Enum {3260 readonly isPermissionError: boolean;3275 readonly isPermissionError: boolean;3261 readonly isNoAvailableBaseId: boolean;3276 readonly isNoAvailableBaseId: boolean;3267 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3282 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3268 }3283 }32843285 /** @name PalletAppPromotionError (410) */3286 interface PalletAppPromotionError extends Enum {3287 readonly isAdminNotSet: boolean;3288 readonly isNoPermission: boolean;3289 readonly isNotSufficientFounds: boolean;3290 readonly isInvalidArgument: boolean;3291 readonly isAlreadySponsored: boolean;3292 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';3293 }326932943270 /** @name PalletEvmError (411) */3295 /** @name PalletEvmError (413) */3271 interface PalletEvmError extends Enum {3296 interface PalletEvmError extends Enum {3272 readonly isBalanceLow: boolean;3297 readonly isBalanceLow: boolean;3273 readonly isFeeOverflow: boolean;3298 readonly isFeeOverflow: boolean;3278 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3303 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3279 }3304 }328033053281 /** @name FpRpcTransactionStatus (414) */3306 /** @name FpRpcTransactionStatus (416) */3282 interface FpRpcTransactionStatus extends Struct {3307 interface FpRpcTransactionStatus extends Struct {3283 readonly transactionHash: H256;3308 readonly transactionHash: H256;3284 readonly transactionIndex: u32;3309 readonly transactionIndex: u32;3289 readonly logsBloom: EthbloomBloom;3314 readonly logsBloom: EthbloomBloom;3290 }3315 }329133163292 /** @name EthbloomBloom (416) */3317 /** @name EthbloomBloom (418) */3293 interface EthbloomBloom extends U8aFixed {}3318 interface EthbloomBloom extends U8aFixed {}329433193295 /** @name EthereumReceiptReceiptV3 (418) */3320 /** @name EthereumReceiptReceiptV3 (420) */3296 interface EthereumReceiptReceiptV3 extends Enum {3321 interface EthereumReceiptReceiptV3 extends Enum {3297 readonly isLegacy: boolean;3322 readonly isLegacy: boolean;3298 readonly asLegacy: EthereumReceiptEip658ReceiptData;3323 readonly asLegacy: EthereumReceiptEip658ReceiptData;3303 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3328 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3304 }3329 }330533303306 /** @name EthereumReceiptEip658ReceiptData (419) */3331 /** @name EthereumReceiptEip658ReceiptData (421) */3307 interface EthereumReceiptEip658ReceiptData extends Struct {3332 interface EthereumReceiptEip658ReceiptData extends Struct {3308 readonly statusCode: u8;3333 readonly statusCode: u8;3309 readonly usedGas: U256;3334 readonly usedGas: U256;3310 readonly logsBloom: EthbloomBloom;3335 readonly logsBloom: EthbloomBloom;3311 readonly logs: Vec<EthereumLog>;3336 readonly logs: Vec<EthereumLog>;3312 }3337 }331333383314 /** @name EthereumBlock (420) */3339 /** @name EthereumBlock (422) */3315 interface EthereumBlock extends Struct {3340 interface EthereumBlock extends Struct {3316 readonly header: EthereumHeader;3341 readonly header: EthereumHeader;3317 readonly transactions: Vec<EthereumTransactionTransactionV2>;3342 readonly transactions: Vec<EthereumTransactionTransactionV2>;3318 readonly ommers: Vec<EthereumHeader>;3343 readonly ommers: Vec<EthereumHeader>;3319 }3344 }332033453321 /** @name EthereumHeader (421) */3346 /** @name EthereumHeader (423) */3322 interface EthereumHeader extends Struct {3347 interface EthereumHeader extends Struct {3323 readonly parentHash: H256;3348 readonly parentHash: H256;3324 readonly ommersHash: H256;3349 readonly ommersHash: H256;3337 readonly nonce: EthereumTypesHashH64;3362 readonly nonce: EthereumTypesHashH64;3338 }3363 }333933643340 /** @name EthereumTypesHashH64 (422) */3365 /** @name EthereumTypesHashH64 (424) */3341 interface EthereumTypesHashH64 extends U8aFixed {}3366 interface EthereumTypesHashH64 extends U8aFixed {}334233673343 /** @name PalletEthereumError (427) */3368 /** @name PalletEthereumError (429) */3344 interface PalletEthereumError extends Enum {3369 interface PalletEthereumError extends Enum {3345 readonly isInvalidSignature: boolean;3370 readonly isInvalidSignature: boolean;3346 readonly isPreLogExists: boolean;3371 readonly isPreLogExists: boolean;3347 readonly type: 'InvalidSignature' | 'PreLogExists';3372 readonly type: 'InvalidSignature' | 'PreLogExists';3348 }3373 }334933743350 /** @name PalletEvmCoderSubstrateError (428) */3375 /** @name PalletEvmCoderSubstrateError (430) */3351 interface PalletEvmCoderSubstrateError extends Enum {3376 interface PalletEvmCoderSubstrateError extends Enum {3352 readonly isOutOfGas: boolean;3377 readonly isOutOfGas: boolean;3353 readonly isOutOfFund: boolean;3378 readonly isOutOfFund: boolean;3354 readonly type: 'OutOfGas' | 'OutOfFund';3379 readonly type: 'OutOfGas' | 'OutOfFund';3355 }3380 }335633813357 /** @name PalletEvmContractHelpersSponsoringModeT (429) */3382 /** @name PalletEvmContractHelpersSponsoringModeT (431) */3358 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3383 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3359 readonly isDisabled: boolean;3384 readonly isDisabled: boolean;3360 readonly isAllowlisted: boolean;3385 readonly isAllowlisted: boolean;3361 readonly isGenerous: boolean;3386 readonly isGenerous: boolean;3362 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3387 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3363 }3388 }336433893365 /** @name PalletEvmContractHelpersError (431) */3390 /** @name PalletEvmContractHelpersError (433) */3366 interface PalletEvmContractHelpersError extends Enum {3391 interface PalletEvmContractHelpersError extends Enum {3367 readonly isNoPermission: boolean;3392 readonly isNoPermission: boolean;3368 readonly type: 'NoPermission';3393 readonly type: 'NoPermission';3369 }3394 }337033953371 /** @name PalletEvmMigrationError (432) */3396 /** @name PalletEvmMigrationError (434) */3372 interface PalletEvmMigrationError extends Enum {3397 interface PalletEvmMigrationError extends Enum {3373 readonly isAccountNotEmpty: boolean;3398 readonly isAccountNotEmpty: boolean;3374 readonly isAccountIsNotMigrating: boolean;3399 readonly isAccountIsNotMigrating: boolean;3375 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3400 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3376 }3401 }337734023378 /** @name SpRuntimeMultiSignature (434) */3403 /** @name SpRuntimeMultiSignature (436) */3379 interface SpRuntimeMultiSignature extends Enum {3404 interface SpRuntimeMultiSignature extends Enum {3380 readonly isEd25519: boolean;3405 readonly isEd25519: boolean;3381 readonly asEd25519: SpCoreEd25519Signature;3406 readonly asEd25519: SpCoreEd25519Signature;3386 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3411 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3387 }3412 }338834133389 /** @name SpCoreEd25519Signature (435) */3414 /** @name SpCoreEd25519Signature (437) */3390 interface SpCoreEd25519Signature extends U8aFixed {}3415 interface SpCoreEd25519Signature extends U8aFixed {}339134163392 /** @name SpCoreSr25519Signature (437) */3417 /** @name SpCoreSr25519Signature (439) */3393 interface SpCoreSr25519Signature extends U8aFixed {}3418 interface SpCoreSr25519Signature extends U8aFixed {}339434193395 /** @name SpCoreEcdsaSignature (438) */3420 /** @name SpCoreEcdsaSignature (440) */3396 interface SpCoreEcdsaSignature extends U8aFixed {}3421 interface SpCoreEcdsaSignature extends U8aFixed {}339734223398 /** @name FrameSystemExtensionsCheckSpecVersion (441) */3423 /** @name FrameSystemExtensionsCheckSpecVersion (443) */3399 type FrameSystemExtensionsCheckSpecVersion = Null;3424 type FrameSystemExtensionsCheckSpecVersion = Null;340034253401 /** @name FrameSystemExtensionsCheckGenesis (442) */3426 /** @name FrameSystemExtensionsCheckGenesis (444) */3402 type FrameSystemExtensionsCheckGenesis = Null;3427 type FrameSystemExtensionsCheckGenesis = Null;340334283404 /** @name FrameSystemExtensionsCheckNonce (445) */3429 /** @name FrameSystemExtensionsCheckNonce (447) */3405 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3430 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}340634313407 /** @name FrameSystemExtensionsCheckWeight (446) */3432 /** @name FrameSystemExtensionsCheckWeight (448) */3408 type FrameSystemExtensionsCheckWeight = Null;3433 type FrameSystemExtensionsCheckWeight = Null;340934343410 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (447) */3435 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (449) */3411 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3436 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}341234373413 /** @name OpalRuntimeRuntime (448) */3438 /** @name OpalRuntimeRuntime (450) */3414 type OpalRuntimeRuntime = Null;3439 type OpalRuntimeRuntime = Null;341534403416 /** @name PalletEthereumFakeTransactionFinalizer (449) */3441 /** @name PalletEthereumFakeTransactionFinalizer (451) */3417 type PalletEthereumFakeTransactionFinalizer = Null;3442 type PalletEthereumFakeTransactionFinalizer = Null;341834433419} // declare module3444} // declare module