diff --git a/Cargo.lock b/Cargo.lock index 2a9e669c4..0b11d9005 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3419,6 +3419,7 @@ dependencies = [ "pallet-multisig", "pallet-offences", "pallet-parameters", + "pallet-pooled-staking", "pallet-preimage", "pallet-proxy", "pallet-ranked-collective", diff --git a/runtime/dancebox/src/lib.rs b/runtime/dancebox/src/lib.rs index d549d3f18..195698190 100644 --- a/runtime/dancebox/src/lib.rs +++ b/runtime/dancebox/src/lib.rs @@ -1569,11 +1569,11 @@ parameter_types! { pub const StakingSessionDelay: u32 = 2; } -pub struct SessionTimer(PhantomData); +pub struct SessionTimer(PhantomData); -impl Timer for SessionTimer +impl Timer for SessionTimer where - G: Get, + Delay: Get, { type Instant = u32; @@ -1582,7 +1582,7 @@ where } fn is_elapsed(instant: &Self::Instant) -> bool { - let delay = G::get(); + let delay = Delay::get(); let Some(end) = instant.checked_add(delay) else { return false; }; @@ -1591,7 +1591,7 @@ where #[cfg(feature = "runtime-benchmarks")] fn elapsed_instant() -> Self::Instant { - let delay = G::get(); + let delay = Delay::get(); Self::now() .checked_add(delay) .expect("overflow when computing valid elapsed instant") diff --git a/solo-chains/runtime/dancelight/Cargo.toml b/solo-chains/runtime/dancelight/Cargo.toml index 868e9faf5..80b2df3ee 100644 --- a/solo-chains/runtime/dancelight/Cargo.toml +++ b/solo-chains/runtime/dancelight/Cargo.toml @@ -135,6 +135,7 @@ pallet-author-noting-runtime-api = { workspace = true } pallet-configuration = { workspace = true } pallet-data-preservers = { workspace = true } pallet-inflation-rewards = { workspace = true } +pallet-pooled-staking = { workspace = true } pallet-registrar = { workspace = true } pallet-registrar-runtime-api = { workspace = true } pallet-services-payment = { workspace = true } @@ -237,6 +238,7 @@ std = [ "pallet-multisig/std", "pallet-offences/std", "pallet-parameters/std", + "pallet-pooled-staking/std", "pallet-preimage/std", "pallet-proxy/std", "pallet-ranked-collective/std", @@ -347,6 +349,7 @@ runtime-benchmarks = [ "pallet-multisig/runtime-benchmarks", "pallet-offences/runtime-benchmarks", "pallet-parameters/runtime-benchmarks", + "pallet-pooled-staking/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-ranked-collective/runtime-benchmarks", @@ -425,6 +428,7 @@ try-runtime = [ "pallet-multisig/try-runtime", "pallet-offences/try-runtime", "pallet-parameters/try-runtime", + "pallet-pooled-staking/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-ranked-collective/try-runtime", diff --git a/solo-chains/runtime/dancelight/src/genesis_config_presets.rs b/solo-chains/runtime/dancelight/src/genesis_config_presets.rs index 2747ce09a..98d448311 100644 --- a/solo-chains/runtime/dancelight/src/genesis_config_presets.rs +++ b/solo-chains/runtime/dancelight/src/genesis_config_presets.rs @@ -335,10 +335,25 @@ fn dancelight_testnet_genesis( let next_free_para_id = max_para_id .map(|x| ParaId::from(u32::from(*x) + 1)) .unwrap_or(primitives::LOWEST_PUBLIC_ID); + let accounts_with_ed = [ + crate::StakingAccount::get(), + crate::DancelightBondAccount::get(), + crate::PendingRewardsAccount::get(), + ]; serde_json::json!({ "balances": { - "balances": endowed_accounts.iter().map(|k| (k.clone(), ENDOWMENT)).collect::>(), + "balances": endowed_accounts + .iter() + .cloned() + .map(|k| (k, ENDOWMENT)) + .chain( + accounts_with_ed + .iter() + .cloned() + .map(|k| (k, crate::EXISTENTIAL_DEPOSIT)), + ) + .collect::>(), }, "session": { "keys": initial_authorities diff --git a/solo-chains/runtime/dancelight/src/lib.rs b/solo-chains/runtime/dancelight/src/lib.rs index 16b22c516..4107d791f 100644 --- a/solo-chains/runtime/dancelight/src/lib.rs +++ b/solo-chains/runtime/dancelight/src/lib.rs @@ -602,7 +602,9 @@ pub struct TreasuryBenchmarkHelper(PhantomData); #[cfg(feature = "runtime-benchmarks")] use frame_support::traits::Currency; -use frame_support::traits::{ExistenceRequirement, OnUnbalanced, WithdrawReasons}; +use frame_support::traits::{ + ExistenceRequirement, OnUnbalanced, ValidatorRegistration, WithdrawReasons, +}; use pallet_services_payment::BalanceOf; #[cfg(feature = "runtime-benchmarks")] use pallet_treasury::ArgumentsFactory; @@ -1307,7 +1309,9 @@ impl pallet_beefy_mmr::Config for Runtime { impl paras_sudo_wrapper::Config for Runtime {} +use pallet_pooled_staking::traits::{IsCandidateEligible, Timer}; use pallet_staking::SessionInterface; + pub struct DancelightSessionInterface; impl SessionInterface for DancelightSessionInterface { fn disable_validator(validator_index: u32) -> bool { @@ -1654,10 +1658,106 @@ impl pallet_inflation_rewards::Config for Runtime { type InflationRate = InflationRate; type OnUnbalanced = OnUnbalancedInflation; type PendingRewardsAccount = PendingRewardsAccount; - type StakingRewardsDistributor = InvulnerableRewardDistribution; + type StakingRewardsDistributor = InvulnerableRewardDistribution; type RewardsPortion = RewardsPortion; } +parameter_types! { + pub StakingAccount: AccountId32 = PalletId(*b"POOLSTAK").into_account_truncating(); + pub const InitialManualClaimShareValue: u128 = MILLIUNITS; + pub const InitialAutoCompoundingShareValue: u128 = MILLIUNITS; + pub const MinimumSelfDelegation: u128 = 10_000 * UNITS; + pub const RewardsCollatorCommission: Perbill = Perbill::from_percent(20); + // Need to wait 2 sessions before being able to join or leave staking pools + pub const StakingSessionDelay: u32 = 2; +} + +pub struct SessionTimer(PhantomData); + +impl Timer for SessionTimer +where + Delay: Get, +{ + type Instant = u32; + + fn now() -> Self::Instant { + Session::current_index() + } + + fn is_elapsed(instant: &Self::Instant) -> bool { + let delay = Delay::get(); + let Some(end) = instant.checked_add(delay) else { + return false; + }; + end <= Self::now() + } + + #[cfg(feature = "runtime-benchmarks")] + fn elapsed_instant() -> Self::Instant { + let delay = Delay::get(); + Self::now() + .checked_add(delay) + .expect("overflow when computing valid elapsed instant") + } + + #[cfg(feature = "runtime-benchmarks")] + fn skip_to_elapsed() { + let session_to_reach = Self::elapsed_instant(); + while Self::now() < session_to_reach { + Session::rotate_session(); + } + } +} + +pub struct CandidateHasRegisteredKeys; +impl IsCandidateEligible for CandidateHasRegisteredKeys { + fn is_candidate_eligible(a: &AccountId) -> bool { + >::is_registered(a) + } + #[cfg(feature = "runtime-benchmarks")] + fn make_candidate_eligible(a: &AccountId, eligible: bool) { + use crate::genesis_config_presets::get_authority_keys_from_seed; + + if eligible { + let a_u8: &[u8] = a.as_ref(); + let seed = sp_runtime::format!("{:?}", a_u8); + let authority_keys = get_authority_keys_from_seed(&seed, None); + let _ = Session::set_keys( + RuntimeOrigin::signed(a.clone()), + SessionKeys { + grandpa: authority_keys.grandpa, + babe: authority_keys.babe, + para_validator: authority_keys.para_validator, + para_assignment: authority_keys.para_assignment, + authority_discovery: authority_keys.authority_discovery, + beefy: authority_keys.beefy, + nimbus: authority_keys.nimbus, + }, + vec![], + ); + } else { + let _ = Session::purge_keys(RuntimeOrigin::signed(a.clone())); + } + } +} + +impl pallet_pooled_staking::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type Balance = Balance; + type StakingAccount = StakingAccount; + type InitialManualClaimShareValue = InitialManualClaimShareValue; + type InitialAutoCompoundingShareValue = InitialAutoCompoundingShareValue; + type MinimumSelfDelegation = MinimumSelfDelegation; + type RuntimeHoldReason = RuntimeHoldReason; + type RewardsCollatorCommission = RewardsCollatorCommission; + type JoiningRequestTimer = SessionTimer; + type LeavingRequestTimer = SessionTimer; + type EligibleCandidatesBufferSize = ConstU32<100>; + type EligibleCandidatesFilter = CandidateHasRegisteredKeys; + type WeightInfo = weights::pallet_pooled_staking::SubstrateWeight; +} + construct_runtime! { pub enum Runtime { @@ -1703,6 +1803,7 @@ construct_runtime! { // InflationRewards must be after Session InflationRewards: pallet_inflation_rewards = 33, + PooledStaking: pallet_pooled_staking = 34, // Governance stuff; uncallable initially. Treasury: pallet_treasury = 40, @@ -2101,6 +2202,7 @@ mod benches { [pallet_external_validators_rewards, ExternalValidatorsRewards] [pallet_external_validator_slashes, ExternalValidatorSlashes] [pallet_invulnerables, TanssiInvulnerables] + [pallet_pooled_staking, PooledStaking] // XCM [pallet_xcm, PalletXcmExtrinsicsBenchmark::] [pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::] @@ -3041,8 +3143,27 @@ impl tanssi_initializer::ApplyNewSession for OwnApplySession { ContainerRegistrar::initializer_on_new_session(&session_index); let invulnerables = TanssiInvulnerables::invulnerables().to_vec(); - - let next_collators = invulnerables; + let candidates_staking = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + // Max number of collators is set in pallet_configuration + let target_session_index = session_index.saturating_add(1); + let max_collators = >::max_collators( + target_session_index, + ); + let next_collators: Vec<_> = invulnerables + .iter() + .cloned() + .chain(candidates_staking.into_iter().filter_map(|elig| { + let cand = elig.candidate; + if invulnerables.contains(&cand) { + // If a candidate is both in pallet_invulnerables and pallet_staking, do not count it twice + None + } else { + Some(cand) + } + })) + .take(max_collators as usize) + .collect(); // Queue next session keys. let queued_amalgamated = next_collators diff --git a/solo-chains/runtime/dancelight/src/tests/collator_assignment_tests.rs b/solo-chains/runtime/dancelight/src/tests/collator_assignment_tests.rs index 7402ee76e..5e067ae67 100644 --- a/solo-chains/runtime/dancelight/src/tests/collator_assignment_tests.rs +++ b/solo-chains/runtime/dancelight/src/tests/collator_assignment_tests.rs @@ -185,27 +185,33 @@ fn test_author_collation_aura_change_of_authorities_on_session() { DAVE.into() )); - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) ); // SESSION CHANGE. First session. it takes 2 sessions to see the change run_to_session(1u32); - assert!(babe_authorities() == vec![alice_keys.babe.clone(), bob_keys.babe.clone()]); - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) + assert_eq!( + babe_authorities(), + vec![alice_keys.babe.clone(), bob_keys.babe.clone()] + ); + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) ); // Invulnerables should have triggered on new session authorities change run_to_session(2u32); - assert!(babe_authorities() == vec![alice_keys.babe.clone(), bob_keys.babe.clone()]); - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![charlie_keys.nimbus.clone(), dave_keys.nimbus.clone()]) + assert_eq!( + babe_authorities(), + vec![alice_keys.babe.clone(), bob_keys.babe.clone()] + ); + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![charlie_keys.nimbus.clone(), dave_keys.nimbus.clone()]) ); }); } @@ -225,7 +231,7 @@ fn test_collators_per_container() { (AccountId::from(BOB), 100 * UNIT), ]) .with_config(pallet_configuration::HostConfiguration { - max_collators: 2, + max_collators: 100, min_orchestrator_collators: 0, max_orchestrator_collators: 0, collators_per_container: 2, @@ -261,9 +267,9 @@ fn test_collators_per_container() { )); // Initial assignment: Alice & Bob collating for container 1000 - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) ); // Change the collators_per_container param to 3. @@ -275,20 +281,20 @@ fn test_collators_per_container() { // SESSION CHANGE. First session. it takes 2 sessions to see the change run_to_session(1u32); - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![alice_keys.nimbus.clone(), bob_keys.nimbus.clone()]) ); // We should see Charlie included in the authorities now run_to_session(2u32); - assert!( - authorities_for_container(1000u32.into()) - == Some(vec![ - alice_keys.nimbus.clone(), - bob_keys.nimbus.clone(), - charlie_keys.nimbus.clone() - ]) + assert_eq!( + authorities_for_container(1000u32.into()), + Some(vec![ + alice_keys.nimbus.clone(), + bob_keys.nimbus.clone(), + charlie_keys.nimbus.clone() + ]) ); }); } diff --git a/solo-chains/runtime/dancelight/src/tests/mod.rs b/solo-chains/runtime/dancelight/src/tests/mod.rs index f131f2c4f..9b6b57bee 100644 --- a/solo-chains/runtime/dancelight/src/tests/mod.rs +++ b/solo-chains/runtime/dancelight/src/tests/mod.rs @@ -36,6 +36,7 @@ mod relay_registrar; mod services_payment; mod session_keys; mod slashes; +mod staking; mod sudo; #[test] diff --git a/solo-chains/runtime/dancelight/src/tests/staking.rs b/solo-chains/runtime/dancelight/src/tests/staking.rs new file mode 100644 index 000000000..5ab67b29c --- /dev/null +++ b/solo-chains/runtime/dancelight/src/tests/staking.rs @@ -0,0 +1,1145 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + +#![cfg(test)] + +use { + crate::{tests::common::*, MinimumSelfDelegation, PooledStaking}, + frame_support::{assert_noop, assert_ok, error::BadOrigin}, + pallet_pooled_staking::{ + traits::IsCandidateEligible, AllTargetPool, EligibleCandidate, PendingOperationKey, + PendingOperationQuery, PoolsKey, SharesOrStake, TargetPool, + }, + sp_std::vec, +}; + +#[test] +fn test_staking_no_candidates_in_genesis() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let initial_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + + assert_eq!(initial_candidates, vec![]); + }); +} + +#[test] +fn test_staking_join() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let balance_before = System::account(AccountId::from(ALICE)).data.free; + assert_eq!(System::account(AccountId::from(ALICE)).data.reserved, 0); + let stake = MinimumSelfDelegation::get() * 10; + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + // Immediately after joining, Alice is the top candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake + }] + ); + + // And staked amount is immediately marked as "reserved" + let balance_after = System::account(AccountId::from(ALICE)).data.free; + assert_eq!(balance_before - balance_after, stake); + assert_eq!(System::account(AccountId::from(ALICE)).data.reserved, stake); + }); +} + +#[test] +fn test_staking_join_no_keys_registered() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![ + 1001, + 1002, + ]) + + .build() + .execute_with(|| { + run_to_block(2); + + let stake = MinimumSelfDelegation::get() * 10; + let new_account = AccountId::from([42u8; 32]); + assert_ok!(Balances::transfer_allow_death( + origin_of(ALICE.into()), + new_account.clone().into(), + stake * 2 + )); + let balance_before = System::account(new_account.clone()).data.free; + assert_eq!(System::account(new_account.clone()).data.reserved, 0); + assert_ok!(PooledStaking::request_delegate( + origin_of(new_account.clone()), + new_account.clone(), + TargetPool::AutoCompounding, + stake + )); + + // The new account should be the top candidate but it has no keys registered in + // pallet_session, so it is not eligible + assert!(!::EligibleCandidatesFilter::is_candidate_eligible(&new_account)); + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + + assert_eq!(eligible_candidates, vec![]); + + // And staked amount is immediately marked as "reserved" + let balance_after = System::account(new_account.clone()).data.free; + assert_eq!(balance_before - balance_after, stake); + assert_eq!(System::account(new_account.clone()).data.reserved, stake); + }); +} + +#[test] +fn test_staking_register_keys_after_joining() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![ + 1001, + 1002, + ]) + + .build() + .execute_with(|| { + run_to_block(2); + + let stake = MinimumSelfDelegation::get() * 10; + let new_account = AccountId::from([42u8; 32]); + assert_ok!(Balances::transfer_allow_death( + origin_of(ALICE.into()), + new_account.clone().into(), + stake * 2 + )); + let balance_before = System::account(new_account.clone()).data.free; + assert_eq!(System::account(new_account.clone()).data.reserved, 0); + assert_ok!(PooledStaking::request_delegate( + origin_of(new_account.clone()), + new_account.clone(), + TargetPool::AutoCompounding, + stake + )); + + // The new account should be the top candidate but it has no keys registered in + // pallet_session, so it is not eligible + assert!(!::EligibleCandidatesFilter::is_candidate_eligible(&new_account)); + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![]); + + // And staked amount is immediately marked as "reserved" + let balance_after = System::account(new_account.clone()).data.free; + assert_eq!(balance_before - balance_after, stake); + assert_eq!(System::account(new_account.clone()).data.reserved, stake); + + // Now register the keys + let new_keys = get_authority_keys_from_seed(&new_account.to_string(), None); + assert_ok!(Session::set_keys( + origin_of(new_account.clone()), + crate::SessionKeys { + grandpa: new_keys.grandpa,babe: new_keys.babe,para_validator: new_keys.para_validator,para_assignment: new_keys.para_assignment,authority_discovery: new_keys.authority_discovery,beefy: new_keys.beefy,nimbus: new_keys.nimbus, + }, + vec![] + )); + + // Now eligible according to filter + assert!(::EligibleCandidatesFilter::is_candidate_eligible(&new_account)); + // But not eligible according to pallet_pooled_staking, need to manually update candidate list + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![]); + + // Update candidate list + assert_ok!(PooledStaking::update_candidate_position( + origin_of(BOB.into()), + vec![new_account.clone()] + )); + + // Now it is eligible + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: new_account.clone(), + stake + }] + ); + }); +} + +#[test] +fn test_staking_join_bad_origin() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake = 10 * MinimumSelfDelegation::get(); + assert_noop!( + PooledStaking::request_delegate( + root_origin(), + ALICE.into(), + TargetPool::AutoCompounding, + stake + ), + BadOrigin, + ); + }); +} + +#[test] +fn test_staking_join_below_self_delegation_min() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake1 = MinimumSelfDelegation::get() / 3; + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake1 + )); + + // Since stake is below MinimumSelfDelegation, the join operation succeeds + // but the candidate is not eligible + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + + let stake2 = MinimumSelfDelegation::get() - stake1 - 1; + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake2, + )); + + // Still below, missing 1 unit + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + + let stake3 = 1; + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake3, + )); + + // Increasing the stake to above MinimumSelfDelegation makes the candidate eligible + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake: stake1 + stake2 + stake3 + }], + ); + }); +} + +#[test] +fn test_staking_join_no_self_delegation() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + // Bob delegates to Alice, but Alice is not a valid candidate (not enough self-delegation) + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(BOB.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake, + )); + + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + }); +} + +#[test] +fn test_staking_join_before_self_delegation() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + // Bob delegates to Alice, but Alice is not a valid candidate (not enough self-delegation) + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(BOB.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + + run_to_session(2); + assert_ok!(PooledStaking::execute_pending_operations( + origin_of(ALICE.into()), + vec![PendingOperationQuery { + delegator: BOB.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ),); + + // Now Alice joins with enough self-delegation + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + // Alice is a valid candidate, and Bob's stake is also counted + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake: stake * 2, + }], + ); + }); +} + +#[test] +fn test_staking_join_twice_in_same_block() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake1 = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake1 + )); + + let stake2 = 9 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake2 + )); + + // Both operations succeed and the total stake is the sum of the individual stakes + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake: stake1 + stake2, + }] + ); + + run_to_session(2); + + assert_ok!(PooledStaking::execute_pending_operations( + origin_of(ALICE.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ),); + + // TODO: ensure the total stake has been moved to auto compounding pool + }); +} + +#[test] +fn test_staking_join_execute_before_time() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + // Immediately after joining, Alice is the top candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake + }] + ); + + // We called request_delegate in session 0, we will be able to execute it starting from session 2 + let start_of_session_2 = session_to_block(2); + // Session 2 starts at block 600, but run_to_session runs to block 601, so subtract 2 here to go to 599 + run_to_block(start_of_session_2 - 2); + assert_noop!( + PooledStaking::execute_pending_operations( + origin_of(ALICE.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ), + pallet_pooled_staking::Error::::RequestCannotBeExecuted(0), + ); + + run_to_block(start_of_session_2); + assert_ok!(PooledStaking::execute_pending_operations( + origin_of(ALICE.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ),); + }); +} + +#[test] +fn test_staking_join_execute_any_origin() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + // Immediately after joining, Alice is the top candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake + }] + ); + + // We called request_delegate in session 0, we will be able to execute it starting from session 2 + run_to_session(2); + // Anyone can execute pending operations for anyone else + assert_ok!(PooledStaking::execute_pending_operations( + origin_of(BOB.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ),); + }); +} + +#[test] +fn test_staking_join_execute_bad_origin() { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_delegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + stake + )); + + // Immediately after joining, Alice is the top candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake + }] + ); + + // We called request_delegate in session 0, we will be able to execute it starting from session 2 + run_to_session(2); + assert_noop!( + PooledStaking::execute_pending_operations( + root_origin(), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::JoiningAutoCompounding { + candidate: ALICE.into(), + at: 0, + } + }] + ), + BadOrigin, + ); + }); +} + +struct A { + delegator: AccountId, + candidate: AccountId, + target_pool: TargetPool, + stake: u128, +} + +// Setup test environment with provided delegations already being executed. Input function f gets executed at start session 2 +fn setup_staking_join_and_execute(ops: Vec, f: impl FnOnce() -> R) { + ExtBuilder::default() + .with_balances(vec![ + // Alice gets 10k extra tokens for her mapping deposit + (AccountId::from(ALICE), 210_000 * UNIT), + (AccountId::from(BOB), 100_000 * UNIT), + (AccountId::from(CHARLIE), 100_000 * UNIT), + (AccountId::from(DAVE), 100_000 * UNIT), + ]) + .with_collators(vec![ + (AccountId::from(ALICE), 210 * UNIT), + (AccountId::from(BOB), 100 * UNIT), + (AccountId::from(CHARLIE), 100 * UNIT), + (AccountId::from(DAVE), 100 * UNIT), + ]) + .with_empty_parachains(vec![1001, 1002]) + .build() + .execute_with(|| { + run_to_block(2); + + for op in ops.iter() { + assert_ok!(PooledStaking::request_delegate( + origin_of(op.delegator.clone()), + op.candidate.clone(), + op.target_pool, + op.stake, + )); + } + + // We called request_delegate in session 0, we will be able to execute it starting from session 2 + run_to_session(2); + + for op in ops.iter() { + let operation = match op.target_pool { + TargetPool::AutoCompounding => PendingOperationKey::JoiningAutoCompounding { + candidate: op.candidate.clone(), + at: 0, + }, + TargetPool::ManualRewards => PendingOperationKey::JoiningManualRewards { + candidate: op.candidate.clone(), + at: 0, + }, + }; + + assert_ok!(PooledStaking::execute_pending_operations( + origin_of(op.delegator.clone()), + vec![PendingOperationQuery { + delegator: op.delegator.clone(), + operation, + }] + )); + } + + f() + }); +} + +#[test] +fn test_staking_leave_exact_amount() { + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake: 10 * MinimumSelfDelegation::get(), + }], + || { + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + )); + + // Immediately after calling request_undelegate, Alice is no longer a candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![]); + }, + ) +} + +#[test] +fn test_staking_leave_bad_origin() { + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake: 10 * MinimumSelfDelegation::get(), + }], + || { + let stake = 10 * MinimumSelfDelegation::get(); + assert_noop!( + PooledStaking::request_undelegate( + root_origin(), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + ), + BadOrigin + ); + }, + ) +} + +#[test] +fn test_staking_leave_more_than_allowed() { + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake: 10 * MinimumSelfDelegation::get(), + }], + || { + let stake = 10 * MinimumSelfDelegation::get(); + assert_noop!( + PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake + 1 * MinimumSelfDelegation::get()), + ), + pallet_pooled_staking::Error::::MathUnderflow, + ); + }, + ); +} + +#[test] +fn test_staking_leave_in_separate_transactions() { + let stake = 10 * MinimumSelfDelegation::get(); + + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake, + }], + || { + let half_stake = stake / 2; + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(half_stake), + )); + + // Alice is still a valid candidate, now with less stake + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + let remaining_stake = stake - half_stake; + assert_eq!( + eligible_candidates, + vec![EligibleCandidate { + candidate: ALICE.into(), + stake: remaining_stake, + }], + ); + + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(remaining_stake), + )); + + // Unstaked remaining stake, so no longer a valid candidate + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + }, + ); +} + +#[test] +fn test_staking_leave_all_except_some_dust() { + let stake = 10 * MinimumSelfDelegation::get(); + + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake, + }], + || { + let dust = MinimumSelfDelegation::get() / 2; + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake - dust), + )); + + // Alice still has some stake left, but not enough to reach MinimumSelfDelegation + assert_eq!( + pallet_pooled_staking::Pools::::get( + AccountId::from(ALICE), + PoolsKey::CandidateTotalStake + ), + dust, + ); + + let eligible_candidates = + pallet_pooled_staking::SortedEligibleCandidates::::get().to_vec(); + assert_eq!(eligible_candidates, vec![],); + + // Leave with remaining stake + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(dust), + )); + + // Alice has no more stake left + assert_eq!( + pallet_pooled_staking::Pools::::get( + AccountId::from(ALICE), + PoolsKey::CandidateTotalStake + ), + 0, + ); + }, + ); +} + +#[test] +fn test_staking_leave_execute_before_time() { + let stake = 10 * MinimumSelfDelegation::get(); + + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake, + }], + || { + let balance_before = System::account(AccountId::from(ALICE)).data.free; + let at = Session::current_index(); + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + )); + + // Request undelegate does not change account balance + assert_eq!( + balance_before, + System::account(AccountId::from(ALICE)).data.free + ); + + // We called request_delegate in session 0, we will be able to execute it starting from session 2 + let start_of_session_4 = session_to_block(4); + // Session 4 starts at block 1200, but run_to_session runs to block 1201, so subtract 2 here to go to 1999 + run_to_block(start_of_session_4 - 2); + + assert_noop!( + PooledStaking::execute_pending_operations( + origin_of(ALICE.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::Leaving { + candidate: ALICE.into(), + at, + } + }] + ), + pallet_pooled_staking::Error::::RequestCannotBeExecuted(0) + ); + }, + ); +} + +#[test] +fn test_staking_leave_execute_any_origin() { + let stake = 10 * MinimumSelfDelegation::get(); + + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake, + }], + || { + let balance_before = System::account(AccountId::from(ALICE)).data.free; + let at = Session::current_index(); + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + )); + + // Request undelegate does not change account balance + assert_eq!( + balance_before, + System::account(AccountId::from(ALICE)).data.free + ); + + run_to_session(4); + + let balance_before = System::account(AccountId::from(ALICE)).data.free; + + assert_ok!(PooledStaking::execute_pending_operations( + // Any signed origin can execute this, the stake will go to Alice account + origin_of(BOB.into()), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::Leaving { + candidate: ALICE.into(), + at, + } + }] + ),); + + let balance_after = System::account(AccountId::from(ALICE)).data.free; + assert_eq!(balance_after - balance_before, stake); + }, + ); +} + +#[test] +fn test_staking_leave_execute_bad_origin() { + let stake = 10 * MinimumSelfDelegation::get(); + + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake, + }], + || { + let at = Session::current_index(); + assert_ok!(PooledStaking::request_undelegate( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + )); + + run_to_session(4); + + assert_noop!( + PooledStaking::execute_pending_operations( + root_origin(), + vec![PendingOperationQuery { + delegator: ALICE.into(), + operation: PendingOperationKey::Leaving { + candidate: ALICE.into(), + at, + } + }] + ), + BadOrigin + ); + }, + ); +} + +#[test] +fn test_staking_swap() { + setup_staking_join_and_execute( + vec![A { + delegator: ALICE.into(), + candidate: ALICE.into(), + target_pool: TargetPool::AutoCompounding, + stake: 10 * MinimumSelfDelegation::get(), + }], + || { + let stake = 10 * MinimumSelfDelegation::get(); + assert_ok!(PooledStaking::swap_pool( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::AutoCompounding, + SharesOrStake::Stake(stake), + )); + + assert_eq!( + PooledStaking::computed_stake( + ALICE.into(), + ALICE.into(), + AllTargetPool::AutoCompounding + ), + Some(0u32.into()) + ); + assert_eq!( + PooledStaking::computed_stake( + ALICE.into(), + ALICE.into(), + AllTargetPool::ManualRewards + ), + Some(stake) + ); + + assert_ok!(PooledStaking::swap_pool( + origin_of(ALICE.into()), + ALICE.into(), + TargetPool::ManualRewards, + SharesOrStake::Stake(stake), + )); + + assert_eq!( + PooledStaking::computed_stake( + ALICE.into(), + ALICE.into(), + AllTargetPool::AutoCompounding + ), + Some(stake) + ); + assert_eq!( + PooledStaking::computed_stake( + ALICE.into(), + ALICE.into(), + AllTargetPool::ManualRewards + ), + Some(0u32.into()) + ); + }, + ) +} diff --git a/solo-chains/runtime/dancelight/src/weights/mod.rs b/solo-chains/runtime/dancelight/src/weights/mod.rs index 1673a91c3..46cb008b3 100644 --- a/solo-chains/runtime/dancelight/src/weights/mod.rs +++ b/solo-chains/runtime/dancelight/src/weights/mod.rs @@ -28,6 +28,7 @@ pub mod pallet_invulnerables; pub mod pallet_message_queue; pub mod pallet_multisig; pub mod pallet_parameters; +pub mod pallet_pooled_staking; pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_ranked_collective; diff --git a/solo-chains/runtime/dancelight/src/weights/pallet_pooled_staking.rs b/solo-chains/runtime/dancelight/src/weights/pallet_pooled_staking.rs new file mode 100644 index 000000000..f070ab42a --- /dev/null +++ b/solo-chains/runtime/dancelight/src/weights/pallet_pooled_staking.rs @@ -0,0 +1,205 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + + +//! Autogenerated weights for pallet_pooled_staking +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 43.0.0 +//! DATE: 2024-12-03, STEPS: `16`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `tomasz-XPS-15-9520`, CPU: `12th Gen Intel(R) Core(TM) i7-12700H` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dancelight-dev"), DB CACHE: 1024 + +// Executed Command: +// target/release/tanssi-relay +// benchmark +// pallet +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// pallet_pooled_staking +// --extrinsic +// * +// --chain=dancelight-dev +// --steps +// 16 +// --repeat +// 1 +// --template=benchmarking/frame-weight-runtime-template.hbs +// --json-file +// raw.json +// --output +// tmp/dancelight_weights/pallet_pooled_staking.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use sp_std::marker::PhantomData; + +/// Weights for pallet_pooled_staking using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl pallet_pooled_staking::WeightInfo for SubstrateWeight { + /// Storage: `PooledStaking::Pools` (r:12 w:5) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) + /// Storage: `PooledStaking::SortedEligibleCandidates` (r:1 w:1) + /// Proof: `PooledStaking::SortedEligibleCandidates` (`max_values`: Some(1), `max_size`: Some(4802), added: 5297, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::CurrentIndex` (r:1 w:0) + /// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PooledStaking::PendingOperations` (r:1 w:1) + /// Proof: `PooledStaking::PendingOperations` (`max_values`: None, `max_size`: Some(117), added: 2592, mode: `MaxEncodedLen`) + fn request_delegate() -> Weight { + // Proof Size summary in bytes: + // Measured: `1693` + // Estimated: `32046` + // Minimum execution time: 223_276_000 picoseconds. + Weight::from_parts(223_276_000, 32046) + .saturating_add(T::DbWeight::get().reads(18_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) + } + /// Storage: `PooledStaking::PendingOperations` (r:100 w:100) + /// Proof: `PooledStaking::PendingOperations` (`max_values`: None, `max_size`: Some(117), added: 2592, mode: `MaxEncodedLen`) + /// Storage: `Session::CurrentIndex` (r:1 w:0) + /// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PooledStaking::Pools` (r:1000 w:800) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 100]`. + fn execute_pending_operations(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `537 + b * (390 ±0)` + // Estimated: `3593 + b * (25880 ±0)` + // Minimum execution time: 223_896_000 picoseconds. + Weight::from_parts(923_209_974, 3593) + // Standard Error: 7_529_273 + .saturating_add(Weight::from_parts(62_374_026, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((9_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 25880).saturating_mul(b.into())) + } + /// Storage: `PooledStaking::Pools` (r:13 w:9) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `PooledStaking::SortedEligibleCandidates` (r:1 w:1) + /// Proof: `PooledStaking::SortedEligibleCandidates` (`max_values`: Some(1), `max_size`: Some(4802), added: 5297, mode: `MaxEncodedLen`) + /// Storage: `Session::CurrentIndex` (r:1 w:0) + /// Proof: `Session::CurrentIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PooledStaking::PendingOperations` (r:1 w:1) + /// Proof: `PooledStaking::PendingOperations` (`max_values`: None, `max_size`: Some(117), added: 2592, mode: `MaxEncodedLen`) + fn request_undelegate() -> Weight { + // Proof Size summary in bytes: + // Measured: `725` + // Estimated: `34634` + // Minimum execution time: 126_682_000 picoseconds. + Weight::from_parts(126_682_000, 34634) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) + } + /// Storage: `PooledStaking::Pools` (r:300 w:100) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 100]`. + fn claim_manual_rewards(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `378 + b * (456 ±0)` + // Estimated: `6196 + b * (7764 ±0)` + // Minimum execution time: 70_722_000 picoseconds. + Weight::from_parts(46_724_962, 6196) + // Standard Error: 152_961 + .saturating_add(Weight::from_parts(35_593_574, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 7764).saturating_mul(b.into())) + } + /// Storage: `PooledStaking::Pools` (r:4 w:1) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(121), added: 2596, mode: `MaxEncodedLen`) + fn rebalance_hold() -> Weight { + // Proof Size summary in bytes: + // Measured: `981` + // Estimated: `11342` + // Minimum execution time: 132_493_000 picoseconds. + Weight::from_parts(132_493_000, 11342) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `PooledStaking::Pools` (r:600 w:100) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `PooledStaking::SortedEligibleCandidates` (r:1 w:1) + /// Proof: `PooledStaking::SortedEligibleCandidates` (`max_values`: Some(1), `max_size`: Some(4802), added: 5297, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:100 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[1, 100]`. + fn update_candidate_position(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `432 + b * (551 ±0)` + // Estimated: `6287 + b * (15528 ±0)` + // Minimum execution time: 57_935_000 picoseconds. + Weight::from_parts(37_904_366, 6287) + // Standard Error: 220_015 + .saturating_add(Weight::from_parts(30_769_001, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into()))) + .saturating_add(Weight::from_parts(0, 15528).saturating_mul(b.into())) + } + /// Storage: `PooledStaking::Pools` (r:12 w:8) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + fn swap_pool() -> Weight { + // Proof Size summary in bytes: + // Measured: `478` + // Estimated: `32046` + // Minimum execution time: 97_472_000 picoseconds. + Weight::from_parts(97_472_000, 32046) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: `PooledStaking::Pools` (r:9 w:5) + /// Proof: `PooledStaking::Pools` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) + /// Storage: `PooledStaking::SortedEligibleCandidates` (r:1 w:1) + /// Proof: `PooledStaking::SortedEligibleCandidates` (`max_values`: Some(1), `max_size`: Some(4802), added: 5297, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn distribute_rewards() -> Weight { + // Proof Size summary in bytes: + // Measured: `1531` + // Estimated: `24282` + // Minimum execution time: 156_958_000 picoseconds. + Weight::from_parts(156_958_000, 24282) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } +} \ No newline at end of file diff --git a/test/suites/dev-tanssi-relay/balances/test_balances.ts b/test/suites/dev-tanssi-relay/balances/test_balances.ts index 3286a2d54..0da240587 100644 --- a/test/suites/dev-tanssi-relay/balances/test_balances.ts +++ b/test/suites/dev-tanssi-relay/balances/test_balances.ts @@ -20,7 +20,7 @@ describeSuite({ title: "Checking total issuance is correct on genesis", test: async function () { const totalIssuance = (await polkadotJs.query.balances.totalIssuance()).toBigInt(); - expect(totalIssuance).toBe(12_000_000_000_033_333_333n); + expect(totalIssuance).toBe(12_000_000_000_133_333_332n); }, }); diff --git a/typescript-api/src/dancelight/interfaces/augment-api-consts.ts b/typescript-api/src/dancelight/interfaces/augment-api-consts.ts index ee8966278..3b04ac5eb 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-consts.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-consts.ts @@ -364,6 +364,39 @@ declare module "@polkadot/api-base/types/consts" { /** Generic const */ [key: string]: Codec; }; + pooledStaking: { + /** + * All eligible candidates are stored in a sorted list that is modified each time delegations changes. It is safer + * to bound this list, in which case eligible candidate could fall out of this list if they have less stake than + * the top `EligibleCandidatesBufferSize` eligible candidates. One of this top candidates leaving will then not + * bring the dropped candidate in the list. An extrinsic is available to manually bring back such dropped + * candidate. + */ + eligibleCandidatesBufferSize: u32 & AugmentedConst; + /** + * When creating the first Shares for a candidate the supply can arbitrary. Picking a value too high is a barrier + * of entry for staking, which will increase overtime as the value of each share will increase due to auto + * compounding. + */ + initialAutoCompoundingShareValue: u128 & AugmentedConst; + /** + * When creating the first Shares for a candidate the supply can be arbitrary. Picking a value too low will make + * an higher supply, which means each share will get less rewards, and rewards calculations will have more + * impactful rounding errors. Picking a value too high is a barrier of entry for staking. + */ + initialManualClaimShareValue: u128 & AugmentedConst; + /** + * Minimum amount of stake a Candidate must delegate (stake) towards itself. Not reaching this minimum prevents + * from being elected. + */ + minimumSelfDelegation: u128 & AugmentedConst; + /** Part of the rewards that will be sent exclusively to the collator. */ + rewardsCollatorCommission: Perbill & AugmentedConst; + /** Account holding Currency of all delegators. */ + stakingAccount: AccountId32 & AugmentedConst; + /** Generic const */ + [key: string]: Codec; + }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. diff --git a/typescript-api/src/dancelight/interfaces/augment-api-errors.ts b/typescript-api/src/dancelight/interfaces/augment-api-errors.ts index a15a81103..a5c05c4cb 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-errors.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-errors.ts @@ -731,6 +731,24 @@ declare module "@polkadot/api-base/types/errors" { /** Generic error */ [key: string]: AugmentedError; }; + pooledStaking: { + CandidateTransferingOwnSharesForbidden: AugmentedError; + DisabledFeature: AugmentedError; + InconsistentState: AugmentedError; + InvalidPalletSetting: AugmentedError; + MathOverflow: AugmentedError; + MathUnderflow: AugmentedError; + NoOneIsStaking: AugmentedError; + NotEnoughShares: AugmentedError; + RequestCannotBeExecuted: AugmentedError; + RewardsMustBeNonZero: AugmentedError; + StakeMustBeNonZero: AugmentedError; + SwapResultsInZeroShares: AugmentedError; + TryingToLeaveTooSoon: AugmentedError; + UnsufficientSharesForTransfer: AugmentedError; + /** Generic error */ + [key: string]: AugmentedError; + }; preimage: { /** Preimage has already been noted on-chain. */ AlreadyNoted: AugmentedError; diff --git a/typescript-api/src/dancelight/interfaces/augment-api-events.ts b/typescript-api/src/dancelight/interfaces/augment-api-events.ts index 4baa55272..7b1a5caf1 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-events.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-events.ts @@ -37,6 +37,7 @@ import type { PalletConvictionVotingVoteAccountVote, PalletExternalValidatorsForcing, PalletMultisigTimepoint, + PalletPooledStakingTargetPool, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, @@ -899,6 +900,150 @@ declare module "@polkadot/api-base/types/events" { /** Generic event */ [key: string]: AugmentedEvent; }; + pooledStaking: { + /** Rewards manually claimed. */ + ClaimedManualRewards: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, rewards: u128], + { candidate: AccountId32; delegator: AccountId32; rewards: u128 } + >; + /** Stake of that Candidate decreased. */ + DecreasedStake: AugmentedEvent< + ApiType, + [candidate: AccountId32, stakeDiff: u128], + { candidate: AccountId32; stakeDiff: u128 } + >; + /** + * Delegation request was executed. `staked` has been properly staked in `pool`, while the rounding when + * converting to shares has been `released`. + */ + ExecutedDelegate: AugmentedEvent< + ApiType, + [ + candidate: AccountId32, + delegator: AccountId32, + pool: PalletPooledStakingTargetPool, + staked: u128, + released: u128, + ], + { + candidate: AccountId32; + delegator: AccountId32; + pool: PalletPooledStakingTargetPool; + staked: u128; + released: u128; + } + >; + /** Undelegation request was executed. */ + ExecutedUndelegate: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, released: u128], + { candidate: AccountId32; delegator: AccountId32; released: u128 } + >; + /** Stake of that Candidate increased. */ + IncreasedStake: AugmentedEvent< + ApiType, + [candidate: AccountId32, stakeDiff: u128], + { candidate: AccountId32; stakeDiff: u128 } + >; + /** User requested to delegate towards a candidate. */ + RequestedDelegate: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, pool: PalletPooledStakingTargetPool, pending: u128], + { candidate: AccountId32; delegator: AccountId32; pool: PalletPooledStakingTargetPool; pending: u128 } + >; + /** + * User requested to undelegate from a candidate. Stake was removed from a `pool` and is `pending` for the request + * to be executed. The rounding when converting to leaving shares has been `released` immediately. + */ + RequestedUndelegate: AugmentedEvent< + ApiType, + [ + candidate: AccountId32, + delegator: AccountId32, + from: PalletPooledStakingTargetPool, + pending: u128, + released: u128, + ], + { + candidate: AccountId32; + delegator: AccountId32; + from: PalletPooledStakingTargetPool; + pending: u128; + released: u128; + } + >; + /** Collator has been rewarded. */ + RewardedCollator: AugmentedEvent< + ApiType, + [collator: AccountId32, autoCompoundingRewards: u128, manualClaimRewards: u128], + { collator: AccountId32; autoCompoundingRewards: u128; manualClaimRewards: u128 } + >; + /** Delegators have been rewarded. */ + RewardedDelegators: AugmentedEvent< + ApiType, + [collator: AccountId32, autoCompoundingRewards: u128, manualClaimRewards: u128], + { collator: AccountId32; autoCompoundingRewards: u128; manualClaimRewards: u128 } + >; + /** Delegator staked towards a Candidate for AutoCompounding Shares. */ + StakedAutoCompounding: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, shares: u128, stake: u128], + { candidate: AccountId32; delegator: AccountId32; shares: u128; stake: u128 } + >; + /** Delegator staked towards a candidate for ManualRewards Shares. */ + StakedManualRewards: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, shares: u128, stake: u128], + { candidate: AccountId32; delegator: AccountId32; shares: u128; stake: u128 } + >; + /** Swapped between AutoCompounding and ManualReward shares */ + SwappedPool: AugmentedEvent< + ApiType, + [ + candidate: AccountId32, + delegator: AccountId32, + sourcePool: PalletPooledStakingTargetPool, + sourceShares: u128, + sourceStake: u128, + targetShares: u128, + targetStake: u128, + pendingLeaving: u128, + released: u128, + ], + { + candidate: AccountId32; + delegator: AccountId32; + sourcePool: PalletPooledStakingTargetPool; + sourceShares: u128; + sourceStake: u128; + targetShares: u128; + targetStake: u128; + pendingLeaving: u128; + released: u128; + } + >; + /** Delegator unstaked towards a candidate with AutoCompounding Shares. */ + UnstakedAutoCompounding: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, shares: u128, stake: u128], + { candidate: AccountId32; delegator: AccountId32; shares: u128; stake: u128 } + >; + /** Delegator unstaked towards a candidate with ManualRewards Shares. */ + UnstakedManualRewards: AugmentedEvent< + ApiType, + [candidate: AccountId32, delegator: AccountId32, shares: u128, stake: u128], + { candidate: AccountId32; delegator: AccountId32; shares: u128; stake: u128 } + >; + /** Stake of the candidate has changed, which may have modified its position in the eligible candidates list. */ + UpdatedCandidatePosition: AugmentedEvent< + ApiType, + [candidate: AccountId32, stake: u128, selfDelegation: u128, before: Option, after: Option], + { candidate: AccountId32; stake: u128; selfDelegation: u128; before: Option; after: Option } + >; + /** Generic event */ + [key: string]: AugmentedEvent; + }; preimage: { /** A preimage has ben cleared. */ Cleared: AugmentedEvent; diff --git a/typescript-api/src/dancelight/interfaces/augment-api-query.ts b/typescript-api/src/dancelight/interfaces/augment-api-query.ts index 5cd107e2c..31258afa5 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-query.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-query.ts @@ -61,6 +61,9 @@ import type { PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMultisigMultisig, + PalletPooledStakingCandidateEligibleCandidate, + PalletPooledStakingPendingOperationKey, + PalletPooledStakingPoolsKey, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, @@ -1885,6 +1888,68 @@ declare module "@polkadot/api-base/types/storage" { /** Generic query */ [key: string]: QueryableStorageEntry; }; + pooledStaking: { + /** Pending operations balances. Balances are expressed in joining/leaving shares amounts. */ + pendingOperations: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: + | PalletPooledStakingPendingOperationKey + | { JoiningAutoCompounding: any } + | { JoiningManualRewards: any } + | { Leaving: any } + | string + | Uint8Array + ) => Observable, + [AccountId32, PalletPooledStakingPendingOperationKey] + > & + QueryableStorageEntry; + /** Pools balances. */ + pools: AugmentedQuery< + ApiType, + ( + arg1: AccountId32 | string | Uint8Array, + arg2: + | PalletPooledStakingPoolsKey + | { CandidateTotalStake: any } + | { JoiningShares: any } + | { JoiningSharesSupply: any } + | { JoiningSharesTotalStaked: any } + | { JoiningSharesHeldStake: any } + | { AutoCompoundingShares: any } + | { AutoCompoundingSharesSupply: any } + | { AutoCompoundingSharesTotalStaked: any } + | { AutoCompoundingSharesHeldStake: any } + | { ManualRewardsShares: any } + | { ManualRewardsSharesSupply: any } + | { ManualRewardsSharesTotalStaked: any } + | { ManualRewardsSharesHeldStake: any } + | { ManualRewardsCounter: any } + | { ManualRewardsCheckpoint: any } + | { LeavingShares: any } + | { LeavingSharesSupply: any } + | { LeavingSharesTotalStaked: any } + | { LeavingSharesHeldStake: any } + | string + | Uint8Array + ) => Observable, + [AccountId32, PalletPooledStakingPoolsKey] + > & + QueryableStorageEntry; + /** + * Keeps a list of all eligible candidates, sorted by the amount of stake backing them. This can be quickly + * updated using a binary search, and allow to easily take the top `MaxCollatorSetSize`. + */ + sortedEligibleCandidates: AugmentedQuery< + ApiType, + () => Observable>, + [] + > & + QueryableStorageEntry; + /** Generic query */ + [key: string]: QueryableStorageEntry; + }; preimage: { preimageFor: AugmentedQuery< ApiType, diff --git a/typescript-api/src/dancelight/interfaces/augment-api-tx.ts b/typescript-api/src/dancelight/interfaces/augment-api-tx.ts index 60a6b0622..28a7e93a4 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-tx.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-tx.ts @@ -50,6 +50,10 @@ import type { PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMultisigTimepoint, + PalletPooledStakingAllTargetPool, + PalletPooledStakingPendingOperationQuery, + PalletPooledStakingSharesOrStake, + PalletPooledStakingTargetPool, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, @@ -3169,6 +3173,81 @@ declare module "@polkadot/api-base/types/submittable" { /** Generic tx */ [key: string]: SubmittableExtrinsicFunction; }; + pooledStaking: { + claimManualRewards: AugmentedSubmittable< + ( + pairs: + | Vec> + | [AccountId32 | string | Uint8Array, AccountId32 | string | Uint8Array][] + ) => SubmittableExtrinsic, + [Vec>] + >; + /** Execute pending operations can incur in claim manual rewards per operation, we simply add the worst case */ + executePendingOperations: AugmentedSubmittable< + ( + operations: + | Vec + | ( + | PalletPooledStakingPendingOperationQuery + | { delegator?: any; operation?: any } + | string + | Uint8Array + )[] + ) => SubmittableExtrinsic, + [Vec] + >; + rebalanceHold: AugmentedSubmittable< + ( + candidate: AccountId32 | string | Uint8Array, + delegator: AccountId32 | string | Uint8Array, + pool: + | PalletPooledStakingAllTargetPool + | "Joining" + | "AutoCompounding" + | "ManualRewards" + | "Leaving" + | number + | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, AccountId32, PalletPooledStakingAllTargetPool] + >; + requestDelegate: AugmentedSubmittable< + ( + candidate: AccountId32 | string | Uint8Array, + pool: PalletPooledStakingTargetPool | "AutoCompounding" | "ManualRewards" | number | Uint8Array, + stake: u128 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletPooledStakingTargetPool, u128] + >; + /** Request undelegate can incur in either claim manual rewards or hold rebalances, we simply add the worst case */ + requestUndelegate: AugmentedSubmittable< + ( + candidate: AccountId32 | string | Uint8Array, + pool: PalletPooledStakingTargetPool | "AutoCompounding" | "ManualRewards" | number | Uint8Array, + amount: PalletPooledStakingSharesOrStake | { Shares: any } | { Stake: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletPooledStakingTargetPool, PalletPooledStakingSharesOrStake] + >; + swapPool: AugmentedSubmittable< + ( + candidate: AccountId32 | string | Uint8Array, + sourcePool: + | PalletPooledStakingTargetPool + | "AutoCompounding" + | "ManualRewards" + | number + | Uint8Array, + amount: PalletPooledStakingSharesOrStake | { Shares: any } | { Stake: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [AccountId32, PalletPooledStakingTargetPool, PalletPooledStakingSharesOrStake] + >; + updateCandidatePosition: AugmentedSubmittable< + (candidates: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, + [Vec] + >; + /** Generic tx */ + [key: string]: SubmittableExtrinsicFunction; + }; preimage: { /** * Ensure that the a bulk of pre-images is upgraded. diff --git a/typescript-api/src/dancelight/interfaces/lookup.ts b/typescript-api/src/dancelight/interfaces/lookup.ts index 595045a22..cfd65a0a2 100644 --- a/typescript-api/src/dancelight/interfaces/lookup.ts +++ b/typescript-api/src/dancelight/interfaces/lookup.ts @@ -497,7 +497,106 @@ export default { }, }, }, - /** Lookup64: pallet_treasury::pallet::Event */ + /** Lookup64: pallet_pooled_staking::pallet::Event */ + PalletPooledStakingEvent: { + _enum: { + UpdatedCandidatePosition: { + candidate: "AccountId32", + stake: "u128", + selfDelegation: "u128", + before: "Option", + after: "Option", + }, + RequestedDelegate: { + candidate: "AccountId32", + delegator: "AccountId32", + pool: "PalletPooledStakingTargetPool", + pending: "u128", + }, + ExecutedDelegate: { + candidate: "AccountId32", + delegator: "AccountId32", + pool: "PalletPooledStakingTargetPool", + staked: "u128", + released: "u128", + }, + RequestedUndelegate: { + candidate: "AccountId32", + delegator: "AccountId32", + from: "PalletPooledStakingTargetPool", + pending: "u128", + released: "u128", + }, + ExecutedUndelegate: { + candidate: "AccountId32", + delegator: "AccountId32", + released: "u128", + }, + IncreasedStake: { + candidate: "AccountId32", + stakeDiff: "u128", + }, + DecreasedStake: { + candidate: "AccountId32", + stakeDiff: "u128", + }, + StakedAutoCompounding: { + candidate: "AccountId32", + delegator: "AccountId32", + shares: "u128", + stake: "u128", + }, + UnstakedAutoCompounding: { + candidate: "AccountId32", + delegator: "AccountId32", + shares: "u128", + stake: "u128", + }, + StakedManualRewards: { + candidate: "AccountId32", + delegator: "AccountId32", + shares: "u128", + stake: "u128", + }, + UnstakedManualRewards: { + candidate: "AccountId32", + delegator: "AccountId32", + shares: "u128", + stake: "u128", + }, + RewardedCollator: { + collator: "AccountId32", + autoCompoundingRewards: "u128", + manualClaimRewards: "u128", + }, + RewardedDelegators: { + collator: "AccountId32", + autoCompoundingRewards: "u128", + manualClaimRewards: "u128", + }, + ClaimedManualRewards: { + candidate: "AccountId32", + delegator: "AccountId32", + rewards: "u128", + }, + SwappedPool: { + candidate: "AccountId32", + delegator: "AccountId32", + sourcePool: "PalletPooledStakingTargetPool", + sourceShares: "u128", + sourceStake: "u128", + targetShares: "u128", + targetStake: "u128", + pendingLeaving: "u128", + released: "u128", + }, + }, + }, + /** Lookup66: pallet_pooled_staking::pallet::TargetPool */ + PalletPooledStakingTargetPool: { + _enum: ["AutoCompounding", "ManualRewards"], + }, + /** Lookup67: pallet_treasury::pallet::Event */ PalletTreasuryEvent: { _enum: { Spending: { @@ -550,7 +649,7 @@ export default { }, }, }, - /** Lookup66: pallet_conviction_voting::pallet::Event */ + /** Lookup69: pallet_conviction_voting::pallet::Event */ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId32,AccountId32)", @@ -565,7 +664,7 @@ export default { }, }, }, - /** Lookup67: pallet_conviction_voting::vote::AccountVote */ + /** Lookup70: pallet_conviction_voting::vote::AccountVote */ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { @@ -583,7 +682,7 @@ export default { }, }, }, - /** Lookup69: pallet_referenda::pallet::Event */ + /** Lookup72: pallet_referenda::pallet::Event */ PalletReferendaEvent: { _enum: { Submitted: { @@ -662,7 +761,7 @@ export default { }, }, /** - * Lookup71: frame_support::traits::preimages::Bounded */ FrameSupportPreimagesBounded: { @@ -683,7 +782,7 @@ export default { }, }, }, - /** Lookup73: frame_system::pallet::Call */ + /** Lookup76: frame_system::pallet::Call */ FrameSystemCall: { _enum: { remark: { @@ -726,7 +825,7 @@ export default { }, }, }, - /** Lookup77: pallet_babe::pallet::Call */ + /** Lookup80: pallet_babe::pallet::Call */ PalletBabeCall: { _enum: { report_equivocation: { @@ -743,7 +842,7 @@ export default { }, }, /** - * Lookup78: sp_consensus_slots::EquivocationProof, + * Lookup81: sp_consensus_slots::EquivocationProof, * sp_consensus_babe::app::Public> */ SpConsensusSlotsEquivocationProof: { @@ -752,7 +851,7 @@ export default { firstHeader: "SpRuntimeHeader", secondHeader: "SpRuntimeHeader", }, - /** Lookup79: sp_runtime::generic::header::Header */ + /** Lookup82: sp_runtime::generic::header::Header */ SpRuntimeHeader: { parentHash: "H256", number: "Compact", @@ -760,15 +859,15 @@ export default { extrinsicsRoot: "H256", digest: "SpRuntimeDigest", }, - /** Lookup81: sp_consensus_babe::app::Public */ + /** Lookup84: sp_consensus_babe::app::Public */ SpConsensusBabeAppPublic: "[u8;32]", - /** Lookup82: sp_session::MembershipProof */ + /** Lookup85: sp_session::MembershipProof */ SpSessionMembershipProof: { session: "u32", trieNodes: "Vec", validatorCount: "u32", }, - /** Lookup83: sp_consensus_babe::digests::NextConfigDescriptor */ + /** Lookup86: sp_consensus_babe::digests::NextConfigDescriptor */ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { __Unused0: "Null", @@ -778,11 +877,11 @@ export default { }, }, }, - /** Lookup85: sp_consensus_babe::AllowedSlots */ + /** Lookup88: sp_consensus_babe::AllowedSlots */ SpConsensusBabeAllowedSlots: { _enum: ["PrimarySlots", "PrimaryAndSecondaryPlainSlots", "PrimaryAndSecondaryVRFSlots"], }, - /** Lookup86: pallet_timestamp::pallet::Call */ + /** Lookup89: pallet_timestamp::pallet::Call */ PalletTimestampCall: { _enum: { set: { @@ -790,7 +889,7 @@ export default { }, }, }, - /** Lookup87: pallet_balances::pallet::Call */ + /** Lookup90: pallet_balances::pallet::Call */ PalletBalancesCall: { _enum: { transfer_allow_death: { @@ -833,11 +932,11 @@ export default { }, }, }, - /** Lookup93: pallet_balances::types::AdjustmentDirection */ + /** Lookup96: pallet_balances::types::AdjustmentDirection */ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"], }, - /** Lookup94: pallet_parameters::pallet::Call */ + /** Lookup97: pallet_parameters::pallet::Call */ PalletParametersCall: { _enum: { set_parameter: { @@ -845,20 +944,20 @@ export default { }, }, }, - /** Lookup95: dancelight_runtime::RuntimeParameters */ + /** Lookup98: dancelight_runtime::RuntimeParameters */ DancelightRuntimeRuntimeParameters: { _enum: { Preimage: "DancelightRuntimeDynamicParamsPreimageParameters", }, }, - /** Lookup96: dancelight_runtime::dynamic_params::preimage::Parameters */ + /** Lookup99: dancelight_runtime::dynamic_params::preimage::Parameters */ DancelightRuntimeDynamicParamsPreimageParameters: { _enum: { BaseDeposit: "(DancelightRuntimeDynamicParamsPreimageBaseDeposit,Option)", ByteDeposit: "(DancelightRuntimeDynamicParamsPreimageByteDeposit,Option)", }, }, - /** Lookup97: pallet_registrar::pallet::Call */ + /** Lookup100: pallet_registrar::pallet::Call */ PalletRegistrarCall: { _enum: { register: { @@ -909,7 +1008,7 @@ export default { }, }, }, - /** Lookup98: dp_container_chain_genesis_data::ContainerChainGenesisData */ + /** Lookup101: dp_container_chain_genesis_data::ContainerChainGenesisData */ DpContainerChainGenesisDataContainerChainGenesisData: { storage: "Vec", name: "Bytes", @@ -918,36 +1017,36 @@ export default { extensions: "Bytes", properties: "DpContainerChainGenesisDataProperties", }, - /** Lookup100: dp_container_chain_genesis_data::ContainerChainGenesisDataItem */ + /** Lookup103: dp_container_chain_genesis_data::ContainerChainGenesisDataItem */ DpContainerChainGenesisDataContainerChainGenesisDataItem: { key: "Bytes", value: "Bytes", }, - /** Lookup102: dp_container_chain_genesis_data::Properties */ + /** Lookup105: dp_container_chain_genesis_data::Properties */ DpContainerChainGenesisDataProperties: { tokenMetadata: "DpContainerChainGenesisDataTokenMetadata", isEthereum: "bool", }, - /** Lookup103: dp_container_chain_genesis_data::TokenMetadata */ + /** Lookup106: dp_container_chain_genesis_data::TokenMetadata */ DpContainerChainGenesisDataTokenMetadata: { tokenSymbol: "Bytes", ss58Format: "u32", tokenDecimals: "u32", }, - /** Lookup107: tp_traits::SlotFrequency */ + /** Lookup110: tp_traits::SlotFrequency */ TpTraitsSlotFrequency: { min: "u32", max: "u32", }, - /** Lookup109: tp_traits::ParathreadParams */ + /** Lookup112: tp_traits::ParathreadParams */ TpTraitsParathreadParams: { slotFrequency: "TpTraitsSlotFrequency", }, - /** Lookup110: sp_trie::storage_proof::StorageProof */ + /** Lookup113: sp_trie::storage_proof::StorageProof */ SpTrieStorageProof: { trieNodes: "BTreeSet", }, - /** Lookup112: sp_runtime::MultiSignature */ + /** Lookup115: sp_runtime::MultiSignature */ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", @@ -955,7 +1054,7 @@ export default { Ecdsa: "[u8;65]", }, }, - /** Lookup115: pallet_configuration::pallet::Call */ + /** Lookup118: pallet_configuration::pallet::Call */ PalletConfigurationCall: { _enum: { set_max_collators: { @@ -1055,7 +1154,7 @@ export default { }, }, }, - /** Lookup117: pallet_invulnerables::pallet::Call */ + /** Lookup120: pallet_invulnerables::pallet::Call */ PalletInvulnerablesCall: { _enum: { __Unused0: "Null", @@ -1067,11 +1166,11 @@ export default { }, }, }, - /** Lookup118: pallet_collator_assignment::pallet::Call */ + /** Lookup121: pallet_collator_assignment::pallet::Call */ PalletCollatorAssignmentCall: "Null", - /** Lookup119: pallet_authority_assignment::pallet::Call */ + /** Lookup122: pallet_authority_assignment::pallet::Call */ PalletAuthorityAssignmentCall: "Null", - /** Lookup120: pallet_author_noting::pallet::Call */ + /** Lookup123: pallet_author_noting::pallet::Call */ PalletAuthorNotingCall: { _enum: { set_latest_author_data: { @@ -1088,7 +1187,7 @@ export default { }, }, }, - /** Lookup121: pallet_services_payment::pallet::Call */ + /** Lookup124: pallet_services_payment::pallet::Call */ PalletServicesPaymentCall: { _enum: { purchase_credits: { @@ -1121,7 +1220,7 @@ export default { }, }, }, - /** Lookup122: pallet_data_preservers::pallet::Call */ + /** Lookup125: pallet_data_preservers::pallet::Call */ PalletDataPreserversCall: { _enum: { __Unused0: "Null", @@ -1162,14 +1261,14 @@ export default { }, }, }, - /** Lookup123: pallet_data_preservers::types::Profile */ + /** Lookup126: pallet_data_preservers::types::Profile */ PalletDataPreserversProfile: { url: "Bytes", paraIds: "PalletDataPreserversParaIdsFilter", mode: "PalletDataPreserversProfileMode", assignmentRequest: "DancelightRuntimePreserversAssignmentPaymentRequest", }, - /** Lookup125: pallet_data_preservers::types::ParaIdsFilter */ + /** Lookup128: pallet_data_preservers::types::ParaIdsFilter */ PalletDataPreserversParaIdsFilter: { _enum: { AnyParaId: "Null", @@ -1177,7 +1276,7 @@ export default { Blacklist: "BTreeSet", }, }, - /** Lookup129: pallet_data_preservers::types::ProfileMode */ + /** Lookup132: pallet_data_preservers::types::ProfileMode */ PalletDataPreserversProfileMode: { _enum: { Bootnode: "Null", @@ -1186,19 +1285,19 @@ export default { }, }, }, - /** Lookup130: dancelight_runtime::PreserversAssignmentPaymentRequest */ + /** Lookup133: dancelight_runtime::PreserversAssignmentPaymentRequest */ DancelightRuntimePreserversAssignmentPaymentRequest: { _enum: ["Free"], }, - /** Lookup131: dancelight_runtime::PreserversAssignmentPaymentExtra */ + /** Lookup134: dancelight_runtime::PreserversAssignmentPaymentExtra */ DancelightRuntimePreserversAssignmentPaymentExtra: { _enum: ["Free"], }, - /** Lookup132: dancelight_runtime::PreserversAssignmentPaymentWitness */ + /** Lookup135: dancelight_runtime::PreserversAssignmentPaymentWitness */ DancelightRuntimePreserversAssignmentPaymentWitness: { _enum: ["Free"], }, - /** Lookup133: pallet_external_validators::pallet::Call */ + /** Lookup136: pallet_external_validators::pallet::Call */ PalletExternalValidatorsCall: { _enum: { skip_external_validators: { @@ -1215,7 +1314,7 @@ export default { }, }, }, - /** Lookup134: pallet_external_validator_slashes::pallet::Call */ + /** Lookup137: pallet_external_validator_slashes::pallet::Call */ PalletExternalValidatorSlashesCall: { _enum: { cancel_deferred_slash: { @@ -1234,7 +1333,7 @@ export default { }, }, }, - /** Lookup136: pallet_session::pallet::Call */ + /** Lookup139: pallet_session::pallet::Call */ PalletSessionCall: { _enum: { set_keys: { @@ -1247,7 +1346,7 @@ export default { purge_keys: "Null", }, }, - /** Lookup137: dancelight_runtime::SessionKeys */ + /** Lookup140: dancelight_runtime::SessionKeys */ DancelightRuntimeSessionKeys: { grandpa: "SpConsensusGrandpaAppPublic", babe: "SpConsensusBabeAppPublic", @@ -1257,17 +1356,17 @@ export default { beefy: "SpConsensusBeefyEcdsaCryptoPublic", nimbus: "NimbusPrimitivesNimbusCryptoPublic", }, - /** Lookup138: polkadot_primitives::v8::validator_app::Public */ + /** Lookup141: polkadot_primitives::v8::validator_app::Public */ PolkadotPrimitivesV8ValidatorAppPublic: "[u8;32]", - /** Lookup139: polkadot_primitives::v8::assignment_app::Public */ + /** Lookup142: polkadot_primitives::v8::assignment_app::Public */ PolkadotPrimitivesV8AssignmentAppPublic: "[u8;32]", - /** Lookup140: sp_authority_discovery::app::Public */ + /** Lookup143: sp_authority_discovery::app::Public */ SpAuthorityDiscoveryAppPublic: "[u8;32]", - /** Lookup141: sp_consensus_beefy::ecdsa_crypto::Public */ + /** Lookup144: sp_consensus_beefy::ecdsa_crypto::Public */ SpConsensusBeefyEcdsaCryptoPublic: "[u8;33]", - /** Lookup143: nimbus_primitives::nimbus_crypto::Public */ + /** Lookup146: nimbus_primitives::nimbus_crypto::Public */ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup144: pallet_grandpa::pallet::Call */ + /** Lookup147: pallet_grandpa::pallet::Call */ PalletGrandpaCall: { _enum: { report_equivocation: { @@ -1284,12 +1383,12 @@ export default { }, }, }, - /** Lookup145: sp_consensus_grandpa::EquivocationProof */ + /** Lookup148: sp_consensus_grandpa::EquivocationProof */ SpConsensusGrandpaEquivocationProof: { setId: "u64", equivocation: "SpConsensusGrandpaEquivocation", }, - /** Lookup146: sp_consensus_grandpa::Equivocation */ + /** Lookup149: sp_consensus_grandpa::Equivocation */ SpConsensusGrandpaEquivocation: { _enum: { Prevote: "FinalityGrandpaEquivocationPrevote", @@ -1297,7 +1396,7 @@ export default { }, }, /** - * Lookup147: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> */ FinalityGrandpaEquivocationPrevote: { @@ -1306,15 +1405,15 @@ export default { first: "(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)", second: "(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)", }, - /** Lookup148: finality_grandpa::Prevote */ + /** Lookup151: finality_grandpa::Prevote */ FinalityGrandpaPrevote: { targetHash: "H256", targetNumber: "u32", }, - /** Lookup149: sp_consensus_grandpa::app::Signature */ + /** Lookup152: sp_consensus_grandpa::app::Signature */ SpConsensusGrandpaAppSignature: "[u8;64]", /** - * Lookup151: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> */ FinalityGrandpaEquivocationPrecommit: { @@ -1323,12 +1422,79 @@ export default { first: "(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)", second: "(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)", }, - /** Lookup152: finality_grandpa::Precommit */ + /** Lookup155: finality_grandpa::Precommit */ FinalityGrandpaPrecommit: { targetHash: "H256", targetNumber: "u32", }, - /** Lookup154: pallet_treasury::pallet::Call */ + /** Lookup157: pallet_pooled_staking::pallet::Call */ + PalletPooledStakingCall: { + _enum: { + rebalance_hold: { + candidate: "AccountId32", + delegator: "AccountId32", + pool: "PalletPooledStakingAllTargetPool", + }, + request_delegate: { + candidate: "AccountId32", + pool: "PalletPooledStakingTargetPool", + stake: "u128", + }, + execute_pending_operations: { + operations: "Vec", + }, + request_undelegate: { + candidate: "AccountId32", + pool: "PalletPooledStakingTargetPool", + amount: "PalletPooledStakingSharesOrStake", + }, + claim_manual_rewards: { + pairs: "Vec<(AccountId32,AccountId32)>", + }, + update_candidate_position: { + candidates: "Vec", + }, + swap_pool: { + candidate: "AccountId32", + sourcePool: "PalletPooledStakingTargetPool", + amount: "PalletPooledStakingSharesOrStake", + }, + }, + }, + /** Lookup158: pallet_pooled_staking::pallet::AllTargetPool */ + PalletPooledStakingAllTargetPool: { + _enum: ["Joining", "AutoCompounding", "ManualRewards", "Leaving"], + }, + /** Lookup160: pallet_pooled_staking::pallet::PendingOperationQuery */ + PalletPooledStakingPendingOperationQuery: { + delegator: "AccountId32", + operation: "PalletPooledStakingPendingOperationKey", + }, + /** Lookup161: pallet_pooled_staking::pallet::PendingOperationKey */ + PalletPooledStakingPendingOperationKey: { + _enum: { + JoiningAutoCompounding: { + candidate: "AccountId32", + at: "u32", + }, + JoiningManualRewards: { + candidate: "AccountId32", + at: "u32", + }, + Leaving: { + candidate: "AccountId32", + at: "u32", + }, + }, + }, + /** Lookup162: pallet_pooled_staking::pallet::SharesOrStake */ + PalletPooledStakingSharesOrStake: { + _enum: { + Shares: "u128", + Stake: "u128", + }, + }, + /** Lookup165: pallet_treasury::pallet::Call */ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -1358,7 +1524,7 @@ export default { }, }, }, - /** Lookup156: pallet_conviction_voting::pallet::Call */ + /** Lookup166: pallet_conviction_voting::pallet::Call */ PalletConvictionVotingCall: { _enum: { vote: { @@ -1389,11 +1555,11 @@ export default { }, }, }, - /** Lookup157: pallet_conviction_voting::conviction::Conviction */ + /** Lookup167: pallet_conviction_voting::conviction::Conviction */ PalletConvictionVotingConviction: { _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], }, - /** Lookup159: pallet_referenda::pallet::Call */ + /** Lookup169: pallet_referenda::pallet::Call */ PalletReferendaCall: { _enum: { submit: { @@ -1428,7 +1594,7 @@ export default { }, }, }, - /** Lookup160: dancelight_runtime::OriginCaller */ + /** Lookup170: dancelight_runtime::OriginCaller */ DancelightRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1524,7 +1690,7 @@ export default { XcmPallet: "PalletXcmOrigin", }, }, - /** Lookup161: frame_support::dispatch::RawOrigin */ + /** Lookup171: frame_support::dispatch::RawOrigin */ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", @@ -1532,7 +1698,7 @@ export default { None: "Null", }, }, - /** Lookup162: dancelight_runtime::governance::origins::pallet_custom_origins::Origin */ + /** Lookup172: dancelight_runtime::governance::origins::pallet_custom_origins::Origin */ DancelightRuntimeGovernanceOriginsPalletCustomOriginsOrigin: { _enum: [ "StakingAdmin", @@ -1564,39 +1730,39 @@ export default { "Fellowship9Dan", ], }, - /** Lookup163: polkadot_runtime_parachains::origin::pallet::Origin */ + /** Lookup173: polkadot_runtime_parachains::origin::pallet::Origin */ PolkadotRuntimeParachainsOriginPalletOrigin: { _enum: { Parachain: "u32", }, }, - /** Lookup164: pallet_xcm::pallet::Origin */ + /** Lookup174: pallet_xcm::pallet::Origin */ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", Response: "StagingXcmV4Location", }, }, - /** Lookup165: staging_xcm::v4::location::Location */ + /** Lookup175: staging_xcm::v4::location::Location */ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions", }, - /** Lookup166: staging_xcm::v4::junctions::Junctions */ + /** Lookup176: staging_xcm::v4::junctions::Junctions */ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup168;1]", - X2: "[Lookup168;2]", - X3: "[Lookup168;3]", - X4: "[Lookup168;4]", - X5: "[Lookup168;5]", - X6: "[Lookup168;6]", - X7: "[Lookup168;7]", - X8: "[Lookup168;8]", + X1: "[Lookup178;1]", + X2: "[Lookup178;2]", + X3: "[Lookup178;3]", + X4: "[Lookup178;4]", + X5: "[Lookup178;5]", + X6: "[Lookup178;6]", + X7: "[Lookup178;7]", + X8: "[Lookup178;8]", }, }, - /** Lookup168: staging_xcm::v4::junction::Junction */ + /** Lookup178: staging_xcm::v4::junction::Junction */ StagingXcmV4Junction: { _enum: { Parachain: "Compact", @@ -1626,7 +1792,7 @@ export default { GlobalConsensus: "StagingXcmV4JunctionNetworkId", }, }, - /** Lookup170: staging_xcm::v4::junction::NetworkId */ + /** Lookup180: staging_xcm::v4::junction::NetworkId */ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -1647,7 +1813,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup171: xcm::v3::junction::BodyId */ + /** Lookup181: xcm::v3::junction::BodyId */ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1662,7 +1828,7 @@ export default { Treasury: "Null", }, }, - /** Lookup172: xcm::v3::junction::BodyPart */ + /** Lookup182: xcm::v3::junction::BodyPart */ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", @@ -1683,16 +1849,16 @@ export default { }, }, }, - /** Lookup180: sp_core::Void */ + /** Lookup190: sp_core::Void */ SpCoreVoid: "Null", - /** Lookup181: frame_support::traits::schedule::DispatchTime */ + /** Lookup191: frame_support::traits::schedule::DispatchTime */ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", After: "u32", }, }, - /** Lookup183: pallet_ranked_collective::pallet::Call */ + /** Lookup193: pallet_ranked_collective::pallet::Call */ PalletRankedCollectiveCall: { _enum: { add_member: { @@ -1722,7 +1888,7 @@ export default { }, }, }, - /** Lookup185: pallet_whitelist::pallet::Call */ + /** Lookup195: pallet_whitelist::pallet::Call */ PalletWhitelistCall: { _enum: { whitelist_call: { @@ -1741,7 +1907,7 @@ export default { }, }, }, - /** Lookup186: polkadot_runtime_parachains::configuration::pallet::Call */ + /** Lookup196: polkadot_runtime_parachains::configuration::pallet::Call */ PolkadotRuntimeParachainsConfigurationPalletCall: { _enum: { set_validation_upgrade_cooldown: { @@ -2040,14 +2206,14 @@ export default { }, }, }, - /** Lookup187: polkadot_primitives::v8::async_backing::AsyncBackingParams */ + /** Lookup197: polkadot_primitives::v8::async_backing::AsyncBackingParams */ PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32", }, - /** Lookup188: polkadot_primitives::v8::executor_params::ExecutorParams */ + /** Lookup198: polkadot_primitives::v8::executor_params::ExecutorParams */ PolkadotPrimitivesV8ExecutorParams: "Vec", - /** Lookup190: polkadot_primitives::v8::executor_params::ExecutorParam */ + /** Lookup200: polkadot_primitives::v8::executor_params::ExecutorParam */ PolkadotPrimitivesV8ExecutorParamsExecutorParam: { _enum: { __Unused0: "Null", @@ -2060,19 +2226,19 @@ export default { WasmExtBulkMemory: "Null", }, }, - /** Lookup191: polkadot_primitives::v8::PvfPrepKind */ + /** Lookup201: polkadot_primitives::v8::PvfPrepKind */ PolkadotPrimitivesV8PvfPrepKind: { _enum: ["Precheck", "Prepare"], }, - /** Lookup192: polkadot_primitives::v8::PvfExecKind */ + /** Lookup202: polkadot_primitives::v8::PvfExecKind */ PolkadotPrimitivesV8PvfExecKind: { _enum: ["Backing", "Approval"], }, - /** Lookup193: polkadot_primitives::v8::ApprovalVotingParams */ + /** Lookup203: polkadot_primitives::v8::ApprovalVotingParams */ PolkadotPrimitivesV8ApprovalVotingParams: { maxApprovalCoalesceCount: "u32", }, - /** Lookup194: polkadot_primitives::v8::SchedulerParams */ + /** Lookup204: polkadot_primitives::v8::SchedulerParams */ PolkadotPrimitivesV8SchedulerParams: { groupRotationFrequency: "u32", parasAvailabilityPeriod: "u32", @@ -2086,11 +2252,11 @@ export default { onDemandBaseFee: "u128", ttl: "u32", }, - /** Lookup195: polkadot_runtime_parachains::shared::pallet::Call */ + /** Lookup205: polkadot_runtime_parachains::shared::pallet::Call */ PolkadotRuntimeParachainsSharedPalletCall: "Null", - /** Lookup196: polkadot_runtime_parachains::inclusion::pallet::Call */ + /** Lookup206: polkadot_runtime_parachains::inclusion::pallet::Call */ PolkadotRuntimeParachainsInclusionPalletCall: "Null", - /** Lookup197: polkadot_runtime_parachains::paras_inherent::pallet::Call */ + /** Lookup207: polkadot_runtime_parachains::paras_inherent::pallet::Call */ PolkadotRuntimeParachainsParasInherentPalletCall: { _enum: { enter: { @@ -2098,7 +2264,7 @@ export default { }, }, }, - /** Lookup198: polkadot_primitives::v8::InherentData> */ + /** Lookup208: polkadot_primitives::v8::InherentData> */ PolkadotPrimitivesV8InherentData: { bitfields: "Vec", backedCandidates: "Vec", @@ -2106,7 +2272,7 @@ export default { parentHeader: "SpRuntimeHeader", }, /** - * Lookup200: polkadot_primitives::v8::signed::UncheckedSigned */ PolkadotPrimitivesV8SignedUncheckedSigned: { @@ -2114,22 +2280,22 @@ export default { validatorIndex: "u32", signature: "PolkadotPrimitivesV8ValidatorAppSignature", }, - /** Lookup203: bitvec::order::Lsb0 */ + /** Lookup213: bitvec::order::Lsb0 */ BitvecOrderLsb0: "Null", - /** Lookup205: polkadot_primitives::v8::validator_app::Signature */ + /** Lookup215: polkadot_primitives::v8::validator_app::Signature */ PolkadotPrimitivesV8ValidatorAppSignature: "[u8;64]", - /** Lookup207: polkadot_primitives::v8::BackedCandidate */ + /** Lookup217: polkadot_primitives::v8::BackedCandidate */ PolkadotPrimitivesV8BackedCandidate: { candidate: "PolkadotPrimitivesV8CommittedCandidateReceipt", validityVotes: "Vec", validatorIndices: "BitVec", }, - /** Lookup208: polkadot_primitives::v8::CommittedCandidateReceipt */ + /** Lookup218: polkadot_primitives::v8::CommittedCandidateReceipt */ PolkadotPrimitivesV8CommittedCandidateReceipt: { descriptor: "PolkadotPrimitivesV8CandidateDescriptor", commitments: "PolkadotPrimitivesV8CandidateCommitments", }, - /** Lookup209: polkadot_primitives::v8::CandidateDescriptor */ + /** Lookup219: polkadot_primitives::v8::CandidateDescriptor */ PolkadotPrimitivesV8CandidateDescriptor: { paraId: "u32", relayParent: "H256", @@ -2141,11 +2307,11 @@ export default { paraHead: "H256", validationCodeHash: "H256", }, - /** Lookup210: polkadot_primitives::v8::collator_app::Public */ + /** Lookup220: polkadot_primitives::v8::collator_app::Public */ PolkadotPrimitivesV8CollatorAppPublic: "[u8;32]", - /** Lookup211: polkadot_primitives::v8::collator_app::Signature */ + /** Lookup221: polkadot_primitives::v8::collator_app::Signature */ PolkadotPrimitivesV8CollatorAppSignature: "[u8;64]", - /** Lookup213: polkadot_primitives::v8::CandidateCommitments */ + /** Lookup223: polkadot_primitives::v8::CandidateCommitments */ PolkadotPrimitivesV8CandidateCommitments: { upwardMessages: "Vec", horizontalMessages: "Vec", @@ -2154,12 +2320,12 @@ export default { processedDownwardMessages: "u32", hrmpWatermark: "u32", }, - /** Lookup216: polkadot_core_primitives::OutboundHrmpMessage */ + /** Lookup226: polkadot_core_primitives::OutboundHrmpMessage */ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", data: "Bytes", }, - /** Lookup221: polkadot_primitives::v8::ValidityAttestation */ + /** Lookup231: polkadot_primitives::v8::ValidityAttestation */ PolkadotPrimitivesV8ValidityAttestation: { _enum: { __Unused0: "Null", @@ -2167,20 +2333,20 @@ export default { Explicit: "PolkadotPrimitivesV8ValidatorAppSignature", }, }, - /** Lookup223: polkadot_primitives::v8::DisputeStatementSet */ + /** Lookup233: polkadot_primitives::v8::DisputeStatementSet */ PolkadotPrimitivesV8DisputeStatementSet: { candidateHash: "H256", session: "u32", statements: "Vec<(PolkadotPrimitivesV8DisputeStatement,u32,PolkadotPrimitivesV8ValidatorAppSignature)>", }, - /** Lookup227: polkadot_primitives::v8::DisputeStatement */ + /** Lookup237: polkadot_primitives::v8::DisputeStatement */ PolkadotPrimitivesV8DisputeStatement: { _enum: { Valid: "PolkadotPrimitivesV8ValidDisputeStatementKind", Invalid: "PolkadotPrimitivesV8InvalidDisputeStatementKind", }, }, - /** Lookup228: polkadot_primitives::v8::ValidDisputeStatementKind */ + /** Lookup238: polkadot_primitives::v8::ValidDisputeStatementKind */ PolkadotPrimitivesV8ValidDisputeStatementKind: { _enum: { Explicit: "Null", @@ -2190,11 +2356,11 @@ export default { ApprovalCheckingMultipleCandidates: "Vec", }, }, - /** Lookup230: polkadot_primitives::v8::InvalidDisputeStatementKind */ + /** Lookup240: polkadot_primitives::v8::InvalidDisputeStatementKind */ PolkadotPrimitivesV8InvalidDisputeStatementKind: { _enum: ["Explicit"], }, - /** Lookup231: polkadot_runtime_parachains::paras::pallet::Call */ + /** Lookup241: polkadot_runtime_parachains::paras::pallet::Call */ PolkadotRuntimeParachainsParasPalletCall: { _enum: { force_set_current_code: { @@ -2233,14 +2399,14 @@ export default { }, }, }, - /** Lookup232: polkadot_primitives::v8::PvfCheckStatement */ + /** Lookup242: polkadot_primitives::v8::PvfCheckStatement */ PolkadotPrimitivesV8PvfCheckStatement: { accept: "bool", subject: "H256", sessionIndex: "u32", validatorIndex: "u32", }, - /** Lookup233: polkadot_runtime_parachains::initializer::pallet::Call */ + /** Lookup243: polkadot_runtime_parachains::initializer::pallet::Call */ PolkadotRuntimeParachainsInitializerPalletCall: { _enum: { force_approve: { @@ -2248,7 +2414,7 @@ export default { }, }, }, - /** Lookup234: polkadot_runtime_parachains::hrmp::pallet::Call */ + /** Lookup244: polkadot_runtime_parachains::hrmp::pallet::Call */ PolkadotRuntimeParachainsHrmpPalletCall: { _enum: { hrmp_init_open_channel: { @@ -2296,16 +2462,16 @@ export default { }, }, }, - /** Lookup235: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** Lookup245: polkadot_parachain_primitives::primitives::HrmpChannelId */ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", recipient: "u32", }, - /** Lookup236: polkadot_runtime_parachains::disputes::pallet::Call */ + /** Lookup246: polkadot_runtime_parachains::disputes::pallet::Call */ PolkadotRuntimeParachainsDisputesPalletCall: { _enum: ["force_unfreeze"], }, - /** Lookup237: polkadot_runtime_parachains::disputes::slashing::pallet::Call */ + /** Lookup247: polkadot_runtime_parachains::disputes::slashing::pallet::Call */ PolkadotRuntimeParachainsDisputesSlashingPalletCall: { _enum: { report_dispute_lost_unsigned: { @@ -2314,23 +2480,23 @@ export default { }, }, }, - /** Lookup238: polkadot_primitives::v8::slashing::DisputeProof */ + /** Lookup248: polkadot_primitives::v8::slashing::DisputeProof */ PolkadotPrimitivesV8SlashingDisputeProof: { timeSlot: "PolkadotPrimitivesV8SlashingDisputesTimeSlot", kind: "PolkadotPrimitivesV8SlashingSlashingOffenceKind", validatorIndex: "u32", validatorId: "PolkadotPrimitivesV8ValidatorAppPublic", }, - /** Lookup239: polkadot_primitives::v8::slashing::DisputesTimeSlot */ + /** Lookup249: polkadot_primitives::v8::slashing::DisputesTimeSlot */ PolkadotPrimitivesV8SlashingDisputesTimeSlot: { sessionIndex: "u32", candidateHash: "H256", }, - /** Lookup240: polkadot_primitives::v8::slashing::SlashingOffenceKind */ + /** Lookup250: polkadot_primitives::v8::slashing::SlashingOffenceKind */ PolkadotPrimitivesV8SlashingSlashingOffenceKind: { _enum: ["ForInvalid", "AgainstValid"], }, - /** Lookup241: pallet_message_queue::pallet::Call */ + /** Lookup251: pallet_message_queue::pallet::Call */ PalletMessageQueueCall: { _enum: { reap_page: { @@ -2345,7 +2511,7 @@ export default { }, }, }, - /** Lookup242: dancelight_runtime::AggregateMessageOrigin */ + /** Lookup252: dancelight_runtime::AggregateMessageOrigin */ DancelightRuntimeAggregateMessageOrigin: { _enum: { Ump: "PolkadotRuntimeParachainsInclusionUmpQueueId", @@ -2353,15 +2519,15 @@ export default { SnowbridgeTanssi: "SnowbridgeCoreChannelId", }, }, - /** Lookup243: polkadot_runtime_parachains::inclusion::UmpQueueId */ + /** Lookup253: polkadot_runtime_parachains::inclusion::UmpQueueId */ PolkadotRuntimeParachainsInclusionUmpQueueId: { _enum: { Para: "u32", }, }, - /** Lookup244: snowbridge_core::ChannelId */ + /** Lookup254: snowbridge_core::ChannelId */ SnowbridgeCoreChannelId: "[u8;32]", - /** Lookup245: polkadot_runtime_parachains::on_demand::pallet::Call */ + /** Lookup255: polkadot_runtime_parachains::on_demand::pallet::Call */ PolkadotRuntimeParachainsOnDemandPalletCall: { _enum: { place_order_allow_death: { @@ -2374,7 +2540,7 @@ export default { }, }, }, - /** Lookup246: polkadot_runtime_common::paras_registrar::pallet::Call */ + /** Lookup256: polkadot_runtime_common::paras_registrar::pallet::Call */ PolkadotRuntimeCommonParasRegistrarPalletCall: { _enum: { register: { @@ -2413,7 +2579,7 @@ export default { }, }, }, - /** Lookup247: pallet_utility::pallet::Call */ + /** Lookup257: pallet_utility::pallet::Call */ PalletUtilityCall: { _enum: { batch: { @@ -2439,7 +2605,7 @@ export default { }, }, }, - /** Lookup249: pallet_identity::pallet::Call */ + /** Lookup259: pallet_identity::pallet::Call */ PalletIdentityCall: { _enum: { add_registrar: { @@ -2522,7 +2688,7 @@ export default { }, }, }, - /** Lookup250: pallet_identity::legacy::IdentityInfo */ + /** Lookup260: pallet_identity::legacy::IdentityInfo */ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -2534,7 +2700,7 @@ export default { image: "Data", twitter: "Data", }, - /** Lookup287: pallet_identity::types::Judgement */ + /** Lookup297: pallet_identity::types::Judgement */ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -2546,7 +2712,7 @@ export default { Erroneous: "Null", }, }, - /** Lookup290: pallet_scheduler::pallet::Call */ + /** Lookup300: pallet_scheduler::pallet::Call */ PalletSchedulerCall: { _enum: { schedule: { @@ -2600,7 +2766,7 @@ export default { }, }, }, - /** Lookup293: pallet_proxy::pallet::Call */ + /** Lookup303: pallet_proxy::pallet::Call */ PalletProxyCall: { _enum: { proxy: { @@ -2651,7 +2817,7 @@ export default { }, }, }, - /** Lookup295: dancelight_runtime::ProxyType */ + /** Lookup305: dancelight_runtime::ProxyType */ DancelightRuntimeProxyType: { _enum: [ "Any", @@ -2664,7 +2830,7 @@ export default { "SudoRegistrar", ], }, - /** Lookup296: pallet_multisig::pallet::Call */ + /** Lookup306: pallet_multisig::pallet::Call */ PalletMultisigCall: { _enum: { as_multi_threshold_1: { @@ -2693,12 +2859,12 @@ export default { }, }, }, - /** Lookup298: pallet_multisig::Timepoint */ + /** Lookup308: pallet_multisig::Timepoint */ PalletMultisigTimepoint: { height: "u32", index: "u32", }, - /** Lookup299: pallet_preimage::pallet::Call */ + /** Lookup309: pallet_preimage::pallet::Call */ PalletPreimageCall: { _enum: { note_preimage: { @@ -2727,7 +2893,7 @@ export default { }, }, }, - /** Lookup301: pallet_asset_rate::pallet::Call */ + /** Lookup311: pallet_asset_rate::pallet::Call */ PalletAssetRateCall: { _enum: { create: { @@ -2743,7 +2909,7 @@ export default { }, }, }, - /** Lookup303: pallet_xcm::pallet::Call */ + /** Lookup313: pallet_xcm::pallet::Call */ PalletXcmCall: { _enum: { send: { @@ -2818,7 +2984,7 @@ export default { }, }, }, - /** Lookup304: xcm::VersionedLocation */ + /** Lookup314: xcm::VersionedLocation */ XcmVersionedLocation: { _enum: { __Unused0: "Null", @@ -2828,12 +2994,12 @@ export default { V4: "StagingXcmV4Location", }, }, - /** Lookup305: xcm::v2::multilocation::MultiLocation */ + /** Lookup315: xcm::v2::multilocation::MultiLocation */ XcmV2MultiLocation: { parents: "u8", interior: "XcmV2MultilocationJunctions", }, - /** Lookup306: xcm::v2::multilocation::Junctions */ + /** Lookup316: xcm::v2::multilocation::Junctions */ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2847,7 +3013,7 @@ export default { X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", }, }, - /** Lookup307: xcm::v2::junction::Junction */ + /** Lookup317: xcm::v2::junction::Junction */ XcmV2Junction: { _enum: { Parachain: "Compact", @@ -2873,7 +3039,7 @@ export default { }, }, }, - /** Lookup308: xcm::v2::NetworkId */ + /** Lookup318: xcm::v2::NetworkId */ XcmV2NetworkId: { _enum: { Any: "Null", @@ -2882,7 +3048,7 @@ export default { Kusama: "Null", }, }, - /** Lookup310: xcm::v2::BodyId */ + /** Lookup320: xcm::v2::BodyId */ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2897,7 +3063,7 @@ export default { Treasury: "Null", }, }, - /** Lookup311: xcm::v2::BodyPart */ + /** Lookup321: xcm::v2::BodyPart */ XcmV2BodyPart: { _enum: { Voice: "Null", @@ -2918,12 +3084,12 @@ export default { }, }, }, - /** Lookup312: staging_xcm::v3::multilocation::MultiLocation */ + /** Lookup322: staging_xcm::v3::multilocation::MultiLocation */ StagingXcmV3MultiLocation: { parents: "u8", interior: "XcmV3Junctions", }, - /** Lookup313: xcm::v3::junctions::Junctions */ + /** Lookup323: xcm::v3::junctions::Junctions */ XcmV3Junctions: { _enum: { Here: "Null", @@ -2937,7 +3103,7 @@ export default { X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", }, }, - /** Lookup314: xcm::v3::junction::Junction */ + /** Lookup324: xcm::v3::junction::Junction */ XcmV3Junction: { _enum: { Parachain: "Compact", @@ -2967,7 +3133,7 @@ export default { GlobalConsensus: "XcmV3JunctionNetworkId", }, }, - /** Lookup316: xcm::v3::junction::NetworkId */ + /** Lookup326: xcm::v3::junction::NetworkId */ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", @@ -2988,7 +3154,7 @@ export default { PolkadotBulletin: "Null", }, }, - /** Lookup317: xcm::VersionedXcm */ + /** Lookup327: xcm::VersionedXcm */ XcmVersionedXcm: { _enum: { __Unused0: "Null", @@ -2998,9 +3164,9 @@ export default { V4: "StagingXcmV4Xcm", }, }, - /** Lookup318: xcm::v2::Xcm */ + /** Lookup328: xcm::v2::Xcm */ XcmV2Xcm: "Vec", - /** Lookup320: xcm::v2::Instruction */ + /** Lookup330: xcm::v2::Instruction */ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -3096,28 +3262,28 @@ export default { UnsubscribeVersion: "Null", }, }, - /** Lookup321: xcm::v2::multiasset::MultiAssets */ + /** Lookup331: xcm::v2::multiasset::MultiAssets */ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup323: xcm::v2::multiasset::MultiAsset */ + /** Lookup333: xcm::v2::multiasset::MultiAsset */ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", fun: "XcmV2MultiassetFungibility", }, - /** Lookup324: xcm::v2::multiasset::AssetId */ + /** Lookup334: xcm::v2::multiasset::AssetId */ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", Abstract: "Bytes", }, }, - /** Lookup325: xcm::v2::multiasset::Fungibility */ + /** Lookup335: xcm::v2::multiasset::Fungibility */ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV2MultiassetAssetInstance", }, }, - /** Lookup326: xcm::v2::multiasset::AssetInstance */ + /** Lookup336: xcm::v2::multiasset::AssetInstance */ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3129,7 +3295,7 @@ export default { Blob: "Bytes", }, }, - /** Lookup327: xcm::v2::Response */ + /** Lookup337: xcm::v2::Response */ XcmV2Response: { _enum: { Null: "Null", @@ -3138,7 +3304,7 @@ export default { Version: "u32", }, }, - /** Lookup330: xcm::v2::traits::Error */ + /** Lookup340: xcm::v2::traits::Error */ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -3169,22 +3335,22 @@ export default { WeightNotComputable: "Null", }, }, - /** Lookup331: xcm::v2::OriginKind */ + /** Lookup341: xcm::v2::OriginKind */ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup332: xcm::double_encoded::DoubleEncoded */ + /** Lookup342: xcm::double_encoded::DoubleEncoded */ XcmDoubleEncoded: { encoded: "Bytes", }, - /** Lookup333: xcm::v2::multiasset::MultiAssetFilter */ + /** Lookup343: xcm::v2::multiasset::MultiAssetFilter */ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", Wild: "XcmV2MultiassetWildMultiAsset", }, }, - /** Lookup334: xcm::v2::multiasset::WildMultiAsset */ + /** Lookup344: xcm::v2::multiasset::WildMultiAsset */ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -3194,20 +3360,20 @@ export default { }, }, }, - /** Lookup335: xcm::v2::multiasset::WildFungibility */ + /** Lookup345: xcm::v2::multiasset::WildFungibility */ XcmV2MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup336: xcm::v2::WeightLimit */ + /** Lookup346: xcm::v2::WeightLimit */ XcmV2WeightLimit: { _enum: { Unlimited: "Null", Limited: "Compact", }, }, - /** Lookup337: xcm::v3::Xcm */ + /** Lookup347: xcm::v3::Xcm */ XcmV3Xcm: "Vec", - /** Lookup339: xcm::v3::Instruction */ + /** Lookup349: xcm::v3::Instruction */ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -3347,28 +3513,28 @@ export default { }, }, }, - /** Lookup340: xcm::v3::multiasset::MultiAssets */ + /** Lookup350: xcm::v3::multiasset::MultiAssets */ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup342: xcm::v3::multiasset::MultiAsset */ + /** Lookup352: xcm::v3::multiasset::MultiAsset */ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetFungibility", }, - /** Lookup343: xcm::v3::multiasset::AssetId */ + /** Lookup353: xcm::v3::multiasset::AssetId */ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", Abstract: "[u8;32]", }, }, - /** Lookup344: xcm::v3::multiasset::Fungibility */ + /** Lookup354: xcm::v3::multiasset::Fungibility */ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", NonFungible: "XcmV3MultiassetAssetInstance", }, }, - /** Lookup345: xcm::v3::multiasset::AssetInstance */ + /** Lookup355: xcm::v3::multiasset::AssetInstance */ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3379,7 +3545,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup346: xcm::v3::Response */ + /** Lookup356: xcm::v3::Response */ XcmV3Response: { _enum: { Null: "Null", @@ -3390,7 +3556,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup349: xcm::v3::traits::Error */ + /** Lookup359: xcm::v3::traits::Error */ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -3435,7 +3601,7 @@ export default { ExceedsStackLimit: "Null", }, }, - /** Lookup351: xcm::v3::PalletInfo */ + /** Lookup361: xcm::v3::PalletInfo */ XcmV3PalletInfo: { index: "Compact", name: "Bytes", @@ -3444,7 +3610,7 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup354: xcm::v3::MaybeErrorCode */ + /** Lookup364: xcm::v3::MaybeErrorCode */ XcmV3MaybeErrorCode: { _enum: { Success: "Null", @@ -3452,24 +3618,24 @@ export default { TruncatedError: "Bytes", }, }, - /** Lookup357: xcm::v3::OriginKind */ + /** Lookup367: xcm::v3::OriginKind */ XcmV3OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], }, - /** Lookup358: xcm::v3::QueryResponseInfo */ + /** Lookup368: xcm::v3::QueryResponseInfo */ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup359: xcm::v3::multiasset::MultiAssetFilter */ + /** Lookup369: xcm::v3::multiasset::MultiAssetFilter */ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", Wild: "XcmV3MultiassetWildMultiAsset", }, }, - /** Lookup360: xcm::v3::multiasset::WildMultiAsset */ + /** Lookup370: xcm::v3::multiasset::WildMultiAsset */ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", @@ -3485,20 +3651,20 @@ export default { }, }, }, - /** Lookup361: xcm::v3::multiasset::WildFungibility */ + /** Lookup371: xcm::v3::multiasset::WildFungibility */ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup362: xcm::v3::WeightLimit */ + /** Lookup372: xcm::v3::WeightLimit */ XcmV3WeightLimit: { _enum: { Unlimited: "Null", Limited: "SpWeightsWeightV2Weight", }, }, - /** Lookup363: staging_xcm::v4::Xcm */ + /** Lookup373: staging_xcm::v4::Xcm */ StagingXcmV4Xcm: "Vec", - /** Lookup365: staging_xcm::v4::Instruction */ + /** Lookup375: staging_xcm::v4::Instruction */ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3638,23 +3804,23 @@ export default { }, }, }, - /** Lookup366: staging_xcm::v4::asset::Assets */ + /** Lookup376: staging_xcm::v4::asset::Assets */ StagingXcmV4AssetAssets: "Vec", - /** Lookup368: staging_xcm::v4::asset::Asset */ + /** Lookup378: staging_xcm::v4::asset::Asset */ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetFungibility", }, - /** Lookup369: staging_xcm::v4::asset::AssetId */ + /** Lookup379: staging_xcm::v4::asset::AssetId */ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup370: staging_xcm::v4::asset::Fungibility */ + /** Lookup380: staging_xcm::v4::asset::Fungibility */ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", NonFungible: "StagingXcmV4AssetAssetInstance", }, }, - /** Lookup371: staging_xcm::v4::asset::AssetInstance */ + /** Lookup381: staging_xcm::v4::asset::AssetInstance */ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3665,7 +3831,7 @@ export default { Array32: "[u8;32]", }, }, - /** Lookup372: staging_xcm::v4::Response */ + /** Lookup382: staging_xcm::v4::Response */ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3676,7 +3842,7 @@ export default { DispatchResult: "XcmV3MaybeErrorCode", }, }, - /** Lookup374: staging_xcm::v4::PalletInfo */ + /** Lookup384: staging_xcm::v4::PalletInfo */ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", @@ -3685,20 +3851,20 @@ export default { minor: "Compact", patch: "Compact", }, - /** Lookup378: staging_xcm::v4::QueryResponseInfo */ + /** Lookup388: staging_xcm::v4::QueryResponseInfo */ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", maxWeight: "SpWeightsWeightV2Weight", }, - /** Lookup379: staging_xcm::v4::asset::AssetFilter */ + /** Lookup389: staging_xcm::v4::asset::AssetFilter */ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", Wild: "StagingXcmV4AssetWildAsset", }, }, - /** Lookup380: staging_xcm::v4::asset::WildAsset */ + /** Lookup390: staging_xcm::v4::asset::WildAsset */ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", @@ -3714,11 +3880,11 @@ export default { }, }, }, - /** Lookup381: staging_xcm::v4::asset::WildFungibility */ + /** Lookup391: staging_xcm::v4::asset::WildFungibility */ StagingXcmV4AssetWildFungibility: { _enum: ["Fungible", "NonFungible"], }, - /** Lookup382: xcm::VersionedAssets */ + /** Lookup392: xcm::VersionedAssets */ XcmVersionedAssets: { _enum: { __Unused0: "Null", @@ -3728,7 +3894,7 @@ export default { V4: "StagingXcmV4AssetAssets", }, }, - /** Lookup394: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** Lookup404: staging_xcm_executor::traits::asset_transfer::TransferType */ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", @@ -3737,7 +3903,7 @@ export default { RemoteReserve: "XcmVersionedLocation", }, }, - /** Lookup395: xcm::VersionedAssetId */ + /** Lookup405: xcm::VersionedAssetId */ XcmVersionedAssetId: { _enum: { __Unused0: "Null", @@ -3747,7 +3913,7 @@ export default { V4: "StagingXcmV4AssetAssetId", }, }, - /** Lookup396: snowbridge_pallet_inbound_queue::pallet::Call */ + /** Lookup406: snowbridge_pallet_inbound_queue::pallet::Call */ SnowbridgePalletInboundQueueCall: { _enum: { submit: { @@ -3758,30 +3924,30 @@ export default { }, }, }, - /** Lookup397: snowbridge_core::inbound::Message */ + /** Lookup407: snowbridge_core::inbound::Message */ SnowbridgeCoreInboundMessage: { eventLog: "SnowbridgeCoreInboundLog", proof: "SnowbridgeCoreInboundProof", }, - /** Lookup398: snowbridge_core::inbound::Log */ + /** Lookup408: snowbridge_core::inbound::Log */ SnowbridgeCoreInboundLog: { address: "H160", topics: "Vec", data: "Bytes", }, - /** Lookup400: snowbridge_core::inbound::Proof */ + /** Lookup410: snowbridge_core::inbound::Proof */ SnowbridgeCoreInboundProof: { receiptProof: "(Vec,Vec)", executionProof: "SnowbridgeBeaconPrimitivesExecutionProof", }, - /** Lookup402: snowbridge_beacon_primitives::types::ExecutionProof */ + /** Lookup412: snowbridge_beacon_primitives::types::ExecutionProof */ SnowbridgeBeaconPrimitivesExecutionProof: { header: "SnowbridgeBeaconPrimitivesBeaconHeader", ancestryProof: "Option", executionHeader: "SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader", executionBranch: "Vec", }, - /** Lookup403: snowbridge_beacon_primitives::types::BeaconHeader */ + /** Lookup413: snowbridge_beacon_primitives::types::BeaconHeader */ SnowbridgeBeaconPrimitivesBeaconHeader: { slot: "u64", proposerIndex: "u64", @@ -3789,19 +3955,19 @@ export default { stateRoot: "H256", bodyRoot: "H256", }, - /** Lookup405: snowbridge_beacon_primitives::types::AncestryProof */ + /** Lookup415: snowbridge_beacon_primitives::types::AncestryProof */ SnowbridgeBeaconPrimitivesAncestryProof: { headerBranch: "Vec", finalizedBlockRoot: "H256", }, - /** Lookup406: snowbridge_beacon_primitives::types::VersionedExecutionPayloadHeader */ + /** Lookup416: snowbridge_beacon_primitives::types::VersionedExecutionPayloadHeader */ SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: { _enum: { Capella: "SnowbridgeBeaconPrimitivesExecutionPayloadHeader", Deneb: "SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader", }, }, - /** Lookup407: snowbridge_beacon_primitives::types::ExecutionPayloadHeader */ + /** Lookup417: snowbridge_beacon_primitives::types::ExecutionPayloadHeader */ SnowbridgeBeaconPrimitivesExecutionPayloadHeader: { parentHash: "H256", feeRecipient: "H160", @@ -3819,7 +3985,7 @@ export default { transactionsRoot: "H256", withdrawalsRoot: "H256", }, - /** Lookup410: snowbridge_beacon_primitives::types::deneb::ExecutionPayloadHeader */ + /** Lookup420: snowbridge_beacon_primitives::types::deneb::ExecutionPayloadHeader */ SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader: { parentHash: "H256", feeRecipient: "H160", @@ -3839,11 +4005,11 @@ export default { blobGasUsed: "u64", excessBlobGas: "u64", }, - /** Lookup411: snowbridge_core::operating_mode::BasicOperatingMode */ + /** Lookup421: snowbridge_core::operating_mode::BasicOperatingMode */ SnowbridgeCoreOperatingModeBasicOperatingMode: { _enum: ["Normal", "Halted"], }, - /** Lookup412: snowbridge_pallet_outbound_queue::pallet::Call */ + /** Lookup422: snowbridge_pallet_outbound_queue::pallet::Call */ SnowbridgePalletOutboundQueueCall: { _enum: { set_operating_mode: { @@ -3851,7 +4017,7 @@ export default { }, }, }, - /** Lookup413: snowbridge_pallet_system::pallet::Call */ + /** Lookup423: snowbridge_pallet_system::pallet::Call */ SnowbridgePalletSystemCall: { _enum: { upgrade: { @@ -3896,34 +4062,34 @@ export default { }, }, }, - /** Lookup415: snowbridge_core::outbound::v1::Initializer */ + /** Lookup425: snowbridge_core::outbound::v1::Initializer */ SnowbridgeCoreOutboundV1Initializer: { params: "Bytes", maximumRequiredGas: "u64", }, - /** Lookup416: snowbridge_core::outbound::v1::OperatingMode */ + /** Lookup426: snowbridge_core::outbound::v1::OperatingMode */ SnowbridgeCoreOutboundV1OperatingMode: { _enum: ["Normal", "RejectingOutboundMessages"], }, - /** Lookup417: snowbridge_core::pricing::PricingParameters */ + /** Lookup427: snowbridge_core::pricing::PricingParameters */ SnowbridgeCorePricingPricingParameters: { exchangeRate: "u128", rewards: "SnowbridgeCorePricingRewards", feePerGas: "U256", multiplier: "u128", }, - /** Lookup418: snowbridge_core::pricing::Rewards */ + /** Lookup428: snowbridge_core::pricing::Rewards */ SnowbridgeCorePricingRewards: { local: "u128", remote: "U256", }, - /** Lookup419: snowbridge_core::AssetMetadata */ + /** Lookup429: snowbridge_core::AssetMetadata */ SnowbridgeCoreAssetMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", }, - /** Lookup420: pallet_migrations::pallet::Call */ + /** Lookup430: pallet_migrations::pallet::Call */ PalletMigrationsCall: { _enum: { force_set_cursor: { @@ -3940,20 +4106,20 @@ export default { }, }, }, - /** Lookup422: pallet_migrations::MigrationCursor, BlockNumber> */ + /** Lookup432: pallet_migrations::MigrationCursor, BlockNumber> */ PalletMigrationsMigrationCursor: { _enum: { Active: "PalletMigrationsActiveCursor", Stuck: "Null", }, }, - /** Lookup424: pallet_migrations::ActiveCursor, BlockNumber> */ + /** Lookup434: pallet_migrations::ActiveCursor, BlockNumber> */ PalletMigrationsActiveCursor: { index: "u32", innerCursor: "Option", startedAt: "u32", }, - /** Lookup426: pallet_migrations::HistoricCleanupSelector> */ + /** Lookup436: pallet_migrations::HistoricCleanupSelector> */ PalletMigrationsHistoricCleanupSelector: { _enum: { Specific: "Vec", @@ -3963,7 +4129,7 @@ export default { }, }, }, - /** Lookup429: pallet_beefy::pallet::Call */ + /** Lookup439: pallet_beefy::pallet::Call */ PalletBeefyCall: { _enum: { report_double_voting: { @@ -3996,17 +4162,17 @@ export default { }, }, /** - * Lookup430: sp_consensus_beefy::DoubleVotingProof */ SpConsensusBeefyDoubleVotingProof: { first: "SpConsensusBeefyVoteMessage", second: "SpConsensusBeefyVoteMessage", }, - /** Lookup431: sp_consensus_beefy::ecdsa_crypto::Signature */ + /** Lookup441: sp_consensus_beefy::ecdsa_crypto::Signature */ SpConsensusBeefyEcdsaCryptoSignature: "[u8;65]", /** - * Lookup432: sp_consensus_beefy::VoteMessage */ SpConsensusBeefyVoteMessage: { @@ -4014,16 +4180,16 @@ export default { id: "SpConsensusBeefyEcdsaCryptoPublic", signature: "SpConsensusBeefyEcdsaCryptoSignature", }, - /** Lookup433: sp_consensus_beefy::commitment::Commitment */ + /** Lookup443: sp_consensus_beefy::commitment::Commitment */ SpConsensusBeefyCommitment: { payload: "SpConsensusBeefyPayload", blockNumber: "u32", validatorSetId: "u64", }, - /** Lookup434: sp_consensus_beefy::payload::Payload */ + /** Lookup444: sp_consensus_beefy::payload::Payload */ SpConsensusBeefyPayload: "Vec<([u8;2],Bytes)>", /** - * Lookup437: sp_consensus_beefy::ForkVotingProof, + * Lookup447: sp_consensus_beefy::ForkVotingProof, * sp_consensus_beefy::ecdsa_crypto::Public, sp_mmr_primitives::AncestryProof> */ SpConsensusBeefyForkVotingProof: { @@ -4031,18 +4197,18 @@ export default { ancestryProof: "SpMmrPrimitivesAncestryProof", header: "SpRuntimeHeader", }, - /** Lookup438: sp_mmr_primitives::AncestryProof */ + /** Lookup448: sp_mmr_primitives::AncestryProof */ SpMmrPrimitivesAncestryProof: { prevPeaks: "Vec", prevLeafCount: "u64", leafCount: "u64", items: "Vec<(u64,H256)>", }, - /** Lookup441: sp_consensus_beefy::FutureBlockVotingProof */ + /** Lookup451: sp_consensus_beefy::FutureBlockVotingProof */ SpConsensusBeefyFutureBlockVotingProof: { vote: "SpConsensusBeefyVoteMessage", }, - /** Lookup442: snowbridge_pallet_ethereum_client::pallet::Call */ + /** Lookup452: snowbridge_pallet_ethereum_client::pallet::Call */ SnowbridgePalletEthereumClientCall: { _enum: { force_checkpoint: { @@ -4057,7 +4223,7 @@ export default { }, }, }, - /** Lookup443: snowbridge_beacon_primitives::updates::CheckpointUpdate */ + /** Lookup453: snowbridge_beacon_primitives::updates::CheckpointUpdate */ SnowbridgeBeaconPrimitivesUpdatesCheckpointUpdate: { header: "SnowbridgeBeaconPrimitivesBeaconHeader", currentSyncCommittee: "SnowbridgeBeaconPrimitivesSyncCommittee", @@ -4066,14 +4232,14 @@ export default { blockRootsRoot: "H256", blockRootsBranch: "Vec", }, - /** Lookup444: snowbridge_beacon_primitives::types::SyncCommittee */ + /** Lookup454: snowbridge_beacon_primitives::types::SyncCommittee */ SnowbridgeBeaconPrimitivesSyncCommittee: { pubkeys: "[[u8;48];512]", aggregatePubkey: "SnowbridgeBeaconPrimitivesPublicKey", }, - /** Lookup446: snowbridge_beacon_primitives::types::PublicKey */ + /** Lookup456: snowbridge_beacon_primitives::types::PublicKey */ SnowbridgeBeaconPrimitivesPublicKey: "[u8;48]", - /** Lookup448: snowbridge_beacon_primitives::updates::Update */ + /** Lookup458: snowbridge_beacon_primitives::updates::Update */ SnowbridgeBeaconPrimitivesUpdatesUpdate: { attestedHeader: "SnowbridgeBeaconPrimitivesBeaconHeader", syncAggregate: "SnowbridgeBeaconPrimitivesSyncAggregate", @@ -4084,19 +4250,19 @@ export default { blockRootsRoot: "H256", blockRootsBranch: "Vec", }, - /** Lookup449: snowbridge_beacon_primitives::types::SyncAggregate */ + /** Lookup459: snowbridge_beacon_primitives::types::SyncAggregate */ SnowbridgeBeaconPrimitivesSyncAggregate: { syncCommitteeBits: "[u8;64]", syncCommitteeSignature: "SnowbridgeBeaconPrimitivesSignature", }, - /** Lookup450: snowbridge_beacon_primitives::types::Signature */ + /** Lookup460: snowbridge_beacon_primitives::types::Signature */ SnowbridgeBeaconPrimitivesSignature: "[u8;96]", - /** Lookup453: snowbridge_beacon_primitives::updates::NextSyncCommitteeUpdate */ + /** Lookup463: snowbridge_beacon_primitives::updates::NextSyncCommitteeUpdate */ SnowbridgeBeaconPrimitivesUpdatesNextSyncCommitteeUpdate: { nextSyncCommittee: "SnowbridgeBeaconPrimitivesSyncCommittee", nextSyncCommitteeBranch: "Vec", }, - /** Lookup454: polkadot_runtime_common::paras_sudo_wrapper::pallet::Call */ + /** Lookup464: polkadot_runtime_common::paras_sudo_wrapper::pallet::Call */ PolkadotRuntimeCommonParasSudoWrapperPalletCall: { _enum: { sudo_schedule_para_initialize: { @@ -4124,13 +4290,13 @@ export default { }, }, }, - /** Lookup455: polkadot_runtime_parachains::paras::ParaGenesisArgs */ + /** Lookup465: polkadot_runtime_parachains::paras::ParaGenesisArgs */ PolkadotRuntimeParachainsParasParaGenesisArgs: { genesisHead: "Bytes", validationCode: "Bytes", paraKind: "bool", }, - /** Lookup456: pallet_root_testing::pallet::Call */ + /** Lookup466: pallet_root_testing::pallet::Call */ PalletRootTestingCall: { _enum: { fill_block: { @@ -4139,7 +4305,7 @@ export default { trigger_defensive: "Null", }, }, - /** Lookup457: pallet_sudo::pallet::Call */ + /** Lookup467: pallet_sudo::pallet::Call */ PalletSudoCall: { _enum: { sudo: { @@ -4162,15 +4328,15 @@ export default { remove_key: "Null", }, }, - /** Lookup458: sp_runtime::traits::BlakeTwo256 */ + /** Lookup468: sp_runtime::traits::BlakeTwo256 */ SpRuntimeBlakeTwo256: "Null", - /** Lookup460: pallet_conviction_voting::types::Tally */ + /** Lookup470: pallet_conviction_voting::types::Tally */ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", support: "u128", }, - /** Lookup461: pallet_ranked_collective::pallet::Event */ + /** Lookup471: pallet_ranked_collective::pallet::Event */ PalletRankedCollectiveEvent: { _enum: { MemberAdded: { @@ -4196,20 +4362,20 @@ export default { }, }, }, - /** Lookup462: pallet_ranked_collective::VoteRecord */ + /** Lookup472: pallet_ranked_collective::VoteRecord */ PalletRankedCollectiveVoteRecord: { _enum: { Aye: "u32", Nay: "u32", }, }, - /** Lookup463: pallet_ranked_collective::Tally */ + /** Lookup473: pallet_ranked_collective::Tally */ PalletRankedCollectiveTally: { bareAyes: "u32", ayes: "u32", nays: "u32", }, - /** Lookup465: pallet_whitelist::pallet::Event */ + /** Lookup475: pallet_whitelist::pallet::Event */ PalletWhitelistEvent: { _enum: { CallWhitelisted: { @@ -4224,17 +4390,17 @@ export default { }, }, }, - /** Lookup467: frame_support::dispatch::PostDispatchInfo */ + /** Lookup477: frame_support::dispatch::PostDispatchInfo */ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", paysFee: "FrameSupportDispatchPays", }, - /** Lookup469: sp_runtime::DispatchErrorWithPostInfo */ + /** Lookup479: sp_runtime::DispatchErrorWithPostInfo */ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", error: "SpRuntimeDispatchError", }, - /** Lookup470: polkadot_runtime_parachains::inclusion::pallet::Event */ + /** Lookup480: polkadot_runtime_parachains::inclusion::pallet::Event */ PolkadotRuntimeParachainsInclusionPalletEvent: { _enum: { CandidateBacked: "(PolkadotPrimitivesV8CandidateReceipt,Bytes,u32,u32)", @@ -4246,12 +4412,12 @@ export default { }, }, }, - /** Lookup471: polkadot_primitives::v8::CandidateReceipt */ + /** Lookup481: polkadot_primitives::v8::CandidateReceipt */ PolkadotPrimitivesV8CandidateReceipt: { descriptor: "PolkadotPrimitivesV8CandidateDescriptor", commitmentsHash: "H256", }, - /** Lookup474: polkadot_runtime_parachains::paras::pallet::Event */ + /** Lookup484: polkadot_runtime_parachains::paras::pallet::Event */ PolkadotRuntimeParachainsParasPalletEvent: { _enum: { CurrentCodeUpdated: "u32", @@ -4264,7 +4430,7 @@ export default { PvfCheckRejected: "(H256,u32)", }, }, - /** Lookup475: polkadot_runtime_parachains::hrmp::pallet::Event */ + /** Lookup485: polkadot_runtime_parachains::hrmp::pallet::Event */ PolkadotRuntimeParachainsHrmpPalletEvent: { _enum: { OpenChannelRequested: { @@ -4303,7 +4469,7 @@ export default { }, }, }, - /** Lookup476: polkadot_runtime_parachains::disputes::pallet::Event */ + /** Lookup486: polkadot_runtime_parachains::disputes::pallet::Event */ PolkadotRuntimeParachainsDisputesPalletEvent: { _enum: { DisputeInitiated: "(H256,PolkadotRuntimeParachainsDisputesDisputeLocation)", @@ -4311,15 +4477,15 @@ export default { Revert: "u32", }, }, - /** Lookup477: polkadot_runtime_parachains::disputes::DisputeLocation */ + /** Lookup487: polkadot_runtime_parachains::disputes::DisputeLocation */ PolkadotRuntimeParachainsDisputesDisputeLocation: { _enum: ["Local", "Remote"], }, - /** Lookup478: polkadot_runtime_parachains::disputes::DisputeResult */ + /** Lookup488: polkadot_runtime_parachains::disputes::DisputeResult */ PolkadotRuntimeParachainsDisputesDisputeResult: { _enum: ["Valid", "Invalid"], }, - /** Lookup479: pallet_message_queue::pallet::Event */ + /** Lookup489: pallet_message_queue::pallet::Event */ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { @@ -4345,7 +4511,7 @@ export default { }, }, }, - /** Lookup480: frame_support::traits::messages::ProcessMessageError */ + /** Lookup490: frame_support::traits::messages::ProcessMessageError */ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4356,7 +4522,7 @@ export default { StackLimitReached: "Null", }, }, - /** Lookup481: polkadot_runtime_parachains::on_demand::pallet::Event */ + /** Lookup491: polkadot_runtime_parachains::on_demand::pallet::Event */ PolkadotRuntimeParachainsOnDemandPalletEvent: { _enum: { OnDemandOrderPlaced: { @@ -4369,7 +4535,7 @@ export default { }, }, }, - /** Lookup482: polkadot_runtime_common::paras_registrar::pallet::Event */ + /** Lookup492: polkadot_runtime_common::paras_registrar::pallet::Event */ PolkadotRuntimeCommonParasRegistrarPalletEvent: { _enum: { Registered: { @@ -4389,7 +4555,7 @@ export default { }, }, }, - /** Lookup483: pallet_utility::pallet::Event */ + /** Lookup493: pallet_utility::pallet::Event */ PalletUtilityEvent: { _enum: { BatchInterrupted: { @@ -4407,7 +4573,7 @@ export default { }, }, }, - /** Lookup485: pallet_identity::pallet::Event */ + /** Lookup495: pallet_identity::pallet::Event */ PalletIdentityEvent: { _enum: { IdentitySet: { @@ -4479,7 +4645,7 @@ export default { }, }, }, - /** Lookup486: pallet_scheduler::pallet::Event */ + /** Lookup496: pallet_scheduler::pallet::Event */ PalletSchedulerEvent: { _enum: { Scheduled: { @@ -4523,7 +4689,7 @@ export default { }, }, }, - /** Lookup488: pallet_proxy::pallet::Event */ + /** Lookup498: pallet_proxy::pallet::Event */ PalletProxyEvent: { _enum: { ProxyExecuted: { @@ -4554,7 +4720,7 @@ export default { }, }, }, - /** Lookup489: pallet_multisig::pallet::Event */ + /** Lookup499: pallet_multisig::pallet::Event */ PalletMultisigEvent: { _enum: { NewMultisig: { @@ -4583,7 +4749,7 @@ export default { }, }, }, - /** Lookup490: pallet_preimage::pallet::Event */ + /** Lookup500: pallet_preimage::pallet::Event */ PalletPreimageEvent: { _enum: { Noted: { @@ -4606,7 +4772,7 @@ export default { }, }, }, - /** Lookup491: pallet_asset_rate::pallet::Event */ + /** Lookup501: pallet_asset_rate::pallet::Event */ PalletAssetRateEvent: { _enum: { AssetRateCreated: { @@ -4626,7 +4792,7 @@ export default { }, }, }, - /** Lookup492: pallet_xcm::pallet::Event */ + /** Lookup502: pallet_xcm::pallet::Event */ PalletXcmEvent: { _enum: { Attempted: { @@ -4749,7 +4915,7 @@ export default { }, }, }, - /** Lookup493: staging_xcm::v4::traits::Outcome */ + /** Lookup503: staging_xcm::v4::traits::Outcome */ StagingXcmV4TraitsOutcome: { _enum: { Complete: { @@ -4764,7 +4930,7 @@ export default { }, }, }, - /** Lookup494: snowbridge_pallet_inbound_queue::pallet::Event */ + /** Lookup504: snowbridge_pallet_inbound_queue::pallet::Event */ SnowbridgePalletInboundQueueEvent: { _enum: { MessageReceived: { @@ -4778,7 +4944,7 @@ export default { }, }, }, - /** Lookup495: snowbridge_pallet_outbound_queue::pallet::Event */ + /** Lookup505: snowbridge_pallet_outbound_queue::pallet::Event */ SnowbridgePalletOutboundQueueEvent: { _enum: { MessageQueued: { @@ -4797,7 +4963,7 @@ export default { }, }, }, - /** Lookup496: snowbridge_pallet_system::pallet::Event */ + /** Lookup506: snowbridge_pallet_system::pallet::Event */ SnowbridgePalletSystemEvent: { _enum: { Upgrade: { @@ -4839,7 +5005,7 @@ export default { }, }, }, - /** Lookup497: pallet_migrations::pallet::Event */ + /** Lookup507: pallet_migrations::pallet::Event */ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", @@ -4861,7 +5027,7 @@ export default { }, }, }, - /** Lookup499: snowbridge_pallet_ethereum_client::pallet::Event */ + /** Lookup509: snowbridge_pallet_ethereum_client::pallet::Event */ SnowbridgePalletEthereumClientEvent: { _enum: { BeaconHeaderImported: { @@ -4876,11 +5042,11 @@ export default { }, }, }, - /** Lookup500: pallet_root_testing::pallet::Event */ + /** Lookup510: pallet_root_testing::pallet::Event */ PalletRootTestingEvent: { _enum: ["DefensiveTestCall"], }, - /** Lookup501: pallet_sudo::pallet::Event */ + /** Lookup511: pallet_sudo::pallet::Event */ PalletSudoEvent: { _enum: { Sudid: { @@ -4899,7 +5065,7 @@ export default { }, }, }, - /** Lookup502: frame_system::Phase */ + /** Lookup512: frame_system::Phase */ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", @@ -4907,51 +5073,51 @@ export default { Initialization: "Null", }, }, - /** Lookup504: frame_system::LastRuntimeUpgradeInfo */ + /** Lookup514: frame_system::LastRuntimeUpgradeInfo */ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", specName: "Text", }, - /** Lookup506: frame_system::CodeUpgradeAuthorization */ + /** Lookup516: frame_system::CodeUpgradeAuthorization */ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", checkVersion: "bool", }, - /** Lookup507: frame_system::limits::BlockWeights */ + /** Lookup517: frame_system::limits::BlockWeights */ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", }, - /** Lookup508: frame_support::dispatch::PerDispatchClass */ + /** Lookup518: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", mandatory: "FrameSystemLimitsWeightsPerClass", }, - /** Lookup509: frame_system::limits::WeightsPerClass */ + /** Lookup519: frame_system::limits::WeightsPerClass */ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", reserved: "Option", }, - /** Lookup510: frame_system::limits::BlockLength */ + /** Lookup520: frame_system::limits::BlockLength */ FrameSystemLimitsBlockLength: { max: "FrameSupportDispatchPerDispatchClassU32", }, - /** Lookup511: frame_support::dispatch::PerDispatchClass */ + /** Lookup521: frame_support::dispatch::PerDispatchClass */ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", mandatory: "u32", }, - /** Lookup512: sp_weights::RuntimeDbWeight */ + /** Lookup522: sp_weights::RuntimeDbWeight */ SpWeightsRuntimeDbWeight: { read: "u64", write: "u64", }, - /** Lookup513: sp_version::RuntimeVersion */ + /** Lookup523: sp_version::RuntimeVersion */ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4962,7 +5128,7 @@ export default { transactionVersion: "u32", stateVersion: "u8", }, - /** Lookup517: frame_system::pallet::Error */ + /** Lookup527: frame_system::pallet::Error */ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4976,7 +5142,7 @@ export default { "Unauthorized", ], }, - /** Lookup524: sp_consensus_babe::digests::PreDigest */ + /** Lookup534: sp_consensus_babe::digests::PreDigest */ SpConsensusBabeDigestsPreDigest: { _enum: { __Unused0: "Null", @@ -4985,34 +5151,34 @@ export default { SecondaryVRF: "SpConsensusBabeDigestsSecondaryVRFPreDigest", }, }, - /** Lookup525: sp_consensus_babe::digests::PrimaryPreDigest */ + /** Lookup535: sp_consensus_babe::digests::PrimaryPreDigest */ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: "u32", slot: "u64", vrfSignature: "SpCoreSr25519VrfVrfSignature", }, - /** Lookup526: sp_core::sr25519::vrf::VrfSignature */ + /** Lookup536: sp_core::sr25519::vrf::VrfSignature */ SpCoreSr25519VrfVrfSignature: { preOutput: "[u8;32]", proof: "[u8;64]", }, - /** Lookup527: sp_consensus_babe::digests::SecondaryPlainPreDigest */ + /** Lookup537: sp_consensus_babe::digests::SecondaryPlainPreDigest */ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: "u32", slot: "u64", }, - /** Lookup528: sp_consensus_babe::digests::SecondaryVRFPreDigest */ + /** Lookup538: sp_consensus_babe::digests::SecondaryVRFPreDigest */ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: "u32", slot: "u64", vrfSignature: "SpCoreSr25519VrfVrfSignature", }, - /** Lookup529: sp_consensus_babe::BabeEpochConfiguration */ + /** Lookup539: sp_consensus_babe::BabeEpochConfiguration */ SpConsensusBabeBabeEpochConfiguration: { c: "(u64,u64)", allowedSlots: "SpConsensusBabeAllowedSlots", }, - /** Lookup533: pallet_babe::pallet::Error */ + /** Lookup543: pallet_babe::pallet::Error */ PalletBabeError: { _enum: [ "InvalidEquivocationProof", @@ -5021,22 +5187,22 @@ export default { "InvalidConfiguration", ], }, - /** Lookup535: pallet_balances::types::BalanceLock */ + /** Lookup545: pallet_balances::types::BalanceLock */ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", reasons: "PalletBalancesReasons", }, - /** Lookup536: pallet_balances::types::Reasons */ + /** Lookup546: pallet_balances::types::Reasons */ PalletBalancesReasons: { _enum: ["Fee", "Misc", "All"], }, - /** Lookup539: pallet_balances::types::ReserveData */ + /** Lookup549: pallet_balances::types::ReserveData */ PalletBalancesReserveData: { id: "[u8;8]", amount: "u128", }, - /** Lookup543: dancelight_runtime::RuntimeHoldReason */ + /** Lookup553: dancelight_runtime::RuntimeHoldReason */ DancelightRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -5073,7 +5239,7 @@ export default { __Unused31: "Null", __Unused32: "Null", __Unused33: "Null", - __Unused34: "Null", + PooledStaking: "PalletPooledStakingHoldReason", __Unused35: "Null", __Unused36: "Null", __Unused37: "Null", @@ -5127,24 +5293,28 @@ export default { Preimage: "PalletPreimageHoldReason", }, }, - /** Lookup544: pallet_registrar::pallet::HoldReason */ + /** Lookup554: pallet_registrar::pallet::HoldReason */ PalletRegistrarHoldReason: { _enum: ["RegistrarDeposit"], }, - /** Lookup545: pallet_data_preservers::pallet::HoldReason */ + /** Lookup555: pallet_data_preservers::pallet::HoldReason */ PalletDataPreserversHoldReason: { _enum: ["ProfileDeposit"], }, - /** Lookup546: pallet_preimage::pallet::HoldReason */ + /** Lookup556: pallet_pooled_staking::pallet::HoldReason */ + PalletPooledStakingHoldReason: { + _enum: ["PooledStake"], + }, + /** Lookup557: pallet_preimage::pallet::HoldReason */ PalletPreimageHoldReason: { _enum: ["Preimage"], }, - /** Lookup549: frame_support::traits::tokens::misc::IdAmount */ + /** Lookup560: frame_support::traits::tokens::misc::IdAmount */ FrameSupportTokensMiscIdAmount: { id: "Null", amount: "u128", }, - /** Lookup551: pallet_balances::pallet::Error */ + /** Lookup562: pallet_balances::pallet::Error */ PalletBalancesError: { _enum: [ "VestingBalance", @@ -5161,21 +5331,21 @@ export default { "DeltaZero", ], }, - /** Lookup552: pallet_transaction_payment::Releases */ + /** Lookup563: pallet_transaction_payment::Releases */ PalletTransactionPaymentReleases: { _enum: ["V1Ancient", "V2"], }, - /** Lookup553: sp_staking::offence::OffenceDetails */ + /** Lookup564: sp_staking::offence::OffenceDetails */ SpStakingOffenceOffenceDetails: { offender: "(AccountId32,Null)", reporters: "Vec", }, - /** Lookup565: pallet_registrar::pallet::DepositInfo */ + /** Lookup576: pallet_registrar::pallet::DepositInfo */ PalletRegistrarDepositInfo: { creator: "AccountId32", deposit: "u128", }, - /** Lookup566: pallet_registrar::pallet::Error */ + /** Lookup577: pallet_registrar::pallet::Error */ PalletRegistrarError: { _enum: [ "ParaIdAlreadyRegistered", @@ -5197,7 +5367,7 @@ export default { "WasmCodeNecessary", ], }, - /** Lookup567: pallet_configuration::HostConfiguration */ + /** Lookup578: pallet_configuration::HostConfiguration */ PalletConfigurationHostConfiguration: { maxCollators: "u32", minOrchestratorCollators: "u32", @@ -5209,11 +5379,11 @@ export default { targetContainerChainFullness: "Perbill", maxParachainCoresPercentage: "Option", }, - /** Lookup570: pallet_configuration::pallet::Error */ + /** Lookup581: pallet_configuration::pallet::Error */ PalletConfigurationError: { _enum: ["InvalidNewValue"], }, - /** Lookup572: pallet_invulnerables::pallet::Error */ + /** Lookup583: pallet_invulnerables::pallet::Error */ PalletInvulnerablesError: { _enum: [ "TooManyInvulnerables", @@ -5223,23 +5393,23 @@ export default { "UnableToDeriveCollatorId", ], }, - /** Lookup573: dp_collator_assignment::AssignedCollators */ + /** Lookup584: dp_collator_assignment::AssignedCollators */ DpCollatorAssignmentAssignedCollatorsAccountId32: { orchestratorChain: "Vec", containerChains: "BTreeMap>", }, - /** Lookup578: dp_collator_assignment::AssignedCollators */ + /** Lookup589: dp_collator_assignment::AssignedCollators */ DpCollatorAssignmentAssignedCollatorsPublic: { orchestratorChain: "Vec", containerChains: "BTreeMap>", }, - /** Lookup586: tp_traits::ContainerChainBlockInfo */ + /** Lookup597: tp_traits::ContainerChainBlockInfo */ TpTraitsContainerChainBlockInfo: { blockNumber: "u32", author: "AccountId32", latestSlotNumber: "u64", }, - /** Lookup587: pallet_author_noting::pallet::Error */ + /** Lookup598: pallet_author_noting::pallet::Error */ PalletAuthorNotingError: { _enum: [ "FailedReading", @@ -5251,18 +5421,18 @@ export default { "NonAuraDigest", ], }, - /** Lookup588: pallet_services_payment::pallet::Error */ + /** Lookup599: pallet_services_payment::pallet::Error */ PalletServicesPaymentError: { _enum: ["InsufficientFundsToPurchaseCredits", "InsufficientCredits", "CreditPriceTooExpensive"], }, - /** Lookup589: pallet_data_preservers::types::RegisteredProfile */ + /** Lookup600: pallet_data_preservers::types::RegisteredProfile */ PalletDataPreserversRegisteredProfile: { account: "AccountId32", deposit: "u128", profile: "PalletDataPreserversProfile", assignment: "Option<(u32,DancelightRuntimePreserversAssignmentPaymentWitness)>", }, - /** Lookup595: pallet_data_preservers::pallet::Error */ + /** Lookup606: pallet_data_preservers::pallet::Error */ PalletDataPreserversError: { _enum: [ "NoBootNodes", @@ -5277,12 +5447,12 @@ export default { "CantDeleteAssignedProfile", ], }, - /** Lookup598: tp_traits::ActiveEraInfo */ + /** Lookup609: tp_traits::ActiveEraInfo */ TpTraitsActiveEraInfo: { index: "u32", start: "Option", }, - /** Lookup600: pallet_external_validators::pallet::Error */ + /** Lookup611: pallet_external_validators::pallet::Error */ PalletExternalValidatorsError: { _enum: [ "TooManyWhitelisted", @@ -5292,7 +5462,7 @@ export default { "UnableToDeriveValidatorId", ], }, - /** Lookup603: pallet_external_validator_slashes::Slash */ + /** Lookup614: pallet_external_validator_slashes::Slash */ PalletExternalValidatorSlashesSlash: { validator: "AccountId32", reporters: "Vec", @@ -5300,7 +5470,7 @@ export default { percentage: "Perbill", confirmed: "bool", }, - /** Lookup604: pallet_external_validator_slashes::pallet::Error */ + /** Lookup615: pallet_external_validator_slashes::pallet::Error */ PalletExternalValidatorSlashesError: { _enum: [ "EmptyTargets", @@ -5314,18 +5484,18 @@ export default { "EthereumDeliverFail", ], }, - /** Lookup605: pallet_external_validators_rewards::pallet::EraRewardPoints */ + /** Lookup616: pallet_external_validators_rewards::pallet::EraRewardPoints */ PalletExternalValidatorsRewardsEraRewardPoints: { total: "u32", individual: "BTreeMap", }, - /** Lookup612: sp_core::crypto::KeyTypeId */ + /** Lookup623: sp_core::crypto::KeyTypeId */ SpCoreCryptoKeyTypeId: "[u8;4]", - /** Lookup613: pallet_session::pallet::Error */ + /** Lookup624: pallet_session::pallet::Error */ PalletSessionError: { _enum: ["InvalidProof", "NoAssociatedValidatorId", "DuplicatedKey", "NoKeys", "NoAccount"], }, - /** Lookup614: pallet_grandpa::StoredState */ + /** Lookup625: pallet_grandpa::StoredState */ PalletGrandpaStoredState: { _enum: { Live: "Null", @@ -5340,14 +5510,14 @@ export default { }, }, }, - /** Lookup615: pallet_grandpa::StoredPendingChange */ + /** Lookup626: pallet_grandpa::StoredPendingChange */ PalletGrandpaStoredPendingChange: { scheduledAt: "u32", delay: "u32", nextAuthorities: "Vec<(SpConsensusGrandpaAppPublic,u64)>", forced: "Option", }, - /** Lookup617: pallet_grandpa::pallet::Error */ + /** Lookup628: pallet_grandpa::pallet::Error */ PalletGrandpaError: { _enum: [ "PauseFailed", @@ -5359,12 +5529,78 @@ export default { "DuplicateOffenceReport", ], }, - /** Lookup620: pallet_inflation_rewards::pallet::ChainsToRewardValue */ + /** Lookup631: pallet_inflation_rewards::pallet::ChainsToRewardValue */ PalletInflationRewardsChainsToRewardValue: { paraIds: "Vec", rewardsPerChain: "u128", }, - /** Lookup621: pallet_treasury::Proposal */ + /** Lookup633: pallet_pooled_staking::candidate::EligibleCandidate */ + PalletPooledStakingCandidateEligibleCandidate: { + candidate: "AccountId32", + stake: "u128", + }, + /** Lookup636: pallet_pooled_staking::pallet::PoolsKey */ + PalletPooledStakingPoolsKey: { + _enum: { + CandidateTotalStake: "Null", + JoiningShares: { + delegator: "AccountId32", + }, + JoiningSharesSupply: "Null", + JoiningSharesTotalStaked: "Null", + JoiningSharesHeldStake: { + delegator: "AccountId32", + }, + AutoCompoundingShares: { + delegator: "AccountId32", + }, + AutoCompoundingSharesSupply: "Null", + AutoCompoundingSharesTotalStaked: "Null", + AutoCompoundingSharesHeldStake: { + delegator: "AccountId32", + }, + ManualRewardsShares: { + delegator: "AccountId32", + }, + ManualRewardsSharesSupply: "Null", + ManualRewardsSharesTotalStaked: "Null", + ManualRewardsSharesHeldStake: { + delegator: "AccountId32", + }, + ManualRewardsCounter: "Null", + ManualRewardsCheckpoint: { + delegator: "AccountId32", + }, + LeavingShares: { + delegator: "AccountId32", + }, + LeavingSharesSupply: "Null", + LeavingSharesTotalStaked: "Null", + LeavingSharesHeldStake: { + delegator: "AccountId32", + }, + }, + }, + /** Lookup638: pallet_pooled_staking::pallet::Error */ + PalletPooledStakingError: { + _enum: { + InvalidPalletSetting: "Null", + DisabledFeature: "Null", + NoOneIsStaking: "Null", + StakeMustBeNonZero: "Null", + RewardsMustBeNonZero: "Null", + MathUnderflow: "Null", + MathOverflow: "Null", + NotEnoughShares: "Null", + TryingToLeaveTooSoon: "Null", + InconsistentState: "Null", + UnsufficientSharesForTransfer: "Null", + CandidateTransferingOwnSharesForbidden: "Null", + RequestCannotBeExecuted: "u16", + SwapResultsInZeroShares: "Null", + }, + }, + /** Lookup639: pallet_treasury::Proposal */ PalletTreasuryProposal: { proposer: "AccountId32", value: "u128", @@ -5372,7 +5608,7 @@ export default { bond: "u128", }, /** - * Lookup623: pallet_treasury::SpendStatus */ PalletTreasurySpendStatus: { @@ -5383,7 +5619,7 @@ export default { expireAt: "u32", status: "PalletTreasuryPaymentState", }, - /** Lookup624: pallet_treasury::PaymentState */ + /** Lookup642: pallet_treasury::PaymentState */ PalletTreasuryPaymentState: { _enum: { Pending: "Null", @@ -5393,9 +5629,9 @@ export default { Failed: "Null", }, }, - /** Lookup626: frame_support::PalletId */ + /** Lookup644: frame_support::PalletId */ FrameSupportPalletId: "[u8;8]", - /** Lookup627: pallet_treasury::pallet::Error */ + /** Lookup645: pallet_treasury::pallet::Error */ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5412,7 +5648,7 @@ export default { ], }, /** - * Lookup629: pallet_conviction_voting::vote::Voting */ PalletConvictionVotingVoteVoting: { @@ -5421,20 +5657,20 @@ export default { Delegating: "PalletConvictionVotingVoteDelegating", }, }, - /** Lookup630: pallet_conviction_voting::vote::Casting */ + /** Lookup648: pallet_conviction_voting::vote::Casting */ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup634: pallet_conviction_voting::types::Delegations */ + /** Lookup652: pallet_conviction_voting::types::Delegations */ PalletConvictionVotingDelegations: { votes: "u128", capital: "u128", }, - /** Lookup635: pallet_conviction_voting::vote::PriorLock */ + /** Lookup653: pallet_conviction_voting::vote::PriorLock */ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup636: pallet_conviction_voting::vote::Delegating */ + /** Lookup654: pallet_conviction_voting::vote::Delegating */ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId32", @@ -5442,7 +5678,7 @@ export default { delegations: "PalletConvictionVotingDelegations", prior: "PalletConvictionVotingVotePriorLock", }, - /** Lookup640: pallet_conviction_voting::pallet::Error */ + /** Lookup658: pallet_conviction_voting::pallet::Error */ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5460,7 +5696,7 @@ export default { ], }, /** - * Lookup641: pallet_referenda::types::ReferendumInfo, * Balance, pallet_conviction_voting::types::Tally, sp_core::crypto::AccountId32, ScheduleAddress> */ @@ -5475,7 +5711,7 @@ export default { }, }, /** - * Lookup642: pallet_referenda::types::ReferendumStatus, * Balance, pallet_conviction_voting::types::Tally, sp_core::crypto::AccountId32, ScheduleAddress> */ @@ -5492,17 +5728,17 @@ export default { inQueue: "bool", alarm: "Option<(u32,(u32,u32))>", }, - /** Lookup643: pallet_referenda::types::Deposit */ + /** Lookup661: pallet_referenda::types::Deposit */ PalletReferendaDeposit: { who: "AccountId32", amount: "u128", }, - /** Lookup646: pallet_referenda::types::DecidingStatus */ + /** Lookup664: pallet_referenda::types::DecidingStatus */ PalletReferendaDecidingStatus: { since: "u32", confirming: "Option", }, - /** Lookup654: pallet_referenda::types::TrackInfo */ + /** Lookup672: pallet_referenda::types::TrackInfo */ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5514,7 +5750,7 @@ export default { minApproval: "PalletReferendaCurve", minSupport: "PalletReferendaCurve", }, - /** Lookup655: pallet_referenda::types::Curve */ + /** Lookup673: pallet_referenda::types::Curve */ PalletReferendaCurve: { _enum: { LinearDecreasing: { @@ -5535,7 +5771,7 @@ export default { }, }, }, - /** Lookup658: pallet_referenda::pallet::Error */ + /** Lookup676: pallet_referenda::pallet::Error */ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5554,11 +5790,11 @@ export default { "PreimageStoredWithDifferentLength", ], }, - /** Lookup659: pallet_ranked_collective::MemberRecord */ + /** Lookup677: pallet_ranked_collective::MemberRecord */ PalletRankedCollectiveMemberRecord: { rank: "u16", }, - /** Lookup663: pallet_ranked_collective::pallet::Error */ + /** Lookup681: pallet_ranked_collective::pallet::Error */ PalletRankedCollectiveError: { _enum: [ "AlreadyMember", @@ -5575,7 +5811,7 @@ export default { ], }, /** - * Lookup664: pallet_referenda::types::ReferendumInfo, * Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> */ @@ -5590,7 +5826,7 @@ export default { }, }, /** - * Lookup665: pallet_referenda::types::ReferendumStatus, * Balance, pallet_ranked_collective::Tally, sp_core::crypto::AccountId32, ScheduleAddress> */ @@ -5607,7 +5843,7 @@ export default { inQueue: "bool", alarm: "Option<(u32,(u32,u32))>", }, - /** Lookup668: pallet_whitelist::pallet::Error */ + /** Lookup686: pallet_whitelist::pallet::Error */ PalletWhitelistError: { _enum: [ "UnavailablePreImage", @@ -5617,7 +5853,7 @@ export default { "CallAlreadyWhitelisted", ], }, - /** Lookup669: polkadot_runtime_parachains::configuration::HostConfiguration */ + /** Lookup687: polkadot_runtime_parachains::configuration::HostConfiguration */ PolkadotRuntimeParachainsConfigurationHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -5655,16 +5891,16 @@ export default { approvalVotingParams: "PolkadotPrimitivesV8ApprovalVotingParams", schedulerParams: "PolkadotPrimitivesV8SchedulerParams", }, - /** Lookup672: polkadot_runtime_parachains::configuration::pallet::Error */ + /** Lookup690: polkadot_runtime_parachains::configuration::pallet::Error */ PolkadotRuntimeParachainsConfigurationPalletError: { _enum: ["InvalidNewValue"], }, - /** Lookup675: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker */ + /** Lookup693: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker */ PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker: { buffer: "Vec<(H256,H256)>", latestNumber: "u32", }, - /** Lookup679: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability */ + /** Lookup697: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability */ PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: { _alias: { hash_: "hash", @@ -5679,7 +5915,7 @@ export default { backedInNumber: "u32", backingGroup: "u32", }, - /** Lookup680: polkadot_runtime_parachains::inclusion::pallet::Error */ + /** Lookup698: polkadot_runtime_parachains::inclusion::pallet::Error */ PolkadotRuntimeParachainsInclusionPalletError: { _enum: [ "ValidatorIndexOutOfBounds", @@ -5701,14 +5937,14 @@ export default { "ParaHeadMismatch", ], }, - /** Lookup681: polkadot_primitives::v8::ScrapedOnChainVotes */ + /** Lookup699: polkadot_primitives::v8::ScrapedOnChainVotes */ PolkadotPrimitivesV8ScrapedOnChainVotes: { session: "u32", backingValidatorsPerCandidate: "Vec<(PolkadotPrimitivesV8CandidateReceipt,Vec<(u32,PolkadotPrimitivesV8ValidityAttestation)>)>", disputes: "Vec", }, - /** Lookup686: polkadot_runtime_parachains::paras_inherent::pallet::Error */ + /** Lookup704: polkadot_runtime_parachains::paras_inherent::pallet::Error */ PolkadotRuntimeParachainsParasInherentPalletError: { _enum: [ "TooManyInclusionInherents", @@ -5718,20 +5954,20 @@ export default { "UnscheduledCandidate", ], }, - /** Lookup689: polkadot_runtime_parachains::scheduler::pallet::CoreOccupied */ + /** Lookup707: polkadot_runtime_parachains::scheduler::pallet::CoreOccupied */ PolkadotRuntimeParachainsSchedulerPalletCoreOccupied: { _enum: { Free: "Null", Paras: "PolkadotRuntimeParachainsSchedulerPalletParasEntry", }, }, - /** Lookup690: polkadot_runtime_parachains::scheduler::pallet::ParasEntry */ + /** Lookup708: polkadot_runtime_parachains::scheduler::pallet::ParasEntry */ PolkadotRuntimeParachainsSchedulerPalletParasEntry: { assignment: "PolkadotRuntimeParachainsSchedulerCommonAssignment", availabilityTimeouts: "u32", ttl: "u32", }, - /** Lookup691: polkadot_runtime_parachains::scheduler::common::Assignment */ + /** Lookup709: polkadot_runtime_parachains::scheduler::common::Assignment */ PolkadotRuntimeParachainsSchedulerCommonAssignment: { _enum: { Pool: { @@ -5741,7 +5977,7 @@ export default { Bulk: "u32", }, }, - /** Lookup696: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState */ + /** Lookup714: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState */ PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: { votesAccept: "BitVec", votesReject: "BitVec", @@ -5749,7 +5985,7 @@ export default { createdAt: "u32", causes: "Vec", }, - /** Lookup698: polkadot_runtime_parachains::paras::PvfCheckCause */ + /** Lookup716: polkadot_runtime_parachains::paras::PvfCheckCause */ PolkadotRuntimeParachainsParasPvfCheckCause: { _enum: { Onboarding: "u32", @@ -5760,11 +5996,11 @@ export default { }, }, }, - /** Lookup699: polkadot_runtime_parachains::paras::UpgradeStrategy */ + /** Lookup717: polkadot_runtime_parachains::paras::UpgradeStrategy */ PolkadotRuntimeParachainsParasUpgradeStrategy: { _enum: ["SetGoAheadSignal", "ApplyAtExpectedBlock"], }, - /** Lookup701: polkadot_runtime_parachains::paras::ParaLifecycle */ + /** Lookup719: polkadot_runtime_parachains::paras::ParaLifecycle */ PolkadotRuntimeParachainsParasParaLifecycle: { _enum: [ "Onboarding", @@ -5776,25 +6012,25 @@ export default { "OffboardingParachain", ], }, - /** Lookup703: polkadot_runtime_parachains::paras::ParaPastCodeMeta */ + /** Lookup721: polkadot_runtime_parachains::paras::ParaPastCodeMeta */ PolkadotRuntimeParachainsParasParaPastCodeMeta: { upgradeTimes: "Vec", lastPruned: "Option", }, - /** Lookup705: polkadot_runtime_parachains::paras::ReplacementTimes */ + /** Lookup723: polkadot_runtime_parachains::paras::ReplacementTimes */ PolkadotRuntimeParachainsParasReplacementTimes: { expectedAt: "u32", activatedAt: "u32", }, - /** Lookup707: polkadot_primitives::v8::UpgradeGoAhead */ + /** Lookup725: polkadot_primitives::v8::UpgradeGoAhead */ PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ["Abort", "GoAhead"], }, - /** Lookup708: polkadot_primitives::v8::UpgradeRestriction */ + /** Lookup726: polkadot_primitives::v8::UpgradeRestriction */ PolkadotPrimitivesV8UpgradeRestriction: { _enum: ["Present"], }, - /** Lookup709: polkadot_runtime_parachains::paras::pallet::Error */ + /** Lookup727: polkadot_runtime_parachains::paras::pallet::Error */ PolkadotRuntimeParachainsParasPalletError: { _enum: [ "NotRegistered", @@ -5812,18 +6048,18 @@ export default { "InvalidCode", ], }, - /** Lookup711: polkadot_runtime_parachains::initializer::BufferedSessionChange */ + /** Lookup729: polkadot_runtime_parachains::initializer::BufferedSessionChange */ PolkadotRuntimeParachainsInitializerBufferedSessionChange: { validators: "Vec", queued: "Vec", sessionIndex: "u32", }, - /** Lookup713: polkadot_core_primitives::InboundDownwardMessage */ + /** Lookup731: polkadot_core_primitives::InboundDownwardMessage */ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes", }, - /** Lookup714: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest */ + /** Lookup732: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest */ PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: { confirmed: "bool", age: "u32", @@ -5832,7 +6068,7 @@ export default { maxCapacity: "u32", maxTotalSize: "u32", }, - /** Lookup716: polkadot_runtime_parachains::hrmp::HrmpChannel */ + /** Lookup734: polkadot_runtime_parachains::hrmp::HrmpChannel */ PolkadotRuntimeParachainsHrmpHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", @@ -5843,12 +6079,12 @@ export default { senderDeposit: "u128", recipientDeposit: "u128", }, - /** Lookup718: polkadot_core_primitives::InboundHrmpMessage */ + /** Lookup736: polkadot_core_primitives::InboundHrmpMessage */ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes", }, - /** Lookup721: polkadot_runtime_parachains::hrmp::pallet::Error */ + /** Lookup739: polkadot_runtime_parachains::hrmp::pallet::Error */ PolkadotRuntimeParachainsHrmpPalletError: { _enum: [ "OpenHrmpChannelToSelf", @@ -5873,7 +6109,7 @@ export default { "ChannelCreationNotAuthorized", ], }, - /** Lookup723: polkadot_primitives::v8::SessionInfo */ + /** Lookup741: polkadot_primitives::v8::SessionInfo */ PolkadotPrimitivesV8SessionInfo: { activeValidatorIndices: "Vec", randomSeed: "[u8;32]", @@ -5890,20 +6126,20 @@ export default { neededApprovals: "u32", }, /** - * Lookup724: polkadot_primitives::v8::IndexedVec */ PolkadotPrimitivesV8IndexedVecValidatorIndex: "Vec", - /** Lookup725: polkadot_primitives::v8::IndexedVec */ + /** Lookup743: polkadot_primitives::v8::IndexedVec */ PolkadotPrimitivesV8IndexedVecGroupIndex: "Vec>", - /** Lookup727: polkadot_primitives::v8::DisputeState */ + /** Lookup745: polkadot_primitives::v8::DisputeState */ PolkadotPrimitivesV8DisputeState: { validatorsFor: "BitVec", validatorsAgainst: "BitVec", start: "u32", concludedAt: "Option", }, - /** Lookup729: polkadot_runtime_parachains::disputes::pallet::Error */ + /** Lookup747: polkadot_runtime_parachains::disputes::pallet::Error */ PolkadotRuntimeParachainsDisputesPalletError: { _enum: [ "DuplicateDisputeStatementSets", @@ -5917,7 +6153,7 @@ export default { "UnconfirmedDispute", ], }, - /** Lookup730: polkadot_primitives::v8::slashing::PendingSlashes */ + /** Lookup748: polkadot_primitives::v8::slashing::PendingSlashes */ PolkadotPrimitivesV8SlashingPendingSlashes: { _alias: { keys_: "keys", @@ -5925,7 +6161,7 @@ export default { keys_: "BTreeMap", kind: "PolkadotPrimitivesV8SlashingSlashingOffenceKind", }, - /** Lookup734: polkadot_runtime_parachains::disputes::slashing::pallet::Error */ + /** Lookup752: polkadot_runtime_parachains::disputes::slashing::pallet::Error */ PolkadotRuntimeParachainsDisputesSlashingPalletError: { _enum: [ "InvalidKeyOwnershipProof", @@ -5936,7 +6172,7 @@ export default { "DuplicateSlashingReport", ], }, - /** Lookup735: pallet_message_queue::BookState */ + /** Lookup753: pallet_message_queue::BookState */ PalletMessageQueueBookState: { _alias: { size_: "size", @@ -5948,12 +6184,12 @@ export default { messageCount: "u64", size_: "u64", }, - /** Lookup737: pallet_message_queue::Neighbours */ + /** Lookup755: pallet_message_queue::Neighbours */ PalletMessageQueueNeighbours: { prev: "DancelightRuntimeAggregateMessageOrigin", next: "DancelightRuntimeAggregateMessageOrigin", }, - /** Lookup739: pallet_message_queue::Page */ + /** Lookup757: pallet_message_queue::Page */ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", @@ -5962,7 +6198,7 @@ export default { last: "u32", heap: "Bytes", }, - /** Lookup741: pallet_message_queue::pallet::Error */ + /** Lookup759: pallet_message_queue::pallet::Error */ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5976,38 +6212,38 @@ export default { "RecursiveDisallowed", ], }, - /** Lookup742: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount */ + /** Lookup760: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount */ PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount: { coreIndex: "u32", count: "u32", }, - /** Lookup743: polkadot_runtime_parachains::on_demand::types::QueueStatusType */ + /** Lookup761: polkadot_runtime_parachains::on_demand::types::QueueStatusType */ PolkadotRuntimeParachainsOnDemandTypesQueueStatusType: { traffic: "u128", nextIndex: "u32", smallestIndex: "u32", freedIndices: "BinaryHeapReverseQueueIndex", }, - /** Lookup745: BinaryHeap */ + /** Lookup763: BinaryHeap */ BinaryHeapReverseQueueIndex: "Vec", - /** Lookup748: BinaryHeap */ + /** Lookup766: BinaryHeap */ BinaryHeapEnqueuedOrder: "Vec", - /** Lookup749: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder */ + /** Lookup767: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder */ PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder: { paraId: "u32", idx: "u32", }, - /** Lookup753: polkadot_runtime_parachains::on_demand::pallet::Error */ + /** Lookup771: polkadot_runtime_parachains::on_demand::pallet::Error */ PolkadotRuntimeParachainsOnDemandPalletError: { _enum: ["QueueFull", "SpotPriceHigherThanMaxAmount"], }, - /** Lookup754: polkadot_runtime_common::paras_registrar::ParaInfo */ + /** Lookup772: polkadot_runtime_common::paras_registrar::ParaInfo */ PolkadotRuntimeCommonParasRegistrarParaInfo: { manager: "AccountId32", deposit: "u128", locked: "Option", }, - /** Lookup756: polkadot_runtime_common::paras_registrar::pallet::Error */ + /** Lookup774: polkadot_runtime_common::paras_registrar::pallet::Error */ PolkadotRuntimeCommonParasRegistrarPalletError: { _enum: [ "NotRegistered", @@ -6026,12 +6262,12 @@ export default { "CannotSwap", ], }, - /** Lookup757: pallet_utility::pallet::Error */ + /** Lookup775: pallet_utility::pallet::Error */ PalletUtilityError: { _enum: ["TooManyCalls"], }, /** - * Lookup759: pallet_identity::types::Registration> */ PalletIdentityRegistration: { @@ -6039,18 +6275,18 @@ export default { deposit: "u128", info: "PalletIdentityLegacyIdentityInfo", }, - /** Lookup768: pallet_identity::types::RegistrarInfo */ + /** Lookup786: pallet_identity::types::RegistrarInfo */ PalletIdentityRegistrarInfo: { account: "AccountId32", fee: "u128", fields: "u64", }, - /** Lookup770: pallet_identity::types::AuthorityProperties> */ + /** Lookup788: pallet_identity::types::AuthorityProperties> */ PalletIdentityAuthorityProperties: { suffix: "Bytes", allocation: "u32", }, - /** Lookup772: pallet_identity::pallet::Error */ + /** Lookup790: pallet_identity::pallet::Error */ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -6082,7 +6318,7 @@ export default { ], }, /** - * Lookup775: pallet_scheduler::Scheduled, * BlockNumber, dancelight_runtime::OriginCaller, sp_core::crypto::AccountId32> */ @@ -6093,29 +6329,29 @@ export default { maybePeriodic: "Option<(u32,u32)>", origin: "DancelightRuntimeOriginCaller", }, - /** Lookup777: pallet_scheduler::RetryConfig */ + /** Lookup795: pallet_scheduler::RetryConfig */ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", period: "u32", }, - /** Lookup778: pallet_scheduler::pallet::Error */ + /** Lookup796: pallet_scheduler::pallet::Error */ PalletSchedulerError: { _enum: ["FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", "Named"], }, - /** Lookup781: pallet_proxy::ProxyDefinition */ + /** Lookup799: pallet_proxy::ProxyDefinition */ PalletProxyProxyDefinition: { delegate: "AccountId32", proxyType: "DancelightRuntimeProxyType", delay: "u32", }, - /** Lookup785: pallet_proxy::Announcement */ + /** Lookup803: pallet_proxy::Announcement */ PalletProxyAnnouncement: { real: "AccountId32", callHash: "H256", height: "u32", }, - /** Lookup787: pallet_proxy::pallet::Error */ + /** Lookup805: pallet_proxy::pallet::Error */ PalletProxyError: { _enum: [ "TooMany", @@ -6128,14 +6364,14 @@ export default { "NoSelfProxy", ], }, - /** Lookup789: pallet_multisig::Multisig */ + /** Lookup807: pallet_multisig::Multisig */ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId32", approvals: "Vec", }, - /** Lookup791: pallet_multisig::pallet::Error */ + /** Lookup809: pallet_multisig::pallet::Error */ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -6154,7 +6390,7 @@ export default { "AlreadyStored", ], }, - /** Lookup792: pallet_preimage::OldRequestStatus */ + /** Lookup810: pallet_preimage::OldRequestStatus */ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { @@ -6169,7 +6405,7 @@ export default { }, }, /** - * Lookup795: pallet_preimage::RequestStatus> */ PalletPreimageRequestStatus: { @@ -6185,7 +6421,7 @@ export default { }, }, }, - /** Lookup800: pallet_preimage::pallet::Error */ + /** Lookup818: pallet_preimage::pallet::Error */ PalletPreimageError: { _enum: [ "TooBig", @@ -6198,11 +6434,11 @@ export default { "TooFew", ], }, - /** Lookup801: pallet_asset_rate::pallet::Error */ + /** Lookup819: pallet_asset_rate::pallet::Error */ PalletAssetRateError: { _enum: ["UnknownAssetKind", "AlreadyExists", "Overflow"], }, - /** Lookup802: pallet_xcm::pallet::QueryStatus */ + /** Lookup820: pallet_xcm::pallet::QueryStatus */ PalletXcmQueryStatus: { _enum: { Pending: { @@ -6221,7 +6457,7 @@ export default { }, }, }, - /** Lookup806: xcm::VersionedResponse */ + /** Lookup824: xcm::VersionedResponse */ XcmVersionedResponse: { _enum: { __Unused0: "Null", @@ -6231,7 +6467,7 @@ export default { V4: "StagingXcmV4Response", }, }, - /** Lookup812: pallet_xcm::pallet::VersionMigrationStage */ + /** Lookup830: pallet_xcm::pallet::VersionMigrationStage */ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", @@ -6240,14 +6476,14 @@ export default { MigrateAndNotifyOldTargets: "Null", }, }, - /** Lookup814: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** Lookup832: pallet_xcm::pallet::RemoteLockedFungibleRecord */ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", consumers: "Vec<(Null,u128)>", }, - /** Lookup821: pallet_xcm::pallet::Error */ + /** Lookup839: pallet_xcm::pallet::Error */ PalletXcmError: { _enum: [ "Unreachable", @@ -6277,7 +6513,7 @@ export default { "LocalExecutionIncomplete", ], }, - /** Lookup822: snowbridge_pallet_inbound_queue::pallet::Error */ + /** Lookup840: snowbridge_pallet_inbound_queue::pallet::Error */ SnowbridgePalletInboundQueueError: { _enum: { InvalidGateway: "Null", @@ -6293,11 +6529,11 @@ export default { ConvertMessage: "SnowbridgeRouterPrimitivesInboundConvertMessageError", }, }, - /** Lookup823: snowbridge_core::inbound::VerificationError */ + /** Lookup841: snowbridge_core::inbound::VerificationError */ SnowbridgeCoreInboundVerificationError: { _enum: ["HeaderNotFound", "LogNotFound", "InvalidLog", "InvalidProof", "InvalidExecutionProof"], }, - /** Lookup824: snowbridge_pallet_inbound_queue::pallet::SendError */ + /** Lookup842: snowbridge_pallet_inbound_queue::pallet::SendError */ SnowbridgePalletInboundQueueSendError: { _enum: [ "NotApplicable", @@ -6309,11 +6545,11 @@ export default { "Fees", ], }, - /** Lookup825: snowbridge_router_primitives::inbound::ConvertMessageError */ + /** Lookup843: snowbridge_router_primitives::inbound::ConvertMessageError */ SnowbridgeRouterPrimitivesInboundConvertMessageError: { _enum: ["UnsupportedVersion", "InvalidDestination", "InvalidToken", "UnsupportedFeeAsset", "CannotReanchor"], }, - /** Lookup827: snowbridge_pallet_outbound_queue::types::CommittedMessage */ + /** Lookup845: snowbridge_pallet_outbound_queue::types::CommittedMessage */ SnowbridgePalletOutboundQueueCommittedMessage: { channelId: "SnowbridgeCoreChannelId", nonce: "Compact", @@ -6324,16 +6560,16 @@ export default { reward: "Compact", id: "H256", }, - /** Lookup828: snowbridge_pallet_outbound_queue::pallet::Error */ + /** Lookup846: snowbridge_pallet_outbound_queue::pallet::Error */ SnowbridgePalletOutboundQueueError: { _enum: ["MessageTooLarge", "Halted", "InvalidChannel"], }, - /** Lookup829: snowbridge_core::Channel */ + /** Lookup847: snowbridge_core::Channel */ SnowbridgeCoreChannel: { agentId: "H256", paraId: "u32", }, - /** Lookup830: snowbridge_pallet_system::pallet::Error */ + /** Lookup848: snowbridge_pallet_system::pallet::Error */ SnowbridgePalletSystemError: { _enum: { LocationConversionFailed: "Null", @@ -6349,15 +6585,15 @@ export default { InvalidUpgradeParameters: "Null", }, }, - /** Lookup831: snowbridge_core::outbound::SendError */ + /** Lookup849: snowbridge_core::outbound::SendError */ SnowbridgeCoreOutboundSendError: { _enum: ["MessageTooLarge", "Halted", "InvalidChannel"], }, - /** Lookup832: pallet_migrations::pallet::Error */ + /** Lookup850: pallet_migrations::pallet::Error */ PalletMigrationsError: { _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], }, - /** Lookup836: pallet_beefy::pallet::Error */ + /** Lookup854: pallet_beefy::pallet::Error */ PalletBeefyError: { _enum: [ "InvalidKeyOwnershipProof", @@ -6369,43 +6605,43 @@ export default { "InvalidConfiguration", ], }, - /** Lookup837: sp_consensus_beefy::mmr::BeefyAuthoritySet */ + /** Lookup855: sp_consensus_beefy::mmr::BeefyAuthoritySet */ SpConsensusBeefyMmrBeefyAuthoritySet: { id: "u64", len: "u32", keysetCommitment: "H256", }, - /** Lookup838: snowbridge_beacon_primitives::types::CompactBeaconState */ + /** Lookup856: snowbridge_beacon_primitives::types::CompactBeaconState */ SnowbridgeBeaconPrimitivesCompactBeaconState: { slot: "Compact", blockRootsRoot: "H256", }, - /** Lookup839: snowbridge_beacon_primitives::types::SyncCommitteePrepared */ + /** Lookup857: snowbridge_beacon_primitives::types::SyncCommitteePrepared */ SnowbridgeBeaconPrimitivesSyncCommitteePrepared: { root: "H256", - pubkeys: "[Lookup841;512]", + pubkeys: "[Lookup859;512]", aggregatePubkey: "SnowbridgeMilagroBlsKeysPublicKey", }, - /** Lookup841: snowbridge_milagro_bls::keys::PublicKey */ + /** Lookup859: snowbridge_milagro_bls::keys::PublicKey */ SnowbridgeMilagroBlsKeysPublicKey: { point: "SnowbridgeAmclBls381Ecp", }, - /** Lookup842: snowbridge_amcl::bls381::ecp::ECP */ + /** Lookup860: snowbridge_amcl::bls381::ecp::ECP */ SnowbridgeAmclBls381Ecp: { x: "SnowbridgeAmclBls381Fp", y: "SnowbridgeAmclBls381Fp", z: "SnowbridgeAmclBls381Fp", }, - /** Lookup843: snowbridge_amcl::bls381::fp::FP */ + /** Lookup861: snowbridge_amcl::bls381::fp::FP */ SnowbridgeAmclBls381Fp: { x: "SnowbridgeAmclBls381Big", xes: "i32", }, - /** Lookup844: snowbridge_amcl::bls381::big::Big */ + /** Lookup862: snowbridge_amcl::bls381::big::Big */ SnowbridgeAmclBls381Big: { w: "[i32;14]", }, - /** Lookup847: snowbridge_beacon_primitives::types::ForkVersions */ + /** Lookup865: snowbridge_beacon_primitives::types::ForkVersions */ SnowbridgeBeaconPrimitivesForkVersions: { genesis: "SnowbridgeBeaconPrimitivesFork", altair: "SnowbridgeBeaconPrimitivesFork", @@ -6413,12 +6649,12 @@ export default { capella: "SnowbridgeBeaconPrimitivesFork", deneb: "SnowbridgeBeaconPrimitivesFork", }, - /** Lookup848: snowbridge_beacon_primitives::types::Fork */ + /** Lookup866: snowbridge_beacon_primitives::types::Fork */ SnowbridgeBeaconPrimitivesFork: { version: "[u8;4]", epoch: "u64", }, - /** Lookup849: snowbridge_pallet_ethereum_client::pallet::Error */ + /** Lookup867: snowbridge_pallet_ethereum_client::pallet::Error */ SnowbridgePalletEthereumClientError: { _enum: { SkippedSyncCommitteePeriod: "Null", @@ -6448,11 +6684,11 @@ export default { Halted: "Null", }, }, - /** Lookup850: snowbridge_beacon_primitives::bls::BlsError */ + /** Lookup868: snowbridge_beacon_primitives::bls::BlsError */ SnowbridgeBeaconPrimitivesBlsBlsError: { _enum: ["InvalidSignature", "InvalidPublicKey", "InvalidAggregatePublicKeys", "SignatureVerificationFailed"], }, - /** Lookup851: polkadot_runtime_common::paras_sudo_wrapper::pallet::Error */ + /** Lookup869: polkadot_runtime_common::paras_sudo_wrapper::pallet::Error */ PolkadotRuntimeCommonParasSudoWrapperPalletError: { _enum: [ "ParaDoesntExist", @@ -6466,32 +6702,32 @@ export default { "TooManyCores", ], }, - /** Lookup852: pallet_sudo::pallet::Error */ + /** Lookup870: pallet_sudo::pallet::Error */ PalletSudoError: { _enum: ["RequireSudo"], }, - /** Lookup855: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** Lookup873: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup856: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** Lookup874: frame_system::extensions::check_spec_version::CheckSpecVersion */ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup857: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** Lookup875: frame_system::extensions::check_tx_version::CheckTxVersion */ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup858: frame_system::extensions::check_genesis::CheckGenesis */ + /** Lookup876: frame_system::extensions::check_genesis::CheckGenesis */ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup861: frame_system::extensions::check_nonce::CheckNonce */ + /** Lookup879: frame_system::extensions::check_nonce::CheckNonce */ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup862: frame_system::extensions::check_weight::CheckWeight */ + /** Lookup880: frame_system::extensions::check_weight::CheckWeight */ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup863: pallet_transaction_payment::ChargeTransactionPayment */ + /** Lookup881: pallet_transaction_payment::ChargeTransactionPayment */ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup864: frame_metadata_hash_extension::CheckMetadataHash */ + /** Lookup882: frame_metadata_hash_extension::CheckMetadataHash */ FrameMetadataHashExtensionCheckMetadataHash: { mode: "FrameMetadataHashExtensionMode", }, - /** Lookup865: frame_metadata_hash_extension::Mode */ + /** Lookup883: frame_metadata_hash_extension::Mode */ FrameMetadataHashExtensionMode: { _enum: ["Disabled", "Enabled"], }, - /** Lookup866: dancelight_runtime::Runtime */ + /** Lookup884: dancelight_runtime::Runtime */ DancelightRuntimeRuntime: "Null", }; diff --git a/typescript-api/src/dancelight/interfaces/registry.ts b/typescript-api/src/dancelight/interfaces/registry.ts index 5b0e81a5f..af1cd63c0 100644 --- a/typescript-api/src/dancelight/interfaces/registry.ts +++ b/typescript-api/src/dancelight/interfaces/registry.ts @@ -161,6 +161,17 @@ import type { PalletOffencesEvent, PalletParametersCall, PalletParametersEvent, + PalletPooledStakingAllTargetPool, + PalletPooledStakingCall, + PalletPooledStakingCandidateEligibleCandidate, + PalletPooledStakingError, + PalletPooledStakingEvent, + PalletPooledStakingHoldReason, + PalletPooledStakingPendingOperationKey, + PalletPooledStakingPendingOperationQuery, + PalletPooledStakingPoolsKey, + PalletPooledStakingSharesOrStake, + PalletPooledStakingTargetPool, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, @@ -650,6 +661,17 @@ declare module "@polkadot/types/types/registry" { PalletOffencesEvent: PalletOffencesEvent; PalletParametersCall: PalletParametersCall; PalletParametersEvent: PalletParametersEvent; + PalletPooledStakingAllTargetPool: PalletPooledStakingAllTargetPool; + PalletPooledStakingCall: PalletPooledStakingCall; + PalletPooledStakingCandidateEligibleCandidate: PalletPooledStakingCandidateEligibleCandidate; + PalletPooledStakingError: PalletPooledStakingError; + PalletPooledStakingEvent: PalletPooledStakingEvent; + PalletPooledStakingHoldReason: PalletPooledStakingHoldReason; + PalletPooledStakingPendingOperationKey: PalletPooledStakingPendingOperationKey; + PalletPooledStakingPendingOperationQuery: PalletPooledStakingPendingOperationQuery; + PalletPooledStakingPoolsKey: PalletPooledStakingPoolsKey; + PalletPooledStakingSharesOrStake: PalletPooledStakingSharesOrStake; + PalletPooledStakingTargetPool: PalletPooledStakingTargetPool; PalletPreimageCall: PalletPreimageCall; PalletPreimageError: PalletPreimageError; PalletPreimageEvent: PalletPreimageEvent; diff --git a/typescript-api/src/dancelight/interfaces/types-lookup.ts b/typescript-api/src/dancelight/interfaces/types-lookup.ts index 30cba9bfc..240124e2a 100644 --- a/typescript-api/src/dancelight/interfaces/types-lookup.ts +++ b/typescript-api/src/dancelight/interfaces/types-lookup.ts @@ -707,7 +707,139 @@ declare module "@polkadot/types/lookup" { readonly type: "RewardedOrchestrator" | "RewardedContainer"; } - /** @name PalletTreasuryEvent (64) */ + /** @name PalletPooledStakingEvent (64) */ + interface PalletPooledStakingEvent extends Enum { + readonly isUpdatedCandidatePosition: boolean; + readonly asUpdatedCandidatePosition: { + readonly candidate: AccountId32; + readonly stake: u128; + readonly selfDelegation: u128; + readonly before: Option; + readonly after: Option; + } & Struct; + readonly isRequestedDelegate: boolean; + readonly asRequestedDelegate: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly pool: PalletPooledStakingTargetPool; + readonly pending: u128; + } & Struct; + readonly isExecutedDelegate: boolean; + readonly asExecutedDelegate: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly pool: PalletPooledStakingTargetPool; + readonly staked: u128; + readonly released: u128; + } & Struct; + readonly isRequestedUndelegate: boolean; + readonly asRequestedUndelegate: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly from: PalletPooledStakingTargetPool; + readonly pending: u128; + readonly released: u128; + } & Struct; + readonly isExecutedUndelegate: boolean; + readonly asExecutedUndelegate: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly released: u128; + } & Struct; + readonly isIncreasedStake: boolean; + readonly asIncreasedStake: { + readonly candidate: AccountId32; + readonly stakeDiff: u128; + } & Struct; + readonly isDecreasedStake: boolean; + readonly asDecreasedStake: { + readonly candidate: AccountId32; + readonly stakeDiff: u128; + } & Struct; + readonly isStakedAutoCompounding: boolean; + readonly asStakedAutoCompounding: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly shares: u128; + readonly stake: u128; + } & Struct; + readonly isUnstakedAutoCompounding: boolean; + readonly asUnstakedAutoCompounding: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly shares: u128; + readonly stake: u128; + } & Struct; + readonly isStakedManualRewards: boolean; + readonly asStakedManualRewards: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly shares: u128; + readonly stake: u128; + } & Struct; + readonly isUnstakedManualRewards: boolean; + readonly asUnstakedManualRewards: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly shares: u128; + readonly stake: u128; + } & Struct; + readonly isRewardedCollator: boolean; + readonly asRewardedCollator: { + readonly collator: AccountId32; + readonly autoCompoundingRewards: u128; + readonly manualClaimRewards: u128; + } & Struct; + readonly isRewardedDelegators: boolean; + readonly asRewardedDelegators: { + readonly collator: AccountId32; + readonly autoCompoundingRewards: u128; + readonly manualClaimRewards: u128; + } & Struct; + readonly isClaimedManualRewards: boolean; + readonly asClaimedManualRewards: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly rewards: u128; + } & Struct; + readonly isSwappedPool: boolean; + readonly asSwappedPool: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly sourcePool: PalletPooledStakingTargetPool; + readonly sourceShares: u128; + readonly sourceStake: u128; + readonly targetShares: u128; + readonly targetStake: u128; + readonly pendingLeaving: u128; + readonly released: u128; + } & Struct; + readonly type: + | "UpdatedCandidatePosition" + | "RequestedDelegate" + | "ExecutedDelegate" + | "RequestedUndelegate" + | "ExecutedUndelegate" + | "IncreasedStake" + | "DecreasedStake" + | "StakedAutoCompounding" + | "UnstakedAutoCompounding" + | "StakedManualRewards" + | "UnstakedManualRewards" + | "RewardedCollator" + | "RewardedDelegators" + | "ClaimedManualRewards" + | "SwappedPool"; + } + + /** @name PalletPooledStakingTargetPool (66) */ + interface PalletPooledStakingTargetPool extends Enum { + readonly isAutoCompounding: boolean; + readonly isManualRewards: boolean; + readonly type: "AutoCompounding" | "ManualRewards"; + } + + /** @name PalletTreasuryEvent (67) */ interface PalletTreasuryEvent extends Enum { readonly isSpending: boolean; readonly asSpending: { @@ -784,7 +916,7 @@ declare module "@polkadot/types/lookup" { | "SpendProcessed"; } - /** @name PalletConvictionVotingEvent (66) */ + /** @name PalletConvictionVotingEvent (69) */ interface PalletConvictionVotingEvent extends Enum { readonly isDelegated: boolean; readonly asDelegated: ITuple<[AccountId32, AccountId32]>; @@ -803,7 +935,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Delegated" | "Undelegated" | "Voted" | "VoteRemoved"; } - /** @name PalletConvictionVotingVoteAccountVote (67) */ + /** @name PalletConvictionVotingVoteAccountVote (70) */ interface PalletConvictionVotingVoteAccountVote extends Enum { readonly isStandard: boolean; readonly asStandard: { @@ -824,7 +956,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletReferendaEvent (69) */ + /** @name PalletReferendaEvent (72) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -928,7 +1060,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (71) */ + /** @name FrameSupportPreimagesBounded (74) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -944,7 +1076,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (73) */ + /** @name FrameSystemCall (76) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1005,7 +1137,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name PalletBabeCall (77) */ + /** @name PalletBabeCall (80) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -1024,7 +1156,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReportEquivocation" | "ReportEquivocationUnsigned" | "PlanConfigChange"; } - /** @name SpConsensusSlotsEquivocationProof (78) */ + /** @name SpConsensusSlotsEquivocationProof (81) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -1032,7 +1164,7 @@ declare module "@polkadot/types/lookup" { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (79) */ + /** @name SpRuntimeHeader (82) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -1041,17 +1173,17 @@ declare module "@polkadot/types/lookup" { readonly digest: SpRuntimeDigest; } - /** @name SpConsensusBabeAppPublic (81) */ + /** @name SpConsensusBabeAppPublic (84) */ interface SpConsensusBabeAppPublic extends U8aFixed {} - /** @name SpSessionMembershipProof (82) */ + /** @name SpSessionMembershipProof (85) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name SpConsensusBabeDigestsNextConfigDescriptor (83) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (86) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -1061,7 +1193,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V1"; } - /** @name SpConsensusBabeAllowedSlots (85) */ + /** @name SpConsensusBabeAllowedSlots (88) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -1069,7 +1201,7 @@ declare module "@polkadot/types/lookup" { readonly type: "PrimarySlots" | "PrimaryAndSecondaryPlainSlots" | "PrimaryAndSecondaryVRFSlots"; } - /** @name PalletTimestampCall (86) */ + /** @name PalletTimestampCall (89) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1078,7 +1210,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletBalancesCall (87) */ + /** @name PalletBalancesCall (90) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -1137,14 +1269,14 @@ declare module "@polkadot/types/lookup" { | "Burn"; } - /** @name PalletBalancesAdjustmentDirection (93) */ + /** @name PalletBalancesAdjustmentDirection (96) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletParametersCall (94) */ + /** @name PalletParametersCall (97) */ interface PalletParametersCall extends Enum { readonly isSetParameter: boolean; readonly asSetParameter: { @@ -1153,14 +1285,14 @@ declare module "@polkadot/types/lookup" { readonly type: "SetParameter"; } - /** @name DancelightRuntimeRuntimeParameters (95) */ + /** @name DancelightRuntimeRuntimeParameters (98) */ interface DancelightRuntimeRuntimeParameters extends Enum { readonly isPreimage: boolean; readonly asPreimage: DancelightRuntimeDynamicParamsPreimageParameters; readonly type: "Preimage"; } - /** @name DancelightRuntimeDynamicParamsPreimageParameters (96) */ + /** @name DancelightRuntimeDynamicParamsPreimageParameters (99) */ interface DancelightRuntimeDynamicParamsPreimageParameters extends Enum { readonly isBaseDeposit: boolean; readonly asBaseDeposit: ITuple<[DancelightRuntimeDynamicParamsPreimageBaseDeposit, Option]>; @@ -1169,7 +1301,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BaseDeposit" | "ByteDeposit"; } - /** @name PalletRegistrarCall (97) */ + /** @name PalletRegistrarCall (100) */ interface PalletRegistrarCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -1239,7 +1371,7 @@ declare module "@polkadot/types/lookup" { | "DeregisterWithRelayProof"; } - /** @name DpContainerChainGenesisDataContainerChainGenesisData (98) */ + /** @name DpContainerChainGenesisDataContainerChainGenesisData (101) */ interface DpContainerChainGenesisDataContainerChainGenesisData extends Struct { readonly storage: Vec; readonly name: Bytes; @@ -1249,42 +1381,42 @@ declare module "@polkadot/types/lookup" { readonly properties: DpContainerChainGenesisDataProperties; } - /** @name DpContainerChainGenesisDataContainerChainGenesisDataItem (100) */ + /** @name DpContainerChainGenesisDataContainerChainGenesisDataItem (103) */ interface DpContainerChainGenesisDataContainerChainGenesisDataItem extends Struct { readonly key: Bytes; readonly value: Bytes; } - /** @name DpContainerChainGenesisDataProperties (102) */ + /** @name DpContainerChainGenesisDataProperties (105) */ interface DpContainerChainGenesisDataProperties extends Struct { readonly tokenMetadata: DpContainerChainGenesisDataTokenMetadata; readonly isEthereum: bool; } - /** @name DpContainerChainGenesisDataTokenMetadata (103) */ + /** @name DpContainerChainGenesisDataTokenMetadata (106) */ interface DpContainerChainGenesisDataTokenMetadata extends Struct { readonly tokenSymbol: Bytes; readonly ss58Format: u32; readonly tokenDecimals: u32; } - /** @name TpTraitsSlotFrequency (107) */ + /** @name TpTraitsSlotFrequency (110) */ interface TpTraitsSlotFrequency extends Struct { readonly min: u32; readonly max: u32; } - /** @name TpTraitsParathreadParams (109) */ + /** @name TpTraitsParathreadParams (112) */ interface TpTraitsParathreadParams extends Struct { readonly slotFrequency: TpTraitsSlotFrequency; } - /** @name SpTrieStorageProof (110) */ + /** @name SpTrieStorageProof (113) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name SpRuntimeMultiSignature (112) */ + /** @name SpRuntimeMultiSignature (115) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: U8aFixed; @@ -1295,7 +1427,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ed25519" | "Sr25519" | "Ecdsa"; } - /** @name PalletConfigurationCall (115) */ + /** @name PalletConfigurationCall (118) */ interface PalletConfigurationCall extends Enum { readonly isSetMaxCollators: boolean; readonly asSetMaxCollators: { @@ -1350,7 +1482,7 @@ declare module "@polkadot/types/lookup" { | "SetBypassConsistencyCheck"; } - /** @name PalletInvulnerablesCall (117) */ + /** @name PalletInvulnerablesCall (120) */ interface PalletInvulnerablesCall extends Enum { readonly isAddInvulnerable: boolean; readonly asAddInvulnerable: { @@ -1363,13 +1495,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AddInvulnerable" | "RemoveInvulnerable"; } - /** @name PalletCollatorAssignmentCall (118) */ + /** @name PalletCollatorAssignmentCall (121) */ type PalletCollatorAssignmentCall = Null; - /** @name PalletAuthorityAssignmentCall (119) */ + /** @name PalletAuthorityAssignmentCall (122) */ type PalletAuthorityAssignmentCall = Null; - /** @name PalletAuthorNotingCall (120) */ + /** @name PalletAuthorNotingCall (123) */ interface PalletAuthorNotingCall extends Enum { readonly isSetLatestAuthorData: boolean; readonly asSetLatestAuthorData: { @@ -1389,7 +1521,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetLatestAuthorData" | "SetAuthor" | "KillAuthorData"; } - /** @name PalletServicesPaymentCall (121) */ + /** @name PalletServicesPaymentCall (124) */ interface PalletServicesPaymentCall extends Enum { readonly isPurchaseCredits: boolean; readonly asPurchaseCredits: { @@ -1436,7 +1568,7 @@ declare module "@polkadot/types/lookup" { | "SetMaxTip"; } - /** @name PalletDataPreserversCall (122) */ + /** @name PalletDataPreserversCall (125) */ interface PalletDataPreserversCall extends Enum { readonly isCreateProfile: boolean; readonly asCreateProfile: { @@ -1494,7 +1626,7 @@ declare module "@polkadot/types/lookup" { | "ForceStartAssignment"; } - /** @name PalletDataPreserversProfile (123) */ + /** @name PalletDataPreserversProfile (126) */ interface PalletDataPreserversProfile extends Struct { readonly url: Bytes; readonly paraIds: PalletDataPreserversParaIdsFilter; @@ -1502,7 +1634,7 @@ declare module "@polkadot/types/lookup" { readonly assignmentRequest: DancelightRuntimePreserversAssignmentPaymentRequest; } - /** @name PalletDataPreserversParaIdsFilter (125) */ + /** @name PalletDataPreserversParaIdsFilter (128) */ interface PalletDataPreserversParaIdsFilter extends Enum { readonly isAnyParaId: boolean; readonly isWhitelist: boolean; @@ -1512,7 +1644,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AnyParaId" | "Whitelist" | "Blacklist"; } - /** @name PalletDataPreserversProfileMode (129) */ + /** @name PalletDataPreserversProfileMode (132) */ interface PalletDataPreserversProfileMode extends Enum { readonly isBootnode: boolean; readonly isRpc: boolean; @@ -1522,25 +1654,25 @@ declare module "@polkadot/types/lookup" { readonly type: "Bootnode" | "Rpc"; } - /** @name DancelightRuntimePreserversAssignmentPaymentRequest (130) */ + /** @name DancelightRuntimePreserversAssignmentPaymentRequest (133) */ interface DancelightRuntimePreserversAssignmentPaymentRequest extends Enum { readonly isFree: boolean; readonly type: "Free"; } - /** @name DancelightRuntimePreserversAssignmentPaymentExtra (131) */ + /** @name DancelightRuntimePreserversAssignmentPaymentExtra (134) */ interface DancelightRuntimePreserversAssignmentPaymentExtra extends Enum { readonly isFree: boolean; readonly type: "Free"; } - /** @name DancelightRuntimePreserversAssignmentPaymentWitness (132) */ + /** @name DancelightRuntimePreserversAssignmentPaymentWitness (135) */ interface DancelightRuntimePreserversAssignmentPaymentWitness extends Enum { readonly isFree: boolean; readonly type: "Free"; } - /** @name PalletExternalValidatorsCall (133) */ + /** @name PalletExternalValidatorsCall (136) */ interface PalletExternalValidatorsCall extends Enum { readonly isSkipExternalValidators: boolean; readonly asSkipExternalValidators: { @@ -1561,7 +1693,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SkipExternalValidators" | "AddWhitelisted" | "RemoveWhitelisted" | "ForceEra"; } - /** @name PalletExternalValidatorSlashesCall (134) */ + /** @name PalletExternalValidatorSlashesCall (137) */ interface PalletExternalValidatorSlashesCall extends Enum { readonly isCancelDeferredSlash: boolean; readonly asCancelDeferredSlash: { @@ -1583,7 +1715,7 @@ declare module "@polkadot/types/lookup" { readonly type: "CancelDeferredSlash" | "ForceInjectSlash" | "RootTestSendMsgToEth"; } - /** @name PalletSessionCall (136) */ + /** @name PalletSessionCall (139) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -1594,7 +1726,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetKeys" | "PurgeKeys"; } - /** @name DancelightRuntimeSessionKeys (137) */ + /** @name DancelightRuntimeSessionKeys (140) */ interface DancelightRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; @@ -1605,22 +1737,22 @@ declare module "@polkadot/types/lookup" { readonly nimbus: NimbusPrimitivesNimbusCryptoPublic; } - /** @name PolkadotPrimitivesV8ValidatorAppPublic (138) */ + /** @name PolkadotPrimitivesV8ValidatorAppPublic (141) */ interface PolkadotPrimitivesV8ValidatorAppPublic extends U8aFixed {} - /** @name PolkadotPrimitivesV8AssignmentAppPublic (139) */ + /** @name PolkadotPrimitivesV8AssignmentAppPublic (142) */ interface PolkadotPrimitivesV8AssignmentAppPublic extends U8aFixed {} - /** @name SpAuthorityDiscoveryAppPublic (140) */ + /** @name SpAuthorityDiscoveryAppPublic (143) */ interface SpAuthorityDiscoveryAppPublic extends U8aFixed {} - /** @name SpConsensusBeefyEcdsaCryptoPublic (141) */ + /** @name SpConsensusBeefyEcdsaCryptoPublic (144) */ interface SpConsensusBeefyEcdsaCryptoPublic extends U8aFixed {} - /** @name NimbusPrimitivesNimbusCryptoPublic (143) */ + /** @name NimbusPrimitivesNimbusCryptoPublic (146) */ interface NimbusPrimitivesNimbusCryptoPublic extends U8aFixed {} - /** @name PalletGrandpaCall (144) */ + /** @name PalletGrandpaCall (147) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -1640,13 +1772,13 @@ declare module "@polkadot/types/lookup" { readonly type: "ReportEquivocation" | "ReportEquivocationUnsigned" | "NoteStalled"; } - /** @name SpConsensusGrandpaEquivocationProof (145) */ + /** @name SpConsensusGrandpaEquivocationProof (148) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (146) */ + /** @name SpConsensusGrandpaEquivocation (149) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -1655,7 +1787,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Prevote" | "Precommit"; } - /** @name FinalityGrandpaEquivocationPrevote (147) */ + /** @name FinalityGrandpaEquivocationPrevote (150) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -1663,16 +1795,16 @@ declare module "@polkadot/types/lookup" { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (148) */ + /** @name FinalityGrandpaPrevote (151) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (149) */ + /** @name SpConsensusGrandpaAppSignature (152) */ interface SpConsensusGrandpaAppSignature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (151) */ + /** @name FinalityGrandpaEquivocationPrecommit (154) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -1680,13 +1812,105 @@ declare module "@polkadot/types/lookup" { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (152) */ + /** @name FinalityGrandpaPrecommit (155) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletTreasuryCall (154) */ + /** @name PalletPooledStakingCall (157) */ + interface PalletPooledStakingCall extends Enum { + readonly isRebalanceHold: boolean; + readonly asRebalanceHold: { + readonly candidate: AccountId32; + readonly delegator: AccountId32; + readonly pool: PalletPooledStakingAllTargetPool; + } & Struct; + readonly isRequestDelegate: boolean; + readonly asRequestDelegate: { + readonly candidate: AccountId32; + readonly pool: PalletPooledStakingTargetPool; + readonly stake: u128; + } & Struct; + readonly isExecutePendingOperations: boolean; + readonly asExecutePendingOperations: { + readonly operations: Vec; + } & Struct; + readonly isRequestUndelegate: boolean; + readonly asRequestUndelegate: { + readonly candidate: AccountId32; + readonly pool: PalletPooledStakingTargetPool; + readonly amount: PalletPooledStakingSharesOrStake; + } & Struct; + readonly isClaimManualRewards: boolean; + readonly asClaimManualRewards: { + readonly pairs: Vec>; + } & Struct; + readonly isUpdateCandidatePosition: boolean; + readonly asUpdateCandidatePosition: { + readonly candidates: Vec; + } & Struct; + readonly isSwapPool: boolean; + readonly asSwapPool: { + readonly candidate: AccountId32; + readonly sourcePool: PalletPooledStakingTargetPool; + readonly amount: PalletPooledStakingSharesOrStake; + } & Struct; + readonly type: + | "RebalanceHold" + | "RequestDelegate" + | "ExecutePendingOperations" + | "RequestUndelegate" + | "ClaimManualRewards" + | "UpdateCandidatePosition" + | "SwapPool"; + } + + /** @name PalletPooledStakingAllTargetPool (158) */ + interface PalletPooledStakingAllTargetPool extends Enum { + readonly isJoining: boolean; + readonly isAutoCompounding: boolean; + readonly isManualRewards: boolean; + readonly isLeaving: boolean; + readonly type: "Joining" | "AutoCompounding" | "ManualRewards" | "Leaving"; + } + + /** @name PalletPooledStakingPendingOperationQuery (160) */ + interface PalletPooledStakingPendingOperationQuery extends Struct { + readonly delegator: AccountId32; + readonly operation: PalletPooledStakingPendingOperationKey; + } + + /** @name PalletPooledStakingPendingOperationKey (161) */ + interface PalletPooledStakingPendingOperationKey extends Enum { + readonly isJoiningAutoCompounding: boolean; + readonly asJoiningAutoCompounding: { + readonly candidate: AccountId32; + readonly at: u32; + } & Struct; + readonly isJoiningManualRewards: boolean; + readonly asJoiningManualRewards: { + readonly candidate: AccountId32; + readonly at: u32; + } & Struct; + readonly isLeaving: boolean; + readonly asLeaving: { + readonly candidate: AccountId32; + readonly at: u32; + } & Struct; + readonly type: "JoiningAutoCompounding" | "JoiningManualRewards" | "Leaving"; + } + + /** @name PalletPooledStakingSharesOrStake (162) */ + interface PalletPooledStakingSharesOrStake extends Enum { + readonly isShares: boolean; + readonly asShares: u128; + readonly isStake: boolean; + readonly asStake: u128; + readonly type: "Shares" | "Stake"; + } + + /** @name PalletTreasuryCall (165) */ interface PalletTreasuryCall extends Enum { readonly isSpendLocal: boolean; readonly asSpendLocal: { @@ -1719,7 +1943,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SpendLocal" | "RemoveApproval" | "Spend" | "Payout" | "CheckStatus" | "VoidSpend"; } - /** @name PalletConvictionVotingCall (156) */ + /** @name PalletConvictionVotingCall (166) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -1756,7 +1980,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingConviction (157) */ + /** @name PalletConvictionVotingConviction (167) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -1768,7 +1992,7 @@ declare module "@polkadot/types/lookup" { readonly type: "None" | "Locked1x" | "Locked2x" | "Locked3x" | "Locked4x" | "Locked5x" | "Locked6x"; } - /** @name PalletReferendaCall (159) */ + /** @name PalletReferendaCall (169) */ interface PalletReferendaCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -1821,7 +2045,7 @@ declare module "@polkadot/types/lookup" { | "SetMetadata"; } - /** @name DancelightRuntimeOriginCaller (160) */ + /** @name DancelightRuntimeOriginCaller (170) */ interface DancelightRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1835,7 +2059,7 @@ declare module "@polkadot/types/lookup" { readonly type: "System" | "Void" | "Origins" | "ParachainsOrigin" | "XcmPallet"; } - /** @name FrameSupportDispatchRawOrigin (161) */ + /** @name FrameSupportDispatchRawOrigin (171) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -1844,7 +2068,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name DancelightRuntimeGovernanceOriginsPalletCustomOriginsOrigin (162) */ + /** @name DancelightRuntimeGovernanceOriginsPalletCustomOriginsOrigin (172) */ interface DancelightRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum { readonly isStakingAdmin: boolean; readonly isTreasurer: boolean; @@ -1903,14 +2127,14 @@ declare module "@polkadot/types/lookup" { | "Fellowship9Dan"; } - /** @name PolkadotRuntimeParachainsOriginPalletOrigin (163) */ + /** @name PolkadotRuntimeParachainsOriginPalletOrigin (173) */ interface PolkadotRuntimeParachainsOriginPalletOrigin extends Enum { readonly isParachain: boolean; readonly asParachain: u32; readonly type: "Parachain"; } - /** @name PalletXcmOrigin (164) */ + /** @name PalletXcmOrigin (174) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -1919,13 +2143,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name StagingXcmV4Location (165) */ + /** @name StagingXcmV4Location (175) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (166) */ + /** @name StagingXcmV4Junctions (176) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -1947,7 +2171,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (168) */ + /** @name StagingXcmV4Junction (178) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -1996,7 +2220,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (170) */ + /** @name StagingXcmV4JunctionNetworkId (180) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2031,7 +2255,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (171) */ + /** @name XcmV3JunctionBodyId (181) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -2058,7 +2282,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (172) */ + /** @name XcmV3JunctionBodyPart (182) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2083,10 +2307,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name SpCoreVoid (180) */ + /** @name SpCoreVoid (190) */ type SpCoreVoid = Null; - /** @name FrameSupportScheduleDispatchTime (181) */ + /** @name FrameSupportScheduleDispatchTime (191) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -2095,7 +2319,7 @@ declare module "@polkadot/types/lookup" { readonly type: "At" | "After"; } - /** @name PalletRankedCollectiveCall (183) */ + /** @name PalletRankedCollectiveCall (193) */ interface PalletRankedCollectiveCall extends Enum { readonly isAddMember: boolean; readonly asAddMember: { @@ -2139,7 +2363,7 @@ declare module "@polkadot/types/lookup" { | "ExchangeMember"; } - /** @name PalletWhitelistCall (185) */ + /** @name PalletWhitelistCall (195) */ interface PalletWhitelistCall extends Enum { readonly isWhitelistCall: boolean; readonly asWhitelistCall: { @@ -2166,7 +2390,7 @@ declare module "@polkadot/types/lookup" { | "DispatchWhitelistedCallWithPreimage"; } - /** @name PolkadotRuntimeParachainsConfigurationPalletCall (186) */ + /** @name PolkadotRuntimeParachainsConfigurationPalletCall (196) */ interface PolkadotRuntimeParachainsConfigurationPalletCall extends Enum { readonly isSetValidationUpgradeCooldown: boolean; readonly asSetValidationUpgradeCooldown: { @@ -2412,16 +2636,16 @@ declare module "@polkadot/types/lookup" { | "SetSchedulerParams"; } - /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (187) */ + /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (197) */ interface PolkadotPrimitivesV8AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotPrimitivesV8ExecutorParams (188) */ + /** @name PolkadotPrimitivesV8ExecutorParams (198) */ interface PolkadotPrimitivesV8ExecutorParams extends Vec {} - /** @name PolkadotPrimitivesV8ExecutorParamsExecutorParam (190) */ + /** @name PolkadotPrimitivesV8ExecutorParamsExecutorParam (200) */ interface PolkadotPrimitivesV8ExecutorParamsExecutorParam extends Enum { readonly isMaxMemoryPages: boolean; readonly asMaxMemoryPages: u32; @@ -2446,26 +2670,26 @@ declare module "@polkadot/types/lookup" { | "WasmExtBulkMemory"; } - /** @name PolkadotPrimitivesV8PvfPrepKind (191) */ + /** @name PolkadotPrimitivesV8PvfPrepKind (201) */ interface PolkadotPrimitivesV8PvfPrepKind extends Enum { readonly isPrecheck: boolean; readonly isPrepare: boolean; readonly type: "Precheck" | "Prepare"; } - /** @name PolkadotPrimitivesV8PvfExecKind (192) */ + /** @name PolkadotPrimitivesV8PvfExecKind (202) */ interface PolkadotPrimitivesV8PvfExecKind extends Enum { readonly isBacking: boolean; readonly isApproval: boolean; readonly type: "Backing" | "Approval"; } - /** @name PolkadotPrimitivesV8ApprovalVotingParams (193) */ + /** @name PolkadotPrimitivesV8ApprovalVotingParams (203) */ interface PolkadotPrimitivesV8ApprovalVotingParams extends Struct { readonly maxApprovalCoalesceCount: u32; } - /** @name PolkadotPrimitivesV8SchedulerParams (194) */ + /** @name PolkadotPrimitivesV8SchedulerParams (204) */ interface PolkadotPrimitivesV8SchedulerParams extends Struct { readonly groupRotationFrequency: u32; readonly parasAvailabilityPeriod: u32; @@ -2480,13 +2704,13 @@ declare module "@polkadot/types/lookup" { readonly ttl: u32; } - /** @name PolkadotRuntimeParachainsSharedPalletCall (195) */ + /** @name PolkadotRuntimeParachainsSharedPalletCall (205) */ type PolkadotRuntimeParachainsSharedPalletCall = Null; - /** @name PolkadotRuntimeParachainsInclusionPalletCall (196) */ + /** @name PolkadotRuntimeParachainsInclusionPalletCall (206) */ type PolkadotRuntimeParachainsInclusionPalletCall = Null; - /** @name PolkadotRuntimeParachainsParasInherentPalletCall (197) */ + /** @name PolkadotRuntimeParachainsParasInherentPalletCall (207) */ interface PolkadotRuntimeParachainsParasInherentPalletCall extends Enum { readonly isEnter: boolean; readonly asEnter: { @@ -2495,7 +2719,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Enter"; } - /** @name PolkadotPrimitivesV8InherentData (198) */ + /** @name PolkadotPrimitivesV8InherentData (208) */ interface PolkadotPrimitivesV8InherentData extends Struct { readonly bitfields: Vec; readonly backedCandidates: Vec; @@ -2503,33 +2727,33 @@ declare module "@polkadot/types/lookup" { readonly parentHeader: SpRuntimeHeader; } - /** @name PolkadotPrimitivesV8SignedUncheckedSigned (200) */ + /** @name PolkadotPrimitivesV8SignedUncheckedSigned (210) */ interface PolkadotPrimitivesV8SignedUncheckedSigned extends Struct { readonly payload: BitVec; readonly validatorIndex: u32; readonly signature: PolkadotPrimitivesV8ValidatorAppSignature; } - /** @name BitvecOrderLsb0 (203) */ + /** @name BitvecOrderLsb0 (213) */ type BitvecOrderLsb0 = Null; - /** @name PolkadotPrimitivesV8ValidatorAppSignature (205) */ + /** @name PolkadotPrimitivesV8ValidatorAppSignature (215) */ interface PolkadotPrimitivesV8ValidatorAppSignature extends U8aFixed {} - /** @name PolkadotPrimitivesV8BackedCandidate (207) */ + /** @name PolkadotPrimitivesV8BackedCandidate (217) */ interface PolkadotPrimitivesV8BackedCandidate extends Struct { readonly candidate: PolkadotPrimitivesV8CommittedCandidateReceipt; readonly validityVotes: Vec; readonly validatorIndices: BitVec; } - /** @name PolkadotPrimitivesV8CommittedCandidateReceipt (208) */ + /** @name PolkadotPrimitivesV8CommittedCandidateReceipt (218) */ interface PolkadotPrimitivesV8CommittedCandidateReceipt extends Struct { readonly descriptor: PolkadotPrimitivesV8CandidateDescriptor; readonly commitments: PolkadotPrimitivesV8CandidateCommitments; } - /** @name PolkadotPrimitivesV8CandidateDescriptor (209) */ + /** @name PolkadotPrimitivesV8CandidateDescriptor (219) */ interface PolkadotPrimitivesV8CandidateDescriptor extends Struct { readonly paraId: u32; readonly relayParent: H256; @@ -2542,13 +2766,13 @@ declare module "@polkadot/types/lookup" { readonly validationCodeHash: H256; } - /** @name PolkadotPrimitivesV8CollatorAppPublic (210) */ + /** @name PolkadotPrimitivesV8CollatorAppPublic (220) */ interface PolkadotPrimitivesV8CollatorAppPublic extends U8aFixed {} - /** @name PolkadotPrimitivesV8CollatorAppSignature (211) */ + /** @name PolkadotPrimitivesV8CollatorAppSignature (221) */ interface PolkadotPrimitivesV8CollatorAppSignature extends U8aFixed {} - /** @name PolkadotPrimitivesV8CandidateCommitments (213) */ + /** @name PolkadotPrimitivesV8CandidateCommitments (223) */ interface PolkadotPrimitivesV8CandidateCommitments extends Struct { readonly upwardMessages: Vec; readonly horizontalMessages: Vec; @@ -2558,13 +2782,13 @@ declare module "@polkadot/types/lookup" { readonly hrmpWatermark: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (216) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (226) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name PolkadotPrimitivesV8ValidityAttestation (221) */ + /** @name PolkadotPrimitivesV8ValidityAttestation (231) */ interface PolkadotPrimitivesV8ValidityAttestation extends Enum { readonly isImplicit: boolean; readonly asImplicit: PolkadotPrimitivesV8ValidatorAppSignature; @@ -2573,7 +2797,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Implicit" | "Explicit"; } - /** @name PolkadotPrimitivesV8DisputeStatementSet (223) */ + /** @name PolkadotPrimitivesV8DisputeStatementSet (233) */ interface PolkadotPrimitivesV8DisputeStatementSet extends Struct { readonly candidateHash: H256; readonly session: u32; @@ -2582,7 +2806,7 @@ declare module "@polkadot/types/lookup" { >; } - /** @name PolkadotPrimitivesV8DisputeStatement (227) */ + /** @name PolkadotPrimitivesV8DisputeStatement (237) */ interface PolkadotPrimitivesV8DisputeStatement extends Enum { readonly isValid: boolean; readonly asValid: PolkadotPrimitivesV8ValidDisputeStatementKind; @@ -2591,7 +2815,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Valid" | "Invalid"; } - /** @name PolkadotPrimitivesV8ValidDisputeStatementKind (228) */ + /** @name PolkadotPrimitivesV8ValidDisputeStatementKind (238) */ interface PolkadotPrimitivesV8ValidDisputeStatementKind extends Enum { readonly isExplicit: boolean; readonly isBackingSeconded: boolean; @@ -2609,13 +2833,13 @@ declare module "@polkadot/types/lookup" { | "ApprovalCheckingMultipleCandidates"; } - /** @name PolkadotPrimitivesV8InvalidDisputeStatementKind (230) */ + /** @name PolkadotPrimitivesV8InvalidDisputeStatementKind (240) */ interface PolkadotPrimitivesV8InvalidDisputeStatementKind extends Enum { readonly isExplicit: boolean; readonly type: "Explicit"; } - /** @name PolkadotRuntimeParachainsParasPalletCall (231) */ + /** @name PolkadotRuntimeParachainsParasPalletCall (241) */ interface PolkadotRuntimeParachainsParasPalletCall extends Enum { readonly isForceSetCurrentCode: boolean; readonly asForceSetCurrentCode: { @@ -2672,7 +2896,7 @@ declare module "@polkadot/types/lookup" { | "ForceSetMostRecentContext"; } - /** @name PolkadotPrimitivesV8PvfCheckStatement (232) */ + /** @name PolkadotPrimitivesV8PvfCheckStatement (242) */ interface PolkadotPrimitivesV8PvfCheckStatement extends Struct { readonly accept: bool; readonly subject: H256; @@ -2680,7 +2904,7 @@ declare module "@polkadot/types/lookup" { readonly validatorIndex: u32; } - /** @name PolkadotRuntimeParachainsInitializerPalletCall (233) */ + /** @name PolkadotRuntimeParachainsInitializerPalletCall (243) */ interface PolkadotRuntimeParachainsInitializerPalletCall extends Enum { readonly isForceApprove: boolean; readonly asForceApprove: { @@ -2689,7 +2913,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ForceApprove"; } - /** @name PolkadotRuntimeParachainsHrmpPalletCall (234) */ + /** @name PolkadotRuntimeParachainsHrmpPalletCall (244) */ interface PolkadotRuntimeParachainsHrmpPalletCall extends Enum { readonly isHrmpInitOpenChannel: boolean; readonly asHrmpInitOpenChannel: { @@ -2759,19 +2983,19 @@ declare module "@polkadot/types/lookup" { | "EstablishChannelWithSystem"; } - /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (235) */ + /** @name PolkadotParachainPrimitivesPrimitivesHrmpChannelId (245) */ interface PolkadotParachainPrimitivesPrimitivesHrmpChannelId extends Struct { readonly sender: u32; readonly recipient: u32; } - /** @name PolkadotRuntimeParachainsDisputesPalletCall (236) */ + /** @name PolkadotRuntimeParachainsDisputesPalletCall (246) */ interface PolkadotRuntimeParachainsDisputesPalletCall extends Enum { readonly isForceUnfreeze: boolean; readonly type: "ForceUnfreeze"; } - /** @name PolkadotRuntimeParachainsDisputesSlashingPalletCall (237) */ + /** @name PolkadotRuntimeParachainsDisputesSlashingPalletCall (247) */ interface PolkadotRuntimeParachainsDisputesSlashingPalletCall extends Enum { readonly isReportDisputeLostUnsigned: boolean; readonly asReportDisputeLostUnsigned: { @@ -2781,7 +3005,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReportDisputeLostUnsigned"; } - /** @name PolkadotPrimitivesV8SlashingDisputeProof (238) */ + /** @name PolkadotPrimitivesV8SlashingDisputeProof (248) */ interface PolkadotPrimitivesV8SlashingDisputeProof extends Struct { readonly timeSlot: PolkadotPrimitivesV8SlashingDisputesTimeSlot; readonly kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind; @@ -2789,20 +3013,20 @@ declare module "@polkadot/types/lookup" { readonly validatorId: PolkadotPrimitivesV8ValidatorAppPublic; } - /** @name PolkadotPrimitivesV8SlashingDisputesTimeSlot (239) */ + /** @name PolkadotPrimitivesV8SlashingDisputesTimeSlot (249) */ interface PolkadotPrimitivesV8SlashingDisputesTimeSlot extends Struct { readonly sessionIndex: u32; readonly candidateHash: H256; } - /** @name PolkadotPrimitivesV8SlashingSlashingOffenceKind (240) */ + /** @name PolkadotPrimitivesV8SlashingSlashingOffenceKind (250) */ interface PolkadotPrimitivesV8SlashingSlashingOffenceKind extends Enum { readonly isForInvalid: boolean; readonly isAgainstValid: boolean; readonly type: "ForInvalid" | "AgainstValid"; } - /** @name PalletMessageQueueCall (241) */ + /** @name PalletMessageQueueCall (251) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -2819,7 +3043,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ReapPage" | "ExecuteOverweight"; } - /** @name DancelightRuntimeAggregateMessageOrigin (242) */ + /** @name DancelightRuntimeAggregateMessageOrigin (252) */ interface DancelightRuntimeAggregateMessageOrigin extends Enum { readonly isUmp: boolean; readonly asUmp: PolkadotRuntimeParachainsInclusionUmpQueueId; @@ -2830,17 +3054,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Ump" | "Snowbridge" | "SnowbridgeTanssi"; } - /** @name PolkadotRuntimeParachainsInclusionUmpQueueId (243) */ + /** @name PolkadotRuntimeParachainsInclusionUmpQueueId (253) */ interface PolkadotRuntimeParachainsInclusionUmpQueueId extends Enum { readonly isPara: boolean; readonly asPara: u32; readonly type: "Para"; } - /** @name SnowbridgeCoreChannelId (244) */ + /** @name SnowbridgeCoreChannelId (254) */ interface SnowbridgeCoreChannelId extends U8aFixed {} - /** @name PolkadotRuntimeParachainsOnDemandPalletCall (245) */ + /** @name PolkadotRuntimeParachainsOnDemandPalletCall (255) */ interface PolkadotRuntimeParachainsOnDemandPalletCall extends Enum { readonly isPlaceOrderAllowDeath: boolean; readonly asPlaceOrderAllowDeath: { @@ -2855,7 +3079,7 @@ declare module "@polkadot/types/lookup" { readonly type: "PlaceOrderAllowDeath" | "PlaceOrderKeepAlive"; } - /** @name PolkadotRuntimeCommonParasRegistrarPalletCall (246) */ + /** @name PolkadotRuntimeCommonParasRegistrarPalletCall (256) */ interface PolkadotRuntimeCommonParasRegistrarPalletCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -2911,7 +3135,7 @@ declare module "@polkadot/types/lookup" { | "SetCurrentHead"; } - /** @name PalletUtilityCall (247) */ + /** @name PalletUtilityCall (257) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -2943,7 +3167,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Batch" | "AsDerivative" | "BatchAll" | "DispatchAs" | "ForceBatch" | "WithWeight"; } - /** @name PalletIdentityCall (249) */ + /** @name PalletIdentityCall (259) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -3065,7 +3289,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (250) */ + /** @name PalletIdentityLegacyIdentityInfo (260) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -3078,7 +3302,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (287) */ + /** @name PalletIdentityJudgement (297) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -3091,7 +3315,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unknown" | "FeePaid" | "Reasonable" | "KnownGood" | "OutOfDate" | "LowQuality" | "Erroneous"; } - /** @name PalletSchedulerCall (290) */ + /** @name PalletSchedulerCall (300) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -3165,7 +3389,7 @@ declare module "@polkadot/types/lookup" { | "CancelRetryNamed"; } - /** @name PalletProxyCall (293) */ + /** @name PalletProxyCall (303) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -3235,7 +3459,7 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name DancelightRuntimeProxyType (295) */ + /** @name DancelightRuntimeProxyType (305) */ interface DancelightRuntimeProxyType extends Enum { readonly isAny: boolean; readonly isNonTransfer: boolean; @@ -3256,7 +3480,7 @@ declare module "@polkadot/types/lookup" { | "SudoRegistrar"; } - /** @name PalletMultisigCall (296) */ + /** @name PalletMultisigCall (306) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -3289,13 +3513,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMultisigTimepoint (298) */ + /** @name PalletMultisigTimepoint (308) */ interface PalletMultisigTimepoint extends Struct { readonly height: u32; readonly index: u32; } - /** @name PalletPreimageCall (299) */ + /** @name PalletPreimageCall (309) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -3320,7 +3544,7 @@ declare module "@polkadot/types/lookup" { readonly type: "NotePreimage" | "UnnotePreimage" | "RequestPreimage" | "UnrequestPreimage" | "EnsureUpdated"; } - /** @name PalletAssetRateCall (301) */ + /** @name PalletAssetRateCall (311) */ interface PalletAssetRateCall extends Enum { readonly isCreate: boolean; readonly asCreate: { @@ -3339,7 +3563,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Create" | "Update" | "Remove"; } - /** @name PalletXcmCall (303) */ + /** @name PalletXcmCall (313) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -3442,7 +3666,7 @@ declare module "@polkadot/types/lookup" { | "TransferAssetsUsingTypeAndThen"; } - /** @name XcmVersionedLocation (304) */ + /** @name XcmVersionedLocation (314) */ interface XcmVersionedLocation extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiLocation; @@ -3453,13 +3677,13 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2MultiLocation (305) */ + /** @name XcmV2MultiLocation (315) */ interface XcmV2MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV2MultilocationJunctions; } - /** @name XcmV2MultilocationJunctions (306) */ + /** @name XcmV2MultilocationJunctions (316) */ interface XcmV2MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3496,7 +3720,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV2Junction (307) */ + /** @name XcmV2Junction (317) */ interface XcmV2Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3539,7 +3763,7 @@ declare module "@polkadot/types/lookup" { | "Plurality"; } - /** @name XcmV2NetworkId (308) */ + /** @name XcmV2NetworkId (318) */ interface XcmV2NetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; @@ -3549,7 +3773,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Any" | "Named" | "Polkadot" | "Kusama"; } - /** @name XcmV2BodyId (310) */ + /** @name XcmV2BodyId (320) */ interface XcmV2BodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; @@ -3576,7 +3800,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV2BodyPart (311) */ + /** @name XcmV2BodyPart (321) */ interface XcmV2BodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -3601,13 +3825,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name StagingXcmV3MultiLocation (312) */ + /** @name StagingXcmV3MultiLocation (322) */ interface StagingXcmV3MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV3Junctions; } - /** @name XcmV3Junctions (313) */ + /** @name XcmV3Junctions (323) */ interface XcmV3Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -3644,7 +3868,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name XcmV3Junction (314) */ + /** @name XcmV3Junction (324) */ interface XcmV3Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -3693,7 +3917,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name XcmV3JunctionNetworkId (316) */ + /** @name XcmV3JunctionNetworkId (326) */ interface XcmV3JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -3728,7 +3952,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmVersionedXcm (317) */ + /** @name XcmVersionedXcm (327) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -3739,10 +3963,10 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2Xcm (318) */ + /** @name XcmV2Xcm (328) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (320) */ + /** @name XcmV2Instruction (330) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -3890,16 +4114,16 @@ declare module "@polkadot/types/lookup" { | "UnsubscribeVersion"; } - /** @name XcmV2MultiassetMultiAssets (321) */ + /** @name XcmV2MultiassetMultiAssets (331) */ interface XcmV2MultiassetMultiAssets extends Vec {} - /** @name XcmV2MultiAsset (323) */ + /** @name XcmV2MultiAsset (333) */ interface XcmV2MultiAsset extends Struct { readonly id: XcmV2MultiassetAssetId; readonly fun: XcmV2MultiassetFungibility; } - /** @name XcmV2MultiassetAssetId (324) */ + /** @name XcmV2MultiassetAssetId (334) */ interface XcmV2MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV2MultiLocation; @@ -3908,7 +4132,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV2MultiassetFungibility (325) */ + /** @name XcmV2MultiassetFungibility (335) */ interface XcmV2MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -3917,7 +4141,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2MultiassetAssetInstance (326) */ + /** @name XcmV2MultiassetAssetInstance (336) */ interface XcmV2MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -3935,7 +4159,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32" | "Blob"; } - /** @name XcmV2Response (327) */ + /** @name XcmV2Response (337) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -3947,7 +4171,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version"; } - /** @name XcmV2TraitsError (330) */ + /** @name XcmV2TraitsError (340) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4006,7 +4230,7 @@ declare module "@polkadot/types/lookup" { | "WeightNotComputable"; } - /** @name XcmV2OriginKind (331) */ + /** @name XcmV2OriginKind (341) */ interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -4015,12 +4239,12 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmDoubleEncoded (332) */ + /** @name XcmDoubleEncoded (342) */ interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name XcmV2MultiassetMultiAssetFilter (333) */ + /** @name XcmV2MultiassetMultiAssetFilter (343) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -4029,7 +4253,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV2MultiassetWildMultiAsset (334) */ + /** @name XcmV2MultiassetWildMultiAsset (344) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4040,14 +4264,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf"; } - /** @name XcmV2MultiassetWildFungibility (335) */ + /** @name XcmV2MultiassetWildFungibility (345) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2WeightLimit (336) */ + /** @name XcmV2WeightLimit (346) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4055,10 +4279,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmV3Xcm (337) */ + /** @name XcmV3Xcm (347) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (339) */ + /** @name XcmV3Instruction (349) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -4288,16 +4512,16 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name XcmV3MultiassetMultiAssets (340) */ + /** @name XcmV3MultiassetMultiAssets (350) */ interface XcmV3MultiassetMultiAssets extends Vec {} - /** @name XcmV3MultiAsset (342) */ + /** @name XcmV3MultiAsset (352) */ interface XcmV3MultiAsset extends Struct { readonly id: XcmV3MultiassetAssetId; readonly fun: XcmV3MultiassetFungibility; } - /** @name XcmV3MultiassetAssetId (343) */ + /** @name XcmV3MultiassetAssetId (353) */ interface XcmV3MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: StagingXcmV3MultiLocation; @@ -4306,7 +4530,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Concrete" | "Abstract"; } - /** @name XcmV3MultiassetFungibility (344) */ + /** @name XcmV3MultiassetFungibility (354) */ interface XcmV3MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -4315,7 +4539,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3MultiassetAssetInstance (345) */ + /** @name XcmV3MultiassetAssetInstance (355) */ interface XcmV3MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -4331,7 +4555,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name XcmV3Response (346) */ + /** @name XcmV3Response (356) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4347,7 +4571,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version" | "PalletsInfo" | "DispatchResult"; } - /** @name XcmV3TraitsError (349) */ + /** @name XcmV3TraitsError (359) */ interface XcmV3TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4434,7 +4658,7 @@ declare module "@polkadot/types/lookup" { | "ExceedsStackLimit"; } - /** @name XcmV3PalletInfo (351) */ + /** @name XcmV3PalletInfo (361) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4444,7 +4668,7 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3MaybeErrorCode (354) */ + /** @name XcmV3MaybeErrorCode (364) */ interface XcmV3MaybeErrorCode extends Enum { readonly isSuccess: boolean; readonly isError: boolean; @@ -4454,7 +4678,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Success" | "Error" | "TruncatedError"; } - /** @name XcmV3OriginKind (357) */ + /** @name XcmV3OriginKind (367) */ interface XcmV3OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -4463,14 +4687,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmV3QueryResponseInfo (358) */ + /** @name XcmV3QueryResponseInfo (368) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (359) */ + /** @name XcmV3MultiassetMultiAssetFilter (369) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4479,7 +4703,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV3MultiassetWildMultiAsset (360) */ + /** @name XcmV3MultiassetWildMultiAsset (370) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4498,14 +4722,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name XcmV3MultiassetWildFungibility (361) */ + /** @name XcmV3MultiassetWildFungibility (371) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV3WeightLimit (362) */ + /** @name XcmV3WeightLimit (372) */ interface XcmV3WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4513,10 +4737,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name StagingXcmV4Xcm (363) */ + /** @name StagingXcmV4Xcm (373) */ interface StagingXcmV4Xcm extends Vec {} - /** @name StagingXcmV4Instruction (365) */ + /** @name StagingXcmV4Instruction (375) */ interface StagingXcmV4Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: StagingXcmV4AssetAssets; @@ -4746,19 +4970,19 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name StagingXcmV4AssetAssets (366) */ + /** @name StagingXcmV4AssetAssets (376) */ interface StagingXcmV4AssetAssets extends Vec {} - /** @name StagingXcmV4Asset (368) */ + /** @name StagingXcmV4Asset (378) */ interface StagingXcmV4Asset extends Struct { readonly id: StagingXcmV4AssetAssetId; readonly fun: StagingXcmV4AssetFungibility; } - /** @name StagingXcmV4AssetAssetId (369) */ + /** @name StagingXcmV4AssetAssetId (379) */ interface StagingXcmV4AssetAssetId extends StagingXcmV4Location {} - /** @name StagingXcmV4AssetFungibility (370) */ + /** @name StagingXcmV4AssetFungibility (380) */ interface StagingXcmV4AssetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -4767,7 +4991,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Fungible" | "NonFungible"; } - /** @name StagingXcmV4AssetAssetInstance (371) */ + /** @name StagingXcmV4AssetAssetInstance (381) */ interface StagingXcmV4AssetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -4783,7 +5007,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Undefined" | "Index" | "Array4" | "Array8" | "Array16" | "Array32"; } - /** @name StagingXcmV4Response (372) */ + /** @name StagingXcmV4Response (382) */ interface StagingXcmV4Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4799,7 +5023,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version" | "PalletsInfo" | "DispatchResult"; } - /** @name StagingXcmV4PalletInfo (374) */ + /** @name StagingXcmV4PalletInfo (384) */ interface StagingXcmV4PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4809,14 +5033,14 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name StagingXcmV4QueryResponseInfo (378) */ + /** @name StagingXcmV4QueryResponseInfo (388) */ interface StagingXcmV4QueryResponseInfo extends Struct { readonly destination: StagingXcmV4Location; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name StagingXcmV4AssetAssetFilter (379) */ + /** @name StagingXcmV4AssetAssetFilter (389) */ interface StagingXcmV4AssetAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: StagingXcmV4AssetAssets; @@ -4825,7 +5049,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name StagingXcmV4AssetWildAsset (380) */ + /** @name StagingXcmV4AssetWildAsset (390) */ interface StagingXcmV4AssetWildAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4844,14 +5068,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name StagingXcmV4AssetWildFungibility (381) */ + /** @name StagingXcmV4AssetWildFungibility (391) */ interface StagingXcmV4AssetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmVersionedAssets (382) */ + /** @name XcmVersionedAssets (392) */ interface XcmVersionedAssets extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiassetMultiAssets; @@ -4862,7 +5086,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name StagingXcmExecutorAssetTransferTransferType (394) */ + /** @name StagingXcmExecutorAssetTransferTransferType (404) */ interface StagingXcmExecutorAssetTransferTransferType extends Enum { readonly isTeleport: boolean; readonly isLocalReserve: boolean; @@ -4872,7 +5096,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve"; } - /** @name XcmVersionedAssetId (395) */ + /** @name XcmVersionedAssetId (405) */ interface XcmVersionedAssetId extends Enum { readonly isV3: boolean; readonly asV3: XcmV3MultiassetAssetId; @@ -4881,7 +5105,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V3" | "V4"; } - /** @name SnowbridgePalletInboundQueueCall (396) */ + /** @name SnowbridgePalletInboundQueueCall (406) */ interface SnowbridgePalletInboundQueueCall extends Enum { readonly isSubmit: boolean; readonly asSubmit: { @@ -4894,26 +5118,26 @@ declare module "@polkadot/types/lookup" { readonly type: "Submit" | "SetOperatingMode"; } - /** @name SnowbridgeCoreInboundMessage (397) */ + /** @name SnowbridgeCoreInboundMessage (407) */ interface SnowbridgeCoreInboundMessage extends Struct { readonly eventLog: SnowbridgeCoreInboundLog; readonly proof: SnowbridgeCoreInboundProof; } - /** @name SnowbridgeCoreInboundLog (398) */ + /** @name SnowbridgeCoreInboundLog (408) */ interface SnowbridgeCoreInboundLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name SnowbridgeCoreInboundProof (400) */ + /** @name SnowbridgeCoreInboundProof (410) */ interface SnowbridgeCoreInboundProof extends Struct { readonly receiptProof: ITuple<[Vec, Vec]>; readonly executionProof: SnowbridgeBeaconPrimitivesExecutionProof; } - /** @name SnowbridgeBeaconPrimitivesExecutionProof (402) */ + /** @name SnowbridgeBeaconPrimitivesExecutionProof (412) */ interface SnowbridgeBeaconPrimitivesExecutionProof extends Struct { readonly header: SnowbridgeBeaconPrimitivesBeaconHeader; readonly ancestryProof: Option; @@ -4921,7 +5145,7 @@ declare module "@polkadot/types/lookup" { readonly executionBranch: Vec; } - /** @name SnowbridgeBeaconPrimitivesBeaconHeader (403) */ + /** @name SnowbridgeBeaconPrimitivesBeaconHeader (413) */ interface SnowbridgeBeaconPrimitivesBeaconHeader extends Struct { readonly slot: u64; readonly proposerIndex: u64; @@ -4930,13 +5154,13 @@ declare module "@polkadot/types/lookup" { readonly bodyRoot: H256; } - /** @name SnowbridgeBeaconPrimitivesAncestryProof (405) */ + /** @name SnowbridgeBeaconPrimitivesAncestryProof (415) */ interface SnowbridgeBeaconPrimitivesAncestryProof extends Struct { readonly headerBranch: Vec; readonly finalizedBlockRoot: H256; } - /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (406) */ + /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (416) */ interface SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader extends Enum { readonly isCapella: boolean; readonly asCapella: SnowbridgeBeaconPrimitivesExecutionPayloadHeader; @@ -4945,7 +5169,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Capella" | "Deneb"; } - /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (407) */ + /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (417) */ interface SnowbridgeBeaconPrimitivesExecutionPayloadHeader extends Struct { readonly parentHash: H256; readonly feeRecipient: H160; @@ -4964,7 +5188,7 @@ declare module "@polkadot/types/lookup" { readonly withdrawalsRoot: H256; } - /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (410) */ + /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (420) */ interface SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader extends Struct { readonly parentHash: H256; readonly feeRecipient: H160; @@ -4985,14 +5209,14 @@ declare module "@polkadot/types/lookup" { readonly excessBlobGas: u64; } - /** @name SnowbridgeCoreOperatingModeBasicOperatingMode (411) */ + /** @name SnowbridgeCoreOperatingModeBasicOperatingMode (421) */ interface SnowbridgeCoreOperatingModeBasicOperatingMode extends Enum { readonly isNormal: boolean; readonly isHalted: boolean; readonly type: "Normal" | "Halted"; } - /** @name SnowbridgePalletOutboundQueueCall (412) */ + /** @name SnowbridgePalletOutboundQueueCall (422) */ interface SnowbridgePalletOutboundQueueCall extends Enum { readonly isSetOperatingMode: boolean; readonly asSetOperatingMode: { @@ -5001,7 +5225,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetOperatingMode"; } - /** @name SnowbridgePalletSystemCall (413) */ + /** @name SnowbridgePalletSystemCall (423) */ interface SnowbridgePalletSystemCall extends Enum { readonly isUpgrade: boolean; readonly asUpgrade: { @@ -5067,20 +5291,20 @@ declare module "@polkadot/types/lookup" { | "RegisterToken"; } - /** @name SnowbridgeCoreOutboundV1Initializer (415) */ + /** @name SnowbridgeCoreOutboundV1Initializer (425) */ interface SnowbridgeCoreOutboundV1Initializer extends Struct { readonly params: Bytes; readonly maximumRequiredGas: u64; } - /** @name SnowbridgeCoreOutboundV1OperatingMode (416) */ + /** @name SnowbridgeCoreOutboundV1OperatingMode (426) */ interface SnowbridgeCoreOutboundV1OperatingMode extends Enum { readonly isNormal: boolean; readonly isRejectingOutboundMessages: boolean; readonly type: "Normal" | "RejectingOutboundMessages"; } - /** @name SnowbridgeCorePricingPricingParameters (417) */ + /** @name SnowbridgeCorePricingPricingParameters (427) */ interface SnowbridgeCorePricingPricingParameters extends Struct { readonly exchangeRate: u128; readonly rewards: SnowbridgeCorePricingRewards; @@ -5088,20 +5312,20 @@ declare module "@polkadot/types/lookup" { readonly multiplier: u128; } - /** @name SnowbridgeCorePricingRewards (418) */ + /** @name SnowbridgeCorePricingRewards (428) */ interface SnowbridgeCorePricingRewards extends Struct { readonly local: u128; readonly remote: U256; } - /** @name SnowbridgeCoreAssetMetadata (419) */ + /** @name SnowbridgeCoreAssetMetadata (429) */ interface SnowbridgeCoreAssetMetadata extends Struct { readonly name: Bytes; readonly symbol: Bytes; readonly decimals: u8; } - /** @name PalletMigrationsCall (420) */ + /** @name PalletMigrationsCall (430) */ interface PalletMigrationsCall extends Enum { readonly isForceSetCursor: boolean; readonly asForceSetCursor: { @@ -5121,7 +5345,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ForceSetCursor" | "ForceSetActiveCursor" | "ForceOnboardMbms" | "ClearHistoric"; } - /** @name PalletMigrationsMigrationCursor (422) */ + /** @name PalletMigrationsMigrationCursor (432) */ interface PalletMigrationsMigrationCursor extends Enum { readonly isActive: boolean; readonly asActive: PalletMigrationsActiveCursor; @@ -5129,14 +5353,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Active" | "Stuck"; } - /** @name PalletMigrationsActiveCursor (424) */ + /** @name PalletMigrationsActiveCursor (434) */ interface PalletMigrationsActiveCursor extends Struct { readonly index: u32; readonly innerCursor: Option; readonly startedAt: u32; } - /** @name PalletMigrationsHistoricCleanupSelector (426) */ + /** @name PalletMigrationsHistoricCleanupSelector (436) */ interface PalletMigrationsHistoricCleanupSelector extends Enum { readonly isSpecific: boolean; readonly asSpecific: Vec; @@ -5148,7 +5372,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Specific" | "Wildcard"; } - /** @name PalletBeefyCall (429) */ + /** @name PalletBeefyCall (439) */ interface PalletBeefyCall extends Enum { readonly isReportDoubleVoting: boolean; readonly asReportDoubleVoting: { @@ -5194,40 +5418,40 @@ declare module "@polkadot/types/lookup" { | "ReportFutureBlockVotingUnsigned"; } - /** @name SpConsensusBeefyDoubleVotingProof (430) */ + /** @name SpConsensusBeefyDoubleVotingProof (440) */ interface SpConsensusBeefyDoubleVotingProof extends Struct { readonly first: SpConsensusBeefyVoteMessage; readonly second: SpConsensusBeefyVoteMessage; } - /** @name SpConsensusBeefyEcdsaCryptoSignature (431) */ + /** @name SpConsensusBeefyEcdsaCryptoSignature (441) */ interface SpConsensusBeefyEcdsaCryptoSignature extends U8aFixed {} - /** @name SpConsensusBeefyVoteMessage (432) */ + /** @name SpConsensusBeefyVoteMessage (442) */ interface SpConsensusBeefyVoteMessage extends Struct { readonly commitment: SpConsensusBeefyCommitment; readonly id: SpConsensusBeefyEcdsaCryptoPublic; readonly signature: SpConsensusBeefyEcdsaCryptoSignature; } - /** @name SpConsensusBeefyCommitment (433) */ + /** @name SpConsensusBeefyCommitment (443) */ interface SpConsensusBeefyCommitment extends Struct { readonly payload: SpConsensusBeefyPayload; readonly blockNumber: u32; readonly validatorSetId: u64; } - /** @name SpConsensusBeefyPayload (434) */ + /** @name SpConsensusBeefyPayload (444) */ interface SpConsensusBeefyPayload extends Vec> {} - /** @name SpConsensusBeefyForkVotingProof (437) */ + /** @name SpConsensusBeefyForkVotingProof (447) */ interface SpConsensusBeefyForkVotingProof extends Struct { readonly vote: SpConsensusBeefyVoteMessage; readonly ancestryProof: SpMmrPrimitivesAncestryProof; readonly header: SpRuntimeHeader; } - /** @name SpMmrPrimitivesAncestryProof (438) */ + /** @name SpMmrPrimitivesAncestryProof (448) */ interface SpMmrPrimitivesAncestryProof extends Struct { readonly prevPeaks: Vec; readonly prevLeafCount: u64; @@ -5235,12 +5459,12 @@ declare module "@polkadot/types/lookup" { readonly items: Vec>; } - /** @name SpConsensusBeefyFutureBlockVotingProof (441) */ + /** @name SpConsensusBeefyFutureBlockVotingProof (451) */ interface SpConsensusBeefyFutureBlockVotingProof extends Struct { readonly vote: SpConsensusBeefyVoteMessage; } - /** @name SnowbridgePalletEthereumClientCall (442) */ + /** @name SnowbridgePalletEthereumClientCall (452) */ interface SnowbridgePalletEthereumClientCall extends Enum { readonly isForceCheckpoint: boolean; readonly asForceCheckpoint: { @@ -5257,7 +5481,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ForceCheckpoint" | "Submit" | "SetOperatingMode"; } - /** @name SnowbridgeBeaconPrimitivesUpdatesCheckpointUpdate (443) */ + /** @name SnowbridgeBeaconPrimitivesUpdatesCheckpointUpdate (453) */ interface SnowbridgeBeaconPrimitivesUpdatesCheckpointUpdate extends Struct { readonly header: SnowbridgeBeaconPrimitivesBeaconHeader; readonly currentSyncCommittee: SnowbridgeBeaconPrimitivesSyncCommittee; @@ -5267,16 +5491,16 @@ declare module "@polkadot/types/lookup" { readonly blockRootsBranch: Vec; } - /** @name SnowbridgeBeaconPrimitivesSyncCommittee (444) */ + /** @name SnowbridgeBeaconPrimitivesSyncCommittee (454) */ interface SnowbridgeBeaconPrimitivesSyncCommittee extends Struct { readonly pubkeys: Vec; readonly aggregatePubkey: SnowbridgeBeaconPrimitivesPublicKey; } - /** @name SnowbridgeBeaconPrimitivesPublicKey (446) */ + /** @name SnowbridgeBeaconPrimitivesPublicKey (456) */ interface SnowbridgeBeaconPrimitivesPublicKey extends U8aFixed {} - /** @name SnowbridgeBeaconPrimitivesUpdatesUpdate (448) */ + /** @name SnowbridgeBeaconPrimitivesUpdatesUpdate (458) */ interface SnowbridgeBeaconPrimitivesUpdatesUpdate extends Struct { readonly attestedHeader: SnowbridgeBeaconPrimitivesBeaconHeader; readonly syncAggregate: SnowbridgeBeaconPrimitivesSyncAggregate; @@ -5288,22 +5512,22 @@ declare module "@polkadot/types/lookup" { readonly blockRootsBranch: Vec; } - /** @name SnowbridgeBeaconPrimitivesSyncAggregate (449) */ + /** @name SnowbridgeBeaconPrimitivesSyncAggregate (459) */ interface SnowbridgeBeaconPrimitivesSyncAggregate extends Struct { readonly syncCommitteeBits: U8aFixed; readonly syncCommitteeSignature: SnowbridgeBeaconPrimitivesSignature; } - /** @name SnowbridgeBeaconPrimitivesSignature (450) */ + /** @name SnowbridgeBeaconPrimitivesSignature (460) */ interface SnowbridgeBeaconPrimitivesSignature extends U8aFixed {} - /** @name SnowbridgeBeaconPrimitivesUpdatesNextSyncCommitteeUpdate (453) */ + /** @name SnowbridgeBeaconPrimitivesUpdatesNextSyncCommitteeUpdate (463) */ interface SnowbridgeBeaconPrimitivesUpdatesNextSyncCommitteeUpdate extends Struct { readonly nextSyncCommittee: SnowbridgeBeaconPrimitivesSyncCommittee; readonly nextSyncCommitteeBranch: Vec; } - /** @name PolkadotRuntimeCommonParasSudoWrapperPalletCall (454) */ + /** @name PolkadotRuntimeCommonParasSudoWrapperPalletCall (464) */ interface PolkadotRuntimeCommonParasSudoWrapperPalletCall extends Enum { readonly isSudoScheduleParaInitialize: boolean; readonly asSudoScheduleParaInitialize: { @@ -5343,14 +5567,14 @@ declare module "@polkadot/types/lookup" { | "SudoEstablishHrmpChannel"; } - /** @name PolkadotRuntimeParachainsParasParaGenesisArgs (455) */ + /** @name PolkadotRuntimeParachainsParasParaGenesisArgs (465) */ interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct { readonly genesisHead: Bytes; readonly validationCode: Bytes; readonly paraKind: bool; } - /** @name PalletRootTestingCall (456) */ + /** @name PalletRootTestingCall (466) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -5360,7 +5584,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletSudoCall (457) */ + /** @name PalletSudoCall (467) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -5384,17 +5608,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Sudo" | "SudoUncheckedWeight" | "SetKey" | "SudoAs" | "RemoveKey"; } - /** @name SpRuntimeBlakeTwo256 (458) */ + /** @name SpRuntimeBlakeTwo256 (468) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletConvictionVotingTally (460) */ + /** @name PalletConvictionVotingTally (470) */ interface PalletConvictionVotingTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly support: u128; } - /** @name PalletRankedCollectiveEvent (461) */ + /** @name PalletRankedCollectiveEvent (471) */ interface PalletRankedCollectiveEvent extends Enum { readonly isMemberAdded: boolean; readonly asMemberAdded: { @@ -5425,7 +5649,7 @@ declare module "@polkadot/types/lookup" { readonly type: "MemberAdded" | "RankChanged" | "MemberRemoved" | "Voted" | "MemberExchanged"; } - /** @name PalletRankedCollectiveVoteRecord (462) */ + /** @name PalletRankedCollectiveVoteRecord (472) */ interface PalletRankedCollectiveVoteRecord extends Enum { readonly isAye: boolean; readonly asAye: u32; @@ -5434,14 +5658,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Aye" | "Nay"; } - /** @name PalletRankedCollectiveTally (463) */ + /** @name PalletRankedCollectiveTally (473) */ interface PalletRankedCollectiveTally extends Struct { readonly bareAyes: u32; readonly ayes: u32; readonly nays: u32; } - /** @name PalletWhitelistEvent (465) */ + /** @name PalletWhitelistEvent (475) */ interface PalletWhitelistEvent extends Enum { readonly isCallWhitelisted: boolean; readonly asCallWhitelisted: { @@ -5459,19 +5683,19 @@ declare module "@polkadot/types/lookup" { readonly type: "CallWhitelisted" | "WhitelistedCallRemoved" | "WhitelistedCallDispatched"; } - /** @name FrameSupportDispatchPostDispatchInfo (467) */ + /** @name FrameSupportDispatchPostDispatchInfo (477) */ interface FrameSupportDispatchPostDispatchInfo extends Struct { readonly actualWeight: Option; readonly paysFee: FrameSupportDispatchPays; } - /** @name SpRuntimeDispatchErrorWithPostInfo (469) */ + /** @name SpRuntimeDispatchErrorWithPostInfo (479) */ interface SpRuntimeDispatchErrorWithPostInfo extends Struct { readonly postInfo: FrameSupportDispatchPostDispatchInfo; readonly error: SpRuntimeDispatchError; } - /** @name PolkadotRuntimeParachainsInclusionPalletEvent (470) */ + /** @name PolkadotRuntimeParachainsInclusionPalletEvent (480) */ interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum { readonly isCandidateBacked: boolean; readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV8CandidateReceipt, Bytes, u32, u32]>; @@ -5487,13 +5711,13 @@ declare module "@polkadot/types/lookup" { readonly type: "CandidateBacked" | "CandidateIncluded" | "CandidateTimedOut" | "UpwardMessagesReceived"; } - /** @name PolkadotPrimitivesV8CandidateReceipt (471) */ + /** @name PolkadotPrimitivesV8CandidateReceipt (481) */ interface PolkadotPrimitivesV8CandidateReceipt extends Struct { readonly descriptor: PolkadotPrimitivesV8CandidateDescriptor; readonly commitmentsHash: H256; } - /** @name PolkadotRuntimeParachainsParasPalletEvent (474) */ + /** @name PolkadotRuntimeParachainsParasPalletEvent (484) */ interface PolkadotRuntimeParachainsParasPalletEvent extends Enum { readonly isCurrentCodeUpdated: boolean; readonly asCurrentCodeUpdated: u32; @@ -5522,7 +5746,7 @@ declare module "@polkadot/types/lookup" { | "PvfCheckRejected"; } - /** @name PolkadotRuntimeParachainsHrmpPalletEvent (475) */ + /** @name PolkadotRuntimeParachainsHrmpPalletEvent (485) */ interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum { readonly isOpenChannelRequested: boolean; readonly asOpenChannelRequested: { @@ -5575,7 +5799,7 @@ declare module "@polkadot/types/lookup" { | "OpenChannelDepositsUpdated"; } - /** @name PolkadotRuntimeParachainsDisputesPalletEvent (476) */ + /** @name PolkadotRuntimeParachainsDisputesPalletEvent (486) */ interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum { readonly isDisputeInitiated: boolean; readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>; @@ -5586,21 +5810,21 @@ declare module "@polkadot/types/lookup" { readonly type: "DisputeInitiated" | "DisputeConcluded" | "Revert"; } - /** @name PolkadotRuntimeParachainsDisputesDisputeLocation (477) */ + /** @name PolkadotRuntimeParachainsDisputesDisputeLocation (487) */ interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum { readonly isLocal: boolean; readonly isRemote: boolean; readonly type: "Local" | "Remote"; } - /** @name PolkadotRuntimeParachainsDisputesDisputeResult (478) */ + /** @name PolkadotRuntimeParachainsDisputesDisputeResult (488) */ interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum { readonly isValid: boolean; readonly isInvalid: boolean; readonly type: "Valid" | "Invalid"; } - /** @name PalletMessageQueueEvent (479) */ + /** @name PalletMessageQueueEvent (489) */ interface PalletMessageQueueEvent extends Enum { readonly isProcessingFailed: boolean; readonly asProcessingFailed: { @@ -5630,7 +5854,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProcessingFailed" | "Processed" | "OverweightEnqueued" | "PageReaped"; } - /** @name FrameSupportMessagesProcessMessageError (480) */ + /** @name FrameSupportMessagesProcessMessageError (490) */ interface FrameSupportMessagesProcessMessageError extends Enum { readonly isBadFormat: boolean; readonly isCorrupt: boolean; @@ -5642,7 +5866,7 @@ declare module "@polkadot/types/lookup" { readonly type: "BadFormat" | "Corrupt" | "Unsupported" | "Overweight" | "Yield" | "StackLimitReached"; } - /** @name PolkadotRuntimeParachainsOnDemandPalletEvent (481) */ + /** @name PolkadotRuntimeParachainsOnDemandPalletEvent (491) */ interface PolkadotRuntimeParachainsOnDemandPalletEvent extends Enum { readonly isOnDemandOrderPlaced: boolean; readonly asOnDemandOrderPlaced: { @@ -5657,7 +5881,7 @@ declare module "@polkadot/types/lookup" { readonly type: "OnDemandOrderPlaced" | "SpotPriceSet"; } - /** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (482) */ + /** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (492) */ interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum { readonly isRegistered: boolean; readonly asRegistered: { @@ -5681,7 +5905,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Registered" | "Deregistered" | "Reserved" | "Swapped"; } - /** @name PalletUtilityEvent (483) */ + /** @name PalletUtilityEvent (493) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -5708,7 +5932,7 @@ declare module "@polkadot/types/lookup" { | "DispatchedAs"; } - /** @name PalletIdentityEvent (485) */ + /** @name PalletIdentityEvent (495) */ interface PalletIdentityEvent extends Enum { readonly isIdentitySet: boolean; readonly asIdentitySet: { @@ -5814,7 +6038,7 @@ declare module "@polkadot/types/lookup" { | "DanglingUsernameRemoved"; } - /** @name PalletSchedulerEvent (486) */ + /** @name PalletSchedulerEvent (496) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -5876,7 +6100,7 @@ declare module "@polkadot/types/lookup" { | "PermanentlyOverweight"; } - /** @name PalletProxyEvent (488) */ + /** @name PalletProxyEvent (498) */ interface PalletProxyEvent extends Enum { readonly isProxyExecuted: boolean; readonly asProxyExecuted: { @@ -5912,7 +6136,7 @@ declare module "@polkadot/types/lookup" { readonly type: "ProxyExecuted" | "PureCreated" | "Announced" | "ProxyAdded" | "ProxyRemoved"; } - /** @name PalletMultisigEvent (489) */ + /** @name PalletMultisigEvent (499) */ interface PalletMultisigEvent extends Enum { readonly isNewMultisig: boolean; readonly asNewMultisig: { @@ -5945,7 +6169,7 @@ declare module "@polkadot/types/lookup" { readonly type: "NewMultisig" | "MultisigApproval" | "MultisigExecuted" | "MultisigCancelled"; } - /** @name PalletPreimageEvent (490) */ + /** @name PalletPreimageEvent (500) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -5962,7 +6186,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Noted" | "Requested" | "Cleared"; } - /** @name PalletAssetRateEvent (491) */ + /** @name PalletAssetRateEvent (501) */ interface PalletAssetRateEvent extends Enum { readonly isAssetRateCreated: boolean; readonly asAssetRateCreated: { @@ -5982,7 +6206,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AssetRateCreated" | "AssetRateRemoved" | "AssetRateUpdated"; } - /** @name PalletXcmEvent (492) */ + /** @name PalletXcmEvent (502) */ interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: { @@ -6147,7 +6371,7 @@ declare module "@polkadot/types/lookup" { | "VersionMigrationFinished"; } - /** @name StagingXcmV4TraitsOutcome (493) */ + /** @name StagingXcmV4TraitsOutcome (503) */ interface StagingXcmV4TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: { @@ -6165,7 +6389,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Complete" | "Incomplete" | "Error"; } - /** @name SnowbridgePalletInboundQueueEvent (494) */ + /** @name SnowbridgePalletInboundQueueEvent (504) */ interface SnowbridgePalletInboundQueueEvent extends Enum { readonly isMessageReceived: boolean; readonly asMessageReceived: { @@ -6181,7 +6405,7 @@ declare module "@polkadot/types/lookup" { readonly type: "MessageReceived" | "OperatingModeChanged"; } - /** @name SnowbridgePalletOutboundQueueEvent (495) */ + /** @name SnowbridgePalletOutboundQueueEvent (505) */ interface SnowbridgePalletOutboundQueueEvent extends Enum { readonly isMessageQueued: boolean; readonly asMessageQueued: { @@ -6204,7 +6428,7 @@ declare module "@polkadot/types/lookup" { readonly type: "MessageQueued" | "MessageAccepted" | "MessagesCommitted" | "OperatingModeChanged"; } - /** @name SnowbridgePalletSystemEvent (496) */ + /** @name SnowbridgePalletSystemEvent (506) */ interface SnowbridgePalletSystemEvent extends Enum { readonly isUpgrade: boolean; readonly asUpgrade: { @@ -6264,7 +6488,7 @@ declare module "@polkadot/types/lookup" { | "RegisterToken"; } - /** @name PalletMigrationsEvent (497) */ + /** @name PalletMigrationsEvent (507) */ interface PalletMigrationsEvent extends Enum { readonly isRuntimeUpgradeStarted: boolean; readonly isRuntimeUpgradeCompleted: boolean; @@ -6297,7 +6521,7 @@ declare module "@polkadot/types/lookup" { | "FailedToResumeIdleXcmExecution"; } - /** @name SnowbridgePalletEthereumClientEvent (499) */ + /** @name SnowbridgePalletEthereumClientEvent (509) */ interface SnowbridgePalletEthereumClientEvent extends Enum { readonly isBeaconHeaderImported: boolean; readonly asBeaconHeaderImported: { @@ -6315,13 +6539,13 @@ declare module "@polkadot/types/lookup" { readonly type: "BeaconHeaderImported" | "SyncCommitteeUpdated" | "OperatingModeChanged"; } - /** @name PalletRootTestingEvent (500) */ + /** @name PalletRootTestingEvent (510) */ interface PalletRootTestingEvent extends Enum { readonly isDefensiveTestCall: boolean; readonly type: "DefensiveTestCall"; } - /** @name PalletSudoEvent (501) */ + /** @name PalletSudoEvent (511) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -6340,7 +6564,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Sudid" | "KeyChanged" | "KeyRemoved" | "SudoAsDone"; } - /** @name FrameSystemPhase (502) */ + /** @name FrameSystemPhase (512) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -6349,33 +6573,33 @@ declare module "@polkadot/types/lookup" { readonly type: "ApplyExtrinsic" | "Finalization" | "Initialization"; } - /** @name FrameSystemLastRuntimeUpgradeInfo (504) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (514) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (506) */ + /** @name FrameSystemCodeUpgradeAuthorization (516) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemLimitsBlockWeights (507) */ + /** @name FrameSystemLimitsBlockWeights (517) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (508) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (518) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (509) */ + /** @name FrameSystemLimitsWeightsPerClass (519) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -6383,25 +6607,25 @@ declare module "@polkadot/types/lookup" { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (510) */ + /** @name FrameSystemLimitsBlockLength (520) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (511) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (521) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (512) */ + /** @name SpWeightsRuntimeDbWeight (522) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (513) */ + /** @name SpVersionRuntimeVersion (523) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -6413,7 +6637,7 @@ declare module "@polkadot/types/lookup" { readonly stateVersion: u8; } - /** @name FrameSystemError (517) */ + /** @name FrameSystemError (527) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -6436,7 +6660,7 @@ declare module "@polkadot/types/lookup" { | "Unauthorized"; } - /** @name SpConsensusBabeDigestsPreDigest (524) */ + /** @name SpConsensusBabeDigestsPreDigest (534) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -6447,39 +6671,39 @@ declare module "@polkadot/types/lookup" { readonly type: "Primary" | "SecondaryPlain" | "SecondaryVRF"; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (525) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (535) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; readonly vrfSignature: SpCoreSr25519VrfVrfSignature; } - /** @name SpCoreSr25519VrfVrfSignature (526) */ + /** @name SpCoreSr25519VrfVrfSignature (536) */ interface SpCoreSr25519VrfVrfSignature extends Struct { readonly preOutput: U8aFixed; readonly proof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (527) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (537) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (528) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (538) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; readonly vrfSignature: SpCoreSr25519VrfVrfSignature; } - /** @name SpConsensusBabeBabeEpochConfiguration (529) */ + /** @name SpConsensusBabeBabeEpochConfiguration (539) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeError (533) */ + /** @name PalletBabeError (543) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -6492,14 +6716,14 @@ declare module "@polkadot/types/lookup" { | "InvalidConfiguration"; } - /** @name PalletBalancesBalanceLock (535) */ + /** @name PalletBalancesBalanceLock (545) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (536) */ + /** @name PalletBalancesReasons (546) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -6507,48 +6731,56 @@ declare module "@polkadot/types/lookup" { readonly type: "Fee" | "Misc" | "All"; } - /** @name PalletBalancesReserveData (539) */ + /** @name PalletBalancesReserveData (549) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name DancelightRuntimeRuntimeHoldReason (543) */ + /** @name DancelightRuntimeRuntimeHoldReason (553) */ interface DancelightRuntimeRuntimeHoldReason extends Enum { readonly isContainerRegistrar: boolean; readonly asContainerRegistrar: PalletRegistrarHoldReason; readonly isDataPreservers: boolean; readonly asDataPreservers: PalletDataPreserversHoldReason; + readonly isPooledStaking: boolean; + readonly asPooledStaking: PalletPooledStakingHoldReason; readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; - readonly type: "ContainerRegistrar" | "DataPreservers" | "Preimage"; + readonly type: "ContainerRegistrar" | "DataPreservers" | "PooledStaking" | "Preimage"; } - /** @name PalletRegistrarHoldReason (544) */ + /** @name PalletRegistrarHoldReason (554) */ interface PalletRegistrarHoldReason extends Enum { readonly isRegistrarDeposit: boolean; readonly type: "RegistrarDeposit"; } - /** @name PalletDataPreserversHoldReason (545) */ + /** @name PalletDataPreserversHoldReason (555) */ interface PalletDataPreserversHoldReason extends Enum { readonly isProfileDeposit: boolean; readonly type: "ProfileDeposit"; } - /** @name PalletPreimageHoldReason (546) */ + /** @name PalletPooledStakingHoldReason (556) */ + interface PalletPooledStakingHoldReason extends Enum { + readonly isPooledStake: boolean; + readonly type: "PooledStake"; + } + + /** @name PalletPreimageHoldReason (557) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: "Preimage"; } - /** @name FrameSupportTokensMiscIdAmount (549) */ + /** @name FrameSupportTokensMiscIdAmount (560) */ interface FrameSupportTokensMiscIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (551) */ + /** @name PalletBalancesError (562) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6577,26 +6809,26 @@ declare module "@polkadot/types/lookup" { | "DeltaZero"; } - /** @name PalletTransactionPaymentReleases (552) */ + /** @name PalletTransactionPaymentReleases (563) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: "V1Ancient" | "V2"; } - /** @name SpStakingOffenceOffenceDetails (553) */ + /** @name SpStakingOffenceOffenceDetails (564) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, Null]>; readonly reporters: Vec; } - /** @name PalletRegistrarDepositInfo (565) */ + /** @name PalletRegistrarDepositInfo (576) */ interface PalletRegistrarDepositInfo extends Struct { readonly creator: AccountId32; readonly deposit: u128; } - /** @name PalletRegistrarError (566) */ + /** @name PalletRegistrarError (577) */ interface PalletRegistrarError extends Enum { readonly isParaIdAlreadyRegistered: boolean; readonly isParaIdNotRegistered: boolean; @@ -6635,7 +6867,7 @@ declare module "@polkadot/types/lookup" { | "WasmCodeNecessary"; } - /** @name PalletConfigurationHostConfiguration (567) */ + /** @name PalletConfigurationHostConfiguration (578) */ interface PalletConfigurationHostConfiguration extends Struct { readonly maxCollators: u32; readonly minOrchestratorCollators: u32; @@ -6648,13 +6880,13 @@ declare module "@polkadot/types/lookup" { readonly maxParachainCoresPercentage: Option; } - /** @name PalletConfigurationError (570) */ + /** @name PalletConfigurationError (581) */ interface PalletConfigurationError extends Enum { readonly isInvalidNewValue: boolean; readonly type: "InvalidNewValue"; } - /** @name PalletInvulnerablesError (572) */ + /** @name PalletInvulnerablesError (583) */ interface PalletInvulnerablesError extends Enum { readonly isTooManyInvulnerables: boolean; readonly isAlreadyInvulnerable: boolean; @@ -6669,26 +6901,26 @@ declare module "@polkadot/types/lookup" { | "UnableToDeriveCollatorId"; } - /** @name DpCollatorAssignmentAssignedCollatorsAccountId32 (573) */ + /** @name DpCollatorAssignmentAssignedCollatorsAccountId32 (584) */ interface DpCollatorAssignmentAssignedCollatorsAccountId32 extends Struct { readonly orchestratorChain: Vec; readonly containerChains: BTreeMap>; } - /** @name DpCollatorAssignmentAssignedCollatorsPublic (578) */ + /** @name DpCollatorAssignmentAssignedCollatorsPublic (589) */ interface DpCollatorAssignmentAssignedCollatorsPublic extends Struct { readonly orchestratorChain: Vec; readonly containerChains: BTreeMap>; } - /** @name TpTraitsContainerChainBlockInfo (586) */ + /** @name TpTraitsContainerChainBlockInfo (597) */ interface TpTraitsContainerChainBlockInfo extends Struct { readonly blockNumber: u32; readonly author: AccountId32; readonly latestSlotNumber: u64; } - /** @name PalletAuthorNotingError (587) */ + /** @name PalletAuthorNotingError (598) */ interface PalletAuthorNotingError extends Enum { readonly isFailedReading: boolean; readonly isFailedDecodingHeader: boolean; @@ -6707,7 +6939,7 @@ declare module "@polkadot/types/lookup" { | "NonAuraDigest"; } - /** @name PalletServicesPaymentError (588) */ + /** @name PalletServicesPaymentError (599) */ interface PalletServicesPaymentError extends Enum { readonly isInsufficientFundsToPurchaseCredits: boolean; readonly isInsufficientCredits: boolean; @@ -6715,7 +6947,7 @@ declare module "@polkadot/types/lookup" { readonly type: "InsufficientFundsToPurchaseCredits" | "InsufficientCredits" | "CreditPriceTooExpensive"; } - /** @name PalletDataPreserversRegisteredProfile (589) */ + /** @name PalletDataPreserversRegisteredProfile (600) */ interface PalletDataPreserversRegisteredProfile extends Struct { readonly account: AccountId32; readonly deposit: u128; @@ -6723,7 +6955,7 @@ declare module "@polkadot/types/lookup" { readonly assignment: Option>; } - /** @name PalletDataPreserversError (595) */ + /** @name PalletDataPreserversError (606) */ interface PalletDataPreserversError extends Enum { readonly isNoBootNodes: boolean; readonly isUnknownProfileId: boolean; @@ -6748,13 +6980,13 @@ declare module "@polkadot/types/lookup" { | "CantDeleteAssignedProfile"; } - /** @name TpTraitsActiveEraInfo (598) */ + /** @name TpTraitsActiveEraInfo (609) */ interface TpTraitsActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name PalletExternalValidatorsError (600) */ + /** @name PalletExternalValidatorsError (611) */ interface PalletExternalValidatorsError extends Enum { readonly isTooManyWhitelisted: boolean; readonly isAlreadyWhitelisted: boolean; @@ -6769,7 +7001,7 @@ declare module "@polkadot/types/lookup" { | "UnableToDeriveValidatorId"; } - /** @name PalletExternalValidatorSlashesSlash (603) */ + /** @name PalletExternalValidatorSlashesSlash (614) */ interface PalletExternalValidatorSlashesSlash extends Struct { readonly validator: AccountId32; readonly reporters: Vec; @@ -6778,7 +7010,7 @@ declare module "@polkadot/types/lookup" { readonly confirmed: bool; } - /** @name PalletExternalValidatorSlashesError (604) */ + /** @name PalletExternalValidatorSlashesError (615) */ interface PalletExternalValidatorSlashesError extends Enum { readonly isEmptyTargets: boolean; readonly isInvalidSlashIndex: boolean; @@ -6801,16 +7033,16 @@ declare module "@polkadot/types/lookup" { | "EthereumDeliverFail"; } - /** @name PalletExternalValidatorsRewardsEraRewardPoints (605) */ + /** @name PalletExternalValidatorsRewardsEraRewardPoints (616) */ interface PalletExternalValidatorsRewardsEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name SpCoreCryptoKeyTypeId (612) */ + /** @name SpCoreCryptoKeyTypeId (623) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (613) */ + /** @name PalletSessionError (624) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6820,7 +7052,7 @@ declare module "@polkadot/types/lookup" { readonly type: "InvalidProof" | "NoAssociatedValidatorId" | "DuplicatedKey" | "NoKeys" | "NoAccount"; } - /** @name PalletGrandpaStoredState (614) */ + /** @name PalletGrandpaStoredState (625) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6837,7 +7069,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Live" | "PendingPause" | "Paused" | "PendingResume"; } - /** @name PalletGrandpaStoredPendingChange (615) */ + /** @name PalletGrandpaStoredPendingChange (626) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6845,7 +7077,7 @@ declare module "@polkadot/types/lookup" { readonly forced: Option; } - /** @name PalletGrandpaError (617) */ + /** @name PalletGrandpaError (628) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6864,13 +7096,123 @@ declare module "@polkadot/types/lookup" { | "DuplicateOffenceReport"; } - /** @name PalletInflationRewardsChainsToRewardValue (620) */ + /** @name PalletInflationRewardsChainsToRewardValue (631) */ interface PalletInflationRewardsChainsToRewardValue extends Struct { readonly paraIds: Vec; readonly rewardsPerChain: u128; } - /** @name PalletTreasuryProposal (621) */ + /** @name PalletPooledStakingCandidateEligibleCandidate (633) */ + interface PalletPooledStakingCandidateEligibleCandidate extends Struct { + readonly candidate: AccountId32; + readonly stake: u128; + } + + /** @name PalletPooledStakingPoolsKey (636) */ + interface PalletPooledStakingPoolsKey extends Enum { + readonly isCandidateTotalStake: boolean; + readonly isJoiningShares: boolean; + readonly asJoiningShares: { + readonly delegator: AccountId32; + } & Struct; + readonly isJoiningSharesSupply: boolean; + readonly isJoiningSharesTotalStaked: boolean; + readonly isJoiningSharesHeldStake: boolean; + readonly asJoiningSharesHeldStake: { + readonly delegator: AccountId32; + } & Struct; + readonly isAutoCompoundingShares: boolean; + readonly asAutoCompoundingShares: { + readonly delegator: AccountId32; + } & Struct; + readonly isAutoCompoundingSharesSupply: boolean; + readonly isAutoCompoundingSharesTotalStaked: boolean; + readonly isAutoCompoundingSharesHeldStake: boolean; + readonly asAutoCompoundingSharesHeldStake: { + readonly delegator: AccountId32; + } & Struct; + readonly isManualRewardsShares: boolean; + readonly asManualRewardsShares: { + readonly delegator: AccountId32; + } & Struct; + readonly isManualRewardsSharesSupply: boolean; + readonly isManualRewardsSharesTotalStaked: boolean; + readonly isManualRewardsSharesHeldStake: boolean; + readonly asManualRewardsSharesHeldStake: { + readonly delegator: AccountId32; + } & Struct; + readonly isManualRewardsCounter: boolean; + readonly isManualRewardsCheckpoint: boolean; + readonly asManualRewardsCheckpoint: { + readonly delegator: AccountId32; + } & Struct; + readonly isLeavingShares: boolean; + readonly asLeavingShares: { + readonly delegator: AccountId32; + } & Struct; + readonly isLeavingSharesSupply: boolean; + readonly isLeavingSharesTotalStaked: boolean; + readonly isLeavingSharesHeldStake: boolean; + readonly asLeavingSharesHeldStake: { + readonly delegator: AccountId32; + } & Struct; + readonly type: + | "CandidateTotalStake" + | "JoiningShares" + | "JoiningSharesSupply" + | "JoiningSharesTotalStaked" + | "JoiningSharesHeldStake" + | "AutoCompoundingShares" + | "AutoCompoundingSharesSupply" + | "AutoCompoundingSharesTotalStaked" + | "AutoCompoundingSharesHeldStake" + | "ManualRewardsShares" + | "ManualRewardsSharesSupply" + | "ManualRewardsSharesTotalStaked" + | "ManualRewardsSharesHeldStake" + | "ManualRewardsCounter" + | "ManualRewardsCheckpoint" + | "LeavingShares" + | "LeavingSharesSupply" + | "LeavingSharesTotalStaked" + | "LeavingSharesHeldStake"; + } + + /** @name PalletPooledStakingError (638) */ + interface PalletPooledStakingError extends Enum { + readonly isInvalidPalletSetting: boolean; + readonly isDisabledFeature: boolean; + readonly isNoOneIsStaking: boolean; + readonly isStakeMustBeNonZero: boolean; + readonly isRewardsMustBeNonZero: boolean; + readonly isMathUnderflow: boolean; + readonly isMathOverflow: boolean; + readonly isNotEnoughShares: boolean; + readonly isTryingToLeaveTooSoon: boolean; + readonly isInconsistentState: boolean; + readonly isUnsufficientSharesForTransfer: boolean; + readonly isCandidateTransferingOwnSharesForbidden: boolean; + readonly isRequestCannotBeExecuted: boolean; + readonly asRequestCannotBeExecuted: u16; + readonly isSwapResultsInZeroShares: boolean; + readonly type: + | "InvalidPalletSetting" + | "DisabledFeature" + | "NoOneIsStaking" + | "StakeMustBeNonZero" + | "RewardsMustBeNonZero" + | "MathUnderflow" + | "MathOverflow" + | "NotEnoughShares" + | "TryingToLeaveTooSoon" + | "InconsistentState" + | "UnsufficientSharesForTransfer" + | "CandidateTransferingOwnSharesForbidden" + | "RequestCannotBeExecuted" + | "SwapResultsInZeroShares"; + } + + /** @name PalletTreasuryProposal (639) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -6878,7 +7220,7 @@ declare module "@polkadot/types/lookup" { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (623) */ + /** @name PalletTreasurySpendStatus (641) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -6888,7 +7230,7 @@ declare module "@polkadot/types/lookup" { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (624) */ + /** @name PalletTreasuryPaymentState (642) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -6899,10 +7241,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "Attempted" | "Failed"; } - /** @name FrameSupportPalletId (626) */ + /** @name FrameSupportPalletId (644) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (627) */ + /** @name PalletTreasuryError (645) */ interface PalletTreasuryError extends Enum { readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; @@ -6929,7 +7271,7 @@ declare module "@polkadot/types/lookup" { | "Inconclusive"; } - /** @name PalletConvictionVotingVoteVoting (629) */ + /** @name PalletConvictionVotingVoteVoting (647) */ interface PalletConvictionVotingVoteVoting extends Enum { readonly isCasting: boolean; readonly asCasting: PalletConvictionVotingVoteCasting; @@ -6938,23 +7280,23 @@ declare module "@polkadot/types/lookup" { readonly type: "Casting" | "Delegating"; } - /** @name PalletConvictionVotingVoteCasting (630) */ + /** @name PalletConvictionVotingVoteCasting (648) */ interface PalletConvictionVotingVoteCasting extends Struct { readonly votes: Vec>; readonly delegations: PalletConvictionVotingDelegations; readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingDelegations (634) */ + /** @name PalletConvictionVotingDelegations (652) */ interface PalletConvictionVotingDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletConvictionVotingVotePriorLock (635) */ + /** @name PalletConvictionVotingVotePriorLock (653) */ interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletConvictionVotingVoteDelegating (636) */ + /** @name PalletConvictionVotingVoteDelegating (654) */ interface PalletConvictionVotingVoteDelegating extends Struct { readonly balance: u128; readonly target: AccountId32; @@ -6963,7 +7305,7 @@ declare module "@polkadot/types/lookup" { readonly prior: PalletConvictionVotingVotePriorLock; } - /** @name PalletConvictionVotingError (640) */ + /** @name PalletConvictionVotingError (658) */ interface PalletConvictionVotingError extends Enum { readonly isNotOngoing: boolean; readonly isNotVoter: boolean; @@ -6992,7 +7334,7 @@ declare module "@polkadot/types/lookup" { | "BadClass"; } - /** @name PalletReferendaReferendumInfoConvictionVotingTally (641) */ + /** @name PalletReferendaReferendumInfoConvictionVotingTally (659) */ interface PalletReferendaReferendumInfoConvictionVotingTally extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatusConvictionVotingTally; @@ -7009,7 +7351,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ongoing" | "Approved" | "Rejected" | "Cancelled" | "TimedOut" | "Killed"; } - /** @name PalletReferendaReferendumStatusConvictionVotingTally (642) */ + /** @name PalletReferendaReferendumStatusConvictionVotingTally (660) */ interface PalletReferendaReferendumStatusConvictionVotingTally extends Struct { readonly track: u16; readonly origin: DancelightRuntimeOriginCaller; @@ -7024,19 +7366,19 @@ declare module "@polkadot/types/lookup" { readonly alarm: Option]>>; } - /** @name PalletReferendaDeposit (643) */ + /** @name PalletReferendaDeposit (661) */ interface PalletReferendaDeposit extends Struct { readonly who: AccountId32; readonly amount: u128; } - /** @name PalletReferendaDecidingStatus (646) */ + /** @name PalletReferendaDecidingStatus (664) */ interface PalletReferendaDecidingStatus extends Struct { readonly since: u32; readonly confirming: Option; } - /** @name PalletReferendaTrackInfo (654) */ + /** @name PalletReferendaTrackInfo (672) */ interface PalletReferendaTrackInfo extends Struct { readonly name: Text; readonly maxDeciding: u32; @@ -7049,7 +7391,7 @@ declare module "@polkadot/types/lookup" { readonly minSupport: PalletReferendaCurve; } - /** @name PalletReferendaCurve (655) */ + /** @name PalletReferendaCurve (673) */ interface PalletReferendaCurve extends Enum { readonly isLinearDecreasing: boolean; readonly asLinearDecreasing: { @@ -7073,7 +7415,7 @@ declare module "@polkadot/types/lookup" { readonly type: "LinearDecreasing" | "SteppedDecreasing" | "Reciprocal"; } - /** @name PalletReferendaError (658) */ + /** @name PalletReferendaError (676) */ interface PalletReferendaError extends Enum { readonly isNotOngoing: boolean; readonly isHasDeposit: boolean; @@ -7106,12 +7448,12 @@ declare module "@polkadot/types/lookup" { | "PreimageStoredWithDifferentLength"; } - /** @name PalletRankedCollectiveMemberRecord (659) */ + /** @name PalletRankedCollectiveMemberRecord (677) */ interface PalletRankedCollectiveMemberRecord extends Struct { readonly rank: u16; } - /** @name PalletRankedCollectiveError (663) */ + /** @name PalletRankedCollectiveError (681) */ interface PalletRankedCollectiveError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -7138,7 +7480,7 @@ declare module "@polkadot/types/lookup" { | "TooManyMembers"; } - /** @name PalletReferendaReferendumInfoRankedCollectiveTally (664) */ + /** @name PalletReferendaReferendumInfoRankedCollectiveTally (682) */ interface PalletReferendaReferendumInfoRankedCollectiveTally extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletReferendaReferendumStatusRankedCollectiveTally; @@ -7155,7 +7497,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ongoing" | "Approved" | "Rejected" | "Cancelled" | "TimedOut" | "Killed"; } - /** @name PalletReferendaReferendumStatusRankedCollectiveTally (665) */ + /** @name PalletReferendaReferendumStatusRankedCollectiveTally (683) */ interface PalletReferendaReferendumStatusRankedCollectiveTally extends Struct { readonly track: u16; readonly origin: DancelightRuntimeOriginCaller; @@ -7170,7 +7512,7 @@ declare module "@polkadot/types/lookup" { readonly alarm: Option]>>; } - /** @name PalletWhitelistError (668) */ + /** @name PalletWhitelistError (686) */ interface PalletWhitelistError extends Enum { readonly isUnavailablePreImage: boolean; readonly isUndecodableCall: boolean; @@ -7185,7 +7527,7 @@ declare module "@polkadot/types/lookup" { | "CallAlreadyWhitelisted"; } - /** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (669) */ + /** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (687) */ interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; @@ -7224,19 +7566,19 @@ declare module "@polkadot/types/lookup" { readonly schedulerParams: PolkadotPrimitivesV8SchedulerParams; } - /** @name PolkadotRuntimeParachainsConfigurationPalletError (672) */ + /** @name PolkadotRuntimeParachainsConfigurationPalletError (690) */ interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum { readonly isInvalidNewValue: boolean; readonly type: "InvalidNewValue"; } - /** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (675) */ + /** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (693) */ interface PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker extends Struct { readonly buffer: Vec>; readonly latestNumber: u32; } - /** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (679) */ + /** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (697) */ interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct { readonly core: u32; readonly hash_: H256; @@ -7249,7 +7591,7 @@ declare module "@polkadot/types/lookup" { readonly backingGroup: u32; } - /** @name PolkadotRuntimeParachainsInclusionPalletError (680) */ + /** @name PolkadotRuntimeParachainsInclusionPalletError (698) */ interface PolkadotRuntimeParachainsInclusionPalletError extends Enum { readonly isValidatorIndexOutOfBounds: boolean; readonly isUnscheduledCandidate: boolean; @@ -7288,7 +7630,7 @@ declare module "@polkadot/types/lookup" { | "ParaHeadMismatch"; } - /** @name PolkadotPrimitivesV8ScrapedOnChainVotes (681) */ + /** @name PolkadotPrimitivesV8ScrapedOnChainVotes (699) */ interface PolkadotPrimitivesV8ScrapedOnChainVotes extends Struct { readonly session: u32; readonly backingValidatorsPerCandidate: Vec< @@ -7297,7 +7639,7 @@ declare module "@polkadot/types/lookup" { readonly disputes: Vec; } - /** @name PolkadotRuntimeParachainsParasInherentPalletError (686) */ + /** @name PolkadotRuntimeParachainsParasInherentPalletError (704) */ interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum { readonly isTooManyInclusionInherents: boolean; readonly isInvalidParentHeader: boolean; @@ -7312,7 +7654,7 @@ declare module "@polkadot/types/lookup" { | "UnscheduledCandidate"; } - /** @name PolkadotRuntimeParachainsSchedulerPalletCoreOccupied (689) */ + /** @name PolkadotRuntimeParachainsSchedulerPalletCoreOccupied (707) */ interface PolkadotRuntimeParachainsSchedulerPalletCoreOccupied extends Enum { readonly isFree: boolean; readonly isParas: boolean; @@ -7320,14 +7662,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Free" | "Paras"; } - /** @name PolkadotRuntimeParachainsSchedulerPalletParasEntry (690) */ + /** @name PolkadotRuntimeParachainsSchedulerPalletParasEntry (708) */ interface PolkadotRuntimeParachainsSchedulerPalletParasEntry extends Struct { readonly assignment: PolkadotRuntimeParachainsSchedulerCommonAssignment; readonly availabilityTimeouts: u32; readonly ttl: u32; } - /** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (691) */ + /** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (709) */ interface PolkadotRuntimeParachainsSchedulerCommonAssignment extends Enum { readonly isPool: boolean; readonly asPool: { @@ -7339,7 +7681,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Pool" | "Bulk"; } - /** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (696) */ + /** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (714) */ interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct { readonly votesAccept: BitVec; readonly votesReject: BitVec; @@ -7348,7 +7690,7 @@ declare module "@polkadot/types/lookup" { readonly causes: Vec; } - /** @name PolkadotRuntimeParachainsParasPvfCheckCause (698) */ + /** @name PolkadotRuntimeParachainsParasPvfCheckCause (716) */ interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum { readonly isOnboarding: boolean; readonly asOnboarding: u32; @@ -7361,14 +7703,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Onboarding" | "Upgrade"; } - /** @name PolkadotRuntimeParachainsParasUpgradeStrategy (699) */ + /** @name PolkadotRuntimeParachainsParasUpgradeStrategy (717) */ interface PolkadotRuntimeParachainsParasUpgradeStrategy extends Enum { readonly isSetGoAheadSignal: boolean; readonly isApplyAtExpectedBlock: boolean; readonly type: "SetGoAheadSignal" | "ApplyAtExpectedBlock"; } - /** @name PolkadotRuntimeParachainsParasParaLifecycle (701) */ + /** @name PolkadotRuntimeParachainsParasParaLifecycle (719) */ interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum { readonly isOnboarding: boolean; readonly isParathread: boolean; @@ -7387,32 +7729,32 @@ declare module "@polkadot/types/lookup" { | "OffboardingParachain"; } - /** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (703) */ + /** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (721) */ interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct { readonly upgradeTimes: Vec; readonly lastPruned: Option; } - /** @name PolkadotRuntimeParachainsParasReplacementTimes (705) */ + /** @name PolkadotRuntimeParachainsParasReplacementTimes (723) */ interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct { readonly expectedAt: u32; readonly activatedAt: u32; } - /** @name PolkadotPrimitivesV8UpgradeGoAhead (707) */ + /** @name PolkadotPrimitivesV8UpgradeGoAhead (725) */ interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; } - /** @name PolkadotPrimitivesV8UpgradeRestriction (708) */ + /** @name PolkadotPrimitivesV8UpgradeRestriction (726) */ interface PolkadotPrimitivesV8UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } - /** @name PolkadotRuntimeParachainsParasPalletError (709) */ + /** @name PolkadotRuntimeParachainsParasPalletError (727) */ interface PolkadotRuntimeParachainsParasPalletError extends Enum { readonly isNotRegistered: boolean; readonly isCannotOnboard: boolean; @@ -7443,20 +7785,20 @@ declare module "@polkadot/types/lookup" { | "InvalidCode"; } - /** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (711) */ + /** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (729) */ interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct { readonly validators: Vec; readonly queued: Vec; readonly sessionIndex: u32; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (713) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (731) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (714) */ + /** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (732) */ interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct { readonly confirmed: bool; readonly age: u32; @@ -7466,7 +7808,7 @@ declare module "@polkadot/types/lookup" { readonly maxTotalSize: u32; } - /** @name PolkadotRuntimeParachainsHrmpHrmpChannel (716) */ + /** @name PolkadotRuntimeParachainsHrmpHrmpChannel (734) */ interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; @@ -7478,13 +7820,13 @@ declare module "@polkadot/types/lookup" { readonly recipientDeposit: u128; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (718) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (736) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PolkadotRuntimeParachainsHrmpPalletError (721) */ + /** @name PolkadotRuntimeParachainsHrmpPalletError (739) */ interface PolkadotRuntimeParachainsHrmpPalletError extends Enum { readonly isOpenHrmpChannelToSelf: boolean; readonly isOpenHrmpChannelInvalidRecipient: boolean; @@ -7529,7 +7871,7 @@ declare module "@polkadot/types/lookup" { | "ChannelCreationNotAuthorized"; } - /** @name PolkadotPrimitivesV8SessionInfo (723) */ + /** @name PolkadotPrimitivesV8SessionInfo (741) */ interface PolkadotPrimitivesV8SessionInfo extends Struct { readonly activeValidatorIndices: Vec; readonly randomSeed: U8aFixed; @@ -7546,13 +7888,13 @@ declare module "@polkadot/types/lookup" { readonly neededApprovals: u32; } - /** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (724) */ + /** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (742) */ interface PolkadotPrimitivesV8IndexedVecValidatorIndex extends Vec {} - /** @name PolkadotPrimitivesV8IndexedVecGroupIndex (725) */ + /** @name PolkadotPrimitivesV8IndexedVecGroupIndex (743) */ interface PolkadotPrimitivesV8IndexedVecGroupIndex extends Vec> {} - /** @name PolkadotPrimitivesV8DisputeState (727) */ + /** @name PolkadotPrimitivesV8DisputeState (745) */ interface PolkadotPrimitivesV8DisputeState extends Struct { readonly validatorsFor: BitVec; readonly validatorsAgainst: BitVec; @@ -7560,7 +7902,7 @@ declare module "@polkadot/types/lookup" { readonly concludedAt: Option; } - /** @name PolkadotRuntimeParachainsDisputesPalletError (729) */ + /** @name PolkadotRuntimeParachainsDisputesPalletError (747) */ interface PolkadotRuntimeParachainsDisputesPalletError extends Enum { readonly isDuplicateDisputeStatementSets: boolean; readonly isAncientDisputeStatement: boolean; @@ -7583,13 +7925,13 @@ declare module "@polkadot/types/lookup" { | "UnconfirmedDispute"; } - /** @name PolkadotPrimitivesV8SlashingPendingSlashes (730) */ + /** @name PolkadotPrimitivesV8SlashingPendingSlashes (748) */ interface PolkadotPrimitivesV8SlashingPendingSlashes extends Struct { readonly keys_: BTreeMap; readonly kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind; } - /** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (734) */ + /** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (752) */ interface PolkadotRuntimeParachainsDisputesSlashingPalletError extends Enum { readonly isInvalidKeyOwnershipProof: boolean; readonly isInvalidSessionIndex: boolean; @@ -7606,7 +7948,7 @@ declare module "@polkadot/types/lookup" { | "DuplicateSlashingReport"; } - /** @name PalletMessageQueueBookState (735) */ + /** @name PalletMessageQueueBookState (753) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -7616,13 +7958,13 @@ declare module "@polkadot/types/lookup" { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (737) */ + /** @name PalletMessageQueueNeighbours (755) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: DancelightRuntimeAggregateMessageOrigin; readonly next: DancelightRuntimeAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (739) */ + /** @name PalletMessageQueuePage (757) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -7632,7 +7974,7 @@ declare module "@polkadot/types/lookup" { readonly heap: Bytes; } - /** @name PalletMessageQueueError (741) */ + /** @name PalletMessageQueueError (759) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -7655,13 +7997,13 @@ declare module "@polkadot/types/lookup" { | "RecursiveDisallowed"; } - /** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (742) */ + /** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (760) */ interface PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount extends Struct { readonly coreIndex: u32; readonly count: u32; } - /** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (743) */ + /** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (761) */ interface PolkadotRuntimeParachainsOnDemandTypesQueueStatusType extends Struct { readonly traffic: u128; readonly nextIndex: u32; @@ -7669,33 +8011,33 @@ declare module "@polkadot/types/lookup" { readonly freedIndices: BinaryHeapReverseQueueIndex; } - /** @name BinaryHeapReverseQueueIndex (745) */ + /** @name BinaryHeapReverseQueueIndex (763) */ interface BinaryHeapReverseQueueIndex extends Vec {} - /** @name BinaryHeapEnqueuedOrder (748) */ + /** @name BinaryHeapEnqueuedOrder (766) */ interface BinaryHeapEnqueuedOrder extends Vec {} - /** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (749) */ + /** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (767) */ interface PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder extends Struct { readonly paraId: u32; readonly idx: u32; } - /** @name PolkadotRuntimeParachainsOnDemandPalletError (753) */ + /** @name PolkadotRuntimeParachainsOnDemandPalletError (771) */ interface PolkadotRuntimeParachainsOnDemandPalletError extends Enum { readonly isQueueFull: boolean; readonly isSpotPriceHigherThanMaxAmount: boolean; readonly type: "QueueFull" | "SpotPriceHigherThanMaxAmount"; } - /** @name PolkadotRuntimeCommonParasRegistrarParaInfo (754) */ + /** @name PolkadotRuntimeCommonParasRegistrarParaInfo (772) */ interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct { readonly manager: AccountId32; readonly deposit: u128; readonly locked: Option; } - /** @name PolkadotRuntimeCommonParasRegistrarPalletError (756) */ + /** @name PolkadotRuntimeCommonParasRegistrarPalletError (774) */ interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum { readonly isNotRegistered: boolean; readonly isAlreadyRegistered: boolean; @@ -7728,33 +8070,33 @@ declare module "@polkadot/types/lookup" { | "CannotSwap"; } - /** @name PalletUtilityError (757) */ + /** @name PalletUtilityError (775) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: "TooManyCalls"; } - /** @name PalletIdentityRegistration (759) */ + /** @name PalletIdentityRegistration (777) */ interface PalletIdentityRegistration extends Struct { readonly judgements: Vec>; readonly deposit: u128; readonly info: PalletIdentityLegacyIdentityInfo; } - /** @name PalletIdentityRegistrarInfo (768) */ + /** @name PalletIdentityRegistrarInfo (786) */ interface PalletIdentityRegistrarInfo extends Struct { readonly account: AccountId32; readonly fee: u128; readonly fields: u64; } - /** @name PalletIdentityAuthorityProperties (770) */ + /** @name PalletIdentityAuthorityProperties (788) */ interface PalletIdentityAuthorityProperties extends Struct { readonly suffix: Bytes; readonly allocation: u32; } - /** @name PalletIdentityError (772) */ + /** @name PalletIdentityError (790) */ interface PalletIdentityError extends Enum { readonly isTooManySubAccounts: boolean; readonly isNotFound: boolean; @@ -7811,7 +8153,7 @@ declare module "@polkadot/types/lookup" { | "NotExpired"; } - /** @name PalletSchedulerScheduled (775) */ + /** @name PalletSchedulerScheduled (793) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -7820,14 +8162,14 @@ declare module "@polkadot/types/lookup" { readonly origin: DancelightRuntimeOriginCaller; } - /** @name PalletSchedulerRetryConfig (777) */ + /** @name PalletSchedulerRetryConfig (795) */ interface PalletSchedulerRetryConfig extends Struct { readonly totalRetries: u8; readonly remaining: u8; readonly period: u32; } - /** @name PalletSchedulerError (778) */ + /** @name PalletSchedulerError (796) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -7837,21 +8179,21 @@ declare module "@polkadot/types/lookup" { readonly type: "FailedToSchedule" | "NotFound" | "TargetBlockNumberInPast" | "RescheduleNoChange" | "Named"; } - /** @name PalletProxyProxyDefinition (781) */ + /** @name PalletProxyProxyDefinition (799) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId32; readonly proxyType: DancelightRuntimeProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (785) */ + /** @name PalletProxyAnnouncement (803) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId32; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (787) */ + /** @name PalletProxyError (805) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -7872,7 +8214,7 @@ declare module "@polkadot/types/lookup" { | "NoSelfProxy"; } - /** @name PalletMultisigMultisig (789) */ + /** @name PalletMultisigMultisig (807) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -7880,7 +8222,7 @@ declare module "@polkadot/types/lookup" { readonly approvals: Vec; } - /** @name PalletMultisigError (791) */ + /** @name PalletMultisigError (809) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -7913,7 +8255,7 @@ declare module "@polkadot/types/lookup" { | "AlreadyStored"; } - /** @name PalletPreimageOldRequestStatus (792) */ + /** @name PalletPreimageOldRequestStatus (810) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7929,7 +8271,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageRequestStatus (795) */ + /** @name PalletPreimageRequestStatus (813) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7945,7 +8287,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Unrequested" | "Requested"; } - /** @name PalletPreimageError (800) */ + /** @name PalletPreimageError (818) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7966,7 +8308,7 @@ declare module "@polkadot/types/lookup" { | "TooFew"; } - /** @name PalletAssetRateError (801) */ + /** @name PalletAssetRateError (819) */ interface PalletAssetRateError extends Enum { readonly isUnknownAssetKind: boolean; readonly isAlreadyExists: boolean; @@ -7974,7 +8316,7 @@ declare module "@polkadot/types/lookup" { readonly type: "UnknownAssetKind" | "AlreadyExists" | "Overflow"; } - /** @name PalletXcmQueryStatus (802) */ + /** @name PalletXcmQueryStatus (820) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -7996,7 +8338,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Pending" | "VersionNotifier" | "Ready"; } - /** @name XcmVersionedResponse (806) */ + /** @name XcmVersionedResponse (824) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -8007,7 +8349,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name PalletXcmVersionMigrationStage (812) */ + /** @name PalletXcmVersionMigrationStage (830) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -8021,7 +8363,7 @@ declare module "@polkadot/types/lookup" { | "MigrateAndNotifyOldTargets"; } - /** @name PalletXcmRemoteLockedFungibleRecord (814) */ + /** @name PalletXcmRemoteLockedFungibleRecord (832) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -8029,7 +8371,7 @@ declare module "@polkadot/types/lookup" { readonly consumers: Vec>; } - /** @name PalletXcmError (821) */ + /** @name PalletXcmError (839) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -8082,7 +8424,7 @@ declare module "@polkadot/types/lookup" { | "LocalExecutionIncomplete"; } - /** @name SnowbridgePalletInboundQueueError (822) */ + /** @name SnowbridgePalletInboundQueueError (840) */ interface SnowbridgePalletInboundQueueError extends Enum { readonly isInvalidGateway: boolean; readonly isInvalidEnvelope: boolean; @@ -8112,7 +8454,7 @@ declare module "@polkadot/types/lookup" { | "ConvertMessage"; } - /** @name SnowbridgeCoreInboundVerificationError (823) */ + /** @name SnowbridgeCoreInboundVerificationError (841) */ interface SnowbridgeCoreInboundVerificationError extends Enum { readonly isHeaderNotFound: boolean; readonly isLogNotFound: boolean; @@ -8122,7 +8464,7 @@ declare module "@polkadot/types/lookup" { readonly type: "HeaderNotFound" | "LogNotFound" | "InvalidLog" | "InvalidProof" | "InvalidExecutionProof"; } - /** @name SnowbridgePalletInboundQueueSendError (824) */ + /** @name SnowbridgePalletInboundQueueSendError (842) */ interface SnowbridgePalletInboundQueueSendError extends Enum { readonly isNotApplicable: boolean; readonly isNotRoutable: boolean; @@ -8141,7 +8483,7 @@ declare module "@polkadot/types/lookup" { | "Fees"; } - /** @name SnowbridgeRouterPrimitivesInboundConvertMessageError (825) */ + /** @name SnowbridgeRouterPrimitivesInboundConvertMessageError (843) */ interface SnowbridgeRouterPrimitivesInboundConvertMessageError extends Enum { readonly isUnsupportedVersion: boolean; readonly isInvalidDestination: boolean; @@ -8156,7 +8498,7 @@ declare module "@polkadot/types/lookup" { | "CannotReanchor"; } - /** @name SnowbridgePalletOutboundQueueCommittedMessage (827) */ + /** @name SnowbridgePalletOutboundQueueCommittedMessage (845) */ interface SnowbridgePalletOutboundQueueCommittedMessage extends Struct { readonly channelId: SnowbridgeCoreChannelId; readonly nonce: Compact; @@ -8168,7 +8510,7 @@ declare module "@polkadot/types/lookup" { readonly id: H256; } - /** @name SnowbridgePalletOutboundQueueError (828) */ + /** @name SnowbridgePalletOutboundQueueError (846) */ interface SnowbridgePalletOutboundQueueError extends Enum { readonly isMessageTooLarge: boolean; readonly isHalted: boolean; @@ -8176,13 +8518,13 @@ declare module "@polkadot/types/lookup" { readonly type: "MessageTooLarge" | "Halted" | "InvalidChannel"; } - /** @name SnowbridgeCoreChannel (829) */ + /** @name SnowbridgeCoreChannel (847) */ interface SnowbridgeCoreChannel extends Struct { readonly agentId: H256; readonly paraId: u32; } - /** @name SnowbridgePalletSystemError (830) */ + /** @name SnowbridgePalletSystemError (848) */ interface SnowbridgePalletSystemError extends Enum { readonly isLocationConversionFailed: boolean; readonly isAgentAlreadyCreated: boolean; @@ -8210,7 +8552,7 @@ declare module "@polkadot/types/lookup" { | "InvalidUpgradeParameters"; } - /** @name SnowbridgeCoreOutboundSendError (831) */ + /** @name SnowbridgeCoreOutboundSendError (849) */ interface SnowbridgeCoreOutboundSendError extends Enum { readonly isMessageTooLarge: boolean; readonly isHalted: boolean; @@ -8218,7 +8560,7 @@ declare module "@polkadot/types/lookup" { readonly type: "MessageTooLarge" | "Halted" | "InvalidChannel"; } - /** @name PalletMigrationsError (832) */ + /** @name PalletMigrationsError (850) */ interface PalletMigrationsError extends Enum { readonly isPreimageMissing: boolean; readonly isWrongUpperBound: boolean; @@ -8227,7 +8569,7 @@ declare module "@polkadot/types/lookup" { readonly type: "PreimageMissing" | "WrongUpperBound" | "PreimageIsTooBig" | "PreimageAlreadyExists"; } - /** @name PalletBeefyError (836) */ + /** @name PalletBeefyError (854) */ interface PalletBeefyError extends Enum { readonly isInvalidKeyOwnershipProof: boolean; readonly isInvalidDoubleVotingProof: boolean; @@ -8246,50 +8588,50 @@ declare module "@polkadot/types/lookup" { | "InvalidConfiguration"; } - /** @name SpConsensusBeefyMmrBeefyAuthoritySet (837) */ + /** @name SpConsensusBeefyMmrBeefyAuthoritySet (855) */ interface SpConsensusBeefyMmrBeefyAuthoritySet extends Struct { readonly id: u64; readonly len: u32; readonly keysetCommitment: H256; } - /** @name SnowbridgeBeaconPrimitivesCompactBeaconState (838) */ + /** @name SnowbridgeBeaconPrimitivesCompactBeaconState (856) */ interface SnowbridgeBeaconPrimitivesCompactBeaconState extends Struct { readonly slot: Compact; readonly blockRootsRoot: H256; } - /** @name SnowbridgeBeaconPrimitivesSyncCommitteePrepared (839) */ + /** @name SnowbridgeBeaconPrimitivesSyncCommitteePrepared (857) */ interface SnowbridgeBeaconPrimitivesSyncCommitteePrepared extends Struct { readonly root: H256; readonly pubkeys: Vec; readonly aggregatePubkey: SnowbridgeMilagroBlsKeysPublicKey; } - /** @name SnowbridgeMilagroBlsKeysPublicKey (841) */ + /** @name SnowbridgeMilagroBlsKeysPublicKey (859) */ interface SnowbridgeMilagroBlsKeysPublicKey extends Struct { readonly point: SnowbridgeAmclBls381Ecp; } - /** @name SnowbridgeAmclBls381Ecp (842) */ + /** @name SnowbridgeAmclBls381Ecp (860) */ interface SnowbridgeAmclBls381Ecp extends Struct { readonly x: SnowbridgeAmclBls381Fp; readonly y: SnowbridgeAmclBls381Fp; readonly z: SnowbridgeAmclBls381Fp; } - /** @name SnowbridgeAmclBls381Fp (843) */ + /** @name SnowbridgeAmclBls381Fp (861) */ interface SnowbridgeAmclBls381Fp extends Struct { readonly x: SnowbridgeAmclBls381Big; readonly xes: i32; } - /** @name SnowbridgeAmclBls381Big (844) */ + /** @name SnowbridgeAmclBls381Big (862) */ interface SnowbridgeAmclBls381Big extends Struct { readonly w: Vec; } - /** @name SnowbridgeBeaconPrimitivesForkVersions (847) */ + /** @name SnowbridgeBeaconPrimitivesForkVersions (865) */ interface SnowbridgeBeaconPrimitivesForkVersions extends Struct { readonly genesis: SnowbridgeBeaconPrimitivesFork; readonly altair: SnowbridgeBeaconPrimitivesFork; @@ -8298,13 +8640,13 @@ declare module "@polkadot/types/lookup" { readonly deneb: SnowbridgeBeaconPrimitivesFork; } - /** @name SnowbridgeBeaconPrimitivesFork (848) */ + /** @name SnowbridgeBeaconPrimitivesFork (866) */ interface SnowbridgeBeaconPrimitivesFork extends Struct { readonly version: U8aFixed; readonly epoch: u64; } - /** @name SnowbridgePalletEthereumClientError (849) */ + /** @name SnowbridgePalletEthereumClientError (867) */ interface SnowbridgePalletEthereumClientError extends Enum { readonly isSkippedSyncCommitteePeriod: boolean; readonly isSyncCommitteeUpdateRequired: boolean; @@ -8360,7 +8702,7 @@ declare module "@polkadot/types/lookup" { | "Halted"; } - /** @name SnowbridgeBeaconPrimitivesBlsBlsError (850) */ + /** @name SnowbridgeBeaconPrimitivesBlsBlsError (868) */ interface SnowbridgeBeaconPrimitivesBlsBlsError extends Enum { readonly isInvalidSignature: boolean; readonly isInvalidPublicKey: boolean; @@ -8373,7 +8715,7 @@ declare module "@polkadot/types/lookup" { | "SignatureVerificationFailed"; } - /** @name PolkadotRuntimeCommonParasSudoWrapperPalletError (851) */ + /** @name PolkadotRuntimeCommonParasSudoWrapperPalletError (869) */ interface PolkadotRuntimeCommonParasSudoWrapperPalletError extends Enum { readonly isParaDoesntExist: boolean; readonly isParaAlreadyExists: boolean; @@ -8396,45 +8738,45 @@ declare module "@polkadot/types/lookup" { | "TooManyCores"; } - /** @name PalletSudoError (852) */ + /** @name PalletSudoError (870) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: "RequireSudo"; } - /** @name FrameSystemExtensionsCheckNonZeroSender (855) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (873) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (856) */ + /** @name FrameSystemExtensionsCheckSpecVersion (874) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (857) */ + /** @name FrameSystemExtensionsCheckTxVersion (875) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (858) */ + /** @name FrameSystemExtensionsCheckGenesis (876) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (861) */ + /** @name FrameSystemExtensionsCheckNonce (879) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (862) */ + /** @name FrameSystemExtensionsCheckWeight (880) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (863) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (881) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name FrameMetadataHashExtensionCheckMetadataHash (864) */ + /** @name FrameMetadataHashExtensionCheckMetadataHash (882) */ interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { readonly mode: FrameMetadataHashExtensionMode; } - /** @name FrameMetadataHashExtensionMode (865) */ + /** @name FrameMetadataHashExtensionMode (883) */ interface FrameMetadataHashExtensionMode extends Enum { readonly isDisabled: boolean; readonly isEnabled: boolean; readonly type: "Disabled" | "Enabled"; } - /** @name DancelightRuntimeRuntime (866) */ + /** @name DancelightRuntimeRuntime (884) */ type DancelightRuntimeRuntime = Null; } // declare module