From 60db3e530b12343eddf9142cbbe78c000d61491c Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 25 Apr 2023 10:20:21 +0200 Subject: [PATCH 1/7] code gen for root error --- codegen/src/api/errors.rs | 35 + codegen/src/api/mod.rs | 52 + subxt/src/error/dispatch_error.rs | 9 + subxt/src/error/mod.rs | 9 +- subxt/src/metadata/metadata_type.rs | 9 + .../integration-tests/src/codegen/polkadot.rs | 1481 ++++++++++++++++- 6 files changed, 1591 insertions(+), 4 deletions(-) create mode 100644 codegen/src/api/errors.rs diff --git a/codegen/src/api/errors.rs b/codegen/src/api/errors.rs new file mode 100644 index 0000000000..e38de6adc4 --- /dev/null +++ b/codegen/src/api/errors.rs @@ -0,0 +1,35 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use frame_metadata::v15::PalletMetadata; +use proc_macro2::TokenStream as TokenStream2; +use quote::quote; +use scale_info::form::PortableForm; + +use crate::{types::TypeGenerator}; + +use super::CodegenError; + +/// Generate error type alias from the provided pallet metadata. +pub fn generate_error_type_alias( + type_gen: &TypeGenerator, + pallet: &PalletMetadata, + should_gen_docs: bool, +) -> Result { + let Some(error) = &pallet.error else { + return Ok(quote!()); + }; + + let error_type = type_gen.resolve_type_path(error.ty.id); + let error_ty = type_gen.resolve_type(error.ty.id); + let docs = &error_ty.docs; + let docs = should_gen_docs + .then_some(quote! { #( #[doc = #docs ] )* }) + .unwrap_or_default(); + Ok(quote! { + #docs + pub type Error = #error_type; + + }) +} diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index ae52fb3f2a..b23b0287ca 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -6,6 +6,7 @@ mod calls; mod constants; +mod errors; mod events; mod storage; @@ -320,10 +321,13 @@ impl RuntimeGenerator { should_gen_docs, )?; + let errors = errors::generate_error_type_alias(&type_gen, pallet, should_gen_docs)?; + Ok(quote! { pub mod #mod_name { use super::root_mod; use super::#types_mod_ident; + #errors #calls #event #storage_mod @@ -371,6 +375,42 @@ impl RuntimeGenerator { }) }); + let outer_error_variants = self.metadata.pallets.iter().filter_map(|p| { + let variant_name = format_ident!("{}", p.name); + let mod_name = format_ident!("{}", p.name.to_string().to_snake_case()); + let index = proc_macro2::Literal::u8_unsuffixed(p.index); + + p.error.as_ref().map(|_| { + quote! { + #[codec(index = #index)] + #variant_name(#mod_name::Error), + } + }) + }); + + let outer_error = quote! { + #default_derives + pub enum Error { + #( #outer_error_variants )* + } + }; + + let root_error_match_arms = self.metadata.pallets.iter().filter_map(|p| { + let variant_index = p.index; + let variant_name_str = &p.name; + let variant_name = format_ident!("{}", variant_name_str); + let mod_name = format_ident!("{}", variant_name_str.to_string().to_snake_case()); + + p.error.as_ref().map(|_| + quote! { + #variant_index => { + let variant_error: #mod_name::Error = #crate_path::ext::codec::Decode::decode(cursor)?; + Ok(Error::#variant_name(variant_error)) + } + } + ) + }); + let mod_ident = &item_mod_ir.ident; let pallets_with_constants: Vec<_> = pallets_with_mod_names .iter() @@ -424,6 +464,18 @@ impl RuntimeGenerator { } } + #outer_error + impl #crate_path::error::RootError for Error { + fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result { + let cursor = &mut &error[..]; + match *pallet_index { + #( #root_error_match_arms )* + _ => Err(#crate_path::ext::scale_decode::Error::custom(format!("Pallet index '{}' not found", pallet_index)).into()) + } + } + } + + pub fn constants() -> ConstantsApi { ConstantsApi } diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index b2094f733e..c8ae2f64d1 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -10,6 +10,9 @@ use core::fmt::Debug; use scale_decode::visitor::DecodeAsTypeResult; use std::borrow::Cow; +use super::Error; +use crate::error::RootError; + /// An error dispatching a transaction. #[derive(Debug, thiserror::Error, PartialEq, Eq)] #[non_exhaustive] @@ -159,6 +162,12 @@ impl ModuleError { pub fn raw(&self) -> RawModuleError { self.raw } + + /// attempts to decode the ModuleError into a value implementing the trait `RootError` + /// where the actual type of value is the generated top level enum `Error`. + pub fn as_root_error(&self) -> Result { + E::root_error(&self.raw.pallet_index, &self.raw.error) + } } /// The error details about a module error that has occurred. diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 16f3bbfabc..6736b25064 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -14,7 +14,7 @@ pub use dispatch_error::{ }; // Re-expose the errors we use from other crates here: -pub use crate::metadata::{InvalidMetadataError, MetadataError}; +pub use crate::metadata::{InvalidMetadataError, Metadata, MetadataError}; pub use scale_decode::Error as DecodeError; pub use scale_encode::Error as EncodeError; @@ -162,3 +162,10 @@ pub enum StorageAddressError { fields: usize, }, } + +/// This trait is implemented on the statically generated root ModuleError type +#[doc(hidden)] +pub trait RootError: Sized { + /// Given details of the pallet error we want to decode + fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result; +} diff --git a/subxt/src/metadata/metadata_type.rs b/subxt/src/metadata/metadata_type.rs index 7a8966d3ea..51722cf348 100644 --- a/subxt/src/metadata/metadata_type.rs +++ b/subxt/src/metadata/metadata_type.rs @@ -103,6 +103,15 @@ impl Metadata { .ok_or(MetadataError::PalletNotFound) } + /// Returns a reference to [`PalletMetadata`]. + pub fn pallet_by_index(&self, pallet_index: u8) -> Result<&PalletMetadata, MetadataError> { + self.inner + .pallets + .values() + .find(|pallet_metadata| pallet_metadata.index == pallet_index) + .ok_or(MetadataError::PalletNotFound) + } + /// Returns the metadata for the event at the given pallet and event indices. pub fn event( &self, diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index 062e6f1c45..8fea431187 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -60,11 +60,100 @@ pub mod api { "Crowdloan", "XcmPallet", ]; - #[doc = r" The statically generated runtime call type."] - pub type Call = runtime_types::polkadot_runtime::RuntimeCall; #[doc = r" The error type returned when there is a runtime issue."] pub type DispatchError = runtime_types::sp_runtime::DispatchError; - pub type Event = runtime_types::polkadot_runtime::RuntimeEvent; + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub enum Event { + #[codec(index = 0)] + System(system::Event), + #[codec(index = 1)] + Scheduler(scheduler::Event), + #[codec(index = 10)] + Preimage(preimage::Event), + #[codec(index = 4)] + Indices(indices::Event), + #[codec(index = 5)] + Balances(balances::Event), + #[codec(index = 32)] + TransactionPayment(transaction_payment::Event), + #[codec(index = 7)] + Staking(staking::Event), + #[codec(index = 8)] + Offences(offences::Event), + #[codec(index = 9)] + Session(session::Event), + #[codec(index = 11)] + Grandpa(grandpa::Event), + #[codec(index = 12)] + ImOnline(im_online::Event), + #[codec(index = 14)] + Democracy(democracy::Event), + #[codec(index = 15)] + Council(council::Event), + #[codec(index = 16)] + TechnicalCommittee(technical_committee::Event), + #[codec(index = 17)] + PhragmenElection(phragmen_election::Event), + #[codec(index = 18)] + TechnicalMembership(technical_membership::Event), + #[codec(index = 19)] + Treasury(treasury::Event), + #[codec(index = 24)] + Claims(claims::Event), + #[codec(index = 25)] + Vesting(vesting::Event), + #[codec(index = 26)] + Utility(utility::Event), + #[codec(index = 28)] + Identity(identity::Event), + #[codec(index = 29)] + Proxy(proxy::Event), + #[codec(index = 30)] + Multisig(multisig::Event), + #[codec(index = 34)] + Bounties(bounties::Event), + #[codec(index = 38)] + ChildBounties(child_bounties::Event), + #[codec(index = 35)] + Tips(tips::Event), + #[codec(index = 36)] + ElectionProviderMultiPhase(election_provider_multi_phase::Event), + #[codec(index = 37)] + VoterList(voter_list::Event), + #[codec(index = 39)] + NominationPools(nomination_pools::Event), + #[codec(index = 40)] + FastUnstake(fast_unstake::Event), + #[codec(index = 53)] + ParaInclusion(para_inclusion::Event), + #[codec(index = 56)] + Paras(paras::Event), + #[codec(index = 59)] + Ump(ump::Event), + #[codec(index = 60)] + Hrmp(hrmp::Event), + #[codec(index = 62)] + ParasDisputes(paras_disputes::Event), + #[codec(index = 70)] + Registrar(registrar::Event), + #[codec(index = 71)] + Slots(slots::Event), + #[codec(index = 72)] + Auctions(auctions::Event), + #[codec(index = 73)] + Crowdloan(crowdloan::Event), + #[codec(index = 99)] + XcmPallet(xcm_pallet::Event), + } impl ::subxt::events::RootEvent for Event { fn root_event( pallet_bytes: &[u8], @@ -380,6 +469,365 @@ pub mod api { .into()) } } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + :: subxt :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + pub enum Error { + #[codec(index = 0)] + System(system::Error), + #[codec(index = 1)] + Scheduler(scheduler::Error), + #[codec(index = 10)] + Preimage(preimage::Error), + #[codec(index = 2)] + Babe(babe::Error), + #[codec(index = 4)] + Indices(indices::Error), + #[codec(index = 5)] + Balances(balances::Error), + #[codec(index = 6)] + Authorship(authorship::Error), + #[codec(index = 7)] + Staking(staking::Error), + #[codec(index = 9)] + Session(session::Error), + #[codec(index = 11)] + Grandpa(grandpa::Error), + #[codec(index = 12)] + ImOnline(im_online::Error), + #[codec(index = 14)] + Democracy(democracy::Error), + #[codec(index = 15)] + Council(council::Error), + #[codec(index = 16)] + TechnicalCommittee(technical_committee::Error), + #[codec(index = 17)] + PhragmenElection(phragmen_election::Error), + #[codec(index = 18)] + TechnicalMembership(technical_membership::Error), + #[codec(index = 19)] + Treasury(treasury::Error), + #[codec(index = 24)] + Claims(claims::Error), + #[codec(index = 25)] + Vesting(vesting::Error), + #[codec(index = 26)] + Utility(utility::Error), + #[codec(index = 28)] + Identity(identity::Error), + #[codec(index = 29)] + Proxy(proxy::Error), + #[codec(index = 30)] + Multisig(multisig::Error), + #[codec(index = 34)] + Bounties(bounties::Error), + #[codec(index = 38)] + ChildBounties(child_bounties::Error), + #[codec(index = 35)] + Tips(tips::Error), + #[codec(index = 36)] + ElectionProviderMultiPhase(election_provider_multi_phase::Error), + #[codec(index = 37)] + VoterList(voter_list::Error), + #[codec(index = 39)] + NominationPools(nomination_pools::Error), + #[codec(index = 40)] + FastUnstake(fast_unstake::Error), + #[codec(index = 51)] + Configuration(configuration::Error), + #[codec(index = 53)] + ParaInclusion(para_inclusion::Error), + #[codec(index = 54)] + ParaInherent(para_inherent::Error), + #[codec(index = 56)] + Paras(paras::Error), + #[codec(index = 59)] + Ump(ump::Error), + #[codec(index = 60)] + Hrmp(hrmp::Error), + #[codec(index = 62)] + ParasDisputes(paras_disputes::Error), + #[codec(index = 70)] + Registrar(registrar::Error), + #[codec(index = 71)] + Slots(slots::Error), + #[codec(index = 72)] + Auctions(auctions::Error), + #[codec(index = 73)] + Crowdloan(crowdloan::Error), + #[codec(index = 99)] + XcmPallet(xcm_pallet::Error), + } + impl ::subxt::error::RootError for Error { + fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result { + let cursor = &mut &error[..]; + match *pallet_index { + 0u8 => { + let variant_error: system::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::System(variant_error)) + } + 1u8 => { + let variant_error: scheduler::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Scheduler(variant_error)) + } + 10u8 => { + let variant_error: preimage::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Preimage(variant_error)) + } + 2u8 => { + let variant_error: babe::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Babe(variant_error)) + } + 3u8 => { + let variant_error: timestamp::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Timestamp(variant_error)) + } + 4u8 => { + let variant_error: indices::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Indices(variant_error)) + } + 5u8 => { + let variant_error: balances::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Balances(variant_error)) + } + 32u8 => { + let variant_error: transaction_payment::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::TransactionPayment(variant_error)) + } + 6u8 => { + let variant_error: authorship::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Authorship(variant_error)) + } + 7u8 => { + let variant_error: staking::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Staking(variant_error)) + } + 8u8 => { + let variant_error: offences::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Offences(variant_error)) + } + 33u8 => { + let variant_error: historical::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Historical(variant_error)) + } + 9u8 => { + let variant_error: session::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Session(variant_error)) + } + 11u8 => { + let variant_error: grandpa::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Grandpa(variant_error)) + } + 12u8 => { + let variant_error: im_online::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ImOnline(variant_error)) + } + 13u8 => { + let variant_error: authority_discovery::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::AuthorityDiscovery(variant_error)) + } + 14u8 => { + let variant_error: democracy::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Democracy(variant_error)) + } + 15u8 => { + let variant_error: council::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Council(variant_error)) + } + 16u8 => { + let variant_error: technical_committee::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::TechnicalCommittee(variant_error)) + } + 17u8 => { + let variant_error: phragmen_election::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::PhragmenElection(variant_error)) + } + 18u8 => { + let variant_error: technical_membership::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::TechnicalMembership(variant_error)) + } + 19u8 => { + let variant_error: treasury::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Treasury(variant_error)) + } + 24u8 => { + let variant_error: claims::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Claims(variant_error)) + } + 25u8 => { + let variant_error: vesting::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Vesting(variant_error)) + } + 26u8 => { + let variant_error: utility::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Utility(variant_error)) + } + 28u8 => { + let variant_error: identity::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Identity(variant_error)) + } + 29u8 => { + let variant_error: proxy::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Proxy(variant_error)) + } + 30u8 => { + let variant_error: multisig::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Multisig(variant_error)) + } + 34u8 => { + let variant_error: bounties::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Bounties(variant_error)) + } + 38u8 => { + let variant_error: child_bounties::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ChildBounties(variant_error)) + } + 35u8 => { + let variant_error: tips::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Tips(variant_error)) + } + 36u8 => { + let variant_error: election_provider_multi_phase::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ElectionProviderMultiPhase(variant_error)) + } + 37u8 => { + let variant_error: voter_list::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::VoterList(variant_error)) + } + 39u8 => { + let variant_error: nomination_pools::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::NominationPools(variant_error)) + } + 40u8 => { + let variant_error: fast_unstake::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::FastUnstake(variant_error)) + } + 50u8 => { + let variant_error: parachains_origin::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParachainsOrigin(variant_error)) + } + 51u8 => { + let variant_error: configuration::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Configuration(variant_error)) + } + 52u8 => { + let variant_error: paras_shared::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParasShared(variant_error)) + } + 53u8 => { + let variant_error: para_inclusion::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParaInclusion(variant_error)) + } + 54u8 => { + let variant_error: para_inherent::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParaInherent(variant_error)) + } + 55u8 => { + let variant_error: para_scheduler::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParaScheduler(variant_error)) + } + 56u8 => { + let variant_error: paras::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Paras(variant_error)) + } + 57u8 => { + let variant_error: initializer::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Initializer(variant_error)) + } + 58u8 => { + let variant_error: dmp::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Dmp(variant_error)) + } + 59u8 => { + let variant_error: ump::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Ump(variant_error)) + } + 60u8 => { + let variant_error: hrmp::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Hrmp(variant_error)) + } + 61u8 => { + let variant_error: para_session_info::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParaSessionInfo(variant_error)) + } + 62u8 => { + let variant_error: paras_disputes::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::ParasDisputes(variant_error)) + } + 70u8 => { + let variant_error: registrar::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Registrar(variant_error)) + } + 71u8 => { + let variant_error: slots::Error = ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Slots(variant_error)) + } + 72u8 => { + let variant_error: auctions::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Auctions(variant_error)) + } + 73u8 => { + let variant_error: crowdloan::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::Crowdloan(variant_error)) + } + 99u8 => { + let variant_error: xcm_pallet::Error = + ::subxt::ext::codec::Decode::decode(cursor)?; + Ok(Error::XcmPallet(variant_error)) + } + _ => todo!(), + } + } + } pub fn constants() -> ConstantsApi { ConstantsApi } @@ -802,6 +1250,8 @@ pub mod api { pub mod system { use super::root_mod; use super::runtime_types; + #[doc = "Error for the System pallet"] + pub type Error = runtime_types::frame_system::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -814,6 +1264,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct FillBlock { @@ -826,6 +1277,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Remark { @@ -839,6 +1291,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHeapPages { @@ -851,6 +1304,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetCode { @@ -863,6 +1317,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetCodeWithoutChecks { @@ -875,6 +1330,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetStorage { @@ -890,6 +1346,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KillStorage { @@ -902,6 +1359,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KillPrefix { @@ -915,6 +1373,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemarkWithEvent { @@ -1114,6 +1573,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An extrinsic completed successfully."] @@ -1131,6 +1591,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An extrinsic failed."] @@ -1149,6 +1610,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "`:code` was updated."] @@ -1164,6 +1626,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new account was created."] @@ -1181,6 +1644,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account was reaped."] @@ -1198,6 +1662,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "On on-chain remark happened."] @@ -1799,6 +2264,8 @@ pub mod api { pub mod scheduler { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_scheduler::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -1811,6 +2278,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Schedule { @@ -1827,6 +2295,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Cancel { @@ -1840,6 +2309,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleNamed { @@ -1857,6 +2327,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelNamed { @@ -1869,6 +2340,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleAfter { @@ -1885,6 +2357,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleNamedAfter { @@ -2065,6 +2538,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Scheduled some task."] @@ -2083,6 +2557,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Canceled some task."] @@ -2101,6 +2576,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Dispatched some task."] @@ -2120,6 +2596,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The call for the provided hash was not found so the task has been aborted."] @@ -2138,6 +2615,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given task was unable to be renewed since the agenda is full at that block."] @@ -2156,6 +2634,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given task can never be executed since it is overweight."] @@ -2358,6 +2837,8 @@ pub mod api { pub mod preimage { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_preimage::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -2370,6 +2851,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct NotePreimage { @@ -2382,6 +2864,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnnotePreimage { @@ -2394,6 +2877,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RequestPreimage { @@ -2406,6 +2890,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnrequestPreimage { @@ -2503,6 +2988,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A preimage has been noted."] @@ -2520,6 +3006,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A preimage has been requested."] @@ -2537,6 +3024,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A preimage has ben cleared."] @@ -2654,6 +3142,8 @@ pub mod api { pub mod babe { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_babe::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -2666,6 +3156,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReportEquivocation { @@ -2687,6 +3178,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReportEquivocationUnsigned { @@ -2708,6 +3200,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PlanConfigChange { @@ -3291,6 +3784,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Set { @@ -3405,6 +3899,8 @@ pub mod api { pub mod indices { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_indices::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -3418,6 +3914,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Claim { @@ -3430,6 +3927,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Transfer { @@ -3444,6 +3942,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Free { @@ -3456,6 +3955,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceTransfer { @@ -3471,6 +3971,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Freeze { @@ -3660,6 +4161,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A account index was assigned."] @@ -3679,6 +4181,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A account index has been freed up (unassigned)."] @@ -3696,6 +4199,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A account index has been frozen to its current account ID."] @@ -3791,6 +4295,8 @@ pub mod api { pub mod balances { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_balances::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -3803,6 +4309,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Transfer { @@ -3817,6 +4324,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetBalance { @@ -3833,6 +4341,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceTransfer { @@ -3848,6 +4357,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TransferKeepAlive { @@ -3862,6 +4372,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TransferAll { @@ -3875,6 +4386,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceUnreserve { @@ -4073,6 +4585,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account was created with some free balance."] @@ -4091,6 +4604,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] @@ -4110,6 +4624,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Transfer succeeded."] @@ -4129,6 +4644,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A balance was set by root."] @@ -4148,6 +4664,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some balance was reserved (moved from free to reserved)."] @@ -4166,6 +4683,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some balance was unreserved (moved from reserved to free)."] @@ -4184,6 +4702,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some balance was moved from the reserve of the first account to the second account."] @@ -4206,6 +4725,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some amount was deposited (e.g. for transaction fees)."] @@ -4224,6 +4744,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] @@ -4242,6 +4763,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] @@ -4564,6 +5086,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,"] @@ -4670,6 +5193,8 @@ pub mod api { pub mod authorship { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_authorship::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -4682,6 +5207,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetUncles { @@ -4822,6 +5348,8 @@ pub mod api { pub mod staking { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_staking::pallet::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -4834,6 +5362,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Bond { @@ -4850,6 +5379,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BondExtra { @@ -4863,6 +5393,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Unbond { @@ -4877,6 +5408,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WithdrawUnbonded { @@ -4889,6 +5421,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Validate { @@ -4901,6 +5434,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Nominate { @@ -4914,6 +5448,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Chill; @@ -4924,6 +5459,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetPayee { @@ -4937,6 +5473,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetController { @@ -4949,6 +5486,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetValidatorCount { @@ -4962,6 +5500,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IncreaseValidatorCount { @@ -4975,6 +5514,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScaleValidatorCount { @@ -4987,6 +5527,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceNoEras; @@ -4997,6 +5538,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceNewEra; @@ -5007,6 +5549,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetInvulnerables { @@ -5019,6 +5562,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceUnstake { @@ -5032,6 +5576,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceNewEraAlways; @@ -5042,6 +5587,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelDeferredSlash { @@ -5055,6 +5601,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PayoutStakers { @@ -5068,6 +5615,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Rebond { @@ -5081,6 +5629,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReapStash { @@ -5094,6 +5643,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Kick { @@ -5107,6 +5657,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetStakingConfigs { @@ -5134,6 +5685,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ChillOther { @@ -5146,6 +5698,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceApplyMinCommission { @@ -5892,6 +6445,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The era payout has been set; the first balance is the validator-payout; the second is"] @@ -5912,6 +6466,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The nominator has been rewarded by this amount."] @@ -5930,6 +6485,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "One staker (and potentially its nominators) has been slashed by the given amount."] @@ -5949,6 +6505,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An old slashing report from a prior era was discarded because it could"] @@ -5967,6 +6524,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new set of stakers was elected."] @@ -5982,6 +6540,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has bonded this amount. \\[stash, amount\\]"] @@ -6003,6 +6562,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has unbonded this amount."] @@ -6021,6 +6581,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] @@ -6040,6 +6601,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A nominator has been kicked from a validator."] @@ -6058,6 +6620,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The election failed. No new era is planned."] @@ -6073,6 +6636,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has stopped participating as either a validator or nominator."] @@ -6090,6 +6654,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The stakers' rewards are getting paid."] @@ -6108,6 +6673,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A validator has set their preferences."] @@ -7651,6 +8217,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "There is an offence reported of the given `kind` happened at the `session_index` and"] @@ -7846,6 +8413,8 @@ pub mod api { pub mod session { use super::root_mod; use super::runtime_types; + #[doc = "Error for the session pallet."] + pub type Error = runtime_types::pallet_session::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -7858,6 +8427,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetKeys { @@ -7871,6 +8441,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PurgeKeys; @@ -7948,6 +8519,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "New session has happened. Note that the argument is the session index, not the"] @@ -8182,6 +8754,8 @@ pub mod api { pub mod grandpa { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_grandpa::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -8194,6 +8768,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReportEquivocation { @@ -8212,6 +8787,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReportEquivocationUnsigned { @@ -8230,6 +8806,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct NoteStalled { @@ -8341,6 +8918,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "New authority set has been applied."] @@ -8361,6 +8939,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current authority set has been paused."] @@ -8376,6 +8955,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current authority set has been resumed."] @@ -8578,6 +9158,8 @@ pub mod api { pub mod im_online { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_im_online::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -8590,6 +9172,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Heartbeat { @@ -8640,6 +9223,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new heartbeat was received from `AuthorityId`."] @@ -8657,6 +9241,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "At the end of the session, no offence was committed."] @@ -8672,6 +9257,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "At the end of the session, at least one validator was found to be offline."] @@ -8889,6 +9475,8 @@ pub mod api { pub mod democracy { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_democracy::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -8901,6 +9489,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Propose { @@ -8917,6 +9506,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Second { @@ -8930,6 +9520,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vote { @@ -8946,6 +9537,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EmergencyCancel { @@ -8958,6 +9550,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ExternalPropose { @@ -8972,6 +9565,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ExternalProposeMajority { @@ -8986,6 +9580,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ExternalProposeDefault { @@ -9000,6 +9595,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct FastTrack { @@ -9014,6 +9610,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct VetoExternal { @@ -9026,6 +9623,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelReferendum { @@ -9039,6 +9637,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Delegate { @@ -9053,6 +9652,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Undelegate; @@ -9063,6 +9663,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClearPublicProposals; @@ -9073,6 +9674,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Unlock { @@ -9086,6 +9688,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveVote { @@ -9098,6 +9701,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveOtherVote { @@ -9111,6 +9715,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Blacklist { @@ -9124,6 +9729,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelProposal { @@ -9646,6 +10252,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion has been proposed by a public account."] @@ -9664,6 +10271,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A public proposal has been tabled for referendum vote."] @@ -9682,6 +10290,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An external proposal has been tabled."] @@ -9697,6 +10306,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A referendum has begun."] @@ -9716,6 +10326,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal has been approved by referendum."] @@ -9734,6 +10345,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal has been rejected by referendum."] @@ -9752,6 +10364,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A referendum has been cancelled."] @@ -9769,6 +10382,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has delegated their vote to another account."] @@ -9787,6 +10401,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has cancelled a previous delegation operation."] @@ -9804,6 +10419,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An external proposal has been vetoed."] @@ -9823,6 +10439,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal_hash has been blacklisted permanently."] @@ -9840,6 +10457,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has voted in a referendum"] @@ -9860,6 +10478,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has secconded a proposal"] @@ -9879,6 +10498,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal got canceled."] @@ -10519,6 +11139,8 @@ pub mod api { pub mod council { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_collective::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -10531,6 +11153,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMembers { @@ -10545,6 +11168,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { @@ -10559,6 +11183,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Propose { @@ -10575,6 +11200,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vote { @@ -10590,6 +11216,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CloseOldWeight { @@ -10608,6 +11235,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DisapproveProposal { @@ -10620,6 +11248,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Close { @@ -10954,6 +11583,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] @@ -10975,6 +11605,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion (given hash) has been voted on by given account, leaving"] @@ -10997,6 +11628,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was approved by the required threshold."] @@ -11014,6 +11646,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was not approved by the required threshold."] @@ -11031,6 +11664,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] @@ -11049,6 +11683,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] @@ -11067,6 +11702,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] @@ -11278,6 +11914,8 @@ pub mod api { pub mod technical_committee { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_collective::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -11290,6 +11928,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMembers { @@ -11304,6 +11943,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { @@ -11318,6 +11958,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Propose { @@ -11334,6 +11975,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vote { @@ -11349,6 +11991,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CloseOldWeight { @@ -11367,6 +12010,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DisapproveProposal { @@ -11379,6 +12023,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Close { @@ -11713,6 +12358,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] @@ -11734,6 +12380,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion (given hash) has been voted on by given account, leaving"] @@ -11756,6 +12403,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was approved by the required threshold."] @@ -11773,6 +12421,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was not approved by the required threshold."] @@ -11790,6 +12439,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] @@ -11808,6 +12458,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] @@ -11826,6 +12477,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] @@ -12037,6 +12689,8 @@ pub mod api { pub mod phragmen_election { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_elections_phragmen::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -12049,6 +12703,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vote { @@ -12063,6 +12718,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveVoter; @@ -12073,6 +12729,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SubmitCandidacy { @@ -12086,6 +12743,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RenounceCandidacy { @@ -12098,6 +12756,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveMember { @@ -12112,6 +12771,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CleanDefunctVoters { @@ -12322,6 +12982,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new term with new_members. This indicates that enough candidates existed to run"] @@ -12344,6 +13005,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "No (or not enough) candidates existed for this round. This is different from"] @@ -12360,6 +13022,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Internal error happened while trying to perform election."] @@ -12375,6 +13038,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A member has been removed. This should always be followed by either `NewTerm` or"] @@ -12393,6 +13057,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Someone has renounced their candidacy."] @@ -12410,6 +13075,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate was slashed by amount due to failing to obtain a seat as member or"] @@ -12431,6 +13097,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A seat holder was slashed by amount by being forcefully removed from the set."] @@ -12762,6 +13429,8 @@ pub mod api { pub mod technical_membership { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_membership::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -12774,6 +13443,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddMember { @@ -12786,6 +13456,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveMember { @@ -12798,6 +13469,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SwapMember { @@ -12811,6 +13483,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ResetMembers { @@ -12823,6 +13496,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ChangeKey { @@ -12835,6 +13509,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetPrime { @@ -12847,6 +13522,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClearPrime; @@ -12997,6 +13673,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given member was added; see the transaction for who."] @@ -13012,6 +13689,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given member was removed; see the transaction for who."] @@ -13027,6 +13705,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Two members were swapped; see the transaction for who."] @@ -13042,6 +13721,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The membership was reset; see the transaction for who the new set is."] @@ -13057,6 +13737,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "One of the members' keys changed."] @@ -13072,6 +13753,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Phantom member, never used."] @@ -13136,6 +13818,8 @@ pub mod api { pub mod treasury { use super::root_mod; use super::runtime_types; + #[doc = "Error for the treasury pallet."] + pub type Error = runtime_types::pallet_treasury::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -13148,6 +13832,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProposeSpend { @@ -13162,6 +13847,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RejectProposal { @@ -13175,6 +13861,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ApproveProposal { @@ -13188,6 +13875,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Spend { @@ -13202,6 +13890,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveApproval { @@ -13356,6 +14045,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "New proposal."] @@ -13374,6 +14064,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "We have ended a spend period and will now allocate funds."] @@ -13391,6 +14082,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some funds have been allocated."] @@ -13410,6 +14102,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proposal was rejected; funds were slashed."] @@ -13429,6 +14122,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some of our funds have been burnt."] @@ -13447,6 +14141,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Spending has finished; this is the amount that rolls over until next spend."] @@ -13465,6 +14160,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some funds have been deposited."] @@ -13482,6 +14178,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new spend proposal has been approved."] @@ -13712,6 +14409,8 @@ pub mod api { pub mod claims { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_common::claims::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -13724,6 +14423,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Claim { @@ -13738,6 +14438,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MintClaim { @@ -13759,6 +14460,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClaimAttest { @@ -13774,6 +14476,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Attest { @@ -13786,6 +14489,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MoveClaim { @@ -13997,6 +14701,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Someone claimed some DOTs."] @@ -14263,6 +14968,8 @@ pub mod api { pub mod vesting { use super::root_mod; use super::runtime_types; + #[doc = "Error for the vesting pallet."] + pub type Error = runtime_types::pallet_vesting::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -14275,6 +14982,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vest; @@ -14285,6 +14993,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct VestOther { @@ -14297,6 +15006,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct VestedTransfer { @@ -14313,6 +15023,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceVestedTransfer { @@ -14330,6 +15041,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MergeSchedules { @@ -14526,6 +15238,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The amount vested has been updated. This could indicate a change in funds available."] @@ -14545,6 +15258,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An \\[account\\] has become fully vested."] @@ -14678,6 +15392,8 @@ pub mod api { pub mod utility { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_utility::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -14690,6 +15406,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Batch { @@ -14702,6 +15419,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AsDerivative { @@ -14715,6 +15433,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BatchAll { @@ -14727,6 +15446,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DispatchAs { @@ -14740,6 +15460,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceBatch { @@ -14918,6 +15639,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Batch of dispatches did not complete fully. Index of first failing dispatch given, as"] @@ -14937,6 +15659,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Batch of dispatches completed fully with no error."] @@ -14952,6 +15675,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Batch of dispatches completed but has errors."] @@ -14967,6 +15691,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with no error."] @@ -14982,6 +15707,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with error."] @@ -14999,6 +15725,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A call was dispatched."] @@ -15035,6 +15762,8 @@ pub mod api { pub mod identity { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_identity::pallet::Error; #[doc = "Identity pallet declaration."] pub mod calls { use super::root_mod; @@ -15047,6 +15776,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddRegistrar { @@ -15059,6 +15789,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetIdentity { @@ -15071,6 +15802,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetSubs { @@ -15086,6 +15818,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClearIdentity; @@ -15096,6 +15829,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RequestJudgement { @@ -15112,6 +15846,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelRequest { @@ -15124,6 +15859,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetFee { @@ -15139,6 +15875,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetAccountId { @@ -15153,6 +15890,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetFields { @@ -15169,6 +15907,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProvideJudgement { @@ -15186,6 +15925,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KillIdentity { @@ -15198,6 +15938,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddSub { @@ -15211,6 +15952,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RenameSub { @@ -15224,6 +15966,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveSub { @@ -15236,6 +15979,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct QuitSub; @@ -15719,6 +16463,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A name was set or reset (which will remove all judgements)."] @@ -15736,6 +16481,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A name was cleared, and the given balance returned."] @@ -15754,6 +16500,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A name was removed and the given balance slashed."] @@ -15772,6 +16519,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A judgement was asked from a registrar."] @@ -15790,6 +16538,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A judgement request was retracted."] @@ -15808,6 +16557,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A judgement was given by a registrar."] @@ -15827,6 +16577,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A registrar was added."] @@ -15844,6 +16595,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A sub-identity was added to an identity and the deposit paid."] @@ -15863,6 +16615,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A sub-identity was removed from an identity and the deposit freed."] @@ -15882,6 +16635,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A sub-identity was cleared, and the given deposit repatriated from the"] @@ -16203,6 +16957,8 @@ pub mod api { pub mod proxy { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_proxy::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -16215,6 +16971,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Proxy { @@ -16230,6 +16987,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddProxy { @@ -16244,6 +17002,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveProxy { @@ -16258,6 +17017,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveProxies; @@ -16268,6 +17028,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CreatePure { @@ -16282,6 +17043,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KillPure { @@ -16300,6 +17062,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Announce { @@ -16313,6 +17076,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveAnnouncement { @@ -16326,6 +17090,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RejectAnnouncement { @@ -16339,6 +17104,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProxyAnnounced { @@ -16682,6 +17448,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proxy was executed correctly, with the given."] @@ -16699,6 +17466,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A pure account has been created by new proxy with given"] @@ -16720,6 +17488,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An announcement was placed to make a call in the future."] @@ -16739,6 +17508,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proxy was added."] @@ -16759,6 +17529,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A proxy was removed."] @@ -17014,6 +17785,8 @@ pub mod api { pub mod multisig { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_multisig::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -17026,6 +17799,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AsMultiThreshold1 { @@ -17039,6 +17813,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AsMulti { @@ -17057,6 +17832,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ApproveAsMulti { @@ -17075,6 +17851,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelAsMulti { @@ -17318,6 +18095,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new multisig operation has begun."] @@ -17337,6 +18115,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A multisig operation has been approved by someone."] @@ -17357,6 +18136,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A multisig operation has been executed."] @@ -17378,6 +18158,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A multisig operation has been cancelled."] @@ -17511,6 +18292,8 @@ pub mod api { pub mod bounties { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_bounties::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -17523,6 +18306,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProposeBounty { @@ -17537,6 +18321,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ApproveBounty { @@ -17550,6 +18335,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProposeCurator { @@ -17566,6 +18352,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnassignCurator { @@ -17579,6 +18366,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AcceptCurator { @@ -17592,6 +18380,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AwardBounty { @@ -17606,6 +18395,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClaimBounty { @@ -17619,6 +18409,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CloseBounty { @@ -17632,6 +18423,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ExtendBountyExpiry { @@ -17900,6 +18692,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "New bounty proposal."] @@ -17917,6 +18710,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty proposal was rejected; funds were slashed."] @@ -17936,6 +18730,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty proposal is funded and became active."] @@ -17953,6 +18748,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty is awarded to a beneficiary."] @@ -17971,6 +18767,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty is claimed by beneficiary."] @@ -17991,6 +18788,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty is cancelled."] @@ -18009,6 +18807,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A bounty expiry is extended."] @@ -18319,6 +19118,8 @@ pub mod api { pub mod child_bounties { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_child_bounties::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -18331,6 +19132,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddChildBounty { @@ -18347,6 +19149,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProposeCurator { @@ -18365,6 +19168,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AcceptCurator { @@ -18380,6 +19184,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnassignCurator { @@ -18395,6 +19200,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AwardChildBounty { @@ -18411,6 +19217,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClaimChildBounty { @@ -18426,6 +19233,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CloseChildBounty { @@ -18736,6 +19544,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A child-bounty is added."] @@ -18754,6 +19563,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A child-bounty is awarded to a beneficiary."] @@ -18773,6 +19583,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A child-bounty is claimed by beneficiary."] @@ -18793,6 +19604,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A child-bounty is cancelled."] @@ -19069,6 +19881,8 @@ pub mod api { pub mod tips { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_tips::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -19081,6 +19895,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReportAwesome { @@ -19094,6 +19909,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RetractTip { @@ -19106,6 +19922,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TipNew { @@ -19121,6 +19938,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Tip { @@ -19135,6 +19953,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CloseTip { @@ -19147,6 +19966,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SlashTip { @@ -19379,6 +20199,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new tip suggestion has been opened."] @@ -19396,6 +20217,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A tip suggestion has reached threshold and is closing."] @@ -19413,6 +20235,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A tip suggestion has been closed."] @@ -19432,6 +20255,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A tip suggestion has been retracted."] @@ -19449,6 +20273,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A tip suggestion has been slashed."] @@ -19658,6 +20483,8 @@ pub mod api { pub mod election_provider_multi_phase { use super::root_mod; use super::runtime_types; + #[doc = "Error of the pallet that can be returned in response to dispatches."] + pub type Error = runtime_types::pallet_election_provider_multi_phase::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -19670,6 +20497,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SubmitUnsigned { @@ -19688,6 +20516,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMinimumUntrustedScore { @@ -19701,6 +20530,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetEmergencyElectionResult { @@ -19716,6 +20546,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Submit { @@ -19732,6 +20563,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct GovernanceFallback { @@ -19888,6 +20720,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A solution was stored with the given compute."] @@ -19911,6 +20744,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The election has been finalized, with the given computation and score."] @@ -19929,6 +20763,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An election failed."] @@ -19946,6 +20781,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has been rewarded for their signed submission being finalized."] @@ -19964,6 +20800,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An account has been slashed for submitting an invalid signed submission."] @@ -19983,6 +20820,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The signed phase of the given round has started."] @@ -20001,6 +20839,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The unsigned phase of the given round has started."] @@ -20615,6 +21454,8 @@ pub mod api { pub mod voter_list { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_bags_list::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -20627,6 +21468,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Rebag { @@ -20639,6 +21481,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PutInFrontOf { @@ -20709,6 +21552,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Moved an account from one bag to another."] @@ -20728,6 +21572,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Updated the score of some account to the given amount."] @@ -20932,6 +21777,8 @@ pub mod api { pub mod nomination_pools { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_nomination_pools::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -20944,6 +21791,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Join { @@ -20958,6 +21806,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BondExtra { @@ -20971,6 +21820,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClaimPayout; @@ -20981,6 +21831,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Unbond { @@ -20995,6 +21846,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PoolWithdrawUnbonded { @@ -21008,6 +21860,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WithdrawUnbonded { @@ -21021,6 +21874,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Create { @@ -21037,6 +21891,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CreateWithPoolId { @@ -21054,6 +21909,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Nominate { @@ -21067,6 +21923,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetState { @@ -21080,6 +21937,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMetadata { @@ -21093,6 +21951,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetConfigs { @@ -21114,6 +21973,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UpdateRoles { @@ -21133,6 +21993,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Chill { @@ -21581,6 +22442,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A pool has been created."] @@ -21599,6 +22461,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A member has became bonded in a pool."] @@ -21619,6 +22482,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A payout has been made to a member."] @@ -21638,6 +22502,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A member has unbonded from their pool."] @@ -21669,6 +22534,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A member has withdrawn from their pool."] @@ -21695,6 +22561,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A pool has been destroyed."] @@ -21712,6 +22579,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The state of a pool has changed"] @@ -21730,6 +22598,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A member has been removed from a pool."] @@ -21750,6 +22619,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] @@ -21770,6 +22640,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] @@ -21788,6 +22659,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] @@ -22412,6 +23284,8 @@ pub mod api { pub mod fast_unstake { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_fast_unstake::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -22424,6 +23298,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RegisterFastUnstake; @@ -22434,6 +23309,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Deregister; @@ -22445,6 +23321,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Control { @@ -22536,6 +23413,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A staker was unstaked."] @@ -22554,6 +23432,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A staker was slashed for requesting fast-unstake whilst being exposed."] @@ -22572,6 +23451,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some internal error happened while migrating stash. They are removed as head as a"] @@ -22590,6 +23470,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An internal error happened. Operations will be paused now."] @@ -22605,6 +23486,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A batch was partially checked for the given eras, but the process did not finish."] @@ -22622,6 +23504,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A batch was terminated."] @@ -22765,6 +23648,8 @@ pub mod api { pub mod configuration { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::configuration::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -22778,6 +23663,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetValidationUpgradeCooldown { @@ -22791,6 +23677,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetValidationUpgradeDelay { @@ -22804,6 +23691,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetCodeRetentionPeriod { @@ -22817,6 +23705,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxCodeSize { @@ -22830,6 +23719,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxPovSize { @@ -22843,6 +23733,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxHeadDataSize { @@ -22856,6 +23747,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetParathreadCores { @@ -22869,6 +23761,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetParathreadRetries { @@ -22882,6 +23775,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetGroupRotationFrequency { @@ -22895,6 +23789,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetChainAvailabilityPeriod { @@ -22908,6 +23803,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetThreadAvailabilityPeriod { @@ -22921,6 +23817,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetSchedulingLookahead { @@ -22933,6 +23830,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxValidatorsPerCore { @@ -22945,6 +23843,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxValidators { @@ -22958,6 +23857,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetDisputePeriod { @@ -22971,6 +23871,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetDisputePostConclusionAcceptancePeriod { @@ -22984,6 +23885,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetDisputeMaxSpamSlots { @@ -22997,6 +23899,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetDisputeConclusionByTimeOutPeriod { @@ -23010,6 +23913,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetNoShowSlots { @@ -23023,6 +23927,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetNDelayTranches { @@ -23036,6 +23941,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetZerothDelayTrancheWidth { @@ -23049,6 +23955,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetNeededApprovals { @@ -23062,6 +23969,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetRelayVrfModuloSamples { @@ -23075,6 +23983,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxUpwardQueueCount { @@ -23088,6 +23997,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxUpwardQueueSize { @@ -23101,6 +24011,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxDownwardMessageSize { @@ -23113,6 +24024,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetUmpServiceTotalWeight { @@ -23126,6 +24038,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxUpwardMessageSize { @@ -23139,6 +24052,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMaxUpwardMessageNumPerCandidate { @@ -23152,6 +24066,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpOpenRequestTtl { @@ -23165,6 +24080,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpSenderDeposit { @@ -23178,6 +24094,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpRecipientDeposit { @@ -23191,6 +24108,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpChannelMaxCapacity { @@ -23204,6 +24122,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpChannelMaxTotalSize { @@ -23217,6 +24136,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpMaxParachainInboundChannels { @@ -23230,6 +24150,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpMaxParathreadInboundChannels { @@ -23243,6 +24164,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpChannelMaxMessageSize { @@ -23256,6 +24178,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpMaxParachainOutboundChannels { @@ -23269,6 +24192,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpMaxParathreadOutboundChannels { @@ -23282,6 +24206,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetHrmpMaxMessageNumPerCandidate { @@ -23294,6 +24219,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetUmpMaxIndividualWeight { @@ -23306,6 +24232,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetPvfCheckingEnabled { @@ -23319,6 +24246,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetPvfVotingTtl { @@ -23332,6 +24260,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetMinimumValidationUpgradeDelay { @@ -23344,6 +24273,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetBypassConsistencyCheck { @@ -24258,6 +25188,8 @@ pub mod api { pub mod para_inclusion { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::inclusion::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -24277,6 +25209,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate was backed. `[candidate, head_data]`"] @@ -24297,6 +25230,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate was included. `[candidate, head_data]`"] @@ -24317,6 +25251,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A candidate timed out. `[candidate, head_data]`"] @@ -24445,6 +25380,8 @@ pub mod api { pub mod para_inherent { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::paras_inherent::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -24457,6 +25394,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Enter { @@ -24727,6 +25665,8 @@ pub mod api { pub mod paras { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::paras::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -24739,6 +25679,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceSetCurrentCode { @@ -24752,6 +25693,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceSetCurrentHead { @@ -24765,6 +25707,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceScheduleCodeUpgrade { @@ -24779,6 +25722,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceNoteNewHead { @@ -24792,6 +25736,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceQueueAction { @@ -24804,6 +25749,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddTrustedValidationCode { @@ -24816,6 +25762,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PokeUnusedValidationCode { @@ -24829,6 +25776,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IncludePvfCheckStatement { @@ -25011,6 +25959,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current code has been updated for a Para. `para_id`"] @@ -25026,6 +25975,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Current head has been updated for a Para. `para_id`"] @@ -25041,6 +25991,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A code upgrade has been scheduled for a Para. `para_id`"] @@ -25056,6 +26007,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new head has been noted for a Para. `para_id`"] @@ -25071,6 +26023,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A para has been queued to execute pending actions. `para_id`"] @@ -25089,6 +26042,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given para either initiated or subscribed to a PVF check for the given validation"] @@ -25108,6 +26062,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given validation code was accepted by the PVF pre-checking vote."] @@ -25127,6 +26082,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The given validation code was rejected by the PVF pre-checking vote."] @@ -26049,6 +27005,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceApprove { @@ -26264,6 +27221,8 @@ pub mod api { pub mod ump { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::ump::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -26276,6 +27235,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ServiceOverweight { @@ -26329,6 +27289,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Upward message is invalid XCM."] @@ -26345,6 +27306,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Upward message is unsupported version of XCM."] @@ -26361,6 +27323,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Upward message executed with the given outcome."] @@ -26380,6 +27343,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The weight limit for handling upward messages was reached."] @@ -26400,6 +27364,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some upward messages have been received and will be processed."] @@ -26420,6 +27385,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The weight budget was exceeded for an individual upward message."] @@ -26445,6 +27411,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Upward message from the overweight queue was executed with the given actual weight"] @@ -26719,6 +27686,8 @@ pub mod api { pub mod hrmp { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::hrmp::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -26731,6 +27700,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpInitOpenChannel { @@ -26745,6 +27715,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpAcceptOpenChannel { @@ -26757,6 +27728,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpCloseChannel { @@ -26769,6 +27741,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceCleanHrmp { @@ -26784,6 +27757,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceProcessHrmpOpen { @@ -26797,6 +27771,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceProcessHrmpClose { @@ -26809,6 +27784,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpCancelOpenRequest { @@ -26822,6 +27798,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceOpenHrmpChannel { @@ -27044,6 +28021,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Open HRMP channel requested."] @@ -27065,6 +28043,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An HRMP channel request sent by the receiver was canceled by either party."] @@ -27084,6 +28063,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Open HRMP channel accepted. `[sender, recipient]`"] @@ -27102,6 +28082,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "HRMP channel closed. `[by_parachain, channel_id]`"] @@ -27120,6 +28101,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An HRMP channel was opened via Root origin."] @@ -27890,6 +28872,8 @@ pub mod api { pub mod paras_disputes { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_parachains::disputes::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -27902,6 +28886,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceUnfreeze; @@ -27933,6 +28918,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A dispute has been initiated. \\[candidate hash, dispute location\\]"] @@ -27951,6 +28937,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A dispute has concluded for or against a candidate."] @@ -27970,6 +28957,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A dispute has timed out due to insufficient participation."] @@ -27987,6 +28975,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A dispute has concluded with supermajority against a candidate."] @@ -28215,6 +29204,8 @@ pub mod api { pub mod registrar { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_common::paras_registrar::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -28227,6 +29218,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Register { @@ -28241,6 +29233,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceRegister { @@ -28257,6 +29250,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Deregister { @@ -28269,6 +29263,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Swap { @@ -28282,6 +29277,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RemoveLock { @@ -28294,6 +29290,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Reserve; @@ -28304,6 +29301,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddLock { @@ -28316,6 +29314,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScheduleCodeUpgrade { @@ -28329,6 +29328,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SetCurrentHead { @@ -28565,6 +29565,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Registered { @@ -28582,6 +29583,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Deregistered { @@ -28598,6 +29600,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Reserved { @@ -28777,6 +29780,8 @@ pub mod api { pub mod slots { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_common::slots::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -28789,6 +29794,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceLease { @@ -28805,6 +29811,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ClearAllLeases { @@ -28817,6 +29824,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TriggerOnboard { @@ -28907,6 +29915,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new `[lease_period]` is beginning."] @@ -28924,6 +29933,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A para has won the right to a continuous set of lease periods as a parachain."] @@ -29069,6 +30079,8 @@ pub mod api { pub mod auctions { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_common::auctions::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -29081,6 +30093,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct NewAuction { @@ -29096,6 +30109,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Bid { @@ -29117,6 +30131,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CancelAuction; @@ -29217,6 +30232,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An auction started. Provides its index and the block number where it will begin to"] @@ -29238,6 +30254,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An auction ended. All funds become unreserved."] @@ -29255,6 +30272,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Funds were reserved for a winning bid. First balance is the extra amount reserved."] @@ -29275,6 +30293,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Funds were unreserved since bidder is no longer active. `[bidder, amount]`"] @@ -29293,6 +30312,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve"] @@ -29313,6 +30333,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A new bid has been accepted as the current winner."] @@ -29334,6 +30355,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The winning offset was chosen for an auction. This will map into the `Winning` storage map."] @@ -29572,6 +30594,8 @@ pub mod api { pub mod crowdloan { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::polkadot_runtime_common::crowdloan::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -29584,6 +30608,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Create { @@ -29606,6 +30631,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Contribute { @@ -29622,6 +30648,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Withdraw { @@ -29636,6 +30663,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Refund { @@ -29649,6 +30677,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Dissolve { @@ -29662,6 +30691,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Edit { @@ -29684,6 +30714,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AddMemo { @@ -29697,6 +30728,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Poke { @@ -29709,6 +30741,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ContributeAll { @@ -29944,6 +30977,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Create a new crowdloaning campaign."] @@ -29961,6 +30995,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contributed to a crowd sale."] @@ -29980,6 +31015,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Withdrew full balance of a contributor."] @@ -29999,6 +31035,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The loans in a fund have been partially dissolved, i.e. there are some left"] @@ -30017,6 +31054,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "All loans in a fund have been refunded."] @@ -30034,6 +31072,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Fund is dissolved."] @@ -30051,6 +31090,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The result of trying to submit a new bid to the Slots pallet."] @@ -30069,6 +31109,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The configuration to a crowdloan has been edited."] @@ -30086,6 +31127,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A memo has been updated."] @@ -30105,6 +31147,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A parachain has been moved to `NewRaise`"] @@ -30297,6 +31340,8 @@ pub mod api { pub mod xcm_pallet { use super::root_mod; use super::runtime_types; + #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] + pub type Error = runtime_types::pallet_xcm::pallet::Error; #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] pub mod calls { use super::root_mod; @@ -30309,6 +31354,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Send { @@ -30322,6 +31368,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct TeleportAssets { @@ -30337,6 +31384,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReserveTransferAssets { @@ -30352,6 +31400,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Execute { @@ -30365,6 +31414,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceXcmVersion { @@ -30379,6 +31429,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceDefaultXcmVersion { @@ -30391,6 +31442,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceSubscribeVersionNotify { @@ -30403,6 +31455,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ForceUnsubscribeVersionNotify { @@ -30415,6 +31468,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct LimitedReserveTransferAssets { @@ -30431,6 +31485,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct LimitedTeleportAssets { @@ -30758,6 +31813,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Execution of an XCM message was attempted."] @@ -30775,6 +31831,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A XCM message was sent."] @@ -30796,6 +31853,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response received which does not match a registered query. This may be because a"] @@ -30818,6 +31876,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response has been received and is ready for taking with `take_response`. There is"] @@ -30839,6 +31898,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The registered notification has"] @@ -30861,6 +31921,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The registered notification could"] @@ -30886,6 +31947,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. There was a general error with"] @@ -30908,6 +31970,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The dispatch was unable to be"] @@ -30931,6 +31994,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Expected query response has been received but the origin location of the response does"] @@ -30954,6 +32018,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Expected query response has been received but the expected origin location placed in"] @@ -30981,6 +32046,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Received query response has been read and removed."] @@ -30998,6 +32064,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some assets have been placed in an asset trap."] @@ -31019,6 +32086,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "An XCM version change notification message has been attempted to be sent."] @@ -31039,6 +32107,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The supported version of a location has been changed. This might be through an"] @@ -31060,6 +32129,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A given location which had a version change subscription was dropped owing to an error"] @@ -31082,6 +32152,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "A given location which had a version change subscription was dropped owing to an error"] @@ -31103,6 +32174,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Some assets have been claimed from an asset trap"] @@ -31480,6 +32552,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Equivocation<_0, _1, _2> { @@ -31495,6 +32568,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Precommit<_0, _1> { @@ -31508,6 +32582,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Prevote<_0, _1> { @@ -31526,6 +32601,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DispatchClass { @@ -31543,6 +32619,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DispatchInfo { @@ -31557,6 +32634,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Pays { @@ -31572,6 +32650,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PerDispatchClass<_0> { @@ -31586,6 +32665,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RawOrigin<_0> { @@ -31608,6 +32688,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WrapperOpaque<_0>( @@ -31624,6 +32705,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Bounded<_0> { @@ -31656,6 +32738,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BalanceStatus { @@ -31674,6 +32757,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PalletId(pub [::core::primitive::u8; 8usize]); @@ -31691,6 +32775,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckGenesis; @@ -31704,6 +32789,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckMortality(pub runtime_types::sp_runtime::generic::era::Era); @@ -31717,6 +32803,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckNonZeroSender; @@ -31730,6 +32817,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); @@ -31743,6 +32831,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckSpecVersion; @@ -31756,6 +32845,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckTxVersion; @@ -31769,6 +32859,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CheckWeight; @@ -31783,6 +32874,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BlockLength { @@ -31797,6 +32889,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BlockWeights { @@ -31813,6 +32906,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WeightsPerClass { @@ -31834,6 +32928,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -31919,6 +33014,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Error for the System pallet"] @@ -31953,6 +33049,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Event for the System pallet."] @@ -31996,6 +33093,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AccountInfo<_0, _1> { @@ -32012,6 +33110,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EventRecord<_0, _1> { @@ -32026,6 +33125,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct LastRuntimeUpgradeInfo { @@ -32040,6 +33140,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Phase { @@ -32062,6 +33163,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -32084,6 +33186,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -32118,6 +33221,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum UncleEntryItem<_0, _1, _2> { @@ -32138,6 +33242,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -32196,6 +33301,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -32226,6 +33332,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Bag { @@ -32239,6 +33346,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ListError { @@ -32258,6 +33366,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Node { @@ -32277,6 +33386,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -32315,6 +33425,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -32330,6 +33441,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -32361,6 +33473,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -32475,6 +33588,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -32511,6 +33625,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -32591,6 +33706,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AccountData<_0> { @@ -32606,6 +33722,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BalanceLock<_0> { @@ -32620,6 +33737,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Reasons { @@ -32637,6 +33755,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Releases { @@ -32652,6 +33771,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReserveData<_0, _1> { @@ -32670,6 +33790,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -32826,6 +33947,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -32872,6 +33994,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -32916,6 +34039,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Bounty<_0, _1, _2> { @@ -32933,6 +34057,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BountyStatus<_0, _1> { @@ -32965,6 +34090,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -33173,6 +34299,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -33194,6 +34321,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -33234,6 +34362,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ChildBounty<_0, _1, _2> { @@ -33250,6 +34379,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ChildBountyStatus<_0, _1> { @@ -33278,6 +34408,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -33501,6 +34632,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -33543,6 +34675,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -33602,6 +34735,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RawOrigin<_0> { @@ -33619,6 +34753,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Votes<_0, _1> { @@ -33640,6 +34775,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Conviction { @@ -33668,6 +34804,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -33963,6 +35100,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -34045,6 +35183,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -34129,6 +35268,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Delegations<_0> { @@ -34142,6 +35282,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ReferendumInfo<_0, _1, _2> { @@ -34160,6 +35301,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReferendumStatus<_0, _1, _2> { @@ -34176,6 +35318,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Tally<_0> { @@ -34193,6 +35336,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum AccountVote<_0> { @@ -34211,6 +35355,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PriorLock<_0, _1>(pub _0, pub _1); @@ -34222,6 +35367,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Vote(pub ::core::primitive::u8); @@ -34232,6 +35378,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Voting<_0, _1, _2> { @@ -34263,6 +35410,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VoteThreshold { @@ -34286,6 +35434,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -34298,6 +35447,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Error of the pallet that can be returned in response to dispatches."] @@ -34352,6 +35502,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -34409,6 +35560,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SignedSubmission<_0, _1, _2> { @@ -34426,6 +35578,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ElectionCompute { @@ -34447,6 +35600,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Phase<_0> { @@ -34466,6 +35620,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RawSolution<_0> { @@ -34480,6 +35635,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReadySolution { @@ -34497,6 +35653,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RoundSnapshot { @@ -34516,6 +35673,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SolutionOrSnapshotSize { @@ -34536,6 +35694,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -34665,6 +35824,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -34728,6 +35888,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -34782,6 +35943,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Renouncing { @@ -34799,6 +35961,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SeatHolder<_0, _1> { @@ -34813,6 +35976,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Voter<_0, _1> { @@ -34832,6 +35996,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -34880,6 +36045,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -34912,6 +36078,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The events of this pallet."] @@ -34958,6 +36125,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnstakeRequest { @@ -34982,6 +36150,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -35044,6 +36213,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -35079,6 +36249,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -35106,6 +36277,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct StoredPendingChange<_0> { @@ -35125,6 +36297,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum StoredState<_0> { @@ -35149,6 +36322,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Identity pallet declaration."] @@ -35456,6 +36630,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -35522,6 +36697,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -35598,6 +36774,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BitFlags<_0>( @@ -35611,6 +36788,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Data { @@ -35698,6 +36876,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum IdentityField { @@ -35725,6 +36904,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IdentityInfo { @@ -35748,6 +36928,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Judgement<_0> { @@ -35773,6 +36954,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RegistrarInfo<_0, _1> { @@ -35789,6 +36971,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Registration<_0> { @@ -35812,6 +36995,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -35839,6 +37023,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -35857,6 +37042,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -35893,6 +37079,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -35903,6 +37090,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); @@ -35915,6 +37103,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BoundedOpaqueNetworkState { @@ -35935,6 +37124,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Heartbeat<_0> { @@ -35956,6 +37146,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -36080,6 +37271,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -36107,6 +37299,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -36140,6 +37333,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -36205,6 +37399,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -36226,6 +37421,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -36262,6 +37458,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -36429,6 +37626,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -36483,6 +37681,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -36532,6 +37731,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Multisig<_0, _1, _2> { @@ -36547,6 +37747,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Timepoint<_0> { @@ -36565,6 +37766,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -36819,6 +38021,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DefensiveError { @@ -36840,6 +38043,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -36929,6 +38133,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Events of this pallet."] @@ -37033,6 +38238,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BondExtra<_0> { @@ -37048,6 +38254,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BondedPoolInner { @@ -37064,6 +38271,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ConfigOp<_0> { @@ -37081,6 +38289,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PoolMember { @@ -37101,6 +38310,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PoolRoles<_0> { @@ -37116,6 +38326,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum PoolState { @@ -37133,6 +38344,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RewardPool { @@ -37148,6 +38360,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SubPools { @@ -37164,6 +38377,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnbondPool { @@ -37182,6 +38396,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Events type."] @@ -37208,6 +38423,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -37247,6 +38463,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -37277,6 +38494,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -37299,6 +38517,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RequestStatus<_0, _1> { @@ -37326,6 +38545,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -37511,6 +38731,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -37547,6 +38768,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -37598,6 +38820,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Announcement<_0, _1, _2> { @@ -37612,6 +38835,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ProxyDefinition<_0, _1, _2> { @@ -37631,6 +38855,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -37708,6 +38933,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -37735,6 +38961,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Events type."] @@ -37786,6 +39013,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Scheduled<_0, _1, _2, _3, _4> { @@ -37809,6 +39037,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -37858,6 +39087,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Error for the session pallet."] @@ -37885,6 +39115,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -37911,6 +39142,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -38358,6 +39590,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ConfigOp<_0> { @@ -38375,6 +39608,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -38466,6 +39700,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -38557,6 +39792,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SlashingSpans { @@ -38572,6 +39808,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SpanRecord<_0> { @@ -38586,6 +39823,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ActiveEraInfo { @@ -38599,6 +39837,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EraRewardPoints<_0> { @@ -38612,6 +39851,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Exposure<_0, _1> { @@ -38629,6 +39869,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Forcing { @@ -38648,6 +39889,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IndividualExposure<_0, _1> { @@ -38662,6 +39904,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Nominations { @@ -38678,6 +39921,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Releases { @@ -38713,6 +39957,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RewardDestination<_0> { @@ -38734,6 +39979,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct StakingLedger { @@ -38756,6 +40002,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnappliedSlash<_0, _1> { @@ -38772,6 +40019,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UnlockChunk<_0> { @@ -38787,6 +40035,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ValidatorPrefs { @@ -38806,6 +40055,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -38845,6 +40095,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -38993,6 +40244,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -39023,6 +40275,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -39059,6 +40312,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OpenTip<_0, _1, _2, _3> { @@ -39082,6 +40336,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -39103,6 +40358,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); @@ -39113,6 +40369,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Releases { @@ -39133,6 +40390,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -39223,6 +40481,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Error for the treasury pallet."] @@ -39251,6 +40510,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -39307,6 +40567,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Proposal<_0, _1> { @@ -39327,6 +40588,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -39431,6 +40693,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -39446,6 +40709,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -39491,6 +40755,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -39615,6 +40880,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Error for the vesting pallet."] @@ -39643,6 +40909,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -39670,6 +40937,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct VestingInfo<_0, _1> { @@ -39685,6 +40953,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Releases { @@ -39705,6 +40974,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -39873,6 +41143,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -39927,6 +41198,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -40099,6 +41371,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Origin { @@ -40114,6 +41387,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum QueryStatus<_0> { @@ -40142,6 +41416,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VersionMigrationStage { @@ -40167,6 +41442,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateHash(pub ::subxt::utils::H256); @@ -40177,6 +41453,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct InboundDownwardMessage<_0> { @@ -40190,6 +41467,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct InboundHrmpMessage<_0> { @@ -40203,6 +41481,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OutboundHrmpMessage<_0> { @@ -40221,6 +41500,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); @@ -40231,6 +41511,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpChannelId { @@ -40245,6 +41526,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Id(pub ::core::primitive::u32); @@ -40255,6 +41537,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>); @@ -40265,6 +41548,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ValidationCodeHash(pub ::subxt::utils::H256); @@ -40283,6 +41567,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -40296,6 +41581,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -40306,6 +41592,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); @@ -40319,6 +41606,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UncheckedSigned<_0, _1> { @@ -40339,6 +41627,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -40349,6 +41638,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); @@ -40360,6 +41650,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AvailabilityBitfield( @@ -40375,6 +41666,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BackedCandidate<_0> { @@ -40395,6 +41687,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateCommitments<_0> { @@ -40418,6 +41711,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateDescriptor<_0> { @@ -40439,6 +41733,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidateReceipt<_0> { @@ -40452,6 +41747,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CommittedCandidateReceipt<_0> { @@ -40468,6 +41764,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CoreIndex(pub ::core::primitive::u32); @@ -40478,6 +41775,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum CoreOccupied { @@ -40493,6 +41791,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DisputeState<_0> { @@ -40514,6 +41813,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DisputeStatement { @@ -40529,6 +41829,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DisputeStatementSet { @@ -40548,6 +41849,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct GroupIndex(pub ::core::primitive::u32); @@ -40558,6 +41860,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct IndexedVec<_0, _1>( @@ -40571,6 +41874,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct InherentData<_0> { @@ -40597,6 +41901,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum InvalidDisputeStatementKind { @@ -40610,6 +41915,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParathreadClaim( @@ -40623,6 +41929,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParathreadEntry { @@ -40636,6 +41943,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PvfCheckStatement { @@ -40651,6 +41959,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ScrapedOnChainVotes<_0> { @@ -40673,6 +41982,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SessionInfo { @@ -40707,6 +42017,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum UpgradeGoAhead { @@ -40722,6 +42033,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum UpgradeRestriction { @@ -40735,6 +42047,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ValidDisputeStatementKind { @@ -40755,6 +42068,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ValidatorIndex(pub ::core::primitive::u32); @@ -40765,6 +42079,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ValidityAttestation { @@ -40784,6 +42099,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct NposCompactSolution16 { @@ -40949,6 +42265,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum OriginCaller { @@ -40978,6 +42295,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ProxyType { @@ -41003,6 +42321,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Runtime; @@ -41013,6 +42332,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RuntimeCall { @@ -41122,6 +42442,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum RuntimeEvent { @@ -41215,6 +42536,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SessionKeys { @@ -41239,6 +42561,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -41297,6 +42620,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -41330,6 +42654,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -41398,6 +42723,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -41528,6 +42854,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -41559,6 +42886,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -41580,6 +42908,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); @@ -41590,6 +42919,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); @@ -41600,6 +42930,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PrevalidateAttests; @@ -41610,6 +42941,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum StatementKind { @@ -41630,6 +42962,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -41753,6 +43086,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -41834,6 +43168,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -41908,6 +43243,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct FundInfo<_0, _1, _2, _3> { @@ -41932,6 +43268,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum LastContribution<_0> { @@ -41954,6 +43291,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42073,6 +43411,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -42128,6 +43467,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -42155,6 +43495,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParaInfo<_0, _1> { @@ -42174,6 +43515,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42216,6 +43558,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -42234,6 +43577,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -42272,6 +43616,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42435,6 +43780,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -42451,6 +43797,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HostConfiguration<_0> { @@ -42510,6 +43857,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42524,6 +43872,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -42557,6 +43906,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -42593,6 +43943,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DisputeLocation { @@ -42608,6 +43959,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DisputeResult { @@ -42628,6 +43980,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42645,6 +43998,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42745,6 +44099,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -42814,6 +44169,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -42864,6 +44220,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpChannel { @@ -42883,6 +44240,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct HrmpOpenChannelRequest { @@ -42905,6 +44263,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -42916,6 +44275,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -43018,6 +44378,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -43060,6 +44421,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct AvailabilityBitfieldRecord<_0> { @@ -43073,6 +44435,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CandidatePendingAvailability<_0, _1> { @@ -43103,6 +44466,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -43121,6 +44485,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BufferedSessionChange { @@ -43144,6 +44509,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Origin { @@ -43163,6 +44529,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -43243,6 +44610,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -43295,6 +44663,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -43347,6 +44716,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParaGenesisArgs { @@ -43362,6 +44732,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ParaLifecycle { @@ -43387,6 +44758,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParaPastCodeMeta<_0> { @@ -43402,6 +44774,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PvfCheckActiveVoteState<_0> { @@ -43426,6 +44799,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum PvfCheckCause<_0> { @@ -43444,6 +44818,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ReplacementTimes<_0> { @@ -43462,6 +44837,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -43484,6 +44860,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -43519,6 +44896,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum AssignmentKind { @@ -43537,6 +44915,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct CoreAssignment { @@ -43552,6 +44931,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ParathreadClaimQueue { @@ -43567,6 +44947,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct QueuedParathread { @@ -43585,6 +44966,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -43602,6 +44984,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "Contains one variant per dispatchable that can be called by an extrinsic."] @@ -43631,6 +45014,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] @@ -43649,6 +45033,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -43722,6 +45107,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct FixedU128(pub ::core::primitive::u128); @@ -43736,6 +45122,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PerU16(pub ::core::primitive::u16); @@ -43747,6 +45134,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Perbill(pub ::core::primitive::u32); @@ -43758,6 +45146,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Percent(pub ::core::primitive::u8); @@ -43769,6 +45158,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Permill(pub ::core::primitive::u32); @@ -43785,6 +45175,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -43801,6 +45192,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::sr25519::Public); @@ -43814,6 +45206,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum NextConfigDescriptor { @@ -43830,6 +45223,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum PreDigest { @@ -43849,6 +45243,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct PrimaryPreDigest { @@ -43864,6 +45259,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SecondaryPlainPreDigest { @@ -43877,6 +45273,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct SecondaryVRFPreDigest { @@ -43893,6 +45290,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum AllowedSlots { @@ -43910,6 +45308,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BabeEpochConfiguration { @@ -43926,6 +45325,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { @@ -43942,6 +45342,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Slot(pub ::core::primitive::u64); @@ -43959,6 +45360,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BoundedBTreeMap<_0, _1>(pub ::subxt::utils::KeyedVec<_0, _1>); @@ -43972,6 +45374,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); @@ -43985,6 +45388,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); @@ -43999,6 +45403,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); @@ -44012,6 +45417,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 33usize]); @@ -44022,6 +45428,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub [::core::primitive::u8; 65usize]); @@ -44035,6 +45442,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 32usize]); @@ -44045,6 +45453,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub [::core::primitive::u8; 64usize]); @@ -44058,6 +45467,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OpaqueMultiaddr(pub ::std::vec::Vec<::core::primitive::u8>); @@ -44068,6 +45478,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OpaqueNetworkState { @@ -44085,6 +45496,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub [::core::primitive::u8; 32usize]); @@ -44095,6 +45507,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub [::core::primitive::u8; 64usize]); @@ -44106,6 +45519,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OpaquePeerId(pub ::std::vec::Vec<::core::primitive::u8>); @@ -44116,6 +45530,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Void {} @@ -44131,6 +45546,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Public(pub runtime_types::sp_core::ed25519::Public); @@ -44141,6 +45557,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); @@ -44152,6 +45569,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Equivocation<_0, _1> { @@ -44179,6 +45597,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { @@ -44195,6 +45614,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ElectionScore { @@ -44209,6 +45629,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Support<_0> { @@ -44229,6 +45650,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Digest { @@ -44242,6 +45664,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DigestItem { @@ -44275,6 +45698,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Era { @@ -44801,6 +46225,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Header<_0, _1> { @@ -44823,6 +46248,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct UncheckedExtrinsic<_0, _1, _2, _3>( @@ -44840,6 +46266,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct BlakeTwo256; @@ -44851,6 +46278,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum ArithmeticError { @@ -44868,6 +46296,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum DispatchError { @@ -44905,6 +46334,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct ModuleError { @@ -44918,6 +46348,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MultiSignature { @@ -44935,6 +46366,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MultiSigner { @@ -44952,6 +46384,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum TokenError { @@ -44977,6 +46410,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum TransactionalError { @@ -44995,6 +46429,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MembershipProof { @@ -45014,6 +46449,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OffenceDetails<_0, _1> { @@ -45031,6 +46467,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RuntimeVersion { @@ -45056,6 +46493,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Weight { @@ -45073,6 +46511,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct OldWeight(pub ::core::primitive::u64); @@ -45083,6 +46522,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct RuntimeDbWeight { @@ -45101,6 +46541,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct DoubleEncoded { @@ -45118,6 +46559,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BodyId { @@ -45147,6 +46589,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum BodyPart { @@ -45186,6 +46629,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Junction { @@ -45234,6 +46678,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum NetworkId { @@ -45260,6 +46705,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MultiAsset { @@ -45320,6 +46766,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MultiLocation { @@ -45394,6 +46841,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Order { @@ -45457,6 +46905,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum OriginKind { @@ -45476,6 +46925,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Response { @@ -45489,6 +46939,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Xcm { @@ -45571,6 +47022,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Junction { @@ -45620,6 +47072,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum AssetId { @@ -45635,6 +47088,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum AssetInstance { @@ -45660,6 +47114,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Fungibility { @@ -45675,6 +47130,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MultiAsset { @@ -45688,6 +47144,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum MultiAssetFilter { @@ -45703,6 +47160,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MultiAssets( @@ -45715,6 +47173,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum WildFungibility { @@ -45730,6 +47189,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum WildMultiAsset { @@ -45751,6 +47211,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Junctions { @@ -45822,6 +47283,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct MultiLocation { @@ -45838,6 +47300,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Order { @@ -45897,6 +47360,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Response { @@ -45912,6 +47376,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Xcm { @@ -46003,6 +47468,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Error { @@ -46066,6 +47532,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Outcome { @@ -46087,6 +47554,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Instruction { @@ -46235,6 +47703,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum Response { @@ -46259,6 +47728,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum WeightLimit { @@ -46274,6 +47744,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub struct Xcm(pub ::std::vec::Vec); @@ -46285,6 +47756,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VersionedMultiAssets { @@ -46300,6 +47772,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VersionedMultiLocation { @@ -46315,6 +47788,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VersionedResponse { @@ -46332,6 +47806,7 @@ pub mod api { :: subxt :: ext :: scale_encode :: EncodeAsType, Debug, )] + # [codec (crate = :: subxt :: ext :: codec)] #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] pub enum VersionedXcm { From 77c6fa672eb73fe6cf2ccdc8f7d7cd9ea36f2326 Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 25 Apr 2023 10:43:35 +0200 Subject: [PATCH 2/7] cargo fmt --- codegen/src/api/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/src/api/errors.rs b/codegen/src/api/errors.rs index e38de6adc4..c4b3fe25e7 100644 --- a/codegen/src/api/errors.rs +++ b/codegen/src/api/errors.rs @@ -7,7 +7,7 @@ use proc_macro2::TokenStream as TokenStream2; use quote::quote; use scale_info::form::PortableForm; -use crate::{types::TypeGenerator}; +use crate::types::TypeGenerator; use super::CodegenError; From fd192e221d8ec18465ff2751f3d938d46631db4c Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 25 Apr 2023 12:03:47 +0200 Subject: [PATCH 3/7] polkadot.rs regenerated --- .../integration-tests/src/codegen/polkadot.rs | 60 ++----------------- 1 file changed, 5 insertions(+), 55 deletions(-) diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index 8fea431187..a80c8b41a4 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -587,11 +587,6 @@ pub mod api { let variant_error: babe::Error = ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Babe(variant_error)) } - 3u8 => { - let variant_error: timestamp::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Timestamp(variant_error)) - } 4u8 => { let variant_error: indices::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -602,11 +597,6 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Balances(variant_error)) } - 32u8 => { - let variant_error: transaction_payment::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::TransactionPayment(variant_error)) - } 6u8 => { let variant_error: authorship::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -617,16 +607,6 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Staking(variant_error)) } - 8u8 => { - let variant_error: offences::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Offences(variant_error)) - } - 33u8 => { - let variant_error: historical::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Historical(variant_error)) - } 9u8 => { let variant_error: session::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -642,11 +622,6 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::ImOnline(variant_error)) } - 13u8 => { - let variant_error: authority_discovery::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::AuthorityDiscovery(variant_error)) - } 14u8 => { let variant_error: democracy::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -739,21 +714,11 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::FastUnstake(variant_error)) } - 50u8 => { - let variant_error: parachains_origin::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParachainsOrigin(variant_error)) - } 51u8 => { let variant_error: configuration::Error = ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Configuration(variant_error)) } - 52u8 => { - let variant_error: paras_shared::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParasShared(variant_error)) - } 53u8 => { let variant_error: para_inclusion::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -764,24 +729,10 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::ParaInherent(variant_error)) } - 55u8 => { - let variant_error: para_scheduler::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParaScheduler(variant_error)) - } 56u8 => { let variant_error: paras::Error = ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Paras(variant_error)) } - 57u8 => { - let variant_error: initializer::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Initializer(variant_error)) - } - 58u8 => { - let variant_error: dmp::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Dmp(variant_error)) - } 59u8 => { let variant_error: ump::Error = ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Ump(variant_error)) @@ -790,11 +741,6 @@ pub mod api { let variant_error: hrmp::Error = ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::Hrmp(variant_error)) } - 61u8 => { - let variant_error: para_session_info::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParaSessionInfo(variant_error)) - } 62u8 => { let variant_error: paras_disputes::Error = ::subxt::ext::codec::Decode::decode(cursor)?; @@ -824,7 +770,11 @@ pub mod api { ::subxt::ext::codec::Decode::decode(cursor)?; Ok(Error::XcmPallet(variant_error)) } - _ => todo!(), + _ => Err(::subxt::ext::scale_decode::Error::custom(format!( + "Pallet index '{}' not found", + pallet_index + )) + .into()), } } } From e030846968c6e33dac28feff8b4f2a7f7a920d4d Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 25 Apr 2023 16:28:12 +0200 Subject: [PATCH 4/7] use pallet name and decode with metadata --- codegen/src/api/mod.rs | 30 +- subxt/src/error/dispatch_error.rs | 5 +- subxt/src/error/mod.rs | 6 +- .../integration-tests/src/codegen/polkadot.rs | 415 +++++++++--------- 4 files changed, 229 insertions(+), 227 deletions(-) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index b23b0287ca..8ce3e3bbc6 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -395,19 +395,20 @@ impl RuntimeGenerator { } }; - let root_error_match_arms = self.metadata.pallets.iter().filter_map(|p| { - let variant_index = p.index; + let root_error_if_arms = self.metadata.pallets.iter().filter_map(|p| { let variant_name_str = &p.name; let variant_name = format_ident!("{}", variant_name_str); let mod_name = format_ident!("{}", variant_name_str.to_string().to_snake_case()); - - p.error.as_ref().map(|_| - quote! { - #variant_index => { - let variant_error: #mod_name::Error = #crate_path::ext::codec::Decode::decode(cursor)?; - Ok(Error::#variant_name(variant_error)) + p.error.as_ref().map(|err| + { + let type_id = err.ty.id; + quote! { + if pallet_name == #variant_name_str { + let variant_error = #mod_name::Error::decode_with_metadata(cursor, #type_id, metadata)?; + return Ok(Error::#variant_name(variant_error)); } } + } ) }); @@ -466,12 +467,11 @@ impl RuntimeGenerator { #outer_error impl #crate_path::error::RootError for Error { - fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result { - let cursor = &mut &error[..]; - match *pallet_index { - #( #root_error_match_arms )* - _ => Err(#crate_path::ext::scale_decode::Error::custom(format!("Pallet index '{}' not found", pallet_index)).into()) - } + fn root_error(pallet_bytes: &[u8; 4], pallet_name: &str, metadata: &#crate_path::Metadata) -> Result { + use #crate_path::metadata::DecodeWithMetadata; + let cursor = &mut &pallet_bytes[..]; + #( #root_error_if_arms )* + Err(#crate_path::ext::scale_decode::Error::custom(format!("Pallet name '{}' not found in root Error enum", pallet_name)).into()) } } @@ -547,7 +547,7 @@ where let ty = type_gen.resolve_type(type_id); let scale_info::TypeDef::Variant(variant) = &ty.type_def else { - return Err(CodegenError::InvalidType(error_message_type_name.into())) + return Err(CodegenError::InvalidType(error_message_type_name.into())); }; variant diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index c8ae2f64d1..3fe8b8087b 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -136,12 +136,13 @@ impl PartialEq for ModuleError { self.raw == other.raw } } + impl Eq for ModuleError {} impl std::fmt::Display for ModuleError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let Ok(details) = self.details() else { - return f.write_str("Unknown pallet error (pallet and error details cannot be retrieved)") + return f.write_str("Unknown pallet error (pallet and error details cannot be retrieved)"); }; let pallet = details.pallet(); @@ -166,7 +167,7 @@ impl ModuleError { /// attempts to decode the ModuleError into a value implementing the trait `RootError` /// where the actual type of value is the generated top level enum `Error`. pub fn as_root_error(&self) -> Result { - E::root_error(&self.raw.pallet_index, &self.raw.error) + E::root_error(&self.raw.error, self.details()?.pallet(), &self.metadata) } } diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 6736b25064..8f8c0e6ddc 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -167,5 +167,9 @@ pub enum StorageAddressError { #[doc(hidden)] pub trait RootError: Sized { /// Given details of the pallet error we want to decode - fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result; + fn root_error( + pallet_bytes: &[u8; 4], + pallet_name: &str, + metadata: &Metadata, + ) -> Result; } diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index a80c8b41a4..1abfb76da0 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -566,216 +566,213 @@ pub mod api { XcmPallet(xcm_pallet::Error), } impl ::subxt::error::RootError for Error { - fn root_error(pallet_index: &u8, error: &[u8; 4]) -> Result { - let cursor = &mut &error[..]; - match *pallet_index { - 0u8 => { - let variant_error: system::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::System(variant_error)) - } - 1u8 => { - let variant_error: scheduler::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Scheduler(variant_error)) - } - 10u8 => { - let variant_error: preimage::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Preimage(variant_error)) - } - 2u8 => { - let variant_error: babe::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Babe(variant_error)) - } - 4u8 => { - let variant_error: indices::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Indices(variant_error)) - } - 5u8 => { - let variant_error: balances::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Balances(variant_error)) - } - 6u8 => { - let variant_error: authorship::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Authorship(variant_error)) - } - 7u8 => { - let variant_error: staking::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Staking(variant_error)) - } - 9u8 => { - let variant_error: session::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Session(variant_error)) - } - 11u8 => { - let variant_error: grandpa::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Grandpa(variant_error)) - } - 12u8 => { - let variant_error: im_online::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ImOnline(variant_error)) - } - 14u8 => { - let variant_error: democracy::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Democracy(variant_error)) - } - 15u8 => { - let variant_error: council::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Council(variant_error)) - } - 16u8 => { - let variant_error: technical_committee::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::TechnicalCommittee(variant_error)) - } - 17u8 => { - let variant_error: phragmen_election::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::PhragmenElection(variant_error)) - } - 18u8 => { - let variant_error: technical_membership::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::TechnicalMembership(variant_error)) - } - 19u8 => { - let variant_error: treasury::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Treasury(variant_error)) - } - 24u8 => { - let variant_error: claims::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Claims(variant_error)) - } - 25u8 => { - let variant_error: vesting::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Vesting(variant_error)) - } - 26u8 => { - let variant_error: utility::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Utility(variant_error)) - } - 28u8 => { - let variant_error: identity::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Identity(variant_error)) - } - 29u8 => { - let variant_error: proxy::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Proxy(variant_error)) - } - 30u8 => { - let variant_error: multisig::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Multisig(variant_error)) - } - 34u8 => { - let variant_error: bounties::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Bounties(variant_error)) - } - 38u8 => { - let variant_error: child_bounties::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ChildBounties(variant_error)) - } - 35u8 => { - let variant_error: tips::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Tips(variant_error)) - } - 36u8 => { - let variant_error: election_provider_multi_phase::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ElectionProviderMultiPhase(variant_error)) - } - 37u8 => { - let variant_error: voter_list::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::VoterList(variant_error)) - } - 39u8 => { - let variant_error: nomination_pools::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::NominationPools(variant_error)) - } - 40u8 => { - let variant_error: fast_unstake::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::FastUnstake(variant_error)) - } - 51u8 => { - let variant_error: configuration::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Configuration(variant_error)) - } - 53u8 => { - let variant_error: para_inclusion::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParaInclusion(variant_error)) - } - 54u8 => { - let variant_error: para_inherent::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParaInherent(variant_error)) - } - 56u8 => { - let variant_error: paras::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Paras(variant_error)) - } - 59u8 => { - let variant_error: ump::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Ump(variant_error)) - } - 60u8 => { - let variant_error: hrmp::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Hrmp(variant_error)) - } - 62u8 => { - let variant_error: paras_disputes::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::ParasDisputes(variant_error)) - } - 70u8 => { - let variant_error: registrar::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Registrar(variant_error)) - } - 71u8 => { - let variant_error: slots::Error = ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Slots(variant_error)) - } - 72u8 => { - let variant_error: auctions::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Auctions(variant_error)) - } - 73u8 => { - let variant_error: crowdloan::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::Crowdloan(variant_error)) - } - 99u8 => { - let variant_error: xcm_pallet::Error = - ::subxt::ext::codec::Decode::decode(cursor)?; - Ok(Error::XcmPallet(variant_error)) - } - _ => Err(::subxt::ext::scale_decode::Error::custom(format!( - "Pallet index '{}' not found", - pallet_index - )) - .into()), + fn root_error( + pallet_bytes: &[u8; 4], + pallet_name: &str, + metadata: &::subxt::Metadata, + ) -> Result { + use subxt::metadata::DecodeWithMetadata; + let cursor = &mut &pallet_bytes[..]; + if pallet_name == "System" { + let variant_error = system::Error::decode_with_metadata(cursor, 176u32, metadata)?; + return Ok(Error::System(variant_error)); + } + if pallet_name == "Scheduler" { + let variant_error = + scheduler::Error::decode_with_metadata(cursor, 450u32, metadata)?; + return Ok(Error::Scheduler(variant_error)); + } + if pallet_name == "Preimage" { + let variant_error = + preimage::Error::decode_with_metadata(cursor, 455u32, metadata)?; + return Ok(Error::Preimage(variant_error)); + } + if pallet_name == "Babe" { + let variant_error = babe::Error::decode_with_metadata(cursor, 467u32, metadata)?; + return Ok(Error::Babe(variant_error)); + } + if pallet_name == "Indices" { + let variant_error = indices::Error::decode_with_metadata(cursor, 469u32, metadata)?; + return Ok(Error::Indices(variant_error)); + } + if pallet_name == "Balances" { + let variant_error = + balances::Error::decode_with_metadata(cursor, 478u32, metadata)?; + return Ok(Error::Balances(variant_error)); + } + if pallet_name == "Authorship" { + let variant_error = + authorship::Error::decode_with_metadata(cursor, 484u32, metadata)?; + return Ok(Error::Authorship(variant_error)); + } + if pallet_name == "Staking" { + let variant_error = staking::Error::decode_with_metadata(cursor, 508u32, metadata)?; + return Ok(Error::Staking(variant_error)); + } + if pallet_name == "Session" { + let variant_error = session::Error::decode_with_metadata(cursor, 515u32, metadata)?; + return Ok(Error::Session(variant_error)); + } + if pallet_name == "Grandpa" { + let variant_error = grandpa::Error::decode_with_metadata(cursor, 519u32, metadata)?; + return Ok(Error::Grandpa(variant_error)); + } + if pallet_name == "ImOnline" { + let variant_error = + im_online::Error::decode_with_metadata(cursor, 527u32, metadata)?; + return Ok(Error::ImOnline(variant_error)); + } + if pallet_name == "Democracy" { + let variant_error = + democracy::Error::decode_with_metadata(cursor, 544u32, metadata)?; + return Ok(Error::Democracy(variant_error)); + } + if pallet_name == "Council" { + let variant_error = council::Error::decode_with_metadata(cursor, 547u32, metadata)?; + return Ok(Error::Council(variant_error)); + } + if pallet_name == "TechnicalCommittee" { + let variant_error = + technical_committee::Error::decode_with_metadata(cursor, 549u32, metadata)?; + return Ok(Error::TechnicalCommittee(variant_error)); + } + if pallet_name == "PhragmenElection" { + let variant_error = + phragmen_election::Error::decode_with_metadata(cursor, 553u32, metadata)?; + return Ok(Error::PhragmenElection(variant_error)); + } + if pallet_name == "TechnicalMembership" { + let variant_error = + technical_membership::Error::decode_with_metadata(cursor, 555u32, metadata)?; + return Ok(Error::TechnicalMembership(variant_error)); } + if pallet_name == "Treasury" { + let variant_error = + treasury::Error::decode_with_metadata(cursor, 561u32, metadata)?; + return Ok(Error::Treasury(variant_error)); + } + if pallet_name == "Claims" { + let variant_error = claims::Error::decode_with_metadata(cursor, 562u32, metadata)?; + return Ok(Error::Claims(variant_error)); + } + if pallet_name == "Vesting" { + let variant_error = vesting::Error::decode_with_metadata(cursor, 566u32, metadata)?; + return Ok(Error::Vesting(variant_error)); + } + if pallet_name == "Utility" { + let variant_error = utility::Error::decode_with_metadata(cursor, 567u32, metadata)?; + return Ok(Error::Utility(variant_error)); + } + if pallet_name == "Identity" { + let variant_error = + identity::Error::decode_with_metadata(cursor, 578u32, metadata)?; + return Ok(Error::Identity(variant_error)); + } + if pallet_name == "Proxy" { + let variant_error = proxy::Error::decode_with_metadata(cursor, 587u32, metadata)?; + return Ok(Error::Proxy(variant_error)); + } + if pallet_name == "Multisig" { + let variant_error = + multisig::Error::decode_with_metadata(cursor, 591u32, metadata)?; + return Ok(Error::Multisig(variant_error)); + } + if pallet_name == "Bounties" { + let variant_error = + bounties::Error::decode_with_metadata(cursor, 595u32, metadata)?; + return Ok(Error::Bounties(variant_error)); + } + if pallet_name == "ChildBounties" { + let variant_error = + child_bounties::Error::decode_with_metadata(cursor, 598u32, metadata)?; + return Ok(Error::ChildBounties(variant_error)); + } + if pallet_name == "Tips" { + let variant_error = tips::Error::decode_with_metadata(cursor, 600u32, metadata)?; + return Ok(Error::Tips(variant_error)); + } + if pallet_name == "ElectionProviderMultiPhase" { + let variant_error = election_provider_multi_phase::Error::decode_with_metadata( + cursor, 612u32, metadata, + )?; + return Ok(Error::ElectionProviderMultiPhase(variant_error)); + } + if pallet_name == "VoterList" { + let variant_error = + voter_list::Error::decode_with_metadata(cursor, 616u32, metadata)?; + return Ok(Error::VoterList(variant_error)); + } + if pallet_name == "NominationPools" { + let variant_error = + nomination_pools::Error::decode_with_metadata(cursor, 633u32, metadata)?; + return Ok(Error::NominationPools(variant_error)); + } + if pallet_name == "FastUnstake" { + let variant_error = + fast_unstake::Error::decode_with_metadata(cursor, 638u32, metadata)?; + return Ok(Error::FastUnstake(variant_error)); + } + if pallet_name == "Configuration" { + let variant_error = + configuration::Error::decode_with_metadata(cursor, 642u32, metadata)?; + return Ok(Error::Configuration(variant_error)); + } + if pallet_name == "ParaInclusion" { + let variant_error = + para_inclusion::Error::decode_with_metadata(cursor, 647u32, metadata)?; + return Ok(Error::ParaInclusion(variant_error)); + } + if pallet_name == "ParaInherent" { + let variant_error = + para_inherent::Error::decode_with_metadata(cursor, 653u32, metadata)?; + return Ok(Error::ParaInherent(variant_error)); + } + if pallet_name == "Paras" { + let variant_error = paras::Error::decode_with_metadata(cursor, 680u32, metadata)?; + return Ok(Error::Paras(variant_error)); + } + if pallet_name == "Ump" { + let variant_error = ump::Error::decode_with_metadata(cursor, 686u32, metadata)?; + return Ok(Error::Ump(variant_error)); + } + if pallet_name == "Hrmp" { + let variant_error = hrmp::Error::decode_with_metadata(cursor, 695u32, metadata)?; + return Ok(Error::Hrmp(variant_error)); + } + if pallet_name == "ParasDisputes" { + let variant_error = + paras_disputes::Error::decode_with_metadata(cursor, 703u32, metadata)?; + return Ok(Error::ParasDisputes(variant_error)); + } + if pallet_name == "Registrar" { + let variant_error = + registrar::Error::decode_with_metadata(cursor, 705u32, metadata)?; + return Ok(Error::Registrar(variant_error)); + } + if pallet_name == "Slots" { + let variant_error = slots::Error::decode_with_metadata(cursor, 707u32, metadata)?; + return Ok(Error::Slots(variant_error)); + } + if pallet_name == "Auctions" { + let variant_error = + auctions::Error::decode_with_metadata(cursor, 712u32, metadata)?; + return Ok(Error::Auctions(variant_error)); + } + if pallet_name == "Crowdloan" { + let variant_error = + crowdloan::Error::decode_with_metadata(cursor, 715u32, metadata)?; + return Ok(Error::Crowdloan(variant_error)); + } + if pallet_name == "XcmPallet" { + let variant_error = + xcm_pallet::Error::decode_with_metadata(cursor, 727u32, metadata)?; + return Ok(Error::XcmPallet(variant_error)); + } + Err(::subxt::ext::scale_decode::Error::custom(format!( + "Pallet name '{}' not found in root Error enum", + pallet_name + )) + .into()) } } pub fn constants() -> ConstantsApi { From 7f4104fefc666fe25bb8291266f4ce2adac353ba Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Tue, 25 Apr 2023 16:48:18 +0200 Subject: [PATCH 5/7] remove pallet by name fn --- codegen/src/api/mod.rs | 1 - subxt/src/metadata/metadata_type.rs | 9 --------- 2 files changed, 10 deletions(-) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index 8ce3e3bbc6..fcf66e73f0 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -475,7 +475,6 @@ impl RuntimeGenerator { } } - pub fn constants() -> ConstantsApi { ConstantsApi } diff --git a/subxt/src/metadata/metadata_type.rs b/subxt/src/metadata/metadata_type.rs index 51722cf348..7a8966d3ea 100644 --- a/subxt/src/metadata/metadata_type.rs +++ b/subxt/src/metadata/metadata_type.rs @@ -103,15 +103,6 @@ impl Metadata { .ok_or(MetadataError::PalletNotFound) } - /// Returns a reference to [`PalletMetadata`]. - pub fn pallet_by_index(&self, pallet_index: u8) -> Result<&PalletMetadata, MetadataError> { - self.inner - .pallets - .values() - .find(|pallet_metadata| pallet_metadata.index == pallet_index) - .ok_or(MetadataError::PalletNotFound) - } - /// Returns the metadata for the event at the given pallet and event indices. pub fn event( &self, From e0359aeb0259299d17238b857bd87532289593f5 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 27 Apr 2023 17:25:34 +0100 Subject: [PATCH 6/7] test that we can decode a ModuleError via as_root_error --- testing/integration-tests/src/client/mod.rs | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/testing/integration-tests/src/client/mod.rs b/testing/integration-tests/src/client/mod.rs index f9808ea47d..d95936f508 100644 --- a/testing/integration-tests/src/client/mod.rs +++ b/testing/integration-tests/src/client/mod.rs @@ -350,6 +350,43 @@ async fn submit_large_extrinsic() { .unwrap(); } +#[tokio::test] +async fn decode_a_module_error() { + use node_runtime::runtime_types::pallet_assets::pallet as assets; + + let ctx = test_context().await; + let api = ctx.client(); + + let alice = pair_signer(AccountKeyring::Alice.pair()); + let alice_addr = alice.account_id().clone().into(); + + // Trying to work with an asset ID 1 which doesn't exist should return an + // "unknown" module error from the assets pallet. + let freeze_unknown_asset = node_runtime::tx().assets().freeze(1, alice_addr); + + let err = api + .tx() + .sign_and_submit_then_watch_default(&freeze_unknown_asset, &alice) + .await + .unwrap() + .wait_for_finalized_success() + .await + .expect_err("an 'unknown asset' error"); + + let Error::Runtime(DispatchError::Module(module_err)) = err else { + panic!("Expected a ModuleError, got {err:?}"); + }; + + // Decode the error into our generated Error type. + let decoded_err = module_err.as_root_error::().unwrap(); + + // Decoding should result in an Assets.Unknown error: + assert_eq!( + decoded_err, + node_runtime::Error::Assets(assets::Error::Unknown) + ); +} + #[tokio::test] async fn unsigned_extrinsic_is_same_shape_as_polkadotjs() { let ctx = test_context().await; From 0106d468258a1a6f1641028df8eca8955f168611 Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Fri, 28 Apr 2023 09:54:31 +0200 Subject: [PATCH 7/7] nits --- codegen/src/api/errors.rs | 1 - codegen/src/api/mod.rs | 2 +- subxt/src/error/dispatch_error.rs | 2 +- subxt/src/error/mod.rs | 3 ++- testing/integration-tests/src/codegen/polkadot.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/codegen/src/api/errors.rs b/codegen/src/api/errors.rs index c4b3fe25e7..0722c8e9a8 100644 --- a/codegen/src/api/errors.rs +++ b/codegen/src/api/errors.rs @@ -30,6 +30,5 @@ pub fn generate_error_type_alias( Ok(quote! { #docs pub type Error = #error_type; - }) } diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index fcf66e73f0..85d6e6bf00 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -467,7 +467,7 @@ impl RuntimeGenerator { #outer_error impl #crate_path::error::RootError for Error { - fn root_error(pallet_bytes: &[u8; 4], pallet_name: &str, metadata: &#crate_path::Metadata) -> Result { + fn root_error(pallet_bytes: &[u8], pallet_name: &str, metadata: &#crate_path::Metadata) -> Result { use #crate_path::metadata::DecodeWithMetadata; let cursor = &mut &pallet_bytes[..]; #( #root_error_if_arms )* diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index 3fe8b8087b..aa730b0bc6 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -164,7 +164,7 @@ impl ModuleError { self.raw } - /// attempts to decode the ModuleError into a value implementing the trait `RootError` + /// Attempts to decode the ModuleError into a value implementing the trait `RootError` /// where the actual type of value is the generated top level enum `Error`. pub fn as_root_error(&self) -> Result { E::root_error(&self.raw.error, self.details()?.pallet(), &self.metadata) diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 8f8c0e6ddc..9884e4e1d3 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -168,7 +168,8 @@ pub enum StorageAddressError { pub trait RootError: Sized { /// Given details of the pallet error we want to decode fn root_error( - pallet_bytes: &[u8; 4], + // typically a [u8; 4] encodes the error of a pallet + pallet_bytes: &[u8], pallet_name: &str, metadata: &Metadata, ) -> Result; diff --git a/testing/integration-tests/src/codegen/polkadot.rs b/testing/integration-tests/src/codegen/polkadot.rs index 1abfb76da0..4a8bb5020f 100644 --- a/testing/integration-tests/src/codegen/polkadot.rs +++ b/testing/integration-tests/src/codegen/polkadot.rs @@ -567,7 +567,7 @@ pub mod api { } impl ::subxt::error::RootError for Error { fn root_error( - pallet_bytes: &[u8; 4], + pallet_bytes: &[u8], pallet_name: &str, metadata: &::subxt::Metadata, ) -> Result {