diff --git a/Cargo.lock b/Cargo.lock index 06ce3668..fec4a721 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14360,7 +14360,7 @@ dependencies = [ [[package]] name = "tangle-subxt" -version = "0.5.0" +version = "0.6.0" dependencies = [ "parity-scale-codec", "scale-info", diff --git a/pallets/services/src/functions.rs b/pallets/services/src/functions.rs index 947e11a9..2008db47 100644 --- a/pallets/services/src/functions.rs +++ b/pallets/services/src/functions.rs @@ -1,17 +1,16 @@ -use core::iter; - #[cfg(not(feature = "std"))] use alloc::{boxed::Box, string::String, vec, vec::Vec}; #[cfg(feature = "std")] use std::{boxed::Box, string::String, vec::Vec}; -use ethabi::Token; +use ethabi::{Function, StateMutability, Token}; use frame_support::dispatch::{DispatchErrorWithPostInfo, PostDispatchInfo}; use sp_core::{H160, U256}; -use sp_runtime::traits::UniqueSaturatedInto; +use sp_runtime::traits::{UniqueSaturatedInto, Zero}; use tangle_primitives::services::{ - BlueprintManager, Field, OperatorPreferences, Service, ServiceBlueprint, + BlueprintServiceManager, Field, MasterBlueprintServiceManagerRevision, OperatorPreferences, + Service, ServiceBlueprint, }; use super::*; @@ -38,6 +37,146 @@ impl Pallet { T::PalletEVMAddress::get() } + /// Get the address of the master blueprint service manager at a given revision. + /// + /// # Parameters + /// * `revision` - The revision of the master blueprint service manager. + /// + /// # Returns + /// * `Result>` - The address of the master blueprint service manager. + /// * `Error` - The error type. + #[doc(alias = "get_master_blueprint_service_manager_address")] + #[inline(always)] + pub fn mbsm_address(revision: u32) -> Result> { + MasterBlueprintServiceManagerRevisions::::get() + .get(revision as usize) + .cloned() + .ok_or(Error::::MasterBlueprintServiceManagerRevisionNotFound) + } + + /// Get the latest revision of the master blueprint service manager. + /// + /// # Returns + /// * `u32` - The latest revision of the master blueprint service manager. + #[doc(alias = "get_master_blueprint_service_manager_revision")] + #[inline(always)] + pub fn mbsm_latest_revision() -> u32 { + MasterBlueprintServiceManagerRevisions::::decode_len() + .map(|len| len.saturating_sub(1) as u32) + .unwrap_or(0) + } + + /// Get the address of the master blueprint service manager for the given blueprint. + /// + /// # Parameters + /// * `blueprint` - The service blueprint. + /// + /// # Returns + /// * `Result>` - The address of the master blueprint service manager. + /// * `Error` - The error type. + pub fn mbsm_address_of(blueprint: &ServiceBlueprint) -> Result> { + match blueprint.master_manager_revision { + MasterBlueprintServiceManagerRevision::Specific(rev) => Self::mbsm_address(rev), + MasterBlueprintServiceManagerRevision::Latest => { + Self::mbsm_address(Self::mbsm_latest_revision()) + }, + other => unimplemented!("Got unexpected case for {:?}", other), + } + } + + /// Hook to be called when a blueprint is created. + /// + /// This function is called when a blueprint is created. It performs an EVM call + /// to the `onBlueprintCreated` function of the service blueprint's manager contract. + /// + /// # Parameters + /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. + /// * `owner` - The owner of the blueprint. + /// + /// # Returns + /// * `Result<(bool, Weight), DispatchErrorWithPostInfo>` - A tuple containing a boolean indicating + /// whether the blueprint creation is allowed and the weight of the operation. + pub fn on_blueprint_created_hook( + blueprint: &ServiceBlueprint, + blueprint_id: u64, + owner: &T::AccountId, + ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { + // To the BSM + #[allow(deprecated)] + let (allowed0, weight0) = match blueprint.manager { + BlueprintServiceManager::Evm(bsm) => { + let mbsm = Self::mbsm_address_of(blueprint)?; + let f = Function { + name: String::from("onBlueprintCreated"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("owner"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ethabi::Param { + name: String::from("mbsm"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, + }; + let args = &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Address(T::EvmAddressMapping::into_address(owner.clone())), + Token::Address(mbsm), + ]; + let data = f.encode_input(args).map_err(|_| Error::::EVMAbiEncode)?; + let gas_limit = 300_000; + let value = U256::zero(); + let info = Self::evm_call(Self::address(), bsm, value, data, gas_limit)?; + let weight = Self::weight_from_call_info(&info); + (info.exit_reason.is_succeed(), weight) + }, + _ => unimplemented!("Got unexpected case for {:?}", blueprint.manager), + }; + // To the MBSM + #[allow(deprecated)] + let (allowed1, weight1) = Self::dispatch_hook( + blueprint, + Function { + name: String::from("onBlueprintCreated"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("owner"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ServiceBlueprint::::to_ethabi_param(), + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, + }, + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Address(T::EvmAddressMapping::into_address(owner.clone())), + blueprint.to_ethabi(), + ], + Zero::zero(), + )?; + Ok((allowed0 && allowed1, weight0.saturating_add(weight1))) + } + /// Hook to be called upon a new operator registration on a blueprint. /// /// This function is called when a service is registered. It performs an EVM call @@ -45,6 +184,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `prefrences` - The operator preferences. /// * `registration_args` - The registration arguments. /// * `value` - The value to be sent with the call. @@ -54,44 +194,40 @@ impl Pallet { /// whether the registration is allowed and the weight of the operation. pub fn on_register_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, prefrences: &OperatorPreferences, registration_args: &[Field], value: BalanceOf, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onRegister"), - inputs: vec![ - OperatorPreferences::to_ethabi_param(), - ethabi::Param { - name: String::from("registrationInputs"), - kind: ethabi::ParamType::Bytes, - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::Payable, - }; - - let args = prefrences - .to_ethabi() - .into_iter() - .chain(iter::once(Token::Bytes(Field::encode_to_ethabi(registration_args)))) - .collect::>(); - - let value = value.using_encoded(U256::from_little_endian); - let data = call.encode_input(&args).map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, value, data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onRegister"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ethabi::Param { + name: String::from("registrationInputs"), + kind: ethabi::ParamType::Bytes, + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, }, - _ => (true, Weight::zero()), - }; - Ok((allowed, weight)) + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + prefrences.to_ethabi(), + Token::Bytes(Field::encode_to_ethabi(registration_args)), + ], + value, + ) } /// Hook to be called upon an operator unregistration on a blueprint. @@ -101,6 +237,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `prefrences` - The operator preferences. /// /// # Returns @@ -108,28 +245,29 @@ impl Pallet { /// whether the unregistration is allowed and the weight of the operation. pub fn on_unregister_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, prefrences: &OperatorPreferences, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onUnregister"), - inputs: vec![OperatorPreferences::to_ethabi_param()], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - - let args = prefrences.to_ethabi(); - let data = call.encode_input(&args).map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, 0.into(), data, gas_limit)?; - Ok((info.exit_reason.is_succeed(), Self::weight_from_call_info(&info))) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onUnregister"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::NonPayable, }, - _ => Ok((true, Weight::zero())), - } + &[Token::Uint(ethabi::Uint::from(blueprint_id)), prefrences.to_ethabi()], + Zero::zero(), + ) } /// Hook to be called upon a new price targets update on a blueprint. @@ -138,6 +276,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `prefrences` - The operator preferences. /// /// # Returns @@ -146,28 +285,29 @@ impl Pallet { /// whether the price targets update is allowed and the weight of the operation. pub fn on_update_price_targets( blueprint: &ServiceBlueprint, + blueprint_id: u64, prefrences: &OperatorPreferences, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onUpdatePriceTargets"), - inputs: vec![OperatorPreferences::to_ethabi_param()], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::Payable, - }; - - let args = prefrences.to_ethabi(); - let data = call.encode_input(&args).map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, 0.into(), data, gas_limit)?; - Ok((info.exit_reason.is_succeed(), Self::weight_from_call_info(&info))) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onUpdatePriceTargets"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, }, - _ => Ok((true, Weight::zero())), - } + &[Token::Uint(ethabi::Uint::from(blueprint_id)), prefrences.to_ethabi()], + Zero::zero(), + ) } /// Hook to be called upon an operator approve a service request on a blueprint. @@ -177,6 +317,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `prefrences` - The operator preferences. /// * `request_id` - The request id. /// * `restaking_percent` - The restaking percent. @@ -186,48 +327,46 @@ impl Pallet { /// whether the approve is allowed and the weight of the operation. pub fn on_approve_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, prefrences: &OperatorPreferences, request_id: u64, restaking_percent: u8, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onApprove"), - inputs: vec![ - OperatorPreferences::to_ethabi_param(), - ethabi::Param { - name: String::from("requestId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("restakingPercent"), - kind: ethabi::ParamType::Uint(8), - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - - let args = prefrences - .to_ethabi() - .into_iter() - .chain(iter::once(Token::Uint(U256::from(request_id)))) - .chain(iter::once(Token::Uint(U256::from(restaking_percent)))) - .collect::>(); - - let data = call.encode_input(&args).map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, 0.into(), data, gas_limit)?; - Ok((info.exit_reason.is_succeed(), Self::weight_from_call_info(&info))) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onApprove"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ethabi::Param { + name: String::from("requestId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("restakingPercent"), + kind: ethabi::ParamType::Uint(8), + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::NonPayable, }, - _ => Ok((true, Weight::zero())), - } + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + prefrences.to_ethabi(), + Token::Uint(ethabi::Uint::from(request_id)), + Token::Uint(ethabi::Uint::from(restaking_percent)), + ], + Zero::zero(), + ) } /// Hook to be called upon an operator reject a service request on a blueprint. @@ -236,6 +375,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `prefrences` - The operator preferences. /// * `request_id` - The request id. /// @@ -244,41 +384,39 @@ impl Pallet { /// whether the reject is allowed and the weight of the operation. pub fn on_reject_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, prefrences: &OperatorPreferences, request_id: u64, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onReject"), - inputs: vec![ - OperatorPreferences::to_ethabi_param(), - ethabi::Param { - name: String::from("requestId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - - let args = prefrences - .to_ethabi() - .into_iter() - .chain(iter::once(Token::Uint(U256::from(request_id)))) - .collect::>(); - - let data = call.encode_input(&args).map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, 0.into(), data, gas_limit)?; - Ok((info.exit_reason.is_succeed(), Self::weight_from_call_info(&info))) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onReject"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ethabi::Param { + name: String::from("requestId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::NonPayable, }, - _ => Ok((true, Weight::zero())), - } + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + prefrences.to_ethabi(), + Token::Uint(ethabi::Uint::from(request_id)), + ], + Zero::zero(), + ) } /// Hook to be called upon new service request. @@ -287,8 +425,9 @@ impl Pallet { /// to the `onRequest` function of the service blueprint's manager contract. /// /// # Parameters - /// * `requester` - The requester of the service. /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. + /// * `requester` - The requester of the service. /// * `request_id` - The service request ID. /// * `operators` - The operator preferences. /// * `request_args` - The request arguments. @@ -301,8 +440,9 @@ impl Pallet { /// * `Result<(bool, Weight), DispatchErrorWithPostInfo>` - A tuple containing a boolean indicating /// whether the request is allowed and the weight of the operation. pub fn on_request_hook( - requester: &T::AccountId, blueprint: &ServiceBlueprint, + blueprint_id: u64, + requester: &T::AccountId, request_id: u64, operators: &[OperatorPreferences], request_args: &[Field], @@ -311,93 +451,79 @@ impl Pallet { ttl: BlockNumberFor, value: BalanceOf, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onRequest"), - inputs: vec![ - ethabi::Param { - name: String::from("requestId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("requester"), - kind: ethabi::ParamType::Address, - internal_type: None, - }, - ethabi::Param { - name: String::from("operatorsWithPreferences"), - kind: ethabi::ParamType::Array(Box::new( - OperatorPreferences::to_ethabi_param_type(), - )), - internal_type: Some(String::from("OperatorPreferences[]")), - }, - ethabi::Param { - name: String::from("requestInputs"), - kind: ethabi::ParamType::Bytes, - internal_type: None, - }, - ethabi::Param { - name: String::from("permittedCallers"), - kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), - internal_type: Some(String::from("address[]")), - }, - // ethabi::Param { - // name: String::from("assets"), - // kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), - // internal_type: Some(String::from("address[]")), - // }, - ethabi::Param { - name: String::from("ttl"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::Payable, - }; - let request_id = Token::Uint(ethabi::Uint::from(request_id)); - let requester = - Token::Address(T::EvmAddressMapping::into_address(requester.clone())); - let operators = Token::Array( - operators.iter().flat_map(OperatorPreferences::to_ethabi).collect(), - ); - let request_args = Token::Bytes(Field::encode_to_ethabi(request_args)); - let permitted_callers = Token::Array( + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onRequest"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("requestId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("requester"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ethabi::Param { + name: String::from("operatorsWithPreferences"), + kind: ethabi::ParamType::Array(Box::new( + OperatorPreferences::to_ethabi_param_type(), + )), + internal_type: Some(String::from("OperatorPreferences[]")), + }, + ethabi::Param { + name: String::from("requestInputs"), + kind: ethabi::ParamType::Bytes, + internal_type: None, + }, + ethabi::Param { + name: String::from("permittedCallers"), + kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), + internal_type: Some(String::from("address[]")), + }, + // ethabi::Param { + // name: String::from("assets"), + // kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), + // internal_type: Some(String::from("address[]")), + // }, + ethabi::Param { + name: String::from("ttl"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, + }, + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Uint(ethabi::Uint::from(request_id)), + Token::Address(T::EvmAddressMapping::into_address(requester.clone())), + Token::Array(operators.iter().map(OperatorPreferences::to_ethabi).collect()), + Token::Bytes(Field::encode_to_ethabi(request_args)), + Token::Array( permitted_callers .iter() .map(|caller| { Token::Address(T::EvmAddressMapping::into_address(caller.clone())) + .clone() }) .collect(), - ); - // TODO: Implement asset mapping or when we have AssetIds as an enum. - // let assets = Token::Array(vec![]); - let ttl = Token::Uint(ethabi::Uint::from(ttl.into())); - let data = call - .encode_input(&[ - request_id, - requester, - operators, - request_args, - permitted_callers, - // assets, - ttl, - ]) - .map_err(|_| Error::::EVMAbiEncode)?; - let value = value.using_encoded(U256::from_little_endian); - let gas_limit = 300_000; - - let info = Self::evm_call(Self::address(), contract, value, data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) - }, - _ => (true, Weight::zero()), - }; - - Ok((allowed, weight)) + ), + // Token::Array(vec![]), + Token::Uint(ethabi::Uint::from(ttl.into())), + ], + value, + ) } /// Hook to be called when a service is initialized. This function will call the `onServiceInitialized` @@ -405,6 +531,7 @@ impl Pallet { /// /// # Arguments /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `request_id` - The service request ID. /// * `service_id` - The service ID. /// * `owner` - The owner of the service. @@ -417,6 +544,7 @@ impl Pallet { /// whether the request is allowed and the weight of the operation. pub fn on_service_init_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, request_id: u64, service_id: u64, owner: &T::AccountId, @@ -424,77 +552,70 @@ impl Pallet { _assets: &[T::AssetId], ttl: BlockNumberFor, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onServiceInitialized"), - inputs: vec![ - ethabi::Param { - name: String::from("requestId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("owner"), - kind: ethabi::ParamType::Address, - internal_type: None, - }, - ethabi::Param { - name: String::from("permittedCallers"), - kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), - internal_type: Some(String::from("address[]")), - }, - // ethabi::Param { - // name: String::from("assets"), - // kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), - // internal_type: Some(String::from("address[]")), - // }, - ethabi::Param { - name: String::from("ttl"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::Payable, - }; - let request_id = Token::Uint(ethabi::Uint::from(request_id)); - let service_id = Token::Uint(ethabi::Uint::from(service_id)); - let owner = Token::Address(T::EvmAddressMapping::into_address(owner.clone())); - let permitted_callers = Token::Array( + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onServiceInitialized"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("requestId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("owner"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ethabi::Param { + name: String::from("permittedCallers"), + kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), + internal_type: Some(String::from("address[]")), + }, + // ethabi::Param { + // name: String::from("assets"), + // kind: ethabi::ParamType::Array(Box::new(ethabi::ParamType::Address)), + // internal_type: Some(String::from("address[]")), + // }, + ethabi::Param { + name: String::from("ttl"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, + }, + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Uint(ethabi::Uint::from(request_id)), + Token::Uint(ethabi::Uint::from(service_id)), + Token::Address(T::EvmAddressMapping::into_address(owner.clone())), + Token::Array( permitted_callers .iter() .map(|caller| { Token::Address(T::EvmAddressMapping::into_address(caller.clone())) }) .collect(), - ); - let ttl = Token::Uint(ethabi::Uint::from(ttl.into())); - let data = call - .encode_input(&[ - request_id, - service_id, - owner, - permitted_callers, - // assets, - ttl, - ]) - .map_err(|_| Error::::EVMAbiEncode)?; - let value = U256::zero(); - let gas_limit = 300_000; - let info = Self::evm_call(Self::address(), contract, value, data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) - }, - _ => (true, Weight::zero()), - }; - Ok((allowed, weight)) + ), + // Token::Array(vec![]), + Token::Uint(ethabi::Uint::from(ttl.into())), + ], + Zero::zero(), + ) } /// Hook to be called when a service is terminated. This function will call the `onServiceTermination` @@ -502,6 +623,7 @@ impl Pallet { /// /// # Arguments /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `service_id` - The service ID. /// * `owner` - The owner of the service. /// @@ -510,43 +632,43 @@ impl Pallet { /// whether the request is allowed and the weight of the operation. pub fn on_service_termination_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, service_id: u64, owner: &T::AccountId, ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onServiceTermination"), - inputs: vec![ - ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("owner"), - kind: ethabi::ParamType::Address, - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - let service_id = Token::Uint(ethabi::Uint::from(service_id)); - let owner = Token::Address(T::EvmAddressMapping::into_address(owner.clone())); - let data = call - .encode_input(&[service_id, owner]) - .map_err(|_| Error::::EVMAbiEncode)?; - let value = U256::zero(); - let gas_limit = 300_000; - let info = Self::evm_call(Self::address(), contract, value, data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onServiceTermination"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("owner"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::NonPayable, }, - _ => (true, Weight::zero()), - }; - Ok((allowed, weight)) + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Uint(ethabi::Uint::from(service_id)), + Token::Address(T::EvmAddressMapping::into_address(owner.clone())), + ], + Zero::zero(), + ) } /// Hook to be called upon job call. @@ -556,6 +678,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `blueprint_id` - The blueprint ID. /// * `service_id` - The service ID. /// * `job` - The job index. /// * `job_call_id` - The job call ID. @@ -566,58 +689,57 @@ impl Pallet { /// whether the job call is allowed and the weight of the operation. pub fn on_job_call_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, service_id: u64, job: u8, job_call_id: u64, inputs: &[Field], ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onJobCall"), - inputs: vec![ - ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("job"), - kind: ethabi::ParamType::Uint(8), - internal_type: None, - }, - ethabi::Param { - name: String::from("jobCallId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("inputs"), - kind: ethabi::ParamType::Bytes, - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::Payable, - }; - let service_id = Token::Uint(ethabi::Uint::from(service_id)); - let job = Token::Uint(ethabi::Uint::from(job)); - let job_call_id = Token::Uint(ethabi::Uint::from(job_call_id)); - let inputs = Token::Bytes(Field::encode_to_ethabi(inputs)); - let data = call - .encode_input(&[service_id, job, job_call_id, inputs]) - .map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = - Self::evm_call(Self::address(), contract, U256::from(0), data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onJobCall"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("job"), + kind: ethabi::ParamType::Uint(8), + internal_type: None, + }, + ethabi::Param { + name: String::from("jobCallId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("inputs"), + kind: ethabi::ParamType::Bytes, + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::Payable, }, - _ => (true, Weight::zero()), - }; - Ok((allowed, weight)) + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Uint(ethabi::Uint::from(service_id)), + Token::Uint(ethabi::Uint::from(job)), + Token::Uint(ethabi::Uint::from(job_call_id)), + Token::Bytes(Field::encode_to_ethabi(inputs)), + ], + Zero::zero(), + ) } /// Hook to be called upon job result. @@ -627,6 +749,7 @@ impl Pallet { /// /// # Parameters /// * `blueprint` - The service blueprint. + /// * `bluepint_id` - The blueprint ID. /// * `service_id` - The service ID. /// * `job` - The job index. /// * `job_call_id` - The job call ID. @@ -639,6 +762,7 @@ impl Pallet { /// whether the job result is allowed and the weight of the operation. pub fn on_job_result_hook( blueprint: &ServiceBlueprint, + blueprint_id: u64, service_id: u64, job: u8, job_call_id: u64, @@ -646,61 +770,59 @@ impl Pallet { inputs: &[Field], outputs: &[Field], ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { - let (allowed, weight) = match blueprint.manager { - BlueprintManager::Evm(contract) => { - #[allow(deprecated)] - let call = ethabi::Function { - name: String::from("onJobResult"), - inputs: vec![ - ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - ethabi::Param { - name: String::from("jobIndex"), - kind: ethabi::ParamType::Uint(8), - internal_type: None, - }, - ethabi::Param { - name: String::from("jobCallId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }, - OperatorPreferences::to_ethabi_param(), - ethabi::Param { - name: String::from("inputs"), - kind: ethabi::ParamType::Bytes, - internal_type: None, - }, - ethabi::Param { - name: String::from("outputs"), - kind: ethabi::ParamType::Bytes, - internal_type: None, - }, - ], - outputs: Default::default(), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - let service_id = Token::Uint(ethabi::Uint::from(service_id)); - let job = Token::Uint(ethabi::Uint::from(job)); - let job_call_id = Token::Uint(ethabi::Uint::from(job_call_id)); - let operator = prefrences.to_ethabi().first().unwrap().clone(); - let inputs = Token::Bytes(Field::encode_to_ethabi(inputs)); - let outputs = Token::Bytes(Field::encode_to_ethabi(outputs)); - let data = call - .encode_input(&[service_id, job, job_call_id, operator, inputs, outputs]) - .map_err(|_| Error::::EVMAbiEncode)?; - let gas_limit = 300_000; - - let info = - Self::evm_call(Self::address(), contract, U256::from(0), data, gas_limit)?; - (info.exit_reason.is_succeed(), Self::weight_from_call_info(&info)) + #[allow(deprecated)] + Self::dispatch_hook( + blueprint, + Function { + name: String::from("onJobResult"), + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("jobIndex"), + kind: ethabi::ParamType::Uint(8), + internal_type: None, + }, + ethabi::Param { + name: String::from("jobCallId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + OperatorPreferences::to_ethabi_param(), + ethabi::Param { + name: String::from("inputs"), + kind: ethabi::ParamType::Bytes, + internal_type: None, + }, + ethabi::Param { + name: String::from("outputs"), + kind: ethabi::ParamType::Bytes, + internal_type: None, + }, + ], + outputs: Default::default(), + constant: None, + state_mutability: StateMutability::NonPayable, }, - _ => (true, Weight::zero()), - }; - Ok((allowed, weight)) + &[ + Token::Uint(ethabi::Uint::from(blueprint_id)), + Token::Uint(ethabi::Uint::from(service_id)), + Token::Uint(ethabi::Uint::from(job)), + Token::Uint(ethabi::Uint::from(job_call_id)), + prefrences.to_ethabi(), + Token::Bytes(Field::encode_to_ethabi(inputs)), + Token::Bytes(Field::encode_to_ethabi(outputs)), + ], + Zero::zero(), + ) } /// Queries the slashing origin of a service. @@ -719,38 +841,42 @@ impl Pallet { ) -> Result<(Option, Weight), DispatchErrorWithPostInfo> { let (_, blueprint) = Self::blueprints(service.blueprint)?; #[allow(deprecated)] - let query_call = ethabi::Function { + let query = Function { name: String::from("querySlashingOrigin"), - inputs: vec![ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }], + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ], outputs: vec![ethabi::Param { name: String::from("slashingOrigin"), kind: ethabi::ParamType::Address, internal_type: None, }], constant: None, - state_mutability: ethabi::StateMutability::NonPayable, + state_mutability: StateMutability::NonPayable, }; - let service_id_tok = ethabi::Token::Uint(ethabi::Uint::from(service.id)); - let blueprint_manager = - blueprint.manager.try_into_evm().map_err(|_| Error::::EVMAbiEncode)?; - let info = Self::evm_call( - Self::address(), - blueprint_manager, - U256::from(0), - query_call - .encode_input(&[service_id_tok]) - .map_err(|_| Error::::EVMAbiEncode)?, - 300_000, + let (info, weight) = Self::dispatch_evm_call( + &blueprint, + query.clone(), + &[ + Token::Uint(ethabi::Uint::from(service.blueprint)), + Token::Uint(ethabi::Uint::from(service.id)), + ], + Zero::zero(), )?; // decode the result and return it let maybe_value = info.exit_reason.is_succeed().then_some(&info.value); let slashing_origin = if let Some(data) = maybe_value { - let result = query_call.decode_output(data).map_err(|_| Error::::EVMAbiDecode)?; + let result = query.decode_output(data).map_err(|_| Error::::EVMAbiDecode)?; let slashing_origin = result.first().ok_or_else(|| Error::::EVMAbiDecode)?; if let ethabi::Token::Address(who) = slashing_origin { Some(T::EvmAddressMapping::into_account_id(*who)) @@ -761,7 +887,7 @@ impl Pallet { None }; - Ok((slashing_origin, Self::weight_from_call_info(&info))) + Ok((slashing_origin, weight)) } /// Queries the dispute origin of a service. @@ -780,38 +906,42 @@ impl Pallet { ) -> Result<(Option, Weight), DispatchErrorWithPostInfo> { let (_, blueprint) = Self::blueprints(service.blueprint)?; #[allow(deprecated)] - let query_call = ethabi::Function { + let query = Function { name: String::from("queryDisputeOrigin"), - inputs: vec![ethabi::Param { - name: String::from("serviceId"), - kind: ethabi::ParamType::Uint(64), - internal_type: None, - }], + inputs: vec![ + ethabi::Param { + name: String::from("blueprintId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ethabi::Param { + name: String::from("serviceId"), + kind: ethabi::ParamType::Uint(64), + internal_type: None, + }, + ], outputs: vec![ethabi::Param { name: String::from("disputeOrigin"), kind: ethabi::ParamType::Address, internal_type: None, }], constant: None, - state_mutability: ethabi::StateMutability::NonPayable, + state_mutability: StateMutability::NonPayable, }; - let service_id_tok = ethabi::Token::Uint(ethabi::Uint::from(service.id)); - let blueprint_manager = - blueprint.manager.try_into_evm().map_err(|_| Error::::EVMAbiEncode)?; - let info = Self::evm_call( - Self::address(), - blueprint_manager, - U256::from(0), - query_call - .encode_input(&[service_id_tok]) - .map_err(|_| Error::::EVMAbiEncode)?, - 300_000, + let (info, weight) = Self::dispatch_evm_call( + &blueprint, + query.clone(), + &[ + Token::Uint(ethabi::Uint::from(service.blueprint)), + Token::Uint(ethabi::Uint::from(service.id)), + ], + Zero::zero(), )?; // decode the result and return it let maybe_value = info.exit_reason.is_succeed().then_some(&info.value); let dispute_origin = if let Some(data) = maybe_value { - let result = query_call.decode_output(data).map_err(|_| Error::::EVMAbiDecode)?; + let result = query.decode_output(data).map_err(|_| Error::::EVMAbiDecode)?; let slashing_origin = result.first().ok_or_else(|| Error::::EVMAbiDecode)?; if let ethabi::Token::Address(who) = slashing_origin { Some(T::EvmAddressMapping::into_account_id(*who)) @@ -822,11 +952,39 @@ impl Pallet { None }; - Ok((dispute_origin, Self::weight_from_call_info(&info))) + Ok((dispute_origin, weight)) + } + + /// Dispatches a hook to the EVM and returns if the call was successful with the used weight. + fn dispatch_hook( + blueprint: &ServiceBlueprint, + f: Function, + args: &[ethabi::Token], + value: BalanceOf, + ) -> Result<(bool, Weight), DispatchErrorWithPostInfo> { + Self::dispatch_evm_call(blueprint, f, args, value) + .map(|(info, weight)| (info.exit_reason.is_succeed(), weight)) + } + + /// Dispatches a hook to the EVM and returns if the result with the used weight. + fn dispatch_evm_call( + blueprint: &ServiceBlueprint, + f: Function, + args: &[ethabi::Token], + value: BalanceOf, + ) -> Result<(fp_evm::CallInfo, Weight), DispatchErrorWithPostInfo> { + log::debug!(target: "evm", "Dispatching EVM call(0x{}): {}", hex::encode(f.short_signature()), f.signature()); + let mbsm = Self::mbsm_address_of(blueprint)?; + let data = f.encode_input(args).map_err(|_| Error::::EVMAbiEncode)?; + let gas_limit = 300_000; + let value = value.using_encoded(U256::from_little_endian); + let info = Self::evm_call(Self::address(), mbsm, value, data, gas_limit)?; + let weight = Self::weight_from_call_info(&info); + Ok((info, weight)) } /// Dispatches a call to the EVM and returns the result. - pub fn evm_call( + fn evm_call( from: H160, to: H160, value: U256, @@ -871,14 +1029,6 @@ impl Pallet { reason: info.value.clone(), }); } - // Emit logs from the EVM call. - for log in &info.logs { - Self::deposit_event(Event::::EvmLog { - address: log.address, - topics: log.topics.clone(), - data: log.data.clone(), - }); - } Ok(info) }, Err(e) => Err(DispatchErrorWithPostInfo { diff --git a/pallets/services/src/lib.rs b/pallets/services/src/lib.rs index 82094b62..1e11b42c 100644 --- a/pallets/services/src/lib.rs +++ b/pallets/services/src/lib.rs @@ -59,10 +59,11 @@ pub use impls::BenchmarkingOperatorDelegationManager; pub mod module { use super::*; use frame_support::dispatch::PostDispatchInfo; - use sp_core::{H160, H256}; + use sp_core::H160; use sp_runtime::traits::{AtLeast32BitUnsigned, MaybeSerializeDeserialize}; use sp_runtime::Percent; use sp_std::vec::Vec; + use tangle_primitives::services::MasterBlueprintServiceManagerRevision; use tangle_primitives::{ services::{PriceTargets, *}, MultiAssetDelegationInfo, @@ -162,6 +163,12 @@ pub mod module { /// Maximum number of assets per service. #[pallet::constant] type MaxAssetsPerService: Get + Default + Parameter + MaybeSerializeDeserialize; + /// Maximum number of versions of Master Blueprint Service Manager allowed. + #[pallet::constant] + type MaxMasterBlueprintServiceManagerVersions: Get + + Default + + Parameter + + MaybeSerializeDeserialize; /// The constraints for the service module. /// use [crate::types::ConstraintsOf] with `Self` to implement this trait. @@ -180,11 +187,9 @@ pub mod module { #[pallet::constant] type SlashDeferDuration: Get + Default + Parameter + MaybeSerializeDeserialize; - /// The origin which can manage Slashing actions. - /// - /// Supported actions: - /// 1. cancel deferred slash. - type SlashOrigin: EnsureOrigin; + /// The origin which can manage Add a new Master Blueprint Service Manager revision. + type MasterBlueprintServiceManagerUpdateOrigin: EnsureOrigin; + /// Weight information for the extrinsics in this module. type WeightInfo: WeightInfo; } @@ -203,6 +208,8 @@ pub mod module { pub enum Error { /// The service blueprint was not found. BlueprintNotFound, + /// Blueprint creation is interrupted. + BlueprintCreationInterrupted, /// The caller is already registered as a operator. AlreadyRegistered, /// The caller does not have the requirements to be a operator. @@ -275,6 +282,10 @@ pub mod module { NoDisputeOrigin, /// The Unapplied Slash are not found. UnappliedSlashNotFound, + /// The Supplied Master Blueprint Service Manager Revision is not found. + MasterBlueprintServiceManagerRevisionNotFound, + /// Maximum number of Master Blueprint Service Manager revisions reached. + MaxMasterBlueprintServiceManagerVersionsExceeded, } #[pallet::event] @@ -411,16 +422,6 @@ pub mod module { /// The result of the job. result: Vec>, }, - - /// An EVM log has been emitted during an execution. - EvmLog { - /// The account that emitted the log - address: H160, - /// The topics of the log - topics: Vec, - /// The data of the log - data: Vec, - }, /// EVM execution reverted with a reason. EvmReverted { from: H160, to: H160, data: Vec, reason: Vec }, /// An Operator has an unapplied slash. @@ -453,6 +454,14 @@ pub mod module { /// Era index era: u32, }, + + /// The Master Blueprint Service Manager has been revised. + MasterBlueprintServiceManagerRevised { + /// The revision number of the Master Blueprint Service Manager. + revision: u32, + /// The address of the Master Blueprint Service Manager. + address: H160, + }, } #[pallet::pallet] @@ -590,6 +599,14 @@ pub mod module { ResultQuery::UnappliedSlashNotFound>, >; + /// All the Master Blueprint Service Managers revisions. + /// + /// Where the index is the revision number. + #[pallet::storage] + #[pallet::getter(fn mbsm_revisions)] + pub type MasterBlueprintServiceManagerRevisions = + StorageValue<_, BoundedVec, ValueQuery>; + // *** auxiliary storage and maps *** #[pallet::storage] #[pallet::getter(fn operator_profile)] @@ -614,15 +631,38 @@ pub mod module { #[pallet::weight(T::WeightInfo::create_blueprint())] pub fn create_blueprint( origin: OriginFor, - blueprint: ServiceBlueprint, - ) -> DispatchResult { + mut blueprint: ServiceBlueprint, + ) -> DispatchResultWithPostInfo { let owner = ensure_signed(origin)?; let blueprint_id = Self::next_blueprint_id(); + // Ensure the master blueprint service manager exists and if it uses + // latest, pin it to the latest revision. + match blueprint.master_manager_revision { + MasterBlueprintServiceManagerRevision::Latest => { + let latest_revision = Self::mbsm_latest_revision(); + blueprint.master_manager_revision = + MasterBlueprintServiceManagerRevision::Specific(latest_revision); + }, + MasterBlueprintServiceManagerRevision::Specific(rev) => { + ensure!( + rev <= Self::mbsm_latest_revision(), + Error::::MasterBlueprintServiceManagerRevisionNotFound, + ); + }, + _ => unreachable!("MasterBlueprintServiceManagerRevision case is not implemented"), + }; + + let (allowed, _weight) = + Self::on_blueprint_created_hook(&blueprint, blueprint_id, &owner)?; + + ensure!(allowed, Error::::BlueprintCreationInterrupted); + Blueprints::::insert(blueprint_id, (owner.clone(), blueprint)); NextBlueprintId::::set(blueprint_id.saturating_add(1)); Self::deposit_event(Event::BlueprintCreated { owner, blueprint_id }); - Ok(()) + // TODO: update weight for the creation of the blueprint. + Ok(PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }) } /// Pre-register the caller as an operator for a specific blueprint. @@ -684,8 +724,13 @@ pub mod module { ExistenceRequirement::KeepAlive, )?; - let (allowed, _weight) = - Self::on_register_hook(&blueprint, &preferences, ®istration_args, value)?; + let (allowed, _weight) = Self::on_register_hook( + &blueprint, + blueprint_id, + &preferences, + ®istration_args, + value, + )?; ensure!(allowed, Error::::InvalidRegistrationInput); @@ -734,7 +779,8 @@ pub mod module { let caller = ensure_signed(origin)?; let (_, blueprint) = Self::blueprints(blueprint_id)?; let preferences = Operators::::get(blueprint_id, &caller)?; - let (allowed, _weight) = Self::on_unregister_hook(&blueprint, &preferences)?; + let (allowed, _weight) = + Self::on_unregister_hook(&blueprint, blueprint_id, &preferences)?; ensure!(allowed, Error::::NotAllowedToUnregister); // TODO: check if the caller is not providing any service for the blueprint. Operators::::remove(blueprint_id, &caller); @@ -777,7 +823,7 @@ pub mod module { })?; let (allowed, _weight) = - Self::on_update_price_targets(&blueprint, &updated_preferences)?; + Self::on_update_price_targets(&blueprint, blueprint_id, &updated_preferences)?; ensure!(allowed, Error::::NotAllowedToUpdatePriceTargets); @@ -828,8 +874,9 @@ pub mod module { let service_id = Self::next_instance_id(); let (allowed, _weight) = Self::on_request_hook( - &caller, &blueprint, + blueprint_id, + &caller, service_id, &preferences, &request_args, @@ -904,8 +951,9 @@ pub mod module { .map(|(_, s)| *s = ApprovalState::Approved { restaking_percent }); ensure!(updated.is_some(), Error::::ApprovalNotRequested); - let (_, blueprint) = Self::blueprints(request.blueprint)?; - let preferences = Operators::::get(request.blueprint, caller.clone())?; + let blueprint_id = request.blueprint; + let (_, blueprint) = Self::blueprints(blueprint_id)?; + let preferences = Operators::::get(blueprint_id, caller.clone())?; let approved = request .operators_with_approval_state .iter() @@ -927,6 +975,7 @@ pub mod module { let (allowed, _weight) = Self::on_approve_hook( &blueprint, + blueprint_id, &preferences, request_id, restaking_percent.deconstruct(), @@ -990,6 +1039,7 @@ pub mod module { let (allowed, _weight) = Self::on_service_init_hook( &blueprint, + blueprint_id, request_id, service_id, &request.owner, @@ -1036,10 +1086,12 @@ pub mod module { ensure!(updated.is_some(), Error::::ApprovalNotRequested); - let (_, blueprint) = Self::blueprints(request.blueprint)?; - let prefs = Operators::::get(request.blueprint, caller.clone())?; + let blueprint_id = request.blueprint; + let (_, blueprint) = Self::blueprints(blueprint_id)?; + let prefs = Operators::::get(blueprint_id, caller.clone())?; - let (allowed, _weight) = Self::on_reject_hook(&blueprint, &prefs, request_id)?; + let (allowed, _weight) = + Self::on_reject_hook(&blueprint, blueprint_id, &prefs, request_id)?; ensure!(allowed, Error::::RejectionInterrupted); Self::deposit_event(Event::ServiceRequestRejected { @@ -1067,9 +1119,14 @@ pub mod module { })?; ensure!(removed, Error::::ServiceNotFound); Instances::::remove(service_id); - let (_, blueprint) = Self::blueprints(service.blueprint)?; - let (allowed, _weight) = - Self::on_service_termination_hook(&blueprint, service_id, &service.owner)?; + let blueprint_id = service.blueprint; + let (_, blueprint) = Self::blueprints(blueprint_id)?; + let (allowed, _weight) = Self::on_service_termination_hook( + &blueprint, + blueprint_id, + service_id, + &service.owner, + )?; ensure!(allowed, Error::::TerminationInterrupted); // Remove the service from the operator's profile. @@ -1085,7 +1142,7 @@ pub mod module { Self::deposit_event(Event::ServiceTerminated { owner: caller.clone(), service_id, - blueprint_id: service.blueprint, + blueprint_id, }); Ok(PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }) } @@ -1101,7 +1158,8 @@ pub mod module { ) -> DispatchResultWithPostInfo { let caller = ensure_signed(origin)?; let service = Self::services(service_id)?; - let (_, blueprint) = Self::blueprints(service.blueprint)?; + let blueprint_id = service.blueprint; + let (_, blueprint) = Self::blueprints(blueprint_id)?; let is_permitted_caller = service.permitted_callers.iter().any(|v| v == &caller); ensure!(service.owner == caller || is_permitted_caller, DispatchError::BadOrigin); @@ -1115,7 +1173,7 @@ pub mod module { let call_id = Self::next_job_call_id(); let (allowed, _weight) = - Self::on_job_call_hook(&blueprint, service_id, job, call_id, &args)?; + Self::on_job_call_hook(&blueprint, blueprint_id, service_id, job, call_id, &args)?; ensure!(allowed, Error::::InvalidJobCallInput); @@ -1143,11 +1201,12 @@ pub mod module { let caller = ensure_signed(origin)?; let job_call = Self::job_calls(service_id, call_id)?; let service = Self::services(job_call.service_id)?; - let (_, blueprint) = Self::blueprints(service.blueprint)?; + let blueprint_id = service.blueprint; + let (_, blueprint) = Self::blueprints(blueprint_id)?; let is_operator = service.operators.iter().any(|(v, _)| v == &caller); ensure!(is_operator, DispatchError::BadOrigin); - let operator_preferences = Operators::::get(service.blueprint, &caller)?; + let operator_preferences = Operators::::get(blueprint_id, &caller)?; let job_def = blueprint .jobs @@ -1162,6 +1221,7 @@ pub mod module { let (allowed, _weight) = Self::on_job_result_hook( &blueprint, + blueprint_id, service_id, job_call.job, call_id, @@ -1276,5 +1336,23 @@ pub mod module { Ok(PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }) } + + pub fn update_master_blueprint_service_manager( + origin: OriginFor, + address: H160, + ) -> DispatchResultWithPostInfo { + T::MasterBlueprintServiceManagerUpdateOrigin::ensure_origin(origin)?; + + MasterBlueprintServiceManagerRevisions::::try_append(address) + .map_err(|_| Error::::MaxMasterBlueprintServiceManagerVersionsExceeded)?; + + let revision = Self::mbsm_latest_revision(); + Self::deposit_event(Event::::MasterBlueprintServiceManagerRevised { + revision, + address, + }); + + Ok(PostDispatchInfo { actual_weight: None, pays_fee: Pays::Yes }) + } } } diff --git a/pallets/services/src/mock.rs b/pallets/services/src/mock.rs index 919ff55f..cac0f45d 100644 --- a/pallets/services/src/mock.rs +++ b/pallets/services/src/mock.rs @@ -25,6 +25,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ConstU128, ConstU32, OneSessionHandler}, }; +use frame_system::EnsureRoot; use mock_evm::MockedEvmRunner; use pallet_evm::GasWeightMapping; use pallet_session::historical as pallet_session_historical; @@ -373,6 +374,10 @@ parameter_types! { #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)] #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] pub const SlashDeferDuration: u32 = 7; + + #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub const MaxMasterBlueprintServiceManagerRevisions: u32 = u32::MAX; } impl Config for Runtime { @@ -404,10 +409,11 @@ impl Config for Runtime { type MaxContainerImageNameLength = MaxContainerImageNameLength; type MaxContainerImageTagLength = MaxContainerImageTagLength; type MaxAssetsPerService = MaxAssetsPerService; + type MaxMasterBlueprintServiceManagerVersions = MaxMasterBlueprintServiceManagerRevisions; type Constraints = pallet_services::types::ConstraintsOf; type OperatorDelegationManager = MockDelegationManager; type SlashDeferDuration = SlashDeferDuration; - type SlashOrigin = frame_system::EnsureRoot; + type MasterBlueprintServiceManagerUpdateOrigin = EnsureRoot; type WeightInfo = (); } @@ -448,7 +454,9 @@ pub fn new_test_ext(ids: Vec) -> sp_io::TestExternalities { new_test_ext_raw_authorities(mock_authorities(ids)) } +pub const MBSM: H160 = H160([0x12; 20]); pub const CGGMP21_BLUEPRINT: H160 = H160([0x21; 20]); +pub const HOOKS_TEST: H160 = H160([0x22; 20]); // This function basically just builds a genesis storage key/value store according to // our desired mockup. @@ -487,23 +495,29 @@ pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestE let mut evm_accounts = BTreeMap::new(); - let cggmp21_blueprint_json: serde_json::Value = - serde_json::from_str(include_str!("./test-artifacts/CGGMP21Blueprint.json")).unwrap(); - let cggmp21_blueprint_code = hex::decode( - cggmp21_blueprint_json["deployedBytecode"]["object"] - .as_str() - .unwrap() - .replace("0x", ""), - ) - .unwrap(); - evm_accounts.insert( - CGGMP21_BLUEPRINT, - fp_evm::GenesisAccount { - code: cggmp21_blueprint_code, - storage: Default::default(), - nonce: Default::default(), - balance: Default::default(), - }, + let mut create_contract = |bytecode: &str, address: H160| { + let mut raw_hex = bytecode.replace("0x", "").replace("\n", ""); + // fix odd length + if raw_hex.len() % 2 != 0 { + raw_hex = format!("0{}", raw_hex); + } + let code = hex::decode(raw_hex).unwrap(); + evm_accounts.insert( + address, + fp_evm::GenesisAccount { + code, + storage: Default::default(), + nonce: Default::default(), + balance: Default::default(), + }, + ); + }; + + create_contract(include_str!("./test-artifacts/CGGMP21Blueprint.hex"), CGGMP21_BLUEPRINT); + create_contract(include_str!("./test-artifacts/MasterBlueprintServiceManager.hex"), MBSM); + create_contract( + include_str!("./test-artifacts/HookTestBlueprintServiceManager.hex"), + HOOKS_TEST, ); let evm_config = @@ -523,12 +537,70 @@ pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestE ext } +#[macro_export] +macro_rules! evm_log { + () => { + fp_evm::Log { address: H160::zero(), topics: vec![], data: vec![] } + }; + + ($contract:expr) => { + fp_evm::Log { address: $contract, topics: vec![], data: vec![] } + }; + + ($contract:expr, $topic:expr) => { + fp_evm::Log { + address: $contract, + topics: vec![sp_core::keccak_256($topic).into()], + data: vec![], + } + }; +} + +/// Asserts that the EVM logs are as expected. +#[track_caller] +pub fn assert_evm_logs(expected: &[fp_evm::Log]) { + assert_evm_events_contains(expected.iter().cloned().collect()) +} + +/// Asserts that the EVM events are as expected. +#[track_caller] +fn assert_evm_events_contains(expected: Vec) { + let actual: Vec = System::events() + .iter() + .filter_map(|e| match e.event { + RuntimeEvent::EVM(pallet_evm::Event::Log { ref log }) => Some(log.clone()), + _ => None, + }) + .collect(); + + // Check if `expected` is a subset of `actual` + let mut any_matcher = false; + for evt in expected { + if !actual.contains(&evt) { + panic!("Events don't match\nactual: {actual:?}\nexpected: {evt:?}"); + } else { + any_matcher = true; + } + } + + // At least one event should be present + if !any_matcher { + panic!("No events found"); + } +} + // Checks events against the latest. A contiguous set of events must be // provided. They must include the most recent RuntimeEvent, but do not have to include // every past RuntimeEvent. #[track_caller] pub fn assert_events(mut expected: Vec) { - let mut actual: Vec = System::events().iter().map(|e| e.event.clone()).collect(); + let mut actual: Vec = System::events() + .iter() + .filter_map(|e| match e.event { + RuntimeEvent::Services(_) => Some(e.event.clone()), + _ => None, + }) + .collect(); expected.reverse(); for evt in expected { @@ -536,7 +608,7 @@ pub fn assert_events(mut expected: Vec) { match (&next, &evt) { (left_val, right_val) => { if !(*left_val == *right_val) { - panic!("Events don't match\nactual: {next:#?}\nexpected: {evt:#?}"); + panic!("Events don't match\nactual: {actual:#?}\nexpected: {evt:#?}"); } }, }; diff --git a/pallets/services/src/test-artifacts/CGGMP21Blueprint.hex b/pallets/services/src/test-artifacts/CGGMP21Blueprint.hex new file mode 100644 index 00000000..41b839f8 --- /dev/null +++ b/pallets/services/src/test-artifacts/CGGMP21Blueprint.hex @@ -0,0 +1 @@ +0x60806040526004361061012a5760003560e01c8063884673ac116100ab578063a4d91fe91161006f578063a4d91fe9146102e3578063bb43abd914610301578063d7deb4821461030f578063e926cbd11461012f578063f84076621461032f578063fe0dd3711461034f57600080fd5b8063884673ac146102585780639838caa314610280578063987ab9db1461028e5780639d0410ee146102b5578063a24e8a90146102c857600080fd5b8063434698bb116100f2578063434698bb146101e15780635d79ea291461020157806365ce59fa1461022557806374ceeb55146101ae578063821c7be21461023857600080fd5b80630af7d7431461012f5780630b6535d7146101515780630d0dd3991461017157806314b4df4c146101ae57806337c29662146101ce575b600080fd5b34801561013b57600080fd5b5061014f61014a366004610638565b61035d565b005b34801561015d57600080fd5b5061014f61016c3660046106bb565b6103a9565b34801561017d57600080fd5b50600054610191906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101ba57600080fd5b506101916101c93660046106fe565b503090565b61014f6101dc366004610738565b610432565b3480156101ed57600080fd5b5061014f6101fc3660046107fd565b610478565b34801561020d57600080fd5b5061021760015481565b6040519081526020016101a5565b61014f61023336600461087d565b6104b7565b34801561024457600080fd5b5061014f610253366004610947565b6104fe565b34801561026457600080fd5b5061019173111111111111111111111111111111111111111181565b61014f61014a366004610994565b34801561029a57600080fd5b50731111111111111111111111111111111111111111610191565b61014f6102c3366004610a09565b61053e565b3480156102d457600080fd5b5061014f610253366004610a71565b3480156102ef57600080fd5b506000546001600160a01b0316610191565b61014f6102c3366004610a9b565b34801561031b57600080fd5b5061014f61032a366004610aef565b61057f565b34801561033b57600080fd5b50600254610191906001600160a01b031681565b61014f6101fc3660046107fd565b6000546001600160a01b031633146103a257600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b60405180910390fd5b5050505050565b33731111111111111111111111111111111111111111146103f557337311111111111111111111111111111111111111116040516359afe8af60e11b8152600401610399929190610b73565b6001600160401b0392909216600155600280546001600160a01b039283166001600160a01b03199182161790915560008054929093169116179055565b6000546001600160a01b0316331461046e57600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b5050505050505050565b6000546001600160a01b031633146104b457600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b50565b6000546001600160a01b031633146104f357600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b505050505050505050565b6000546001600160a01b0316331461053a57600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b5050565b6000546001600160a01b0316331461057a57600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b505050565b6000546001600160a01b031633146105bb57600054604051630c423fcf60e01b81526103999133916001600160a01b0390911690600401610b73565b505050505050565b80356001600160401b03811681146105da57600080fd5b919050565b60008083601f8401126105f157600080fd5b5081356001600160401b0381111561060857600080fd5b60208301915083602082850101111561062057600080fd5b9250929050565b803560ff811681146105da57600080fd5b60008060008060006080868803121561065057600080fd5b610659866105c3565b945060208601356001600160401b0381111561067457600080fd5b610680888289016105df565b9095509350610693905060408701610627565b949793965091946060013592915050565b80356001600160a01b03811681146105da57600080fd5b6000806000606084860312156106d057600080fd5b6106d9846105c3565b92506106e7602085016106a4565b91506106f5604085016106a4565b90509250925092565b60006020828403121561071057600080fd5b610719826105c3565b9392505050565b600060c0828403121561073257600080fd5b50919050565b60008060008060008060008060c0898b03121561075457600080fd5b61075d896105c3565b975061076b60208a01610627565b965061077960408a016105c3565b955060608901356001600160401b038082111561079557600080fd5b6107a18c838d01610720565b965060808b01359150808211156107b757600080fd5b6107c38c838d016105df565b909650945060a08b01359150808211156107dc57600080fd5b506107e98b828c016105df565b999c989b5096995094979396929594505050565b60006020828403121561080f57600080fd5b81356001600160401b0381111561082557600080fd5b61083184828501610720565b949350505050565b60008083601f84011261084b57600080fd5b5081356001600160401b0381111561086257600080fd5b6020830191508360208260051b850101111561062057600080fd5b600080600080600080600080600060c08a8c03121561089b57600080fd5b6108a48a6105c3565b98506108b260208b016106a4565b975060408a01356001600160401b03808211156108ce57600080fd5b6108da8d838e01610839565b909950975060608c01359150808211156108f357600080fd5b6108ff8d838e016105df565b909750955060808c013591508082111561091857600080fd5b506109258c828d01610839565b9094509250610938905060a08b016105c3565b90509295985092959850929598565b6000806040838503121561095a57600080fd5b82356001600160401b0381111561097057600080fd5b61097c85828601610720565b92505061098b602084016105c3565b90509250929050565b6000806000806000608086880312156109ac57600080fd5b6109b5866105c3565b94506109c360208701610627565b93506109d1604087016105c3565b925060608601356001600160401b038111156109ec57600080fd5b6109f8888289016105df565b969995985093965092949392505050565b600080600060408486031215610a1e57600080fd5b83356001600160401b0380821115610a3557600080fd5b610a4187838801610720565b94506020860135915080821115610a5757600080fd5b50610a64868287016105df565b9497909650939450505050565b60008060408385031215610a8457600080fd5b610a8d836105c3565b915061098b602084016106a4565b600080600060608486031215610ab057600080fd5b83356001600160401b03811115610ac657600080fd5b610ad286828701610720565b935050610ae1602085016105c3565b91506106f560408501610627565b60008060008060008060a08789031215610b0857600080fd5b610b11876105c3565b9550610b1f602088016105c3565b9450610b2d604088016106a4565b935060608701356001600160401b03811115610b4857600080fd5b610b5489828a01610839565b9094509250610b679050608088016105c3565b90509295509295509295565b6001600160a01b039283168152911660208201526040019056fea164736f6c6343000814000a diff --git a/pallets/services/src/test-artifacts/CGGMP21Blueprint.json b/pallets/services/src/test-artifacts/CGGMP21Blueprint.json deleted file mode 100644 index 00708c59..00000000 --- a/pallets/services/src/test-artifacts/CGGMP21Blueprint.json +++ /dev/null @@ -1 +0,0 @@ -{"abi":[{"type":"function","name":"ROOT_CHAIN","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"onApprove","inputs":[{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]},{"name":"requestId","type":"uint64","internalType":"uint64"},{"name":"restakingPercent","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"onJobCall","inputs":[{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"job","type":"uint8","internalType":"uint8"},{"name":"jobCallId","type":"uint64","internalType":"uint64"},{"name":"inputs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"onJobResult","inputs":[{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"job","type":"uint8","internalType":"uint8"},{"name":"jobCallId","type":"uint64","internalType":"uint64"},{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]},{"name":"inputs","type":"bytes","internalType":"bytes"},{"name":"outputs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"onRegister","inputs":[{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]},{"name":"registrationInputs","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"onReject","inputs":[{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]},{"name":"requestId","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onRequest","inputs":[{"name":"requestId","type":"uint64","internalType":"uint64"},{"name":"requester","type":"address","internalType":"address"},{"name":"operators","type":"tuple[]","internalType":"struct IBlueprintServiceManager.OperatorPreferences[]","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]},{"name":"requestInputs","type":"bytes","internalType":"bytes"},{"name":"permittedCallers","type":"address[]","internalType":"address[]"},{"name":"ttl","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"onServiceInitialized","inputs":[{"name":"requestId","type":"uint64","internalType":"uint64"},{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"owner","type":"address","internalType":"address"},{"name":"permittedCallers","type":"address[]","internalType":"address[]"},{"name":"ttl","type":"uint64","internalType":"uint64"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onServiceTermination","inputs":[{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onSlash","inputs":[{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"offender","type":"bytes","internalType":"bytes"},{"name":"slashPercent","type":"uint8","internalType":"uint8"},{"name":"totalPayout","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUnappliedSlash","inputs":[{"name":"serviceId","type":"uint64","internalType":"uint64"},{"name":"offender","type":"bytes","internalType":"bytes"},{"name":"slashPercent","type":"uint8","internalType":"uint8"},{"name":"totalPayout","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUnregister","inputs":[{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onUpdatePriceTargets","inputs":[{"name":"operator","type":"tuple","internalType":"struct IBlueprintServiceManager.OperatorPreferences","components":[{"name":"ecdsaPublicKey","type":"bytes","internalType":"bytes"},{"name":"priceTargets","type":"tuple","internalType":"struct IBlueprintServiceManager.PriceTargets","components":[{"name":"cpu","type":"uint64","internalType":"uint64"},{"name":"mem","type":"uint64","internalType":"uint64"},{"name":"storage_hdd","type":"uint64","internalType":"uint64"},{"name":"storage_ssd","type":"uint64","internalType":"uint64"},{"name":"storage_nvme","type":"uint64","internalType":"uint64"}]}]}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"queryDisputeOrigin","inputs":[{"name":"","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"disputeOrigin","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"querySlashingOrigin","inputs":[{"name":"","type":"uint64","internalType":"uint64"}],"outputs":[{"name":"slashingOrigin","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"rootChain","inputs":[],"outputs":[{"name":"rootChainAddress","type":"address","internalType":"address"}],"stateMutability":"pure"},{"type":"error","name":"OnlyRootChainAllowed","inputs":[{"name":"caller","type":"address","internalType":"address"},{"name":"rootChain","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x608060405234801561001057600080fd5b50610a37806100206000396000f3fe6080604052600436106100f35760003560e01c80639838caa31161008a578063bb43abd911610059578063bb43abd91461023b578063d7deb48214610249578063e926cbd1146100f8578063fe0dd3711461026957600080fd5b80639838caa3146101de578063987ab9db146101ec5780639d0410ee1461020d578063a24e8a901461022057600080fd5b806365ce59fa116100c657806365ce59fa1461018957806374ceeb551461011a578063821c7be21461019c578063884673ac146101bc57600080fd5b80630af7d743146100f857806314b4df4c1461011a57806337c2966214610156578063434698bb14610169575b600080fd5b34801561010457600080fd5b506101186101133660046104ff565b610277565b005b34801561012657600080fd5b5061013a61013536600461056c565b503090565b6040516001600160a01b03909116815260200160405180910390f35b6101186101643660046105a6565b6102c7565b34801561017557600080fd5b5061011861018436600461066c565b610315565b610118610197366004610705565b61035c565b3480156101a857600080fd5b506101186101b73660046107d0565b6103ab565b3480156101c857600080fd5b5061013a600080516020610a0b83398151915281565b61011861011336600461081e565b3480156101f857600080fd5b50600080516020610a0b83398151915261013a565b61011861021b366004610894565b6103f3565b34801561022c57600080fd5b506101186101b73660046108fd565b61011861021b366004610927565b34801561025557600080fd5b50610118610264366004610985565b61043c565b61011861018436600461066c565b33600080516020610a0b833981519152146102c0576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044015b60405180910390fd5b5050505050565b33600080516020610a0b8339815191521461030b576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b5050505050505050565b33600080516020610a0b83398151915214610359576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b50565b33600080516020610a0b833981519152146103a0576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050505050505050565b33600080516020610a0b833981519152146103ef576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b5050565b33600080516020610a0b83398151915214610437576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050565b33600080516020610a0b83398151915214610480576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050505050565b803567ffffffffffffffff811681146104a057600080fd5b919050565b60008083601f8401126104b757600080fd5b50813567ffffffffffffffff8111156104cf57600080fd5b6020830191508360208285010111156104e757600080fd5b9250929050565b803560ff811681146104a057600080fd5b60008060008060006080868803121561051757600080fd5b61052086610488565b9450602086013567ffffffffffffffff81111561053c57600080fd5b610548888289016104a5565b909550935061055b9050604087016104ee565b949793965091946060013592915050565b60006020828403121561057e57600080fd5b61058782610488565b9392505050565b600060c082840312156105a057600080fd5b50919050565b60008060008060008060008060c0898b0312156105c257600080fd5b6105cb89610488565b97506105d960208a016104ee565b96506105e760408a01610488565b9550606089013567ffffffffffffffff8082111561060457600080fd5b6106108c838d0161058e565b965060808b013591508082111561062657600080fd5b6106328c838d016104a5565b909650945060a08b013591508082111561064b57600080fd5b506106588b828c016104a5565b999c989b5096995094979396929594505050565b60006020828403121561067e57600080fd5b813567ffffffffffffffff81111561069557600080fd5b6106a18482850161058e565b949350505050565b80356001600160a01b03811681146104a057600080fd5b60008083601f8401126106d257600080fd5b50813567ffffffffffffffff8111156106ea57600080fd5b6020830191508360208260051b85010111156104e757600080fd5b600080600080600080600080600060c08a8c03121561072357600080fd5b61072c8a610488565b985061073a60208b016106a9565b975060408a013567ffffffffffffffff8082111561075757600080fd5b6107638d838e016106c0565b909950975060608c013591508082111561077c57600080fd5b6107888d838e016104a5565b909750955060808c01359150808211156107a157600080fd5b506107ae8c828d016106c0565b90945092506107c1905060a08b01610488565b90509295985092959850929598565b600080604083850312156107e357600080fd5b823567ffffffffffffffff8111156107fa57600080fd5b6108068582860161058e565b92505061081560208401610488565b90509250929050565b60008060008060006080868803121561083657600080fd5b61083f86610488565b945061084d602087016104ee565b935061085b60408701610488565b9250606086013567ffffffffffffffff81111561087757600080fd5b610883888289016104a5565b969995985093965092949392505050565b6000806000604084860312156108a957600080fd5b833567ffffffffffffffff808211156108c157600080fd5b6108cd8783880161058e565b945060208601359150808211156108e357600080fd5b506108f0868287016104a5565b9497909650939450505050565b6000806040838503121561091057600080fd5b61091983610488565b9150610815602084016106a9565b60008060006060848603121561093c57600080fd5b833567ffffffffffffffff81111561095357600080fd5b61095f8682870161058e565b93505061096e60208501610488565b915061097c604085016104ee565b90509250925092565b60008060008060008060a0878903121561099e57600080fd5b6109a787610488565b95506109b560208801610488565b94506109c3604088016106a9565b9350606087013567ffffffffffffffff8111156109df57600080fd5b6109eb89828a016106c0565b90945092506109fe905060808801610488565b9050929550929550929556fe0000000000000000000000001111111111111111111111111111111111111111a164736f6c6343000813000a","sourceMap":"693:3380:0:-:0;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080604052600436106100f35760003560e01c80639838caa31161008a578063bb43abd911610059578063bb43abd91461023b578063d7deb48214610249578063e926cbd1146100f8578063fe0dd3711461026957600080fd5b80639838caa3146101de578063987ab9db146101ec5780639d0410ee1461020d578063a24e8a901461022057600080fd5b806365ce59fa116100c657806365ce59fa1461018957806374ceeb551461011a578063821c7be21461019c578063884673ac146101bc57600080fd5b80630af7d743146100f857806314b4df4c1461011a57806337c2966214610156578063434698bb14610169575b600080fd5b34801561010457600080fd5b506101186101133660046104ff565b610277565b005b34801561012657600080fd5b5061013a61013536600461056c565b503090565b6040516001600160a01b03909116815260200160405180910390f35b6101186101643660046105a6565b6102c7565b34801561017557600080fd5b5061011861018436600461066c565b610315565b610118610197366004610705565b61035c565b3480156101a857600080fd5b506101186101b73660046107d0565b6103ab565b3480156101c857600080fd5b5061013a600080516020610a0b83398151915281565b61011861011336600461081e565b3480156101f857600080fd5b50600080516020610a0b83398151915261013a565b61011861021b366004610894565b6103f3565b34801561022c57600080fd5b506101186101b73660046108fd565b61011861021b366004610927565b34801561025557600080fd5b50610118610264366004610985565b61043c565b61011861018436600461066c565b33600080516020610a0b833981519152146102c0576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044015b60405180910390fd5b5050505050565b33600080516020610a0b8339815191521461030b576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b5050505050505050565b33600080516020610a0b83398151915214610359576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b50565b33600080516020610a0b833981519152146103a0576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050505050505050565b33600080516020610a0b833981519152146103ef576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b5050565b33600080516020610a0b83398151915214610437576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050565b33600080516020610a0b83398151915214610480576040516359afe8af60e11b8152336004820152600080516020610a0b83398151915260248201526044016102b7565b505050505050565b803567ffffffffffffffff811681146104a057600080fd5b919050565b60008083601f8401126104b757600080fd5b50813567ffffffffffffffff8111156104cf57600080fd5b6020830191508360208285010111156104e757600080fd5b9250929050565b803560ff811681146104a057600080fd5b60008060008060006080868803121561051757600080fd5b61052086610488565b9450602086013567ffffffffffffffff81111561053c57600080fd5b610548888289016104a5565b909550935061055b9050604087016104ee565b949793965091946060013592915050565b60006020828403121561057e57600080fd5b61058782610488565b9392505050565b600060c082840312156105a057600080fd5b50919050565b60008060008060008060008060c0898b0312156105c257600080fd5b6105cb89610488565b97506105d960208a016104ee565b96506105e760408a01610488565b9550606089013567ffffffffffffffff8082111561060457600080fd5b6106108c838d0161058e565b965060808b013591508082111561062657600080fd5b6106328c838d016104a5565b909650945060a08b013591508082111561064b57600080fd5b506106588b828c016104a5565b999c989b5096995094979396929594505050565b60006020828403121561067e57600080fd5b813567ffffffffffffffff81111561069557600080fd5b6106a18482850161058e565b949350505050565b80356001600160a01b03811681146104a057600080fd5b60008083601f8401126106d257600080fd5b50813567ffffffffffffffff8111156106ea57600080fd5b6020830191508360208260051b85010111156104e757600080fd5b600080600080600080600080600060c08a8c03121561072357600080fd5b61072c8a610488565b985061073a60208b016106a9565b975060408a013567ffffffffffffffff8082111561075757600080fd5b6107638d838e016106c0565b909950975060608c013591508082111561077c57600080fd5b6107888d838e016104a5565b909750955060808c01359150808211156107a157600080fd5b506107ae8c828d016106c0565b90945092506107c1905060a08b01610488565b90509295985092959850929598565b600080604083850312156107e357600080fd5b823567ffffffffffffffff8111156107fa57600080fd5b6108068582860161058e565b92505061081560208401610488565b90509250929050565b60008060008060006080868803121561083657600080fd5b61083f86610488565b945061084d602087016104ee565b935061085b60408701610488565b9250606086013567ffffffffffffffff81111561087757600080fd5b610883888289016104a5565b969995985093965092949392505050565b6000806000604084860312156108a957600080fd5b833567ffffffffffffffff808211156108c157600080fd5b6108cd8783880161058e565b945060208601359150808211156108e357600080fd5b506108f0868287016104a5565b9497909650939450505050565b6000806040838503121561091057600080fd5b61091983610488565b9150610815602084016106a9565b60008060006060848603121561093c57600080fd5b833567ffffffffffffffff81111561095357600080fd5b61095f8682870161058e565b93505061096e60208501610488565b915061097c604085016104ee565b90509250925092565b60008060008060008060a0878903121561099e57600080fd5b6109a787610488565b95506109b560208801610488565b94506109c3604088016106a9565b9350606087013567ffffffffffffffff8111156109df57600080fd5b6109eb89828a016106c0565b90945092506109fe905060808801610488565b9050929550929550929556fe0000000000000000000000001111111111111111111111111111111111111111a164736f6c6343000813000a","sourceMap":"693:3380:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3505:206;;;;;;;;;;-1:-1:-1;3505:206:0;;;;;:::i;:::-;;:::i;:::-;;3943:128;;;;;;;;;;-1:-1:-1;3943:128:0;;;;;:::i;:::-;-1:-1:-1;4059:4:0;;3943:128;;;;-1:-1:-1;;;;;1681:32:3;;;1663:51;;1651:2;1636:18;3943:128:0;;;;;;;2744:291;;;;;;:::i;:::-;;:::i;1077:100::-;;;;;;;;;;-1:-1:-1;1077:100:0;;;;;:::i;:::-;;:::i;1395:314::-;;;;;;:::i;:::-;;:::i;2024:114::-;;;;;;;;;;-1:-1:-1;2024:114:0;;;;;:::i;:::-;;:::i;386:79:2:-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;386:79:2;;2483:210:0;;;;;;:::i;643:104:2:-;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;643:104:2;;827:199:0;;;;;;:::i;:::-;;:::i;3086:102::-;;;;;;;;;;-1:-1:-1;3086:102:0;;;;;:::i;1760:213::-;;;;;;:::i;2189:243::-;;;;;;;;;;-1:-1:-1;2189:243:0;;;;;:::i;:::-;;:::i;1228:116::-;;;;;;:::i;3505:206::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;;;;;;;;911:106;3505:206:0;;;;;:::o;2744:291::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;2744:291:0;;;;;;;;:::o;1077:100::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;1077:100:0;:::o;1395:314::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;1395:314:0;;;;;;;;;:::o;2024:114::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;2024:114:0;;:::o;827:199::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;827:199:0;;;:::o;2189:243::-;915:10:2;-1:-1:-1;;;;;;;;;;;915:24:2;911:106;;962:44;;-1:-1:-1;;;962:44:2;;983:10;962:44;;;8976:34:3;-1:-1:-1;;;;;;;;;;;9026:18:3;;;9019:43;8911:18;;962:44:2;8764:304:3;911:106:2;2189:243:0;;;;;;:::o;14:171:3:-;81:20;;141:18;130:30;;120:41;;110:69;;175:1;172;165:12;110:69;14:171;;;:::o;190:347::-;241:8;251:6;305:3;298:4;290:6;286:17;282:27;272:55;;323:1;320;313:12;272:55;-1:-1:-1;346:20:3;;389:18;378:30;;375:50;;;421:1;418;411:12;375:50;458:4;450:6;446:17;434:29;;510:3;503:4;494:6;486;482:19;478:30;475:39;472:59;;;527:1;524;517:12;472:59;190:347;;;;;:::o;542:156::-;608:20;;668:4;657:16;;647:27;;637:55;;688:1;685;678:12;703:620;797:6;805;813;821;829;882:3;870:9;861:7;857:23;853:33;850:53;;;899:1;896;889:12;850:53;922:28;940:9;922:28;:::i;:::-;912:38;;1001:2;990:9;986:18;973:32;1028:18;1020:6;1017:30;1014:50;;;1060:1;1057;1050:12;1014:50;1099:58;1149:7;1140:6;1129:9;1125:22;1099:58;:::i;:::-;1176:8;;-1:-1:-1;1073:84:3;-1:-1:-1;1230:36:3;;-1:-1:-1;1262:2:3;1247:18;;1230:36;:::i;:::-;703:620;;;;-1:-1:-1;703:620:3;;1313:2;1298:18;1285:32;;703:620;-1:-1:-1;;703:620:3:o;1328:184::-;1386:6;1439:2;1427:9;1418:7;1414:23;1410:32;1407:52;;;1455:1;1452;1445:12;1407:52;1478:28;1496:9;1478:28;:::i;:::-;1468:38;1328:184;-1:-1:-1;;;1328:184:3:o;1725:168::-;1797:5;1842:3;1833:6;1828:3;1824:16;1820:26;1817:46;;;1859:1;1856;1849:12;1817:46;-1:-1:-1;1881:6:3;1725:168;-1:-1:-1;1725:168:3:o;1898:1191::-;2058:6;2066;2074;2082;2090;2098;2106;2114;2167:3;2155:9;2146:7;2142:23;2138:33;2135:53;;;2184:1;2181;2174:12;2135:53;2207:28;2225:9;2207:28;:::i;:::-;2197:38;;2254:36;2286:2;2275:9;2271:18;2254:36;:::i;:::-;2244:46;;2309:37;2342:2;2331:9;2327:18;2309:37;:::i;:::-;2299:47;;2397:2;2386:9;2382:18;2369:32;2420:18;2461:2;2453:6;2450:14;2447:34;;;2477:1;2474;2467:12;2447:34;2500:79;2571:7;2562:6;2551:9;2547:22;2500:79;:::i;:::-;2490:89;;2632:3;2621:9;2617:19;2604:33;2588:49;;2662:2;2652:8;2649:16;2646:36;;;2678:1;2675;2668:12;2646:36;2717:60;2769:7;2758:8;2747:9;2743:24;2717:60;:::i;:::-;2796:8;;-1:-1:-1;2691:86:3;-1:-1:-1;2884:3:3;2869:19;;2856:33;;-1:-1:-1;2901:16:3;;;2898:36;;;2930:1;2927;2920:12;2898:36;;2969:60;3021:7;3010:8;2999:9;2995:24;2969:60;:::i;:::-;1898:1191;;;;-1:-1:-1;1898:1191:3;;-1:-1:-1;1898:1191:3;;;;;;3048:8;-1:-1:-1;;;1898:1191:3:o;3094:379::-;3191:6;3244:2;3232:9;3223:7;3219:23;3215:32;3212:52;;;3260:1;3257;3250:12;3212:52;3300:9;3287:23;3333:18;3325:6;3322:30;3319:50;;;3365:1;3362;3355:12;3319:50;3388:79;3459:7;3450:6;3439:9;3435:22;3388:79;:::i;:::-;3378:89;3094:379;-1:-1:-1;;;;3094:379:3:o;3478:173::-;3546:20;;-1:-1:-1;;;;;3595:31:3;;3585:42;;3575:70;;3641:1;3638;3631:12;3656:395;3747:8;3757:6;3811:3;3804:4;3796:6;3792:17;3788:27;3778:55;;3829:1;3826;3819:12;3778:55;-1:-1:-1;3852:20:3;;3895:18;3884:30;;3881:50;;;3927:1;3924;3917:12;3881:50;3964:4;3956:6;3952:17;3940:29;;4024:3;4017:4;4007:6;4004:1;4000:14;3992:6;3988:27;3984:38;3981:47;3978:67;;;4041:1;4038;4031:12;4056:1375;4261:6;4269;4277;4285;4293;4301;4309;4317;4325;4378:3;4366:9;4357:7;4353:23;4349:33;4346:53;;;4395:1;4392;4385:12;4346:53;4418:28;4436:9;4418:28;:::i;:::-;4408:38;;4465;4499:2;4488:9;4484:18;4465:38;:::i;:::-;4455:48;;4554:2;4543:9;4539:18;4526:32;4577:18;4618:2;4610:6;4607:14;4604:34;;;4634:1;4631;4624:12;4604:34;4673:98;4763:7;4754:6;4743:9;4739:22;4673:98;:::i;:::-;4790:8;;-1:-1:-1;4647:124:3;-1:-1:-1;4878:2:3;4863:18;;4850:32;;-1:-1:-1;4894:16:3;;;4891:36;;;4923:1;4920;4913:12;4891:36;4962:60;5014:7;5003:8;4992:9;4988:24;4962:60;:::i;:::-;5041:8;;-1:-1:-1;4936:86:3;-1:-1:-1;5129:3:3;5114:19;;5101:33;;-1:-1:-1;5146:16:3;;;5143:36;;;5175:1;5172;5165:12;5143:36;;5214:100;5306:7;5295:8;5284:9;5280:24;5214:100;:::i;:::-;5333:8;;-1:-1:-1;5188:126:3;-1:-1:-1;5387:38:3;;-1:-1:-1;5420:3:3;5405:19;;5387:38;:::i;:::-;5377:48;;4056:1375;;;;;;;;;;;:::o;5436:451::-;5541:6;5549;5602:2;5590:9;5581:7;5577:23;5573:32;5570:52;;;5618:1;5615;5608:12;5570:52;5658:9;5645:23;5691:18;5683:6;5680:30;5677:50;;;5723:1;5720;5713:12;5677:50;5746:79;5817:7;5808:6;5797:9;5793:22;5746:79;:::i;:::-;5736:89;;;5844:37;5877:2;5866:9;5862:18;5844:37;:::i;:::-;5834:47;;5436:451;;;;;:::o;5892:624::-;5985:6;5993;6001;6009;6017;6070:3;6058:9;6049:7;6045:23;6041:33;6038:53;;;6087:1;6084;6077:12;6038:53;6110:28;6128:9;6110:28;:::i;:::-;6100:38;;6157:36;6189:2;6178:9;6174:18;6157:36;:::i;:::-;6147:46;;6212:37;6245:2;6234:9;6230:18;6212:37;:::i;:::-;6202:47;;6300:2;6289:9;6285:18;6272:32;6327:18;6319:6;6316:30;6313:50;;;6359:1;6356;6349:12;6313:50;6398:58;6448:7;6439:6;6428:9;6424:22;6398:58;:::i;:::-;5892:624;;;;-1:-1:-1;5892:624:3;;-1:-1:-1;6475:8:3;;6372:84;5892:624;-1:-1:-1;;;5892:624:3:o;6521:687::-;6638:6;6646;6654;6707:2;6695:9;6686:7;6682:23;6678:32;6675:52;;;6723:1;6720;6713:12;6675:52;6763:9;6750:23;6792:18;6833:2;6825:6;6822:14;6819:34;;;6849:1;6846;6839:12;6819:34;6872:79;6943:7;6934:6;6923:9;6919:22;6872:79;:::i;:::-;6862:89;;7004:2;6993:9;6989:18;6976:32;6960:48;;7033:2;7023:8;7020:16;7017:36;;;7049:1;7046;7039:12;7017:36;;7088:60;7140:7;7129:8;7118:9;7114:24;7088:60;:::i;:::-;6521:687;;7167:8;;-1:-1:-1;7062:86:3;;-1:-1:-1;;;;6521:687:3:o;7213:258::-;7280:6;7288;7341:2;7329:9;7320:7;7316:23;7312:32;7309:52;;;7357:1;7354;7347:12;7309:52;7380:28;7398:9;7380:28;:::i;:::-;7370:38;;7427;7461:2;7450:9;7446:18;7427:38;:::i;7476:521::-;7588:6;7596;7604;7657:2;7645:9;7636:7;7632:23;7628:32;7625:52;;;7673:1;7670;7663:12;7625:52;7713:9;7700:23;7746:18;7738:6;7735:30;7732:50;;;7778:1;7775;7768:12;7732:50;7801:79;7872:7;7863:6;7852:9;7848:22;7801:79;:::i;:::-;7791:89;;;7899:37;7932:2;7921:9;7917:18;7899:37;:::i;:::-;7889:47;;7955:36;7987:2;7976:9;7972:18;7955:36;:::i;:::-;7945:46;;7476:521;;;;;:::o;8002:757::-;8121:6;8129;8137;8145;8153;8161;8214:3;8202:9;8193:7;8189:23;8185:33;8182:53;;;8231:1;8228;8221:12;8182:53;8254:28;8272:9;8254:28;:::i;:::-;8244:38;;8301:37;8334:2;8323:9;8319:18;8301:37;:::i;:::-;8291:47;;8357:38;8391:2;8380:9;8376:18;8357:38;:::i;:::-;8347:48;;8446:2;8435:9;8431:18;8418:32;8473:18;8465:6;8462:30;8459:50;;;8505:1;8502;8495:12;8459:50;8544:98;8634:7;8625:6;8614:9;8610:22;8544:98;:::i;:::-;8661:8;;-1:-1:-1;8518:124:3;-1:-1:-1;8715:38:3;;-1:-1:-1;8748:3:3;8733:19;;8715:38;:::i;:::-;8705:48;;8002:757;;;;;;;;:::o","linkReferences":{}},"methodIdentifiers":{"ROOT_CHAIN()":"884673ac","onApprove((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64,uint8)":"bb43abd9","onJobCall(uint64,uint8,uint64,bytes)":"9838caa3","onJobResult(uint64,uint8,uint64,(bytes,(uint64,uint64,uint64,uint64,uint64)),bytes,bytes)":"37c29662","onRegister((bytes,(uint64,uint64,uint64,uint64,uint64)),bytes)":"9d0410ee","onReject((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64)":"821c7be2","onRequest(uint64,address,(bytes,(uint64,uint64,uint64,uint64,uint64))[],bytes,address[],uint64)":"65ce59fa","onServiceInitialized(uint64,uint64,address,address[],uint64)":"d7deb482","onServiceTermination(uint64,address)":"a24e8a90","onSlash(uint64,bytes,uint8,uint256)":"0af7d743","onUnappliedSlash(uint64,bytes,uint8,uint256)":"e926cbd1","onUnregister((bytes,(uint64,uint64,uint64,uint64,uint64)))":"434698bb","onUpdatePriceTargets((bytes,(uint64,uint64,uint64,uint64,uint64)))":"fe0dd371","queryDisputeOrigin(uint64)":"14b4df4c","querySlashingOrigin(uint64)":"74ceeb55","rootChain()":"987ab9db"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rootChain\",\"type\":\"address\"}],\"name\":\"OnlyRootChainAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ROOT_CHAIN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"uint8\",\"name\":\"restakingPercent\",\"type\":\"uint8\"}],\"name\":\"onApprove\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"uint8\",\"name\":\"job\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"jobCallId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"inputs\",\"type\":\"bytes\"}],\"name\":\"onJobCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"uint8\",\"name\":\"job\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"jobCallId\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"inputs\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"outputs\",\"type\":\"bytes\"}],\"name\":\"onJobResult\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"registrationInputs\",\"type\":\"bytes\"}],\"name\":\"onRegister\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"}],\"name\":\"onReject\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences[]\",\"name\":\"operators\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"requestInputs\",\"type\":\"bytes\"},{\"internalType\":\"address[]\",\"name\":\"permittedCallers\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"onRequest\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"requestId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"permittedCallers\",\"type\":\"address[]\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"onServiceInitialized\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"onServiceTermination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"offender\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"slashPercent\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"totalPayout\",\"type\":\"uint256\"}],\"name\":\"onSlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"serviceId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"offender\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"slashPercent\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"totalPayout\",\"type\":\"uint256\"}],\"name\":\"onUnappliedSlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"}],\"name\":\"onUnregister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"ecdsaPublicKey\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"cpu\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"mem\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_hdd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_ssd\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"storage_nvme\",\"type\":\"uint64\"}],\"internalType\":\"struct IBlueprintServiceManager.PriceTargets\",\"name\":\"priceTargets\",\"type\":\"tuple\"}],\"internalType\":\"struct IBlueprintServiceManager.OperatorPreferences\",\"name\":\"operator\",\"type\":\"tuple\"}],\"name\":\"onUpdatePriceTargets\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"queryDisputeOrigin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"disputeOrigin\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"name\":\"querySlashingOrigin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"slashingOrigin\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rootChain\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"rootChainAddress\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Tangle Network Team\",\"details\":\"This contract acts as a manager for the lifecycle of a Blueprint Instance, facilitating various stages such as registration, service requests, job execution, and job result handling. It is designed to be used by the service blueprint designer (gadget developer) and integrates with the RootChain for permissioned operations. Each function serves as a hook for different lifecycle events, and reverting any of these functions interrupts the process flow.\",\"kind\":\"dev\",\"methods\":{\"onApprove((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64,uint8)\":{\"details\":\"Hook for service request approval. Called when a service request is approved by an operator.\",\"params\":{\"operator\":\"The operator's details.\",\"requestId\":\"The ID of the request.\",\"restakingPercent\":\"The percentage of the restaking amount (0-100).\"}},\"onJobCall(uint64,uint8,uint64,bytes)\":{\"details\":\"Hook for job calls on the service. Called when a job is called within the service context.\",\"params\":{\"inputs\":\"Inputs required for the job execution in bytes format.\",\"job\":\"The job identifier.\",\"jobCallId\":\"A unique ID for the job call.\",\"serviceId\":\"The ID of the service where the job is called.\"}},\"onJobResult(uint64,uint8,uint64,(bytes,(uint64,uint64,uint64,uint64,uint64)),bytes,bytes)\":{\"details\":\"Hook for handling job result. Called when operators send the result of a job execution.\",\"params\":{\"inputs\":\"Inputs used for the job execution in bytes format.\",\"job\":\"The job identifier.\",\"jobCallId\":\"The unique ID for the job call.\",\"operator\":\"The operator sending the result in bytes format.\",\"outputs\":\"Outputs resulting from the job execution in bytes format.\",\"serviceId\":\"The ID of the service related to the job.\"}},\"onRegister((bytes,(uint64,uint64,uint64,uint64,uint64)),bytes)\":{\"details\":\"Hook for service operator registration. Called when a service operator attempts to register with the blueprint.\",\"params\":{\"operator\":\"The operator's details.\",\"registrationInputs\":\"Inputs required for registration in bytes format.\"}},\"onReject((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64)\":{\"details\":\"Hook for service request rejection. Called when a service request is rejected by an operator.\",\"params\":{\"operator\":\"The operator's details.\",\"requestId\":\"The ID of the request.\"}},\"onRequest(uint64,address,(bytes,(uint64,uint64,uint64,uint64,uint64))[],bytes,address[],uint64)\":{\"details\":\"Hook for service instance requests. Called when a user requests a service instance from the blueprint but this does not mean the service is initiated yet. To get notified when the service is initiated, implement the `onServiceInitialized` hook.\",\"params\":{\"operators\":\"The list of operators to be considered for the service.\",\"permittedCallers\":\"The list of permitted callers for the service.\",\"requestId\":\"The ID of the request.\",\"requestInputs\":\"The inputs required for the service request in bytes format.\",\"requester\":\"The address of the service requester.\",\"ttl\":\"The time-to-live for the service.\"}},\"onServiceInitialized(uint64,uint64,address,address[],uint64)\":{\"details\":\"Hook for service initialization. Called when a service is initialized. This hook is called after the service is approved from all of the operators.\",\"params\":{\"owner\":\"The owner of the service.\",\"permittedCallers\":\"The list of permitted callers for the service.\",\"requestId\":\"The ID of the request.\",\"serviceId\":\"The ID of the service.\",\"ttl\":\"The time-to-live for the service.\"}},\"onServiceTermination(uint64,address)\":{\"details\":\"Hook for service termination. Called when a service is terminated.\",\"params\":{\"owner\":\"The owner of the service.\",\"serviceId\":\"The ID of the service to be terminated.\"}},\"onSlash(uint64,bytes,uint8,uint256)\":{\"details\":\"Hook for handling applied slashes. Called when a slash is applied to an offender.\",\"params\":{\"offender\":\"The offender's details in bytes format.\",\"serviceId\":\"The ID of the service related to the slash.\",\"slashPercent\":\"The percentage of the slash.\",\"totalPayout\":\"The total payout amount in wei.\"}},\"onUnappliedSlash(uint64,bytes,uint8,uint256)\":{\"details\":\"Hook for handling unapplied slashes. Called when a slash is queued and still not yet applied to an offender.\",\"params\":{\"offender\":\"The offender's details in bytes format.\",\"serviceId\":\"The ID of the service related to the slash.\",\"slashPercent\":\"The percentage of the slash.\",\"totalPayout\":\"The total payout amount in wei.\"}},\"onUnregister((bytes,(uint64,uint64,uint64,uint64,uint64)))\":{\"details\":\"Hook for service operator unregistration. Called when a service operator attempts to unregister from the blueprint.\",\"params\":{\"operator\":\"The operator's details.\"}},\"onUpdatePriceTargets((bytes,(uint64,uint64,uint64,uint64,uint64)))\":{\"details\":\"Hook for updating operator's Price Targets. Called when an operator updates their price targets.\",\"params\":{\"operator\":\"The operator's details with the to be updated price targets.\"}},\"queryDisputeOrigin(uint64)\":{\"details\":\"Query the dispute origin for a service. This mainly used by the runtime to determine the allowed account that can dispute an unapplied slash and remove it. by default, the service manager is the only account that can dispute a service. override this function to allow other accounts to dispute a service.\",\"params\":{\"serviceId\":\"The ID of the service.\"},\"returns\":{\"disputeOrigin\":\"The account that can dispute the unapplied slash for that service\"}},\"querySlashingOrigin(uint64)\":{\"details\":\"Query the slashing origin for a service. This mainly used by the runtime to determine the allowed account that can slash a service. by default, the service manager is the only account that can slash a service. override this function to allow other accounts to slash a service.\",\"params\":{\"serviceId\":\"The ID of the service.\"},\"returns\":{\"slashingOrigin\":\"The account that can slash the offender.\"}},\"rootChain()\":{\"details\":\"Get the root chain address\",\"returns\":{\"rootChainAddress\":\"The address of the root chain\"}}},\"title\":\"BlueprintServiceManagerBase\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"ROOT_CHAIN()\":{\"notice\":\"The address of the root chain\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/BlueprintServiceManagerBase.sol\":\"BlueprintServiceManagerBase\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"src/BlueprintServiceManagerBase.sol\":{\"keccak256\":\"0x5b1186fffa1a3b9c18e5fa296adcb2ffd235725b0be058292a057b126b126dfb\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://e26f67d20617657bf76ccca895bf8b4095c5b3c9540786cdbbad706553090362\",\"dweb:/ipfs/QmfTi12AGc6uunRCrBsecGzqyzPQPA5dzXXRTXQwopXMQM\"]},\"src/IBlueprintServiceManager.sol\":{\"keccak256\":\"0x8c45354ea5da218db01db7eb0c9efdbe515b90fa13db74f385bedc48be7c1031\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://fb100112fd7d323522bcc8644e16c888ca57d9416c04ae67aae50cd671dd9012\",\"dweb:/ipfs/QmYi5f85kaHitKSgpuKN9NYb7FpZeoiMySwo8hTLa1KHJu\"]},\"src/Permissions.sol\":{\"keccak256\":\"0x13d0c19856a9ee02845b41fc0ec82d38fc9ae86284e74114b92f8228bf29705e\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://c329f722dc4e9242a4bb9ce16ce81487d7dfdfebe8121e230591a22e3543a214\",\"dweb:/ipfs/QmaVALpt222VYwyeaZxD9Qkjav96LKXWGr3WZUsY2YSQHW\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.19+commit.7dd6d404"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"rootChain","type":"address"}],"type":"error","name":"OnlyRootChainAllowed"},{"inputs":[],"stateMutability":"view","type":"function","name":"ROOT_CHAIN","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]},{"internalType":"uint64","name":"requestId","type":"uint64"},{"internalType":"uint8","name":"restakingPercent","type":"uint8"}],"stateMutability":"payable","type":"function","name":"onApprove"},{"inputs":[{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"uint8","name":"job","type":"uint8"},{"internalType":"uint64","name":"jobCallId","type":"uint64"},{"internalType":"bytes","name":"inputs","type":"bytes"}],"stateMutability":"payable","type":"function","name":"onJobCall"},{"inputs":[{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"uint8","name":"job","type":"uint8"},{"internalType":"uint64","name":"jobCallId","type":"uint64"},{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]},{"internalType":"bytes","name":"inputs","type":"bytes"},{"internalType":"bytes","name":"outputs","type":"bytes"}],"stateMutability":"payable","type":"function","name":"onJobResult"},{"inputs":[{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]},{"internalType":"bytes","name":"registrationInputs","type":"bytes"}],"stateMutability":"payable","type":"function","name":"onRegister"},{"inputs":[{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]},{"internalType":"uint64","name":"requestId","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"onReject"},{"inputs":[{"internalType":"uint64","name":"requestId","type":"uint64"},{"internalType":"address","name":"requester","type":"address"},{"internalType":"struct IBlueprintServiceManager.OperatorPreferences[]","name":"operators","type":"tuple[]","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]},{"internalType":"bytes","name":"requestInputs","type":"bytes"},{"internalType":"address[]","name":"permittedCallers","type":"address[]"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"stateMutability":"payable","type":"function","name":"onRequest"},{"inputs":[{"internalType":"uint64","name":"requestId","type":"uint64"},{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"permittedCallers","type":"address[]"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"stateMutability":"nonpayable","type":"function","name":"onServiceInitialized"},{"inputs":[{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"onServiceTermination"},{"inputs":[{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"bytes","name":"offender","type":"bytes"},{"internalType":"uint8","name":"slashPercent","type":"uint8"},{"internalType":"uint256","name":"totalPayout","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"onSlash"},{"inputs":[{"internalType":"uint64","name":"serviceId","type":"uint64"},{"internalType":"bytes","name":"offender","type":"bytes"},{"internalType":"uint8","name":"slashPercent","type":"uint8"},{"internalType":"uint256","name":"totalPayout","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"onUnappliedSlash"},{"inputs":[{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]}],"stateMutability":"nonpayable","type":"function","name":"onUnregister"},{"inputs":[{"internalType":"struct IBlueprintServiceManager.OperatorPreferences","name":"operator","type":"tuple","components":[{"internalType":"bytes","name":"ecdsaPublicKey","type":"bytes"},{"internalType":"struct IBlueprintServiceManager.PriceTargets","name":"priceTargets","type":"tuple","components":[{"internalType":"uint64","name":"cpu","type":"uint64"},{"internalType":"uint64","name":"mem","type":"uint64"},{"internalType":"uint64","name":"storage_hdd","type":"uint64"},{"internalType":"uint64","name":"storage_ssd","type":"uint64"},{"internalType":"uint64","name":"storage_nvme","type":"uint64"}]}]}],"stateMutability":"payable","type":"function","name":"onUpdatePriceTargets"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function","name":"queryDisputeOrigin","outputs":[{"internalType":"address","name":"disputeOrigin","type":"address"}]},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function","name":"querySlashingOrigin","outputs":[{"internalType":"address","name":"slashingOrigin","type":"address"}]},{"inputs":[],"stateMutability":"pure","type":"function","name":"rootChain","outputs":[{"internalType":"address","name":"rootChainAddress","type":"address"}]}],"devdoc":{"kind":"dev","methods":{"onApprove((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64,uint8)":{"details":"Hook for service request approval. Called when a service request is approved by an operator.","params":{"operator":"The operator's details.","requestId":"The ID of the request.","restakingPercent":"The percentage of the restaking amount (0-100)."}},"onJobCall(uint64,uint8,uint64,bytes)":{"details":"Hook for job calls on the service. Called when a job is called within the service context.","params":{"inputs":"Inputs required for the job execution in bytes format.","job":"The job identifier.","jobCallId":"A unique ID for the job call.","serviceId":"The ID of the service where the job is called."}},"onJobResult(uint64,uint8,uint64,(bytes,(uint64,uint64,uint64,uint64,uint64)),bytes,bytes)":{"details":"Hook for handling job result. Called when operators send the result of a job execution.","params":{"inputs":"Inputs used for the job execution in bytes format.","job":"The job identifier.","jobCallId":"The unique ID for the job call.","operator":"The operator sending the result in bytes format.","outputs":"Outputs resulting from the job execution in bytes format.","serviceId":"The ID of the service related to the job."}},"onRegister((bytes,(uint64,uint64,uint64,uint64,uint64)),bytes)":{"details":"Hook for service operator registration. Called when a service operator attempts to register with the blueprint.","params":{"operator":"The operator's details.","registrationInputs":"Inputs required for registration in bytes format."}},"onReject((bytes,(uint64,uint64,uint64,uint64,uint64)),uint64)":{"details":"Hook for service request rejection. Called when a service request is rejected by an operator.","params":{"operator":"The operator's details.","requestId":"The ID of the request."}},"onRequest(uint64,address,(bytes,(uint64,uint64,uint64,uint64,uint64))[],bytes,address[],uint64)":{"details":"Hook for service instance requests. Called when a user requests a service instance from the blueprint but this does not mean the service is initiated yet. To get notified when the service is initiated, implement the `onServiceInitialized` hook.","params":{"operators":"The list of operators to be considered for the service.","permittedCallers":"The list of permitted callers for the service.","requestId":"The ID of the request.","requestInputs":"The inputs required for the service request in bytes format.","requester":"The address of the service requester.","ttl":"The time-to-live for the service."}},"onServiceInitialized(uint64,uint64,address,address[],uint64)":{"details":"Hook for service initialization. Called when a service is initialized. This hook is called after the service is approved from all of the operators.","params":{"owner":"The owner of the service.","permittedCallers":"The list of permitted callers for the service.","requestId":"The ID of the request.","serviceId":"The ID of the service.","ttl":"The time-to-live for the service."}},"onServiceTermination(uint64,address)":{"details":"Hook for service termination. Called when a service is terminated.","params":{"owner":"The owner of the service.","serviceId":"The ID of the service to be terminated."}},"onSlash(uint64,bytes,uint8,uint256)":{"details":"Hook for handling applied slashes. Called when a slash is applied to an offender.","params":{"offender":"The offender's details in bytes format.","serviceId":"The ID of the service related to the slash.","slashPercent":"The percentage of the slash.","totalPayout":"The total payout amount in wei."}},"onUnappliedSlash(uint64,bytes,uint8,uint256)":{"details":"Hook for handling unapplied slashes. Called when a slash is queued and still not yet applied to an offender.","params":{"offender":"The offender's details in bytes format.","serviceId":"The ID of the service related to the slash.","slashPercent":"The percentage of the slash.","totalPayout":"The total payout amount in wei."}},"onUnregister((bytes,(uint64,uint64,uint64,uint64,uint64)))":{"details":"Hook for service operator unregistration. Called when a service operator attempts to unregister from the blueprint.","params":{"operator":"The operator's details."}},"onUpdatePriceTargets((bytes,(uint64,uint64,uint64,uint64,uint64)))":{"details":"Hook for updating operator's Price Targets. Called when an operator updates their price targets.","params":{"operator":"The operator's details with the to be updated price targets."}},"queryDisputeOrigin(uint64)":{"details":"Query the dispute origin for a service. This mainly used by the runtime to determine the allowed account that can dispute an unapplied slash and remove it. by default, the service manager is the only account that can dispute a service. override this function to allow other accounts to dispute a service.","params":{"serviceId":"The ID of the service."},"returns":{"disputeOrigin":"The account that can dispute the unapplied slash for that service"}},"querySlashingOrigin(uint64)":{"details":"Query the slashing origin for a service. This mainly used by the runtime to determine the allowed account that can slash a service. by default, the service manager is the only account that can slash a service. override this function to allow other accounts to slash a service.","params":{"serviceId":"The ID of the service."},"returns":{"slashingOrigin":"The account that can slash the offender."}},"rootChain()":{"details":"Get the root chain address","returns":{"rootChainAddress":"The address of the root chain"}}},"version":1},"userdoc":{"kind":"user","methods":{"ROOT_CHAIN()":{"notice":"The address of the root chain"}},"version":1}},"settings":{"remappings":["forge-std/=lib/forge-std/src/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/BlueprintServiceManagerBase.sol":"BlueprintServiceManagerBase"},"evmVersion":"paris","libraries":{}},"sources":{"src/BlueprintServiceManagerBase.sol":{"keccak256":"0x5b1186fffa1a3b9c18e5fa296adcb2ffd235725b0be058292a057b126b126dfb","urls":["bzz-raw://e26f67d20617657bf76ccca895bf8b4095c5b3c9540786cdbbad706553090362","dweb:/ipfs/QmfTi12AGc6uunRCrBsecGzqyzPQPA5dzXXRTXQwopXMQM"],"license":"UNLICENSED"},"src/IBlueprintServiceManager.sol":{"keccak256":"0x8c45354ea5da218db01db7eb0c9efdbe515b90fa13db74f385bedc48be7c1031","urls":["bzz-raw://fb100112fd7d323522bcc8644e16c888ca57d9416c04ae67aae50cd671dd9012","dweb:/ipfs/QmYi5f85kaHitKSgpuKN9NYb7FpZeoiMySwo8hTLa1KHJu"],"license":"UNLICENSED"},"src/Permissions.sol":{"keccak256":"0x13d0c19856a9ee02845b41fc0ec82d38fc9ae86284e74114b92f8228bf29705e","urls":["bzz-raw://c329f722dc4e9242a4bb9ce16ce81487d7dfdfebe8121e230591a22e3543a214","dweb:/ipfs/QmaVALpt222VYwyeaZxD9Qkjav96LKXWGr3WZUsY2YSQHW"],"license":"UNLICENSED"}},"version":1},"id":0} \ No newline at end of file diff --git a/pallets/services/src/test-artifacts/HookTestBlueprintServiceManager.hex b/pallets/services/src/test-artifacts/HookTestBlueprintServiceManager.hex new file mode 100644 index 00000000..057611db --- /dev/null +++ b/pallets/services/src/test-artifacts/HookTestBlueprintServiceManager.hex @@ -0,0 +1 @@ +0x60806040526004361061012a5760003560e01c8063884673ac116100ab578063a4d91fe91161006f578063a4d91fe9146102ed578063bb43abd91461030b578063d7deb4821461031e578063e926cbd11461033e578063f84076621461035e578063fe0dd3711461037e57600080fd5b8063884673ac146102585780639838caa314610280578063987ab9db146102935780639d0410ee146102ba578063a24e8a90146102cd57600080fd5b8063434698bb116100f2578063434698bb146101e15780635d79ea291461020157806365ce59fa1461022557806374ceeb55146101ae578063821c7be21461023857600080fd5b80630af7d7431461012f5780630b6535d7146101515780630d0dd3991461017157806314b4df4c146101ae57806337c29662146101ce575b600080fd5b34801561013b57600080fd5b5061014f61014a36600461098e565b610391565b005b34801561015d57600080fd5b5061014f61016c366004610a11565b6103c1565b34801561017d57600080fd5b50600054610191906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156101ba57600080fd5b506101916101c9366004610a54565b503090565b61014f6101dc366004610a8e565b61047f565b3480156101ed57600080fd5b5061014f6101fc366004610b53565b6104ee565b34801561020d57600080fd5b5061021760015481565b6040519081526020016101a5565b61014f610233366004610bd3565b610556565b34801561024457600080fd5b5061014f610253366004610c9d565b6105c6565b34801561026457600080fd5b5061019173111111111111111111111111111111111111111181565b61014f61028e366004610cea565b61062f565b34801561029f57600080fd5b50731111111111111111111111111111111111111111610191565b61014f6102c8366004610d5f565b61069b565b3480156102d957600080fd5b5061014f6102e8366004610dc7565b610705565b3480156102f957600080fd5b506000546001600160a01b0316610191565b61014f610319366004610df1565b61076e565b34801561032a57600080fd5b5061014f610339366004610e45565b6107d8565b34801561034a57600080fd5b5061014f61035936600461098e565b610845565b34801561036a57600080fd5b50600254610191906001600160a01b031681565b61014f61038c366004610b53565b6108b1565b6040517fd38931c95654e0c6958f3e427ad7c53f3a131634d634c86732f8655a28c119eb90600090a15050505050565b337311111111111111111111111111111111111111111461041657337311111111111111111111111111111111111111116040516359afe8af60e11b815260040161040d929190610ec9565b60405180910390fd5b6001600160401b038316600155600280546001600160a01b038085166001600160a01b03199283161790925560008054928416929091169190911781556040517fcf7e69bd1c708d6d282a3b1525cd1c89aa8bf25ec133174b4a7299223ceb3c4f9190a1505050565b6000546001600160a01b031633146104bb57600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f025cf7c6b8939ff50c796fa1df561a4a8d4e0de035caa3d184d5929e47e33d3590600090a15050505050505050565b6000546001600160a01b0316331461052a57600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f82b9cd36e76e3328de8315cb87dd42c248cdb31558184543b45ffd52ba422f2b90600090a150565b6000546001600160a01b0316331461059257600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f3582472ca72fc6a04530f08cfa31f71919e91e34971f4743873db0dbdf02b76090600090a1505050505050505050565b6000546001600160a01b0316331461060257600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f537b387222a90168d719f1d554df67d479e37cb59651378e6d4e4939030352a790600090a15050565b6000546001600160a01b0316331461066b57600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f9de6d7077ebf9fc111bfdc873d12a9d37d80b3657797fa91476f82695c942a3490600090a15050505050565b6000546001600160a01b031633146106d757600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f9add4e5824603d31f2170069522539a6971d31dc77d08e24588e3b68ce077ee690600090a1505050565b6000546001600160a01b0316331461074157600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517fbdd650f74e0fff138cdfa7cac980a24bf480423cba6de8d8daf53042b6240a0890600090a15050565b6000546001600160a01b031633146107aa57600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517fd4162ed8e9bc92ece7ef39b8f199293e403fbea78e95ce1fcbfce0153eb86bb590600090a1505050565b6000546001600160a01b0316331461081457600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517fdd03b583a4b2c88c19891a8aee92431d65f349d08a744f72297b4f25b28095a890600090a1505050505050565b6000546001600160a01b0316331461088157600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f95bfc812251a7cb44ca7b529c8854d13c0ae581729a7d2142231a3258ecd774390600090a15050505050565b6000546001600160a01b031633146108ed57600054604051630c423fcf60e01b815261040d9133916001600160a01b0390911690600401610ec9565b6040517f7e8e44afe7f3a9205df3a9e5ffc0c6e96006905bc7ca73b2a55eeb177ec63ff590600090a150565b80356001600160401b038116811461093057600080fd5b919050565b60008083601f84011261094757600080fd5b5081356001600160401b0381111561095e57600080fd5b60208301915083602082850101111561097657600080fd5b9250929050565b803560ff8116811461093057600080fd5b6000806000806000608086880312156109a657600080fd5b6109af86610919565b945060208601356001600160401b038111156109ca57600080fd5b6109d688828901610935565b90955093506109e990506040870161097d565b949793965091946060013592915050565b80356001600160a01b038116811461093057600080fd5b600080600060608486031215610a2657600080fd5b610a2f84610919565b9250610a3d602085016109fa565b9150610a4b604085016109fa565b90509250925092565b600060208284031215610a6657600080fd5b610a6f82610919565b9392505050565b600060c08284031215610a8857600080fd5b50919050565b60008060008060008060008060c0898b031215610aaa57600080fd5b610ab389610919565b9750610ac160208a0161097d565b9650610acf60408a01610919565b955060608901356001600160401b0380821115610aeb57600080fd5b610af78c838d01610a76565b965060808b0135915080821115610b0d57600080fd5b610b198c838d01610935565b909650945060a08b0135915080821115610b3257600080fd5b50610b3f8b828c01610935565b999c989b5096995094979396929594505050565b600060208284031215610b6557600080fd5b81356001600160401b03811115610b7b57600080fd5b610b8784828501610a76565b949350505050565b60008083601f840112610ba157600080fd5b5081356001600160401b03811115610bb857600080fd5b6020830191508360208260051b850101111561097657600080fd5b600080600080600080600080600060c08a8c031215610bf157600080fd5b610bfa8a610919565b9850610c0860208b016109fa565b975060408a01356001600160401b0380821115610c2457600080fd5b610c308d838e01610b8f565b909950975060608c0135915080821115610c4957600080fd5b610c558d838e01610935565b909750955060808c0135915080821115610c6e57600080fd5b50610c7b8c828d01610b8f565b9094509250610c8e905060a08b01610919565b90509295985092959850929598565b60008060408385031215610cb057600080fd5b82356001600160401b03811115610cc657600080fd5b610cd285828601610a76565b925050610ce160208401610919565b90509250929050565b600080600080600060808688031215610d0257600080fd5b610d0b86610919565b9450610d196020870161097d565b9350610d2760408701610919565b925060608601356001600160401b03811115610d4257600080fd5b610d4e88828901610935565b969995985093965092949392505050565b600080600060408486031215610d7457600080fd5b83356001600160401b0380821115610d8b57600080fd5b610d9787838801610a76565b94506020860135915080821115610dad57600080fd5b50610dba86828701610935565b9497909650939450505050565b60008060408385031215610dda57600080fd5b610de383610919565b9150610ce1602084016109fa565b600080600060608486031215610e0657600080fd5b83356001600160401b03811115610e1c57600080fd5b610e2886828701610a76565b935050610e3760208501610919565b9150610a4b6040850161097d565b60008060008060008060a08789031215610e5e57600080fd5b610e6787610919565b9550610e7560208801610919565b9450610e83604088016109fa565b935060608701356001600160401b03811115610e9e57600080fd5b610eaa89828a01610b8f565b9094509250610ebd905060808801610919565b90509295509295509295565b6001600160a01b039283168152911660208201526040019056fea164736f6c6343000814000a diff --git a/pallets/services/src/test-artifacts/MasterBlueprintServiceManager.hex b/pallets/services/src/test-artifacts/MasterBlueprintServiceManager.hex new file mode 100644 index 00000000..745cb77c --- /dev/null +++ b/pallets/services/src/test-artifacts/MasterBlueprintServiceManager.hex @@ -0,0 +1 @@ +0x60806040526004361061019c5760003560e01c8063727391f2116100ec578063a4d91fe91161008a578063b89af90411610064578063b89af9041461047c578063b9315d3a1461048f578063c97008e0146104a2578063d547741f146104c257600080fd5b8063a4d91fe914610438578063a6a7853814610456578063a8f7c5ed1461046957600080fd5b80638e6f8c60116100c65780638e6f8c60146103c257806391d14854146103e2578063987ab9db14610402578063a217fddf1461042357600080fd5b8063727391f21461036d57806382a1ece414610380578063884673ac146103a057600080fd5b80632f2ff15d11610159578063410fdec811610133578063410fdec81461030f5780634984ee6b1461032f5780634efb4b8b146103425780635c975abb1461035557600080fd5b80632f2ff15d146102af57806333db3920146102cf57806336568abe146102ef57600080fd5b806301ffc9a7146101a15780630633da77146101d65780630d0dd399146101f85780631fb27b3414610230578063248a9ca314610250578063274ef0151461028f575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046116e7565b6104e2565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101f66101f136600461174d565b610519565b005b34801561020457600080fd5b50600054610218906001600160a01b031681565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b506101f661024b3660046117ac565b610640565b34801561025c57600080fd5b5061028161026b3660046117f9565b6000908152600160208190526040909120015490565b6040519081526020016101cd565b34801561029b57600080fd5b506102186102aa366004611812565b610745565b3480156102bb57600080fd5b506101f66102ca366004611845565b6107d9565b3480156102db57600080fd5b506101f66102ea3660046118ce565b610805565b3480156102fb57600080fd5b506101f661030a366004611845565b610926565b34801561031b57600080fd5b506101f661032a36600461194b565b61095e565b6101f661033d3660046119a8565b610a62565b6101f6610350366004611a71565b610b72565b34801561036157600080fd5b5060025460ff166101c1565b6101f661037b366004611b4e565b610c9d565b34801561038c57600080fd5b506101f661039b366004611bc4565b610da8565b3480156103ac57600080fd5b5061021860008051602061248583398151915281565b3480156103ce57600080fd5b506102186103dd366004611812565b610ed1565b3480156103ee57600080fd5b506101c16103fd366004611845565b610f20565b34801561040e57600080fd5b50600080516020612485833981519152610218565b34801561042f57600080fd5b50610281600081565b34801561044457600080fd5b506000546001600160a01b0316610218565b6101f66104643660046117ac565b610f4b565b6101f6610477366004611c5c565b611043565b6101f661048a366004611d34565b61116b565b6101f661049d366004611d8f565b611240565b3480156104ae57600080fd5b506101f66104bd3660046118ce565b611357565b3480156104ce57600080fd5b506101f66104dd366004611845565b611467565b60006001600160e01b03198216637965db0b60e01b148061051357506301ffc9a760e01b6001600160e01b03198316145b92915050565b336000805160206124858339815191521461056257336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b60405180910390fd5b61056a61148d565b600061058060036001600160401b0386166114b3565b604051630a24e8a960e41b81526001600160401b03851660048201526001600160a01b0384811660248301529192509082169063a24e8a9090604401600060405180830381600087803b1580156105d657600080fd5b505af11580156105ea573d6000803e3d6000fd5b50506040516001600160a01b03851681526001600160401b038087169350871691507f5267932e6c1b678e74efba1e4d6c8b3fd7504cf0fa8eea462efac2c590a21d56906020015b60405180910390a350505050565b336000805160206124858339815191521461068057336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b61068861148d565b600061069e60036001600160401b0385166114b3565b60405163434698bb60e01b81529091506001600160a01b0382169063434698bb906106cd908590600401611f18565b600060405180830381600087803b1580156106e757600080fd5b505af11580156106fb573d6000803e3d6000fd5b50505050826001600160401b03167fde25c2b146db36cbc91715fdf29cb0eb556eed7678e0bf13563bf7050e8f0bbd836040516107389190611f18565b60405180910390a2505050565b60008061075c60036001600160401b0386166114b3565b6040516374ceeb5560e01b81526001600160401b03851660048201529091506001600160a01b038216906374ceeb55906024015b602060405180830381865afa1580156107ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d19190611f2b565b949350505050565b600082815260016020819052604090912001546107f5816114c6565b6107ff83836114d3565b50505050565b336000805160206124858339815191521461084557336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b61084d61148d565b600061086360036001600160401b0389166114b3565b604051630af7d74360e01b81529091506001600160a01b03821690630af7d7439061089a9089908990899089908990600401611f48565b600060405180830381600087803b1580156108b457600080fd5b505af11580156108c8573d6000803e3d6000fd5b50505050856001600160401b0316876001600160401b03167f7d2ac4c1544e07516def74ce3ada12ff791868ed07d6da82694ae2c0342c8371878787876040516109159493929190611f82565b60405180910390a350505050505050565b6001600160a01b038116331461094f5760405163334bd91960e11b815260040160405180910390fd5b610959828261154c565b505050565b336000805160206124858339815191521461099e57336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b6109a661148d565b60006109bc60036001600160401b0386166114b3565b60405163410e3df160e11b81529091506001600160a01b0382169063821c7be2906109ed9086908690600401611fac565b600060405180830381600087803b158015610a0757600080fd5b505af1158015610a1b573d6000803e3d6000fd5b50505050816001600160401b0316846001600160401b03167f4ca48d7cb411035a931da7a686ea77bc413069de12d844c47daf9242b765cba4856040516106329190611f18565b3360008051602061248583398151915214610aa257336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b610aaa61148d565b6000610ac060036001600160401b0389166114b3565b604051639838caa360e01b81529091506001600160a01b03821690639838caa390610af79089908990899089908990600401611fd7565b600060405180830381600087803b158015610b1157600080fd5b505af1158015610b25573d6000803e3d6000fd5b50506040805160ff891681526001600160401b038881166020830152808b1694508b1692507fa9aaaef624d196d961d053fc29d4331e5cb45d62195d99814d29a94f46fa9d4b9101610915565b3360008051602061248583398151915214610bb257336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b610bba61148d565b6000610bd060036001600160401b038d166114b3565b6040516332e72cfd60e11b81529091506001600160a01b038216906365ce59fa90610c0f908d908d908d908d908d908d908d908d908d90600401612061565b600060405180830381600087803b158015610c2957600080fd5b505af1158015610c3d573d6000803e3d6000fd5b50506040516001600160401b0385811682526001600160a01b038d169350808e1692508e16907f43200f1363ce7ac3780a4c2c5835bf74800937ca5cbc69c4f4d666cf92b0c54c9060200160405180910390a45050505050505050505050565b3360008051602061248583398151915214610cdd57336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b610ce561148d565b6000610cfb60036001600160401b0387166114b3565b604051634e82087760e11b81529091506001600160a01b03821690639d0410ee90610d2e90879087908790600401612136565b600060405180830381600087803b158015610d4857600080fd5b505af1158015610d5c573d6000803e3d6000fd5b50505050846001600160401b03167f7814301100cb38a35027dd63a29aa14c3f73188f15cf9f027655257c45016e8785604051610d999190611f18565b60405180910390a25050505050565b3360008051602061248583398151915214610de857336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b610df061148d565b6000610e0660036001600160401b038a166114b3565b604051636bef5a4160e11b81529091506001600160a01b0382169063d7deb48290610e3f908a908a908a908a908a908a90600401612166565b600060405180830381600087803b158015610e5957600080fd5b505af1158015610e6d573d6000803e3d6000fd5b5050604080516001600160a01b03891681526001600160401b038681166020830152808b1694508b811693508c16917f93927390d124732c66289c6e22370514ddd612a9cc6bff5671cbf2cbc15ddfe3910160405180910390a45050505050505050565b600080610ee860036001600160401b0386166114b3565b60405163052d37d360e21b81526001600160401b03851660048201529091506001600160a01b038216906314b4df4c90602401610790565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3360008051602061248583398151915214610f8b57336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b610f9361148d565b6000610fa960036001600160401b0385166114b3565b60405163fe0dd37160e01b81529091506001600160a01b0382169063fe0dd37190610fd8908590600401611f18565b600060405180830381600087803b158015610ff257600080fd5b505af1158015611006573d6000803e3d6000fd5b50505050826001600160401b03167febc442018e78570634a88dbac83d4677ae1a5cf8491fb0fc166a7306ba1ff051836040516107389190611f18565b336000805160206124858339815191521461108357336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b61108b61148d565b60006110a160036001600160401b038c166114b3565b604051631be14b3160e11b81529091506001600160a01b038216906337c29662906110de908c908c908c908c908c908c908c908c906004016121b6565b600060405180830381600087803b1580156110f857600080fd5b505af115801561110c573d6000803e3d6000fd5b50505050886001600160401b03168a6001600160401b03167f08e18861659838cad8b04f4687aca1dfb93336e750acf5c3699637ed8ca4c27a8a8a8a60405161115793929190612222565b60405180910390a350505050505050505050565b33600080516020612485833981519152146111ab57336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b6111b361148d565b6111d96001600160401b0384166111d06040840160208501612256565b600391906115b9565b506111ef60066001600160401b038516846115b9565b50826001600160401b0316826001600160a01b03167f278018182b7c51e2da72c1f465c26c12d9606099af0f08db420378344b352223836040516112339190612287565b60405180910390a3505050565b336000805160206124858339815191521461128057336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b61128861148d565b600061129e60036001600160401b0387166114b3565b60405163bb43abd960e01b81529091506001600160a01b0382169063bb43abd9906112d19087908790879060040161242a565b600060405180830381600087803b1580156112eb57600080fd5b505af11580156112ff573d6000803e3d6000fd5b50505050826001600160401b0316856001600160401b03167f219c2fdfbe4f111dda584eefbcb4eb2370cec850e2a79e4fed3a8f708006e7a9868560405161134892919061245f565b60405180910390a35050505050565b336000805160206124858339815191521461139757336000805160206124858339815191526040516359afe8af60e11b8152600401610559929190611dfd565b61139f61148d565b60006113b560036001600160401b0389166114b3565b60405163e926cbd160e01b81529091506001600160a01b0382169063e926cbd1906113ec9089908990899089908990600401611f48565b600060405180830381600087803b15801561140657600080fd5b505af115801561141a573d6000803e3d6000fd5b50505050856001600160401b0316876001600160401b03167f0145a8acdb5e19e431ea924e2c8997b01f0869cad2a2c6927c8645a5938cf0c3878787876040516109159493929190611f82565b60008281526001602081905260409091200154611483816114c6565b6107ff838361154c565b60025460ff16156114b15760405163d93c066560e01b815260040160405180910390fd5b565b60006114bf83836115cf565b9392505050565b6114d08133611616565b50565b60006114df8383610f20565b6115445760008381526001602081815260408084206001600160a01b0387168086529252808420805460ff19169093179092559051339286917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a4506001610513565b506000610513565b60006115588383610f20565b156115445760008381526001602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610513565b60006107d184846001600160a01b038516611653565b6000818152600283016020526040812054801580156115f557506115f38484611670565b155b156114bf5760405163015ab34360e11b815260048101849052602401610559565b6116208282610f20565b61164f5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610559565b5050565b600082815260028401602052604081208290556107d1848461167c565b60006114bf8383611688565b60006114bf83836116a0565b600081815260018301602052604081205415156114bf565b600081815260018301602052604081205461154457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610513565b6000602082840312156116f957600080fd5b81356001600160e01b0319811681146114bf57600080fd5b80356001600160401b038116811461172857600080fd5b919050565b6001600160a01b03811681146114d057600080fd5b80356117288161172d565b60008060006060848603121561176257600080fd5b61176b84611711565b925061177960208501611711565b915060408401356117898161172d565b809150509250925092565b600060c082840312156117a657600080fd5b50919050565b600080604083850312156117bf57600080fd5b6117c883611711565b915060208301356001600160401b038111156117e357600080fd5b6117ef85828601611794565b9150509250929050565b60006020828403121561180b57600080fd5b5035919050565b6000806040838503121561182557600080fd5b61182e83611711565b915061183c60208401611711565b90509250929050565b6000806040838503121561185857600080fd5b82359150602083013561186a8161172d565b809150509250929050565b60008083601f84011261188757600080fd5b5081356001600160401b0381111561189e57600080fd5b6020830191508360208285010111156118b657600080fd5b9250929050565b803560ff8116811461172857600080fd5b60008060008060008060a087890312156118e757600080fd5b6118f087611711565b95506118fe60208801611711565b945060408701356001600160401b0381111561191957600080fd5b61192589828a01611875565b90955093506119389050606088016118bd565b9150608087013590509295509295509295565b60008060006060848603121561196057600080fd5b61196984611711565b925060208401356001600160401b0381111561198457600080fd5b61199086828701611794565b92505061199f60408501611711565b90509250925092565b60008060008060008060a087890312156119c157600080fd5b6119ca87611711565b95506119d860208801611711565b94506119e6604088016118bd565b93506119f460608801611711565b925060808701356001600160401b03811115611a0f57600080fd5b611a1b89828a01611875565b979a9699509497509295939492505050565b60008083601f840112611a3f57600080fd5b5081356001600160401b03811115611a5657600080fd5b6020830191508360208260051b85010111156118b657600080fd5b60008060008060008060008060008060e08b8d031215611a9057600080fd5b611a998b611711565b9950611aa760208c01611711565b985060408b0135611ab78161172d565b975060608b01356001600160401b0380821115611ad357600080fd5b611adf8e838f01611a2d565b909950975060808d0135915080821115611af857600080fd5b611b048e838f01611875565b909750955060a08d0135915080821115611b1d57600080fd5b50611b2a8d828e01611a2d565b9094509250611b3d905060c08c01611711565b90509295989b9194979a5092959850565b60008060008060608587031215611b6457600080fd5b611b6d85611711565b935060208501356001600160401b0380821115611b8957600080fd5b611b9588838901611794565b94506040870135915080821115611bab57600080fd5b50611bb887828801611875565b95989497509550505050565b600080600080600080600060c0888a031215611bdf57600080fd5b611be888611711565b9650611bf660208901611711565b9550611c0460408901611711565b94506060880135611c148161172d565b935060808801356001600160401b03811115611c2f57600080fd5b611c3b8a828b01611a2d565b9094509250611c4e905060a08901611711565b905092959891949750929550565b600080600080600080600080600060e08a8c031215611c7a57600080fd5b611c838a611711565b9850611c9160208b01611711565b9750611c9f60408b016118bd565b9650611cad60608b01611711565b955060808a01356001600160401b0380821115611cc957600080fd5b611cd58d838e01611794565b965060a08c0135915080821115611ceb57600080fd5b611cf78d838e01611875565b909650945060c08c0135915080821115611d1057600080fd5b50611d1d8c828d01611875565b915080935050809150509295985092959850929598565b600080600060608486031215611d4957600080fd5b611d5284611711565b92506020840135611d628161172d565b915060408401356001600160401b03811115611d7d57600080fd5b84016060818703121561178957600080fd5b60008060008060808587031215611da557600080fd5b611dae85611711565b935060208501356001600160401b03811115611dc957600080fd5b611dd587828801611794565b935050611de460408601611711565b9150611df2606086016118bd565b905092959194509250565b6001600160a01b0392831681529116602082015260400190565b6000808335601e19843603018112611e2e57600080fd5b83016020810192503590506001600160401b03811115611e4d57600080fd5b8036038213156118b657600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000611e918283611e17565b60c08552611ea360c086018284611e5c565b9150506001600160401b0380611ebb60208601611711565b16602086015280611ece60408601611711565b16604086015280611ee160608601611711565b16606086015280611ef460808601611711565b16608086015280611f0760a08601611711565b1660a0860152508091505092915050565b6020815260006114bf6020830184611e85565b600060208284031215611f3d57600080fd5b81516114bf8161172d565b6001600160401b0386168152608060208201526000611f6b608083018688611e5c565b60ff94909416604083015250606001529392505050565b606081526000611f96606083018688611e5c565b60ff949094166020830152506040015292915050565b604081526000611fbf6040830185611e85565b90506001600160401b03831660208301529392505050565b60006001600160401b03808816835260ff871660208401528086166040840152506080606083015261200d608083018486611e5c565b979650505050505050565b8183526000602080850194508260005b8581101561205657813561203b8161172d565b6001600160a01b031687529582019590820190600101612028565b509495945050505050565b6001600160401b038a1681526001600160a01b038916602082015260c0604082018190528101879052600060e0600589901b830181019083018a835b8b8110156120e55785840360df190183528135368e900360be190181126120c357600080fd5b6120cf858f8301611e85565b945050602092830192919091019060010161209d565b50505082810360608401526120fb81888a611e5c565b90508281036080840152612110818688612018565b91505061212860a08301846001600160401b03169052565b9a9950505050505050505050565b6040815260006121496040830186611e85565b828103602084015261215c818587611e5c565b9695505050505050565b60006001600160401b038089168352808816602084015260018060a01b038716604084015260a060608401526121a060a084018688612018565b9150808416608084015250979650505050505050565b60006001600160401b03808b16835260ff8a16602084015280891660408401525060c060608301526121eb60c0830188611e85565b82810360808401526121fe818789611e5c565b905082810360a0840152612213818587611e5c565b9b9a5050505050505050505050565b60ff841681526001600160401b038316602082015260606040820152600061224d6060830184611e85565b95945050505050565b60006020828403121561226857600080fd5b81356114bf8161172d565b803563ffffffff8116811461172857600080fd5b602081526000823560fe198436030181126122a157600080fd5b6060602084015283016122b48180611e17565b6101008060808701526122cc61018087018385611e5c565b92506122db6020850185611e17565b9250607f19808886030160a08901526122f5858584611e5c565b94506123046040870187611e17565b94509150808886030160c089015261231d858584611e5c565b945061232c6060870187611e17565b94509150808886030160e0890152612345858584611e5c565b94506123546080870187611e17565b9450915080888603018389015261236c858584611e5c565b945061237b60a0870187611e17565b945092508088860301610120890152612395858585611e5c565b94506123a460c0870187611e17565b9450925080888603016101408901526123be858585611e5c565b94506123cd60e0870187611e17565b9650935080888603016101608901525050506123ea828483611e5c565b925050506123fa60208501611742565b6001600160a01b03811660408501525061241660408501612273565b63ffffffff81166060850152509392505050565b60608152600061243d6060830186611e85565b90506001600160401b038416602083015260ff83166040830152949350505050565b6040815260006124726040830185611e85565b905060ff83166020830152939250505056fe0000000000000000000000001111111111111111111111111111111111111111a164736f6c6343000814000a diff --git a/pallets/services/src/tests.rs b/pallets/services/src/tests.rs index 8a8c1c26..b7657a81 100644 --- a/pallets/services/src/tests.rs +++ b/pallets/services/src/tests.rs @@ -73,39 +73,79 @@ fn cggmp21_blueprint() -> ServiceBlueprint> { #[allow(deprecated)] ServiceBlueprint { metadata: ServiceMetadata { name: "CGGMP21 TSS".try_into().unwrap(), ..Default::default() }, - manager: BlueprintManager::Evm(CGGMP21_BLUEPRINT), + manager: BlueprintServiceManager::Evm(CGGMP21_BLUEPRINT), + master_manager_revision: MasterBlueprintServiceManagerRevision::Latest, jobs: bounded_vec![ JobDefinition { metadata: JobMetadata { name: "keygen".try_into().unwrap(), ..Default::default() }, params: bounded_vec![FieldType::Uint8], result: bounded_vec![FieldType::Bytes], - verifier: JobResultVerifier::Evm(CGGMP21_BLUEPRINT), }, JobDefinition { metadata: JobMetadata { name: "sign".try_into().unwrap(), ..Default::default() }, params: bounded_vec![FieldType::Uint64, FieldType::Bytes], result: bounded_vec![FieldType::Bytes], - #[allow(deprecated)] - verifier: JobResultVerifier::Evm(CGGMP21_BLUEPRINT), }, ], - registration_hook: ServiceRegistrationHook::Evm(CGGMP21_BLUEPRINT), registration_params: bounded_vec![], - request_hook: ServiceRequestHook::Evm(CGGMP21_BLUEPRINT), request_params: bounded_vec![], gadget: Default::default(), } } +#[test] +fn update_mbsm() { + new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { + System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); + + assert_eq!(Pallet::::mbsm_latest_revision(), 0); + assert_eq!(Pallet::::mbsm_address(0).unwrap(), MBSM); + + // Add a new revision + let new_mbsm = { + let mut v = MBSM; + v.randomize(); + v + }; + + assert_ok!(Services::update_master_blueprint_service_manager( + RuntimeOrigin::root(), + new_mbsm + )); + + assert_eq!(Pallet::::mbsm_latest_revision(), 1); + assert_eq!(Pallet::::mbsm_address(1).unwrap(), new_mbsm); + // Old one should still be there + assert_eq!(Pallet::::mbsm_address(0).unwrap(), MBSM); + // Doesn't exist + assert!(Pallet::::mbsm_address(2).is_err()); + }); +} + +#[test] +fn update_mbsm_not_root() { + new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { + System::set_block_number(1); + let alice = mock_pub_key(ALICE); + assert_err!( + Services::update_master_blueprint_service_manager(RuntimeOrigin::signed(alice), MBSM), + DispatchError::BadOrigin + ); + }); +} + #[test] fn create_service_blueprint() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); + let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); - assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); + assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint,)); let next_id = Services::next_blueprint_id(); assert_eq!(next_id, 1); @@ -113,6 +153,17 @@ fn create_service_blueprint() { owner: alice, blueprint_id: next_id - 1, })]); + + let (_, blueprint) = Services::blueprints(next_id - 1).unwrap(); + + // The MBSM should be set on the blueprint + assert_eq!(Pallet::::mbsm_address_of(&blueprint).unwrap(), MBSM); + // The master manager revision should pinned to a specific revision that is equal to the + // latest revision of the MBSM. + assert_eq!( + blueprint.master_manager_revision, + MasterBlueprintServiceManagerRevision::Specific(0) + ); }); } @@ -120,6 +171,7 @@ fn create_service_blueprint() { fn register_on_blueprint() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); @@ -184,6 +236,7 @@ fn register_on_blueprint() { fn pre_register_on_blueprint() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); @@ -206,6 +259,7 @@ fn pre_register_on_blueprint() { fn update_price_targets() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); @@ -278,6 +332,7 @@ fn update_price_targets() { fn unregister_from_blueprint() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); @@ -315,6 +370,7 @@ fn unregister_from_blueprint() { fn request_service() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); @@ -430,6 +486,7 @@ fn request_service() { fn request_service_with_no_assets() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); @@ -462,6 +519,7 @@ fn request_service_with_no_assets() { fn job_calls() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); @@ -553,6 +611,7 @@ fn job_calls() { fn job_result() { new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { System::set_block_number(1); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); @@ -685,6 +744,7 @@ fn deploy() -> Deployment { let alice = mock_pub_key(ALICE); let blueprint = cggmp21_blueprint(); let blueprint_id = Services::next_blueprint_id(); + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); let bob = mock_pub_key(BOB); @@ -941,3 +1001,110 @@ fn dispute_an_already_applied_slash() { ); }); } + +#[test] +fn hooks() { + new_test_ext(vec![ALICE, BOB, CHARLIE, DAVE, EVE]).execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); + + let alice = mock_pub_key(ALICE); + let bob = mock_pub_key(BOB); + let charlie = mock_pub_key(CHARLIE); + let blueprint = ServiceBlueprint { + metadata: ServiceMetadata { + name: "Hooks Tests".try_into().unwrap(), + ..Default::default() + }, + manager: BlueprintServiceManager::Evm(HOOKS_TEST), + master_manager_revision: MasterBlueprintServiceManagerRevision::Latest, + jobs: bounded_vec![JobDefinition { + metadata: JobMetadata { name: "foo".try_into().unwrap(), ..Default::default() }, + params: bounded_vec![], + result: bounded_vec![], + },], + registration_params: bounded_vec![], + request_params: bounded_vec![], + gadget: Default::default(), + }; + + // OnBlueprintCreated hook should be called + assert_ok!(Services::create_blueprint(RuntimeOrigin::signed(alice.clone()), blueprint)); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnBlueprintCreated()")]); + + // OnRegister hook should be called + assert_ok!(Services::register( + RuntimeOrigin::signed(bob.clone()), + 0, + OperatorPreferences { key: zero_key(), price_targets: Default::default() }, + Default::default(), + 0, + )); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnRegister()")]); + + // OnUnregister hook should be called + assert_ok!(Services::unregister(RuntimeOrigin::signed(bob.clone()), 0)); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnUnregister()")]); + + // Register again to continue testing + assert_ok!(Services::register( + RuntimeOrigin::signed(bob.clone()), + 0, + OperatorPreferences { key: zero_key(), price_targets: Default::default() }, + Default::default(), + 0, + )); + + // OnUpdatePriceTargets hook should be called + assert_ok!(Services::update_price_targets( + RuntimeOrigin::signed(bob.clone()), + 0, + price_targets(MachineKind::Medium), + )); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnUpdatePriceTargets()")]); + + // OnRequest hook should be called + assert_ok!(Services::request( + RuntimeOrigin::signed(charlie.clone()), + 0, + vec![alice.clone()], + vec![bob.clone()], + Default::default(), + vec![USDC, WETH], + 100, + 0, + )); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnRequest()")]); + + // OnReject hook should be called + assert_ok!(Services::reject(RuntimeOrigin::signed(bob.clone()), 0)); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnReject()")]); + + // OnApprove hook should be called + // OnServiceInitialized is also called + assert_ok!(Services::approve( + RuntimeOrigin::signed(bob.clone()), + 0, + Percent::from_percent(10) + )); + assert_evm_logs(&[ + evm_log!(HOOKS_TEST, b"OnApprove()"), + evm_log!(HOOKS_TEST, b"OnServiceInitialized()"), + ]); + + // OnJobCall hook should be called + assert_ok!(Services::call(RuntimeOrigin::signed(charlie.clone()), 0, 0, bounded_vec![],)); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnJobCall()")]); + + // OnJobResult hook should be called + assert_ok!(Services::submit_result( + RuntimeOrigin::signed(bob.clone()), + 0, + 0, + bounded_vec![], + )); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnJobResult()")]); + // OnServiceTermination hook should be called + assert_ok!(Services::terminate(RuntimeOrigin::signed(charlie.clone()), 0)); + assert_evm_logs(&[evm_log!(HOOKS_TEST, b"OnServiceTermination()")]); + }); +} diff --git a/precompiles/services/src/mock.rs b/precompiles/services/src/mock.rs index 57b0ede6..aab53659 100644 --- a/precompiles/services/src/mock.rs +++ b/precompiles/services/src/mock.rs @@ -26,6 +26,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ConstU128, OneSessionHandler}, }; +use frame_system::EnsureRoot; use mock_evm::MockedEvmRunner; use pallet_evm::GasWeightMapping; use pallet_services::{EvmAddressMapping, EvmGasWeightMapping}; @@ -480,6 +481,10 @@ parameter_types! { #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] pub const MaxAssetsPerService: u32 = 164; + #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub const MaxMasterBlueprintServiceManagerRevisions: u32 = u32::MAX; + #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo)] #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] pub const SlashDeferDuration: u32 = 7; @@ -514,10 +519,11 @@ impl pallet_services::Config for Runtime { type MaxContainerImageNameLength = MaxContainerImageNameLength; type MaxContainerImageTagLength = MaxContainerImageTagLength; type MaxAssetsPerService = MaxAssetsPerService; + type MaxMasterBlueprintServiceManagerVersions = MaxMasterBlueprintServiceManagerRevisions; type Constraints = pallet_services::types::ConstraintsOf; type OperatorDelegationManager = MockDelegationManager; type SlashDeferDuration = SlashDeferDuration; - type SlashOrigin = frame_system::EnsureRoot; + type MasterBlueprintServiceManagerUpdateOrigin = EnsureRoot; type WeightInfo = (); } @@ -546,6 +552,7 @@ pub fn mock_authorities(vec: Vec) -> Vec { vec.into_iter().map(|id| mock_pub_key(id)).collect() } +pub const MBSM: H160 = H160([0x12; 20]); pub const CGGMP21_BLUEPRINT: H160 = H160([0x21; 20]); /// Build test externalities, prepopulated with data for testing democracy precompiles @@ -597,25 +604,33 @@ pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestE let mut evm_accounts = BTreeMap::new(); - let cggmp21_blueprint_json: serde_json::Value = serde_json::from_str(include_str!( - "../../../pallets/services/src/test-artifacts/CGGMP21Blueprint.json" - )) - .unwrap(); - let cggmp21_blueprint_code = hex::decode( - cggmp21_blueprint_json["deployedBytecode"]["object"] - .as_str() - .unwrap() - .replace("0x", ""), - ) - .unwrap(); - evm_accounts.insert( + let mut create_contract = |bytecode: &str, address: H160| { + let mut raw_hex = bytecode.replace("0x", "").replace("\n", ""); + // fix odd length + if raw_hex.len() % 2 != 0 { + raw_hex = format!("0{}", raw_hex); + } + let code = hex::decode(raw_hex).unwrap(); + evm_accounts.insert( + address, + fp_evm::GenesisAccount { + code, + storage: Default::default(), + nonce: Default::default(), + balance: Default::default(), + }, + ); + }; + + create_contract( + include_str!("../../../pallets/services/src/test-artifacts/CGGMP21Blueprint.hex"), CGGMP21_BLUEPRINT, - fp_evm::GenesisAccount { - code: cggmp21_blueprint_code, - storage: Default::default(), - nonce: Default::default(), - balance: Default::default(), - }, + ); + create_contract( + include_str!( + "../../../pallets/services/src/test-artifacts/MasterBlueprintServiceManager.hex" + ), + MBSM, ); let evm_config = diff --git a/precompiles/services/src/tests.rs b/precompiles/services/src/tests.rs index 5ec9d03f..e725bd09 100644 --- a/precompiles/services/src/tests.rs +++ b/precompiles/services/src/tests.rs @@ -1,6 +1,7 @@ use crate::mock::*; use crate::mock_evm::PCall; use crate::mock_evm::PrecompilesValue; +use frame_support::assert_ok; use pallet_services::types::ConstraintsOf; use pallet_services::Instances; use pallet_services::Operators; @@ -12,15 +13,13 @@ use sp_core::ecdsa; use sp_core::{H160, U256}; use sp_runtime::bounded_vec; use sp_runtime::AccountId32; -use tangle_primitives::services::BlueprintManager; +use tangle_primitives::services::BlueprintServiceManager; use tangle_primitives::services::FieldType; use tangle_primitives::services::JobDefinition; use tangle_primitives::services::JobMetadata; -use tangle_primitives::services::JobResultVerifier; +use tangle_primitives::services::MasterBlueprintServiceManagerRevision; use tangle_primitives::services::PriceTargets; use tangle_primitives::services::ServiceMetadata; -use tangle_primitives::services::ServiceRegistrationHook; -use tangle_primitives::services::ServiceRequestHook; use tangle_primitives::services::{OperatorPreferences, ServiceBlueprint}; fn zero_key() -> ecdsa::Public { @@ -64,25 +63,21 @@ fn cggmp21_blueprint() -> ServiceBlueprint> { #[allow(deprecated)] ServiceBlueprint { metadata: ServiceMetadata { name: "CGGMP21 TSS".try_into().unwrap(), ..Default::default() }, - manager: BlueprintManager::Evm(CGGMP21_BLUEPRINT), + manager: BlueprintServiceManager::Evm(CGGMP21_BLUEPRINT), + master_manager_revision: MasterBlueprintServiceManagerRevision::Latest, jobs: bounded_vec![ JobDefinition { metadata: JobMetadata { name: "keygen".try_into().unwrap(), ..Default::default() }, params: bounded_vec![FieldType::Uint8], result: bounded_vec![FieldType::Bytes], - verifier: JobResultVerifier::Evm(CGGMP21_BLUEPRINT), }, JobDefinition { metadata: JobMetadata { name: "sign".try_into().unwrap(), ..Default::default() }, params: bounded_vec![FieldType::Uint64, FieldType::Bytes], result: bounded_vec![FieldType::Bytes], - #[allow(deprecated)] - verifier: JobResultVerifier::Evm(CGGMP21_BLUEPRINT), }, ], - registration_hook: ServiceRegistrationHook::Evm(CGGMP21_BLUEPRINT), registration_params: bounded_vec![], - request_hook: ServiceRequestHook::Evm(CGGMP21_BLUEPRINT), request_params: bounded_vec![], gadget: Default::default(), } @@ -90,6 +85,7 @@ fn cggmp21_blueprint() -> ServiceBlueprint> { #[test] fn test_create_blueprint() { ExtBuilder.build().execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); // Create blueprint let blueprint_data = cggmp21_blueprint(); @@ -111,6 +107,7 @@ fn test_create_blueprint() { #[test] fn test_register_operator() { ExtBuilder.build().execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); // First create the blueprint let blueprint_data = cggmp21_blueprint(); @@ -152,6 +149,7 @@ fn test_register_operator() { #[test] fn test_request_service() { ExtBuilder.build().execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); // First create the blueprint let blueprint_data = cggmp21_blueprint(); @@ -220,6 +218,7 @@ fn test_request_service() { #[test] fn test_unregister_operator() { ExtBuilder.build().execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); // First register operator (after blueprint creation) let blueprint_data = cggmp21_blueprint(); @@ -269,6 +268,7 @@ fn test_unregister_operator() { #[test] fn test_terminate_service() { ExtBuilder.build().execute_with(|| { + assert_ok!(Services::update_master_blueprint_service_manager(RuntimeOrigin::root(), MBSM)); // First request a service let blueprint_data = cggmp21_blueprint(); diff --git a/primitives/src/services/mod.rs b/primitives/src/services/mod.rs index 7757ce25..117b7aa8 100644 --- a/primitives/src/services/mod.rs +++ b/primitives/src/services/mod.rs @@ -108,9 +108,6 @@ pub struct JobDefinition { /// These are the result, the return values of this job. /// i.e. the output. pub result: BoundedVec, - /// The verifier of the job result. - #[deprecated(note = "Use `blueprint.manager` instead.")] - pub verifier: JobResultVerifier, } #[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)] @@ -272,45 +269,16 @@ impl frame_support::traits::PalletError for TypeCheckError { // -*** Service ***- -/// Service Registration hook is a hook that will be called before registering the restaker as -/// an operator for the service. -#[derive( - Default, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone, Copy, MaxEncodedLen, -)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -pub enum ServiceRegistrationHook { - /// No hook is needed, the restaker will be registered immediately. - #[default] - None, - /// A Smart contract that will be called to determine if the restaker will be registered. - Evm(sp_core::H160), -} - -/// Service Request hook is a hook that will be called before creating a service from the service -/// blueprint. -#[derive( - Default, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone, Copy, MaxEncodedLen, -)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -pub enum ServiceRequestHook { - /// No hook is needed, the caller will get the service created immediately. - #[default] - None, - /// A Smart contract that will be called to determine if the caller meets the requirements to - /// create a service. - Evm(sp_core::H160), -} - -/// Service Blueprint Manager is a smart contract that will manage the service lifecycle. +/// Blueprint Service Manager is a smart contract that will manage the service lifecycle. #[derive(PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone, Copy, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[non_exhaustive] -pub enum BlueprintManager { +pub enum BlueprintServiceManager { /// A Smart contract that will manage the service lifecycle. Evm(sp_core::H160), } -impl BlueprintManager { +impl BlueprintServiceManager { pub fn try_into_evm(self) -> Result { match self { Self::Evm(addr) => Ok(addr), @@ -318,12 +286,33 @@ impl BlueprintManager { } } -impl Default for BlueprintManager { +impl Default for BlueprintServiceManager { fn default() -> Self { Self::Evm(Default::default()) } } +/// Master Blueprint Service Manager Revision. +#[derive( + Default, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone, Copy, MaxEncodedLen, +)] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[non_exhaustive] +pub enum MasterBlueprintServiceManagerRevision { + /// Use Whatever the latest revision available on-chain. + /// + /// This is the default value. + #[default] + #[codec(index = 0)] + Latest, + + /// Use a specific revision number. + /// + /// Note: Must be already deployed on-chain. + #[codec(index = 1)] + Specific(u32), +} + #[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)] #[educe(Default(bound()), Debug(bound()), Clone(bound()), PartialEq(bound()), Eq)] #[scale_info(skip_type_params(C))] @@ -367,18 +356,18 @@ pub struct ServiceBlueprint { pub metadata: ServiceMetadata, /// The job definitions that are available in this service. pub jobs: BoundedVec, C::MaxJobsPerService>, - /// The registration hook that will be called before restaker registration. - #[deprecated(note = "Use `manager` instead.")] - pub registration_hook: ServiceRegistrationHook, /// The parameters that are required for the service registration. pub registration_params: BoundedVec, /// The request hook that will be called before creating a service from the service blueprint. - #[deprecated(note = "Use `manager` instead.")] - pub request_hook: ServiceRequestHook, /// The parameters that are required for the service request. pub request_params: BoundedVec, - /// A Blueprint Manager is a smart contract that implements the `BlueprintManager` interface. - pub manager: BlueprintManager, + /// A Blueprint Manager is a smart contract that implements the `IBlueprintServiceManager` interface. + pub manager: BlueprintServiceManager, + /// The Revision number of the Master Blueprint Service Manager. + /// + /// If not sure what to use, use `MasterBlueprintServiceManagerRevision::default()` which will use + /// the latest revision available. + pub master_manager_revision: MasterBlueprintServiceManagerRevision, /// The gadget that will be executed for the service. pub gadget: Gadget, } @@ -399,6 +388,112 @@ impl ServiceBlueprint { ) -> Result<(), TypeCheckError> { type_checker(&self.request_params, args) } + + /// Converts the struct to ethabi ParamType. + pub fn to_ethabi_param_type() -> ethabi::ParamType { + ethabi::ParamType::Tuple(vec![ + // Service Metadata + ethabi::ParamType::Tuple(vec![ + // Service Name + ethabi::ParamType::String, + // Service Description + ethabi::ParamType::String, + // Service Author + ethabi::ParamType::String, + // Service Category + ethabi::ParamType::String, + // Code Repository + ethabi::ParamType::String, + // Service Logo + ethabi::ParamType::String, + // Service Website + ethabi::ParamType::String, + // Service License + ethabi::ParamType::String, + ]), + // Job Definitions ? + // Registration Parameters ? + // Request Parameters ? + // Blueprint Manager + ethabi::ParamType::Address, + // Master Manager Revision + ethabi::ParamType::Uint(32), + // Gadget ? + ]) + } + + /// Converts the struct to ethabi Param. + pub fn to_ethabi_param() -> ethabi::Param { + ethabi::Param { + name: String::from("blueprint"), + kind: Self::to_ethabi_param_type(), + internal_type: Some(String::from("struct MasterBlueprintServiceManager.Blueprint")), + } + } + + /// Converts the struct to ethabi Token. + pub fn to_ethabi(&self) -> ethabi::Token { + ethabi::Token::Tuple(vec![ + // Service Metadata + ethabi::Token::Tuple(vec![ + // Service Name + ethabi::Token::String(self.metadata.name.as_str().into()), + // Service Description + ethabi::Token::String( + self.metadata + .description + .as_ref() + .map(|v| v.as_str().into()) + .unwrap_or_default(), + ), + // Service Author + ethabi::Token::String( + self.metadata.author.as_ref().map(|v| v.as_str().into()).unwrap_or_default(), + ), + // Service Category + ethabi::Token::String( + self.metadata.category.as_ref().map(|v| v.as_str().into()).unwrap_or_default(), + ), + // Code Repository + ethabi::Token::String( + self.metadata + .code_repository + .as_ref() + .map(|v| v.as_str().into()) + .unwrap_or_default(), + ), + // Service Logo + ethabi::Token::String( + self.metadata.logo.as_ref().map(|v| v.as_str().into()).unwrap_or_default(), + ), + // Service Website + ethabi::Token::String( + self.metadata.website.as_ref().map(|v| v.as_str().into()).unwrap_or_default(), + ), + // Service License + ethabi::Token::String( + self.metadata.license.as_ref().map(|v| v.as_str().into()).unwrap_or_default(), + ), + ]), + // Job Definitions ? + // Registration Parameters ? + // Request Parameters ? + // Blueprint Manager + match self.manager { + BlueprintServiceManager::Evm(addr) => ethabi::Token::Address(addr), + }, + // Master Manager Revision + match self.master_manager_revision { + MasterBlueprintServiceManagerRevision::Latest => { + ethabi::Token::Uint(ethabi::Uint::MAX) + }, + MasterBlueprintServiceManagerRevision::Specific(rev) => { + ethabi::Token::Uint(rev.into()) + }, + }, + // Gadget ? + ]) + } } /// A service request is a request to create a service from a service blueprint. @@ -615,13 +710,13 @@ impl OperatorPreferences { } /// Encode the fields to ethabi bytes. - pub fn to_ethabi(&self) -> Vec { - vec![ethabi::Token::Tuple(vec![ + pub fn to_ethabi(&self) -> ethabi::Token { + ethabi::Token::Tuple(vec![ // operator public key ethabi::Token::Bytes(self.key.0.to_vec()), // price targets self.price_targets.to_ethabi(), - ])] + ]) } } diff --git a/runtime/mainnet/src/tangle_services.rs b/runtime/mainnet/src/tangle_services.rs index 6c522baa..de7b6b27 100644 --- a/runtime/mainnet/src/tangle_services.rs +++ b/runtime/mainnet/src/tangle_services.rs @@ -140,6 +140,9 @@ parameter_types! { #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo, Serialize, Deserialize)] pub const SlashDeferDuration: u32 = 7; + + #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo, Serialize, Deserialize)] + pub const MaxMasterBlueprintServiceManagerVersions: u32 = u32::MAX; } pub type PalletServicesConstraints = pallet_services::types::ConstraintsOf; @@ -173,9 +176,10 @@ impl pallet_services::Config for Runtime { type MaxContainerImageNameLength = MaxContainerImageNameLength; type MaxContainerImageTagLength = MaxContainerImageTagLength; type MaxAssetsPerService = MaxAssetsPerService; + type MaxMasterBlueprintServiceManagerVersions = MaxMasterBlueprintServiceManagerVersions; type Constraints = PalletServicesConstraints; type SlashDeferDuration = SlashDeferDuration; - type SlashOrigin = EnsureRootOrHalfCouncil; + type MasterBlueprintServiceManagerUpdateOrigin = EnsureRootOrHalfCouncil; #[cfg(not(feature = "runtime-benchmarks"))] type OperatorDelegationManager = MultiAssetDelegation; #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/testnet/src/tangle_services.rs b/runtime/testnet/src/tangle_services.rs index afe1ffa2..c7a44766 100644 --- a/runtime/testnet/src/tangle_services.rs +++ b/runtime/testnet/src/tangle_services.rs @@ -137,6 +137,9 @@ parameter_types! { #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo, Serialize, Deserialize)] pub const SlashDeferDuration: u32 = 7; + + #[derive(Default, Copy, Clone, Eq, PartialEq, RuntimeDebug, Encode, Decode, MaxEncodedLen, TypeInfo, Serialize, Deserialize)] + pub const MaxMasterBlueprintServiceManagerVersions: u32 = u32::MAX; } pub type PalletServicesConstraints = pallet_services::types::ConstraintsOf; @@ -172,7 +175,8 @@ impl pallet_services::Config for Runtime { type MaxAssetsPerService = MaxAssetsPerService; type Constraints = PalletServicesConstraints; type SlashDeferDuration = SlashDeferDuration; - type SlashOrigin = EnsureRootOrHalfCouncil; + type MaxMasterBlueprintServiceManagerVersions = MaxMasterBlueprintServiceManagerVersions; + type MasterBlueprintServiceManagerUpdateOrigin = EnsureRootOrHalfCouncil; #[cfg(not(feature = "runtime-benchmarks"))] type OperatorDelegationManager = MultiAssetDelegation; #[cfg(feature = "runtime-benchmarks")] diff --git a/tangle-subxt/Cargo.toml b/tangle-subxt/Cargo.toml index cad2606b..49f8450c 100644 --- a/tangle-subxt/Cargo.toml +++ b/tangle-subxt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tangle-subxt" -version = "0.5.0" +version = "0.6.0" description = "Rust bindings and interface to interact with Tangle Network using subxt" authors = { workspace = true } edition = { workspace = true } @@ -22,16 +22,5 @@ subxt-core = { workspace = true } [features] default = ["std"] -std = [ - "dep:subxt", - "subxt/native", - "subxt/jsonrpsee", - "subxt-core/std", - "subxt-signer/std" -] -web = [ - "dep:subxt", - "subxt/jsonrpsee", - "subxt/web", - "subxt-signer/web" -] +std = ["dep:subxt", "subxt/native", "subxt/jsonrpsee", "subxt-core/std", "subxt-signer/std"] +web = ["dep:subxt", "subxt/jsonrpsee", "subxt/web", "subxt-signer/web"] diff --git a/tangle-subxt/metadata/tangle-testnet-runtime.scale b/tangle-subxt/metadata/tangle-testnet-runtime.scale index 3b04a168..65d427ff 100644 Binary files a/tangle-subxt/metadata/tangle-testnet-runtime.scale and b/tangle-subxt/metadata/tangle-testnet-runtime.scale differ diff --git a/tangle-subxt/src/tangle_testnet_runtime.rs b/tangle-subxt/src/tangle_testnet_runtime.rs index 1c1b70bc..ca0c2a90 100644 --- a/tangle-subxt/src/tangle_testnet_runtime.rs +++ b/tangle-subxt/src/tangle_testnet_runtime.rs @@ -92,7 +92,7 @@ pub mod api { pub mod runtime_apis { use super::root_mod; use super::runtime_types; - use ::subxt_core::ext::codec::Encode; + use ::subxt::ext::subxt_core::ext::codec::Encode; pub struct RuntimeApi; impl RuntimeApi { pub fn core(&self) -> core::Core { @@ -161,11 +161,11 @@ pub mod api { #[doc = " Returns the version of the runtime."] pub fn version( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Version, types::version::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "version", types::Version {}, @@ -181,11 +181,11 @@ pub mod api { pub fn execute_block( &self, block: types::execute_block::Block, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ExecuteBlock, types::execute_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "execute_block", types::ExecuteBlock { block }, @@ -201,11 +201,11 @@ pub mod api { pub fn initialize_block( &self, header: types::initialize_block::Header, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::InitializeBlock, types::initialize_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Core", "initialize_block", types::InitializeBlock { header }, @@ -227,40 +227,48 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Version {} pub mod execute_block { use super::runtime_types; - pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = (); } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExecuteBlock { pub block: execute_block::Block, } @@ -274,18 +282,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InitializeBlock { pub header: initialize_block::Header, } @@ -300,11 +312,11 @@ pub mod api { #[doc = " Returns the metadata of a runtime."] pub fn metadata( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Metadata, types::metadata::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata", types::Metadata {}, @@ -322,11 +334,11 @@ pub mod api { pub fn metadata_at_version( &self, version: types::metadata_at_version::Version, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::MetadataAtVersion, types::metadata_at_version::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata_at_version", types::MetadataAtVersion { version }, @@ -343,11 +355,11 @@ pub mod api { #[doc = " This can be used to call `metadata_at_version`."] pub fn metadata_versions( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::MetadataVersions, types::metadata_versions::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "Metadata", "metadata_versions", types::MetadataVersions {}, @@ -370,18 +382,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Metadata {} pub mod metadata_at_version { use super::runtime_types; @@ -393,18 +409,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MetadataAtVersion { pub version: metadata_at_version::Version, } @@ -412,22 +432,27 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MetadataVersions {} } } @@ -444,11 +469,11 @@ pub mod api { pub fn apply_extrinsic( &self, extrinsic: types::apply_extrinsic::Extrinsic, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ApplyExtrinsic, types::apply_extrinsic::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "apply_extrinsic", types::ApplyExtrinsic { extrinsic }, @@ -462,11 +487,11 @@ pub mod api { #[doc = " Finish the current block."] pub fn finalize_block( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::FinalizeBlock, types::finalize_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "finalize_block", types::FinalizeBlock {}, @@ -481,11 +506,11 @@ pub mod api { pub fn inherent_extrinsics( &self, inherent: types::inherent_extrinsics::Inherent, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::InherentExtrinsics, types::inherent_extrinsics::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "inherent_extrinsics", types::InherentExtrinsics { inherent }, @@ -502,11 +527,11 @@ pub mod api { &self, block: types::check_inherents::Block, data: types::check_inherents::Data, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CheckInherents, types::check_inherents::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BlockBuilder", "check_inherents", types::CheckInherents { block, data }, @@ -522,25 +547,29 @@ pub mod api { use super::runtime_types; pub mod apply_extrinsic { use super::runtime_types; - pub type Extrinsic = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Extrinsic = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; pub mod output { use super::runtime_types; pub type Output = :: core :: result :: Result < :: core :: result :: Result < () , runtime_types :: sp_runtime :: DispatchError > , runtime_types :: sp_runtime :: transaction_validity :: TransactionValidityError > ; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ApplyExtrinsic { pub extrinsic: apply_extrinsic::Extrinsic, } @@ -554,46 +583,54 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FinalizeBlock {} pub mod inherent_extrinsics { use super::runtime_types; pub type Inherent = runtime_types::sp_inherents::InherentData; pub mod output { use super::runtime_types; - pub type Output = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Output = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InherentExtrinsics { pub inherent: inherent_extrinsics::Inherent, } pub mod check_inherents { use super::runtime_types; - pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u64 > , runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub type Data = runtime_types::sp_inherents::InherentData; pub mod output { use super::runtime_types; @@ -601,18 +638,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckInherents { pub block: check_inherents::Block, pub data: check_inherents::Data, @@ -633,19 +674,19 @@ pub mod api { pub fn query_services_with_blueprints_by_operator( &self, operator: types::query_services_with_blueprints_by_operator::Operator, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::QueryServicesWithBlueprintsByOperator, types::query_services_with_blueprints_by_operator::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "ServicesApi", "query_services_with_blueprints_by_operator", types::QueryServicesWithBlueprintsByOperator { operator }, [ - 93u8, 9u8, 183u8, 2u8, 86u8, 16u8, 111u8, 128u8, 149u8, 118u8, 59u8, - 154u8, 105u8, 149u8, 37u8, 231u8, 34u8, 168u8, 172u8, 234u8, 138u8, - 113u8, 121u8, 186u8, 87u8, 73u8, 59u8, 173u8, 183u8, 105u8, 216u8, - 183u8, + 114u8, 198u8, 130u8, 220u8, 208u8, 27u8, 139u8, 174u8, 212u8, 204u8, + 214u8, 62u8, 40u8, 166u8, 131u8, 98u8, 221u8, 20u8, 19u8, 24u8, 40u8, + 253u8, 205u8, 213u8, 16u8, 236u8, 242u8, 255u8, 37u8, 130u8, 85u8, + 91u8, ], ) } @@ -654,25 +695,29 @@ pub mod api { use super::runtime_types; pub mod query_services_with_blueprints_by_operator { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub mod output { use super::runtime_types; - pub type Output = :: core :: result :: Result < :: subxt_core :: alloc :: vec :: Vec < runtime_types :: tangle_primitives :: services :: RpcServicesWithBlueprint < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u64 , :: core :: primitive :: u128 > > , runtime_types :: sp_runtime :: DispatchError > ; + pub type Output = :: core :: result :: Result < :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: tangle_primitives :: services :: RpcServicesWithBlueprint < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u64 , :: core :: primitive :: u128 > > , runtime_types :: sp_runtime :: DispatchError > ; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryServicesWithBlueprintsByOperator { pub operator: query_services_with_blueprints_by_operator::Operator, } @@ -687,11 +732,11 @@ pub mod api { #[doc = " Returns runtime defined pallet_evm::ChainId."] pub fn chain_id( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ChainId, types::chain_id::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "chain_id", types::ChainId {}, @@ -707,11 +752,11 @@ pub mod api { pub fn account_basic( &self, address: types::account_basic::Address, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::AccountBasic, types::account_basic::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "account_basic", types::AccountBasic { address }, @@ -726,11 +771,11 @@ pub mod api { #[doc = " Returns FixedGasPrice::min_gas_price"] pub fn gas_price( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GasPrice, types::gas_price::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "gas_price", types::GasPrice {}, @@ -746,11 +791,11 @@ pub mod api { pub fn account_code_at( &self, address: types::account_code_at::Address, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::AccountCodeAt, types::account_code_at::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "account_code_at", types::AccountCodeAt { address }, @@ -765,11 +810,11 @@ pub mod api { #[doc = " Returns the converted FindAuthor::find_author authority id."] pub fn author( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Author, types::author::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "author", types::Author {}, @@ -786,11 +831,11 @@ pub mod api { &self, address: types::storage_at::Address, index: types::storage_at::Index, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::StorageAt, types::storage_at::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "storage_at", types::StorageAt { address, index }, @@ -813,11 +858,11 @@ pub mod api { nonce: types::call::Nonce, estimate: types::call::Estimate, access_list: types::call::AccessList, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Call, types::call::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "call", types::Call { @@ -850,11 +895,11 @@ pub mod api { nonce: types::create::Nonce, estimate: types::create::Estimate, access_list: types::create::AccessList, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Create, types::create::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "create", types::Create { @@ -878,11 +923,11 @@ pub mod api { #[doc = " Return the current block."] pub fn current_block( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentBlock, types::current_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_block", types::CurrentBlock {}, @@ -897,11 +942,11 @@ pub mod api { #[doc = " Return the current receipt."] pub fn current_receipts( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentReceipts, types::current_receipts::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_receipts", types::CurrentReceipts {}, @@ -916,11 +961,11 @@ pub mod api { #[doc = " Return the current transaction status."] pub fn current_transaction_statuses( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentTransactionStatuses, types::current_transaction_statuses::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_transaction_statuses", types::CurrentTransactionStatuses {}, @@ -934,11 +979,11 @@ pub mod api { } pub fn current_all( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentAll, types::current_all::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "current_all", types::CurrentAll {}, @@ -953,11 +998,11 @@ pub mod api { pub fn extrinsic_filter( &self, xts: types::extrinsic_filter::Xts, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ExtrinsicFilter, types::extrinsic_filter::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "extrinsic_filter", types::ExtrinsicFilter { xts }, @@ -972,11 +1017,11 @@ pub mod api { #[doc = " Return the elasticity multiplier."] pub fn elasticity( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Elasticity, types::elasticity::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "elasticity", types::Elasticity {}, @@ -991,11 +1036,11 @@ pub mod api { #[doc = " is supported."] pub fn gas_limit_multiplier_support( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GasLimitMultiplierSupport, types::gas_limit_multiplier_support::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "gas_limit_multiplier_support", types::GasLimitMultiplierSupport {}, @@ -1011,11 +1056,11 @@ pub mod api { pub fn pending_block( &self, xts: types::pending_block::Xts, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::PendingBlock, types::pending_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "pending_block", types::PendingBlock { xts }, @@ -1035,11 +1080,11 @@ pub mod api { pub fn initialize_pending_block( &self, header: types::initialize_pending_block::Header, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::InitializePendingBlock, types::initialize_pending_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "EthereumRuntimeRPCApi", "initialize_pending_block", types::InitializePendingBlock { header }, @@ -1062,40 +1107,48 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ChainId {} pub mod account_basic { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; pub mod output { use super::runtime_types; pub type Output = runtime_types::evm::backend::Basic; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountBasic { pub address: account_basic::Address, } @@ -1107,40 +1160,49 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GasPrice {} pub mod account_code_at { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountCodeAt { pub address: account_code_at::Address, } @@ -1148,54 +1210,63 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::utils::H160; + pub type Output = ::subxt::ext::subxt_core::utils::H160; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Author {} pub mod storage_at { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; pub type Index = runtime_types::primitive_types::U256; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::utils::H256; + pub type Output = ::subxt::ext::subxt_core::utils::H256; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct StorageAt { pub address: storage_at::Address, pub index: storage_at::Index, } pub mod call { use super::runtime_types; - pub type From = ::subxt_core::utils::H160; - pub type To = ::subxt_core::utils::H160; - pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt::ext::subxt_core::utils::H160; + pub type To = ::subxt::ext::subxt_core::utils::H160; + pub type Data = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -1205,34 +1276,40 @@ pub mod api { pub type Nonce = ::core::option::Option; pub type Estimate = ::core::primitive::bool; pub type AccessList = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, >; pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< runtime_types::fp_evm::ExecutionInfoV2< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, runtime_types::sp_runtime::DispatchError, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Call { pub from: call::From, pub to: call::To, @@ -1247,8 +1324,9 @@ pub mod api { } pub mod create { use super::runtime_types; - pub type From = ::subxt_core::utils::H160; - pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt::ext::subxt_core::utils::H160; + pub type Data = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -1258,32 +1336,40 @@ pub mod api { pub type Nonce = ::core::option::Option; pub type Estimate = ::core::primitive::bool; pub type AccessList = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, >; pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< - runtime_types::fp_evm::ExecutionInfoV2<::subxt_core::utils::H160>, + runtime_types::fp_evm::ExecutionInfoV2< + ::subxt::ext::subxt_core::utils::H160, + >, runtime_types::sp_runtime::DispatchError, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Create { pub from: create::From, pub data: create::Data, @@ -1307,66 +1393,80 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentBlock {} pub mod current_receipts { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::receipt::ReceiptV3, >, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentReceipts {} pub mod current_transaction_statuses { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt_core::alloc::vec::Vec, + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::fp_rpc::TransactionStatus, + >, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentTransactionStatuses {} pub mod current_all { use super::runtime_types; @@ -1379,12 +1479,12 @@ pub mod api { >, >, ::core::option::Option< - ::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::receipt::ReceiptV3, >, >, ::core::option::Option< - ::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::fp_rpc::TransactionStatus, >, >, @@ -1392,42 +1492,50 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentAll {} pub mod extrinsic_filter { use super::runtime_types; - pub type Xts = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Xts = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::alloc::vec::Vec< + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExtrinsicFilter { pub xts: extrinsic_filter::Xts, } @@ -1441,18 +1549,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Elasticity {} pub mod gas_limit_multiplier_support { use super::runtime_types; @@ -1462,22 +1574,26 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GasLimitMultiplierSupport {} pub mod pending_block { use super::runtime_types; - pub type Xts = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Xts = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = ( @@ -1487,7 +1603,7 @@ pub mod api { >, >, ::core::option::Option< - ::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::fp_rpc::TransactionStatus, >, >, @@ -1495,18 +1611,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PendingBlock { pub xts: pending_block::Xts, } @@ -1520,18 +1640,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InitializePendingBlock { pub header: initialize_pending_block::Header, } @@ -1545,11 +1669,11 @@ pub mod api { pub fn convert_transaction( &self, transaction: types::convert_transaction::Transaction, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ConvertTransaction, types::convert_transaction::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "ConvertTransactionRuntimeApi", "convert_transaction", types::ConvertTransaction { transaction }, @@ -1568,22 +1692,26 @@ pub mod api { pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; pub mod output { use super::runtime_types; - pub type Output = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Output = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ConvertTransaction { pub transaction: convert_transaction::Transaction, } @@ -1609,11 +1737,11 @@ pub mod api { source: types::validate_transaction::Source, tx: types::validate_transaction::Tx, block_hash: types::validate_transaction::BlockHash, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ValidateTransaction, types::validate_transaction::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TaggedTransactionQueue", "validate_transaction", types::ValidateTransaction { source, tx, block_hash }, @@ -1631,26 +1759,30 @@ pub mod api { use super::runtime_types; pub type Source = runtime_types::sp_runtime::transaction_validity::TransactionSource; - pub type Tx = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; - pub type BlockHash = ::subxt_core::utils::H256; + pub type Tx = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; pub mod output { use super::runtime_types; pub type Output = :: core :: result :: Result < runtime_types :: sp_runtime :: transaction_validity :: ValidTransaction , runtime_types :: sp_runtime :: transaction_validity :: TransactionValidityError > ; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidateTransaction { pub source: validate_transaction::Source, pub tx: validate_transaction::Tx, @@ -1668,11 +1800,11 @@ pub mod api { pub fn offchain_worker( &self, header: types::offchain_worker::Header, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::OffchainWorker, types::offchain_worker::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "OffchainWorkerApi", "offchain_worker", types::OffchainWorker { header }, @@ -1696,18 +1828,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OffchainWorker { pub header: offchain_worker::Header, } @@ -1729,11 +1865,11 @@ pub mod api { pub fn generate_session_keys( &self, seed: types::generate_session_keys::Seed, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GenerateSessionKeys, types::generate_session_keys::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "SessionKeys", "generate_session_keys", types::GenerateSessionKeys { seed }, @@ -1750,11 +1886,11 @@ pub mod api { pub fn decode_session_keys( &self, encoded: types::decode_session_keys::Encoded, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::DecodeSessionKeys, types::decode_session_keys::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "SessionKeys", "decode_session_keys", types::DecodeSessionKeys { encoded }, @@ -1772,55 +1908,65 @@ pub mod api { pub mod generate_session_keys { use super::runtime_types; pub type Seed = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateSessionKeys { pub seed: generate_session_keys::Seed, } pub mod decode_session_keys { use super::runtime_types; - pub type Encoded = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Encoded = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<( - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, runtime_types::sp_core::crypto::KeyTypeId, )>, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DecodeSessionKeys { pub encoded: decode_session_keys::Encoded, } @@ -1835,11 +1981,11 @@ pub mod api { #[doc = " Return the configuration for BABE."] pub fn configuration( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::Configuration, types::configuration::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "configuration", types::Configuration {}, @@ -1853,11 +1999,11 @@ pub mod api { #[doc = " Returns the slot that started the current epoch."] pub fn current_epoch_start( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentEpochStart, types::current_epoch_start::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "current_epoch_start", types::CurrentEpochStart {}, @@ -1872,11 +2018,11 @@ pub mod api { #[doc = " Returns information regarding the current epoch."] pub fn current_epoch( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentEpoch, types::current_epoch::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "current_epoch", types::CurrentEpoch {}, @@ -1892,11 +2038,11 @@ pub mod api { #[doc = " previously announced)."] pub fn next_epoch( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::NextEpoch, types::next_epoch::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "next_epoch", types::NextEpoch {}, @@ -1923,11 +2069,11 @@ pub mod api { &self, slot: types::generate_key_ownership_proof::Slot, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { slot, authority_id }, @@ -1950,11 +2096,11 @@ pub mod api { &self, equivocation_proof : types :: submit_report_equivocation_unsigned_extrinsic :: EquivocationProof, key_owner_proof : types :: submit_report_equivocation_unsigned_extrinsic :: KeyOwnerProof, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "BabeApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -1980,18 +2126,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Configuration {} pub mod current_epoch_start { use super::runtime_types; @@ -2001,18 +2151,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentEpochStart {} pub mod current_epoch { use super::runtime_types; @@ -2022,18 +2176,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentEpoch {} pub mod next_epoch { use super::runtime_types; @@ -2043,18 +2201,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct NextEpoch {} pub mod generate_key_ownership_proof { use super::runtime_types; @@ -2068,18 +2230,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateKeyOwnershipProof { pub slot: generate_key_ownership_proof::Slot, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2101,18 +2267,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2131,11 +2301,11 @@ pub mod api { pub fn account_nonce( &self, account: types::account_nonce::Account, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::AccountNonce, types::account_nonce::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "AccountNonceApi", "account_nonce", types::AccountNonce { account }, @@ -2152,25 +2322,29 @@ pub mod api { use super::runtime_types; pub mod account_nonce { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub mod output { use super::runtime_types; pub type Output = ::core::primitive::u32; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountNonce { pub account: account_nonce::Account, } @@ -2185,11 +2359,11 @@ pub mod api { &self, uxt: types::query_info::Uxt, len: types::query_info::Len, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::QueryInfo, types::query_info::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_info", types::QueryInfo { uxt, len }, @@ -2204,11 +2378,11 @@ pub mod api { &self, uxt: types::query_fee_details::Uxt, len: types::query_fee_details::Len, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::QueryFeeDetails, types::query_fee_details::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_fee_details", types::QueryFeeDetails { uxt, len }, @@ -2222,11 +2396,11 @@ pub mod api { pub fn query_weight_to_fee( &self, weight: types::query_weight_to_fee::Weight, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::QueryWeightToFee, types::query_weight_to_fee::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_weight_to_fee", types::QueryWeightToFee { weight }, @@ -2241,11 +2415,11 @@ pub mod api { pub fn query_length_to_fee( &self, length: types::query_length_to_fee::Length, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::QueryLengthToFee, types::query_length_to_fee::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TransactionPaymentApi", "query_length_to_fee", types::QueryLengthToFee { length }, @@ -2261,7 +2435,7 @@ pub mod api { use super::runtime_types; pub mod query_info { use super::runtime_types; - pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -2273,25 +2447,29 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryInfo { pub uxt: query_info::Uxt, pub len: query_info::Len, } pub mod query_fee_details { use super::runtime_types; - pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; + pub type Uxt = runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -2302,18 +2480,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryFeeDetails { pub uxt: query_fee_details::Uxt, pub len: query_fee_details::Len, @@ -2327,18 +2509,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryWeightToFee { pub weight: query_weight_to_fee::Weight, } @@ -2351,18 +2537,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryLengthToFee { pub length: query_length_to_fee::Length, } @@ -2390,11 +2580,11 @@ pub mod api { #[doc = " is finalized by the authorities from block B-1."] pub fn grandpa_authorities( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GrandpaAuthorities, types::grandpa_authorities::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "grandpa_authorities", types::GrandpaAuthorities {}, @@ -2417,11 +2607,11 @@ pub mod api { &self, equivocation_proof : types :: submit_report_equivocation_unsigned_extrinsic :: EquivocationProof, key_owner_proof : types :: submit_report_equivocation_unsigned_extrinsic :: KeyOwnerProof, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2451,11 +2641,11 @@ pub mod api { &self, set_id: types::generate_key_ownership_proof::SetId, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { set_id, authority_id }, @@ -2469,11 +2659,11 @@ pub mod api { #[doc = " Get current GRANDPA authority set id."] pub fn current_set_id( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::CurrentSetId, types::current_set_id::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GrandpaApi", "current_set_id", types::CurrentSetId {}, @@ -2492,31 +2682,35 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::subxt_core::alloc::vec::Vec<( + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GrandpaAuthorities {} pub mod submit_report_equivocation_unsigned_extrinsic { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_runtime::OpaqueValue; @@ -2526,18 +2720,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2555,18 +2753,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateKeyOwnershipProof { pub set_id: generate_key_ownership_proof::SetId, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2579,18 +2781,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentSetId {} } } @@ -2604,11 +2810,11 @@ pub mod api { extrinsics: types::trace_transaction::Extrinsics, transaction: types::trace_transaction::Transaction, header: types::trace_transaction::Header, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::TraceTransaction, types::trace_transaction::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_transaction", types::TraceTransaction { extrinsics, transaction, header }, @@ -2625,11 +2831,11 @@ pub mod api { extrinsics: types::trace_block::Extrinsics, known_transactions: types::trace_block::KnownTransactions, header: types::trace_block::Header, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::TraceBlock, types::trace_block::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_block", types::TraceBlock { extrinsics, known_transactions, header }, @@ -2653,11 +2859,11 @@ pub mod api { max_priority_fee_per_gas: types::trace_call::MaxPriorityFeePerGas, nonce: types::trace_call::Nonce, access_list: types::trace_call::AccessList, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::TraceCall, types::trace_call::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "DebugRuntimeApi", "trace_call", types::TraceCall { @@ -2684,7 +2890,7 @@ pub mod api { use super::runtime_types; pub mod trace_transaction { use super::runtime_types; - pub type Extrinsics = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type Extrinsics = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; @@ -2695,18 +2901,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TraceTransaction { pub extrinsics: trace_transaction::Extrinsics, pub transaction: trace_transaction::Transaction, @@ -2714,9 +2924,10 @@ pub mod api { } pub mod trace_block { use super::runtime_types; - pub type Extrinsics = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; - pub type KnownTransactions = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; + pub type Extrinsics = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type KnownTransactions = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; pub mod output { @@ -2726,18 +2937,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TraceBlock { pub extrinsics: trace_block::Extrinsics, pub known_transactions: trace_block::KnownTransactions, @@ -2747,9 +2962,10 @@ pub mod api { use super::runtime_types; pub type Header = runtime_types::sp_runtime::generic::header::Header<::core::primitive::u64>; - pub type From = ::subxt_core::utils::H160; - pub type To = ::subxt_core::utils::H160; - pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt::ext::subxt_core::utils::H160; + pub type To = ::subxt::ext::subxt_core::utils::H160; + pub type Data = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = runtime_types::primitive_types::U256; pub type MaxFeePerGas = @@ -2758,9 +2974,11 @@ pub mod api { ::core::option::Option; pub type Nonce = ::core::option::Option; pub type AccessList = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, >; pub mod output { @@ -2770,18 +2988,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TraceCall { pub header: trace_call::Header, pub from: trace_call::From, @@ -2805,11 +3027,11 @@ pub mod api { &self, xt_ready: types::extrinsic_filter::XtReady, xt_future: types::extrinsic_filter::XtFuture, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::ExtrinsicFilter, types::extrinsic_filter::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "TxPoolRuntimeApi", "extrinsic_filter", types::ExtrinsicFilter { xt_ready, xt_future }, @@ -2825,26 +3047,30 @@ pub mod api { use super::runtime_types; pub mod extrinsic_filter { use super::runtime_types; - pub type XtReady = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; - pub type XtFuture = :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type XtReady = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; + pub type XtFuture = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: fp_self_contained :: unchecked_extrinsic :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , runtime_types :: tangle_testnet_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment , runtime_types :: frame_metadata_hash_extension :: CheckMetadataHash ,) > > ; pub mod output { use super::runtime_types; pub type Output = runtime_types::rpc_primitives_txpool::TxPoolResponse; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExtrinsicFilter { pub xt_ready: extrinsic_filter::XtReady, pub xt_future: extrinsic_filter::XtFuture, @@ -2869,11 +3095,11 @@ pub mod api { pub fn build_state( &self, json: types::build_state::Json, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::BuildState, types::build_state::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "build_state", types::BuildState { json }, @@ -2901,11 +3127,11 @@ pub mod api { pub fn get_preset( &self, id: types::get_preset::Id, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::GetPreset, types::get_preset::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "get_preset", types::GetPreset { id }, @@ -2923,11 +3149,11 @@ pub mod api { #[doc = " no named presets are provided by the runtime the list is empty."] pub fn preset_names( &self, - ) -> ::subxt_core::runtime_api::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload< types::PresetNames, types::preset_names::output::Output, > { - ::subxt_core::runtime_api::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::runtime_api::payload::StaticPayload::new_static( "GenesisBuilder", "preset_names", types::PresetNames {}, @@ -2944,52 +3170,64 @@ pub mod api { use super::runtime_types; pub mod build_state { use super::runtime_types; - pub type Json = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Json = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; - pub type Output = - ::core::result::Result<(), ::subxt_core::alloc::string::String>; + pub type Output = ::core::result::Result< + (), + ::subxt::ext::subxt_core::alloc::string::String, + >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BuildState { pub json: build_state::Json, } pub mod get_preset { use super::runtime_types; - pub type Id = ::core::option::Option<::subxt_core::alloc::string::String>; + pub type Id = + ::core::option::Option<::subxt::ext::subxt_core::alloc::string::String>; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GetPreset { pub id: get_preset::Id, } @@ -2997,23 +3235,28 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = - ::subxt_core::alloc::vec::Vec<::subxt_core::alloc::string::String>; + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::string::String, + >; } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PresetNames {} } } @@ -3365,7 +3608,7 @@ pub mod api { } } #[doc = r" check whether the metadata provided is aligned with this statically generated code."] - pub fn is_codegen_valid_for(metadata: &::subxt_core::Metadata) -> bool { + pub fn is_codegen_valid_for(metadata: &::subxt::ext::subxt_core::Metadata) -> bool { let runtime_metadata_hash = metadata .hasher() .only_these_pallets(&PALLETS) @@ -3373,9 +3616,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 207u8, 175u8, 106u8, 245u8, 254u8, 86u8, 74u8, 249u8, 55u8, 58u8, 240u8, 101u8, - 226u8, 64u8, 118u8, 186u8, 120u8, 122u8, 20u8, 139u8, 157u8, 90u8, 170u8, 212u8, - 185u8, 207u8, 70u8, 126u8, 166u8, 12u8, 150u8, 192u8, + 102u8, 109u8, 65u8, 200u8, 236u8, 175u8, 150u8, 143u8, 172u8, 190u8, 155u8, 103u8, + 18u8, 88u8, 214u8, 45u8, 15u8, 100u8, 23u8, 37u8, 237u8, 248u8, 213u8, 119u8, + 244u8, 80u8, 173u8, 160u8, 101u8, 151u8, 156u8, 27u8, ] } pub mod system { @@ -3392,18 +3635,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Make some on-chain remark."] #[doc = ""] #[doc = "Can be executed by every `origin`."] @@ -3412,25 +3659,30 @@ pub mod api { } pub mod remark { use super::runtime_types; - pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for Remark { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Remark { const PALLET: &'static str = "System"; const CALL: &'static str = "remark"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the number of pages in the WebAssembly environment's heap."] pub struct SetHeapPages { pub pages: set_heap_pages::Pages, @@ -3439,48 +3691,57 @@ pub mod api { use super::runtime_types; pub type Pages = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for SetHeapPages { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHeapPages { const PALLET: &'static str = "System"; const CALL: &'static str = "set_heap_pages"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the new runtime code."] pub struct SetCode { pub code: set_code::Code, } pub mod set_code { use super::runtime_types; - pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCode { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCode { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the new runtime code without doing any checks of the given `code`."] #[doc = ""] #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] @@ -3490,80 +3751,93 @@ pub mod api { } pub mod set_code_without_checks { use super::runtime_types; - pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCodeWithoutChecks { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCodeWithoutChecks { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code_without_checks"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set some items of storage."] pub struct SetStorage { pub items: set_storage::Items, } pub mod set_storage { use super::runtime_types; - pub type Items = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub type Items = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetStorage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "set_storage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Kill some items from storage."] pub struct KillStorage { pub keys: kill_storage::Keys, } pub mod kill_storage { use super::runtime_types; - pub type Keys = ::subxt_core::alloc::vec::Vec< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub type Keys = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >; } - impl ::subxt_core::blocks::StaticExtrinsic for KillStorage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_storage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Kill all storage items with a key that starts with the given prefix."] #[doc = ""] #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] @@ -3574,51 +3848,61 @@ pub mod api { } pub mod kill_prefix { use super::runtime_types; - pub type Prefix = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Prefix = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Subkeys = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for KillPrefix { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPrefix { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_prefix"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Make some on-chain remark and emit event."] pub struct RemarkWithEvent { pub remark: remark_with_event::Remark, } pub mod remark_with_event { use super::runtime_types; - pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for RemarkWithEvent { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemarkWithEvent { const PALLET: &'static str = "System"; const CALL: &'static str = "remark_with_event"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] #[doc = ""] @@ -3628,25 +3912,29 @@ pub mod api { } pub mod authorize_upgrade { use super::runtime_types; - pub type CodeHash = ::subxt_core::utils::H256; + pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgrade { const PALLET: &'static str = "System"; const CALL: &'static str = "authorize_upgrade"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] #[doc = ""] @@ -3660,25 +3948,29 @@ pub mod api { } pub mod authorize_upgrade_without_checks { use super::runtime_types; - pub type CodeHash = ::subxt_core::utils::H256; + pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgradeWithoutChecks { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AuthorizeUpgradeWithoutChecks { const PALLET: &'static str = "System"; const CALL: &'static str = "authorize_upgrade_without_checks"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] #[doc = ""] #[doc = "If the authorization required a version check, this call will ensure the spec name"] @@ -3693,9 +3985,10 @@ pub mod api { } pub mod apply_authorized_upgrade { use super::runtime_types; - pub type Code = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Code = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for ApplyAuthorizedUpgrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApplyAuthorizedUpgrade { const PALLET: &'static str = "System"; const CALL: &'static str = "apply_authorized_upgrade"; } @@ -3708,8 +4001,8 @@ pub mod api { pub fn remark( &self, remark: types::remark::Remark, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "remark", types::Remark { remark }, @@ -3725,8 +4018,8 @@ pub mod api { pub fn set_heap_pages( &self, pages: types::set_heap_pages::Pages, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_heap_pages", types::SetHeapPages { pages }, @@ -3742,8 +4035,8 @@ pub mod api { pub fn set_code( &self, code: types::set_code::Code, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_code", types::SetCode { code }, @@ -3761,8 +4054,9 @@ pub mod api { pub fn set_code_without_checks( &self, code: types::set_code_without_checks::Code, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_code_without_checks", types::SetCodeWithoutChecks { code }, @@ -3778,8 +4072,8 @@ pub mod api { pub fn set_storage( &self, items: types::set_storage::Items, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "set_storage", types::SetStorage { items }, @@ -3795,8 +4089,8 @@ pub mod api { pub fn kill_storage( &self, keys: types::kill_storage::Keys, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "kill_storage", types::KillStorage { keys }, @@ -3816,8 +4110,8 @@ pub mod api { &self, prefix: types::kill_prefix::Prefix, subkeys: types::kill_prefix::Subkeys, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "kill_prefix", types::KillPrefix { prefix, subkeys }, @@ -3833,8 +4127,8 @@ pub mod api { pub fn remark_with_event( &self, remark: types::remark_with_event::Remark, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "remark_with_event", types::RemarkWithEvent { remark }, @@ -3852,8 +4146,8 @@ pub mod api { pub fn authorize_upgrade( &self, code_hash: types::authorize_upgrade::CodeHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "authorize_upgrade", types::AuthorizeUpgrade { code_hash }, @@ -3876,9 +4170,10 @@ pub mod api { pub fn authorize_upgrade_without_checks( &self, code_hash: types::authorize_upgrade_without_checks::CodeHash, - ) -> ::subxt_core::tx::payload::StaticPayload - { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::AuthorizeUpgradeWithoutChecks, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "authorize_upgrade_without_checks", types::AuthorizeUpgradeWithoutChecks { code_hash }, @@ -3902,8 +4197,10 @@ pub mod api { pub fn apply_authorized_upgrade( &self, code: types::apply_authorized_upgrade::Code, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ApplyAuthorizedUpgrade, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "System", "apply_authorized_upgrade", types::ApplyAuthorizedUpgrade { code }, @@ -3921,18 +4218,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic completed successfully."] pub struct ExtrinsicSuccess { pub dispatch_info: extrinsic_success::DispatchInfo, @@ -3941,23 +4238,23 @@ pub mod api { use super::runtime_types; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt_core::events::StaticEvent for ExtrinsicSuccess { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicSuccess { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicSuccess"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic failed."] pub struct ExtrinsicFailed { pub dispatch_error: extrinsic_failed::DispatchError, @@ -3968,92 +4265,92 @@ pub mod api { pub type DispatchError = runtime_types::sp_runtime::DispatchError; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt_core::events::StaticEvent for ExtrinsicFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicFailed { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "`:code` was updated."] pub struct CodeUpdated; - impl ::subxt_core::events::StaticEvent for CodeUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for CodeUpdated { const PALLET: &'static str = "System"; const EVENT: &'static str = "CodeUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new account was created."] pub struct NewAccount { pub account: new_account::Account, } pub mod new_account { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for NewAccount { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "NewAccount"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was reaped."] pub struct KilledAccount { pub account: killed_account::Account, } pub mod killed_account { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for KilledAccount { + impl ::subxt::ext::subxt_core::events::StaticEvent for KilledAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "KilledAccount"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "On on-chain remark happened."] pub struct Remarked { pub sender: remarked::Sender, @@ -4061,26 +4358,26 @@ pub mod api { } pub mod remarked { use super::runtime_types; - pub type Sender = ::subxt_core::utils::AccountId32; - pub type Hash = ::subxt_core::utils::H256; + pub type Sender = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Remarked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Remarked { const PALLET: &'static str = "System"; const EVENT: &'static str = "Remarked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An upgrade was authorized."] pub struct UpgradeAuthorized { pub code_hash: upgrade_authorized::CodeHash, @@ -4088,10 +4385,10 @@ pub mod api { } pub mod upgrade_authorized { use super::runtime_types; - pub type CodeHash = ::subxt_core::utils::H256; + pub type CodeHash = ::subxt::ext::subxt_core::utils::H256; pub type CheckVersion = ::core::primitive::bool; } - impl ::subxt_core::events::StaticEvent for UpgradeAuthorized { + impl ::subxt::ext::subxt_core::events::StaticEvent for UpgradeAuthorized { const PALLET: &'static str = "System"; const EVENT: &'static str = "UpgradeAuthorized"; } @@ -4106,7 +4403,7 @@ pub mod api { ::core::primitive::u32, runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod extrinsic_count { use super::runtime_types; @@ -4128,12 +4425,13 @@ pub mod api { } pub mod block_hash { use super::runtime_types; - pub type BlockHash = ::subxt_core::utils::H256; + pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u64; } pub mod extrinsic_data { use super::runtime_types; - pub type ExtrinsicData = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type ExtrinsicData = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Param0 = ::core::primitive::u32; } pub mod number { @@ -4142,7 +4440,7 @@ pub mod api { } pub mod parent_hash { use super::runtime_types; - pub type ParentHash = ::subxt_core::utils::H256; + pub type ParentHash = ::subxt::ext::subxt_core::utils::H256; } pub mod digest { use super::runtime_types; @@ -4150,10 +4448,10 @@ pub mod api { } pub mod events { use super::runtime_types; - pub type Events = ::subxt_core::alloc::vec::Vec< + pub type Events = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::frame_system::EventRecord< runtime_types::tangle_testnet_runtime::RuntimeEvent, - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >; } @@ -4163,11 +4461,11 @@ pub mod api { } pub mod event_topics { use super::runtime_types; - pub type EventTopics = ::subxt_core::alloc::vec::Vec<( + pub type EventTopics = ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u64, ::core::primitive::u32, )>; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod last_runtime_upgrade { use super::runtime_types; @@ -4197,14 +4495,14 @@ pub mod api { #[doc = " The full account information for a particular account ID."] pub fn account_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "Account", (), @@ -4219,17 +4517,21 @@ pub mod api { pub fn account( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "Account", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 14u8, 233u8, 115u8, 214u8, 0u8, 109u8, 222u8, 121u8, 162u8, 65u8, 60u8, 175u8, 209u8, 79u8, 222u8, 124u8, 22u8, 235u8, 138u8, 176u8, 133u8, @@ -4240,14 +4542,14 @@ pub mod api { #[doc = " Total extrinsics count for the current block."] pub fn extrinsic_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::extrinsic_count::ExtrinsicCount, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicCount", (), @@ -4262,14 +4564,14 @@ pub mod api { #[doc = " Whether all inherents have been applied."] pub fn inherents_applied( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::inherents_applied::InherentsApplied, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "InherentsApplied", (), @@ -4283,14 +4585,14 @@ pub mod api { #[doc = " The current weight for the block."] pub fn block_weight( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::block_weight::BlockWeight, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockWeight", (), @@ -4304,14 +4606,14 @@ pub mod api { #[doc = " Total length (in bytes) for all extrinsics put together, for the current block."] pub fn all_extrinsics_len( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::all_extrinsics_len::AllExtrinsicsLen, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "AllExtrinsicsLen", (), @@ -4326,14 +4628,14 @@ pub mod api { #[doc = " Map of block numbers to block hashes."] pub fn block_hash_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::block_hash::BlockHash, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockHash", (), @@ -4348,17 +4650,21 @@ pub mod api { pub fn block_hash( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::block_hash::Param0, + >, types::block_hash::BlockHash, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "BlockHash", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 231u8, 203u8, 53u8, 62u8, 34u8, 38u8, 27u8, 62u8, 10u8, 209u8, 96u8, 2u8, 207u8, 136u8, 240u8, 67u8, 183u8, 74u8, 239u8, 218u8, 18u8, 200u8, @@ -4369,14 +4675,14 @@ pub mod api { #[doc = " Extrinsics data for the current block (maps an extrinsic's index to its data)."] pub fn extrinsic_data_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::extrinsic_data::ExtrinsicData, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicData", (), @@ -4391,17 +4697,21 @@ pub mod api { pub fn extrinsic_data( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::extrinsic_data::Param0, + >, types::extrinsic_data::ExtrinsicData, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "ExtrinsicData", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 160u8, 180u8, 122u8, 18u8, 196u8, 26u8, 2u8, 37u8, 115u8, 232u8, 133u8, 220u8, 106u8, 245u8, 4u8, 129u8, 42u8, 84u8, 241u8, 45u8, 199u8, 179u8, @@ -4412,14 +4722,14 @@ pub mod api { #[doc = " The current block number being processed. Set by `execute_block`."] pub fn number( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::number::Number, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "Number", (), @@ -4433,14 +4743,14 @@ pub mod api { #[doc = " Hash of the previous block."] pub fn parent_hash( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::parent_hash::ParentHash, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "ParentHash", (), @@ -4454,14 +4764,14 @@ pub mod api { #[doc = " Digest of the current block, also part of the block header."] pub fn digest( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::digest::Digest, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "Digest", (), @@ -4481,36 +4791,35 @@ pub mod api { #[doc = " just in case someone still reads them from within the runtime."] pub fn events( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::events::Events, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "Events", (), [ - 56u8, 155u8, 250u8, 14u8, 148u8, 112u8, 165u8, 215u8, 135u8, 185u8, - 15u8, 119u8, 204u8, 11u8, 221u8, 230u8, 37u8, 78u8, 39u8, 82u8, 212u8, - 191u8, 108u8, 110u8, 109u8, 92u8, 60u8, 172u8, 192u8, 187u8, 27u8, - 212u8, + 120u8, 166u8, 58u8, 107u8, 246u8, 11u8, 96u8, 144u8, 72u8, 132u8, + 146u8, 200u8, 157u8, 71u8, 162u8, 168u8, 117u8, 62u8, 31u8, 62u8, 7u8, + 68u8, 102u8, 178u8, 57u8, 35u8, 146u8, 167u8, 3u8, 160u8, 81u8, 176u8, ], ) } #[doc = " The number of events in the `Events` list."] pub fn event_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::event_count::EventCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "EventCount", (), @@ -4534,14 +4843,14 @@ pub mod api { #[doc = " no notification will be triggered thus the event might be lost."] pub fn event_topics_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::event_topics::EventTopics, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "EventTopics", (), @@ -4565,17 +4874,21 @@ pub mod api { pub fn event_topics( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::event_topics::Param0, + >, types::event_topics::EventTopics, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "EventTopics", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 190u8, 220u8, 184u8, 246u8, 192u8, 219u8, 183u8, 210u8, 216u8, 1u8, 239u8, 142u8, 255u8, 35u8, 134u8, 39u8, 114u8, 27u8, 34u8, 194u8, 90u8, @@ -4586,14 +4899,14 @@ pub mod api { #[doc = " Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened."] pub fn last_runtime_upgrade( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::last_runtime_upgrade::LastRuntimeUpgrade, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "LastRuntimeUpgrade", (), @@ -4607,14 +4920,14 @@ pub mod api { #[doc = " True if we have upgraded so that `type RefCount` is `u32`. False (default) if not."] pub fn upgraded_to_u32_ref_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::upgraded_to_u32_ref_count::UpgradedToU32RefCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "UpgradedToU32RefCount", (), @@ -4629,14 +4942,14 @@ pub mod api { #[doc = " (default) if not."] pub fn upgraded_to_triple_ref_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::upgraded_to_triple_ref_count::UpgradedToTripleRefCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "UpgradedToTripleRefCount", (), @@ -4651,14 +4964,14 @@ pub mod api { #[doc = " The execution phase of the block."] pub fn execution_phase( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::execution_phase::ExecutionPhase, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "ExecutionPhase", (), @@ -4672,14 +4985,14 @@ pub mod api { #[doc = " `Some` if a code upgrade has been authorized."] pub fn authorized_upgrade( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::authorized_upgrade::AuthorizedUpgrade, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "System", "AuthorizedUpgrade", (), @@ -4699,10 +5012,10 @@ pub mod api { #[doc = " Block & extrinsics weights: base values and limits."] pub fn block_weights( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::frame_system::limits::BlockWeights, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockWeights", [ @@ -4715,10 +5028,10 @@ pub mod api { #[doc = " The maximum length of a block (in bytes)."] pub fn block_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::frame_system::limits::BlockLength, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockLength", [ @@ -4731,8 +5044,10 @@ pub mod api { #[doc = " Maximum number of block number to block hash mappings to keep (oldest pruned first)."] pub fn block_hash_count( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "BlockHashCount", [ @@ -4746,10 +5061,10 @@ pub mod api { #[doc = " The weight of runtime database operations the runtime can invoke."] pub fn db_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::RuntimeDbWeight, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "DbWeight", [ @@ -4763,10 +5078,10 @@ pub mod api { #[doc = " Get the chain's in-code version."] pub fn version( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_version::RuntimeVersion, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "Version", [ @@ -4784,8 +5099,10 @@ pub mod api { #[doc = " an identifier of the chain."] pub fn ss58_prefix( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u16> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u16, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "System", "SS58Prefix", [ @@ -4810,18 +5127,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the current time."] #[doc = ""] #[doc = "This call should be invoked exactly once per block. It will panic at the finalization"] @@ -4849,7 +5170,7 @@ pub mod api { use super::runtime_types; pub type Now = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for Set { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Set { const PALLET: &'static str = "Timestamp"; const CALL: &'static str = "set"; } @@ -4878,8 +5199,8 @@ pub mod api { pub fn set( &self, now: types::set::Now, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Timestamp", "set", types::Set { now }, @@ -4910,14 +5231,14 @@ pub mod api { #[doc = " The current time for the current block."] pub fn now( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::now::Now, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Timestamp", "Now", (), @@ -4934,14 +5255,14 @@ pub mod api { #[doc = " It is then checked at the end of each block execution in the `on_finalize` hook."] pub fn did_update( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::did_update::DidUpdate, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Timestamp", "DidUpdate", (), @@ -4967,8 +5288,10 @@ pub mod api { #[doc = " period on default settings."] pub fn minimum_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Timestamp", "MinimumPeriod", [ @@ -4996,50 +5319,59 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] pub struct Sudo { - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod sudo { use super::runtime_types; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for Sudo { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Sudo { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] #[doc = "This function does not check the weight of the call, and instead allows the"] #[doc = "Sudo user to specify the weight of the call."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] pub struct SudoUncheckedWeight { - pub call: ::subxt_core::alloc::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub weight: sudo_unchecked_weight::Weight, } pub mod sudo_unchecked_weight { @@ -5047,23 +5379,27 @@ pub mod api { pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt_core::blocks::StaticExtrinsic for SudoUncheckedWeight { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoUncheckedWeight { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_unchecked_weight"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] #[doc = "key."] pub struct SetKey { @@ -5071,66 +5407,74 @@ pub mod api { } pub mod set_key { use super::runtime_types; - pub type New = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetKey { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKey { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "set_key"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Authenticates the sudo key and dispatches a function call with `Signed` origin from"] #[doc = "a given account."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] pub struct SudoAs { pub who: sudo_as::Who, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod sudo_as { use super::runtime_types; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for SudoAs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoAs { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_as"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Permanently removes the sudo key."] #[doc = ""] #[doc = "**This cannot be un-done.**"] pub struct RemoveKey; - impl ::subxt_core::blocks::StaticExtrinsic for RemoveKey { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveKey { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "remove_key"; } @@ -5141,15 +5485,18 @@ pub mod api { pub fn sudo( &self, call: types::sudo::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo", - types::Sudo { call: ::subxt_core::alloc::boxed::Box::new(call) }, + types::Sudo { + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + }, [ - 21u8, 8u8, 136u8, 233u8, 93u8, 10u8, 216u8, 7u8, 19u8, 155u8, 61u8, - 105u8, 68u8, 145u8, 43u8, 240u8, 226u8, 143u8, 121u8, 128u8, 31u8, - 228u8, 74u8, 32u8, 140u8, 17u8, 192u8, 139u8, 75u8, 63u8, 139u8, 123u8, + 3u8, 48u8, 178u8, 50u8, 135u8, 239u8, 192u8, 138u8, 98u8, 157u8, 85u8, + 29u8, 149u8, 197u8, 82u8, 30u8, 216u8, 220u8, 52u8, 220u8, 113u8, + 215u8, 85u8, 145u8, 199u8, 92u8, 186u8, 221u8, 31u8, 200u8, 139u8, + 182u8, ], ) } @@ -5162,19 +5509,19 @@ pub mod api { &self, call: types::sudo_unchecked_weight::Call, weight: types::sudo_unchecked_weight::Weight, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo_unchecked_weight", types::SudoUncheckedWeight { - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), weight, }, [ - 251u8, 165u8, 141u8, 46u8, 212u8, 212u8, 25u8, 230u8, 115u8, 181u8, - 43u8, 134u8, 48u8, 49u8, 72u8, 66u8, 152u8, 115u8, 10u8, 40u8, 162u8, - 207u8, 134u8, 113u8, 219u8, 98u8, 139u8, 53u8, 178u8, 9u8, 126u8, - 128u8, + 245u8, 161u8, 45u8, 14u8, 1u8, 47u8, 25u8, 200u8, 138u8, 12u8, 32u8, + 14u8, 74u8, 199u8, 15u8, 56u8, 203u8, 205u8, 162u8, 84u8, 57u8, 52u8, + 24u8, 100u8, 167u8, 176u8, 144u8, 31u8, 122u8, 3u8, 182u8, 131u8, ], ) } @@ -5183,8 +5530,8 @@ pub mod api { pub fn set_key( &self, new: types::set_key::New, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "set_key", types::SetKey { new }, @@ -5204,15 +5551,18 @@ pub mod api { &self, who: types::sudo_as::Who, call: types::sudo_as::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "sudo_as", - types::SudoAs { who, call: ::subxt_core::alloc::boxed::Box::new(call) }, + types::SudoAs { + who, + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), + }, [ - 235u8, 196u8, 135u8, 226u8, 176u8, 214u8, 84u8, 51u8, 174u8, 129u8, - 77u8, 171u8, 170u8, 86u8, 179u8, 45u8, 117u8, 4u8, 176u8, 46u8, 165u8, - 70u8, 218u8, 32u8, 79u8, 235u8, 117u8, 121u8, 255u8, 35u8, 90u8, 182u8, + 187u8, 119u8, 203u8, 171u8, 251u8, 35u8, 214u8, 204u8, 201u8, 119u8, + 4u8, 9u8, 128u8, 94u8, 16u8, 1u8, 55u8, 68u8, 215u8, 20u8, 217u8, + 225u8, 43u8, 133u8, 182u8, 62u8, 226u8, 76u8, 31u8, 184u8, 158u8, 67u8, ], ) } @@ -5221,8 +5571,8 @@ pub mod api { #[doc = "**This cannot be un-done.**"] pub fn remove_key( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Sudo", "remove_key", types::RemoveKey {}, @@ -5241,18 +5591,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sudo call just took place."] pub struct Sudid { pub sudo_result: sudid::SudoResult, @@ -5262,23 +5612,23 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for Sudid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Sudid { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "Sudid"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The sudo key has been updated."] pub struct KeyChanged { pub old: key_changed::Old, @@ -5286,45 +5636,45 @@ pub mod api { } pub mod key_changed { use super::runtime_types; - pub type Old = ::core::option::Option<::subxt_core::utils::AccountId32>; - pub type New = ::subxt_core::utils::AccountId32; + pub type Old = ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type New = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for KeyChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for KeyChanged { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "KeyChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The key was permanently removed."] pub struct KeyRemoved; - impl ::subxt_core::events::StaticEvent for KeyRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for KeyRemoved { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "KeyRemoved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A [sudo_as](Pallet::sudo_as) call just took place."] pub struct SudoAsDone { pub sudo_result: sudo_as_done::SudoResult, @@ -5334,7 +5684,7 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for SudoAsDone { + impl ::subxt::ext::subxt_core::events::StaticEvent for SudoAsDone { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "SudoAsDone"; } @@ -5345,7 +5695,7 @@ pub mod api { use super::runtime_types; pub mod key { use super::runtime_types; - pub type Key = ::subxt_core::utils::AccountId32; + pub type Key = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -5353,14 +5703,14 @@ pub mod api { #[doc = " The `AccountId` of the sudo key."] pub fn key( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::key::Key, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Sudo", "Key", (), @@ -5385,7 +5735,7 @@ pub mod api { use super::runtime_types; pub type RandomMaterial = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } } @@ -5396,14 +5746,14 @@ pub mod api { #[doc = " the oldest hash."] pub fn random_material( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::random_material::RandomMaterial, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "RandomnessCollectiveFlip", "RandomMaterial", (), @@ -5432,18 +5782,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Issue a new class of fungible assets from a public origin."] #[doc = ""] #[doc = "This new asset class has no assets initially and its owner is the origin."] @@ -5472,29 +5826,33 @@ pub mod api { pub mod create { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Admin = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "Assets"; const CALL: &'static str = "create"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Issue a new class of fungible assets from a privileged origin."] #[doc = ""] #[doc = "This new asset class has no assets initially."] @@ -5525,30 +5883,34 @@ pub mod api { pub mod force_create { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type IsSufficient = ::core::primitive::bool; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceCreate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceCreate { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_create"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Start the process of destroying a fungible asset class."] #[doc = ""] #[doc = "`start_destroy` is the first in a series of extrinsics that should be called, to allow"] @@ -5568,23 +5930,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for StartDestroy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for StartDestroy { const PALLET: &'static str = "Assets"; const CALL: &'static str = "start_destroy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Destroy all accounts associated with a given asset."] #[doc = ""] #[doc = "`destroy_accounts` should only be called after `start_destroy` has been called, and the"] @@ -5605,23 +5971,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for DestroyAccounts { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DestroyAccounts { const PALLET: &'static str = "Assets"; const CALL: &'static str = "destroy_accounts"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit)."] #[doc = ""] #[doc = "`destroy_approvals` should only be called after `start_destroy` has been called, and the"] @@ -5642,23 +6012,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for DestroyApprovals { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DestroyApprovals { const PALLET: &'static str = "Assets"; const CALL: &'static str = "destroy_approvals"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Complete destroying asset and unreserve currency."] #[doc = ""] #[doc = "`finish_destroy` should only be called after `start_destroy` has been called, and the"] @@ -5677,23 +6051,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for FinishDestroy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FinishDestroy { const PALLET: &'static str = "Assets"; const CALL: &'static str = "finish_destroy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Mint assets of a particular class."] #[doc = ""] #[doc = "The origin must be Signed and the sender must be the Issuer of the asset `id`."] @@ -5716,29 +6094,33 @@ pub mod api { pub mod mint { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Mint { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Mint { const PALLET: &'static str = "Assets"; const CALL: &'static str = "mint"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Reduce the balance of `who` by as much as possible up to `amount` assets of `id`."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Manager of the asset `id`."] @@ -5764,29 +6146,33 @@ pub mod api { pub mod burn { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Burn { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Burn { const PALLET: &'static str = "Assets"; const CALL: &'static str = "burn"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Move some assets from the sender account to another."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -5815,29 +6201,33 @@ pub mod api { pub mod transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Transfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Move some assets from the sender account to another, keeping the sender account alive."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -5866,29 +6256,33 @@ pub mod api { pub mod transfer_keep_alive { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_keep_alive"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Move some assets from one account to another."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -5919,33 +6313,37 @@ pub mod api { pub mod force_transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Source = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Dest = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`"] #[doc = "must already exist as an entry in `Account`s of the asset. If you want to freeze an"] #[doc = "account that does not have an entry, use `touch_other` first."] @@ -5966,28 +6364,32 @@ pub mod api { pub mod freeze { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Freeze { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Freeze { const PALLET: &'static str = "Assets"; const CALL: &'static str = "freeze"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allow unprivileged transfers to and from an account again."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -6006,28 +6408,32 @@ pub mod api { pub mod thaw { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Thaw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Thaw { const PALLET: &'static str = "Assets"; const CALL: &'static str = "thaw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Disallow further unprivileged transfers for the asset class."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Freezer of the asset `id`."] @@ -6045,23 +6451,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for FreezeAsset { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FreezeAsset { const PALLET: &'static str = "Assets"; const CALL: &'static str = "freeze_asset"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allow unprivileged transfers for the asset again."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Admin of the asset `id`."] @@ -6079,23 +6489,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ThawAsset { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ThawAsset { const PALLET: &'static str = "Assets"; const CALL: &'static str = "thaw_asset"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Change the Owner of an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6114,28 +6528,32 @@ pub mod api { pub mod transfer_ownership { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferOwnership { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferOwnership { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_ownership"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Change the Issuer, Admin and Freezer of an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6158,36 +6576,40 @@ pub mod api { pub mod set_team { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Issuer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Issuer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Admin = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Freezer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Freezer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetTeam { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetTeam { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_team"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the metadata for an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6214,27 +6636,33 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clear the metadata for an asset."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Owner of the asset `id`."] @@ -6254,23 +6682,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ClearMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "clear_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force the metadata for an asset to some value."] #[doc = ""] #[doc = "Origin must be ForceOrigin."] @@ -6296,28 +6728,34 @@ pub mod api { pub mod force_set_metadata { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceSetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_set_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clear the metadata for an asset."] #[doc = ""] #[doc = "Origin must be ForceOrigin."] @@ -6337,23 +6775,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceClearMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceClearMetadata { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_clear_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Alter the attributes of a given asset."] #[doc = ""] #[doc = "Origin must be `ForceOrigin`."] @@ -6391,43 +6833,47 @@ pub mod api { pub mod force_asset_status { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Issuer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Issuer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Admin = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Admin = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Freezer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Freezer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type MinBalance = ::core::primitive::u128; pub type IsSufficient = ::core::primitive::bool; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceAssetStatus { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceAssetStatus { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_asset_status"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Approve an amount of asset for transfer by a delegated third-party account."] #[doc = ""] #[doc = "Origin must be Signed."] @@ -6458,29 +6904,33 @@ pub mod api { pub mod approve_transfer { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ApproveTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveTransfer { const PALLET: &'static str = "Assets"; const CALL: &'static str = "approve_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel all of some asset approved for delegated transfer by a third-party account."] #[doc = ""] #[doc = "Origin must be Signed and there must be an approval in place between signer and"] @@ -6502,28 +6952,32 @@ pub mod api { pub mod cancel_approval { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelApproval { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelApproval { const PALLET: &'static str = "Assets"; const CALL: &'static str = "cancel_approval"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel all of some asset approved for delegated transfer by a third-party account."] #[doc = ""] #[doc = "Origin must be either ForceOrigin or Signed origin with the signer being the Admin"] @@ -6546,32 +7000,36 @@ pub mod api { pub mod force_cancel_approval { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceCancelApproval { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceCancelApproval { const PALLET: &'static str = "Assets"; const CALL: &'static str = "force_cancel_approval"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Transfer some asset balance from a previously delegated account to some third-party"] #[doc = "account."] #[doc = ""] @@ -6601,33 +7059,37 @@ pub mod api { pub mod transfer_approved { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Owner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Destination = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Destination = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferApproved { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferApproved { const PALLET: &'static str = "Assets"; const CALL: &'static str = "transfer_approved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create an asset account for non-provider assets."] #[doc = ""] #[doc = "A deposit will be taken from the signer account."] @@ -6645,23 +7107,27 @@ pub mod api { use super::runtime_types; pub type Id = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Touch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Touch { const PALLET: &'static str = "Assets"; const CALL: &'static str = "touch"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Return the deposit (if any) of an asset account or a consumer reference (if any) of an"] #[doc = "account."] #[doc = ""] @@ -6682,23 +7148,27 @@ pub mod api { pub type Id = ::core::primitive::u128; pub type AllowBurn = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for Refund { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Refund { const PALLET: &'static str = "Assets"; const CALL: &'static str = "refund"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Sets the minimum balance of an asset."] #[doc = ""] #[doc = "Only works if there aren't any accounts that are holding the asset or if"] @@ -6721,23 +7191,27 @@ pub mod api { pub type Id = ::core::primitive::u128; pub type MinBalance = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMinBalance { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinBalance { const PALLET: &'static str = "Assets"; const CALL: &'static str = "set_min_balance"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create an asset account for `who`."] #[doc = ""] #[doc = "A deposit will be taken from the signer account."] @@ -6756,28 +7230,32 @@ pub mod api { pub mod touch_other { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for TouchOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TouchOther { const PALLET: &'static str = "Assets"; const CALL: &'static str = "touch_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Return the deposit (if any) of a target asset account. Useful if you are the depositor."] #[doc = ""] #[doc = "The origin must be Signed and either the account owner, depositor, or asset `Admin`. In"] @@ -6796,28 +7274,32 @@ pub mod api { pub mod refund_other { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RefundOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundOther { const PALLET: &'static str = "Assets"; const CALL: &'static str = "refund_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Disallow further unprivileged transfers of an asset `id` to and from an account `who`."] #[doc = ""] #[doc = "Origin must be Signed and the sender should be the Freezer of the asset `id`."] @@ -6836,12 +7318,12 @@ pub mod api { pub mod block { use super::runtime_types; pub type Id = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Block { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Block { const PALLET: &'static str = "Assets"; const CALL: &'static str = "block"; } @@ -6872,8 +7354,8 @@ pub mod api { id: types::create::Id, admin: types::create::Admin, min_balance: types::create::MinBalance, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "create", types::Create { id, admin, min_balance }, @@ -6909,8 +7391,8 @@ pub mod api { owner: types::force_create::Owner, is_sufficient: types::force_create::IsSufficient, min_balance: types::force_create::MinBalance, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_create", types::ForceCreate { id, owner, is_sufficient, min_balance }, @@ -6935,8 +7417,8 @@ pub mod api { pub fn start_destroy( &self, id: types::start_destroy::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "start_destroy", types::StartDestroy { id }, @@ -6962,8 +7444,8 @@ pub mod api { pub fn destroy_accounts( &self, id: types::destroy_accounts::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "destroy_accounts", types::DestroyAccounts { id }, @@ -6989,8 +7471,8 @@ pub mod api { pub fn destroy_approvals( &self, id: types::destroy_approvals::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "destroy_approvals", types::DestroyApprovals { id }, @@ -7015,8 +7497,8 @@ pub mod api { pub fn finish_destroy( &self, id: types::finish_destroy::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "finish_destroy", types::FinishDestroy { id }, @@ -7044,8 +7526,8 @@ pub mod api { id: types::mint::Id, beneficiary: types::mint::Beneficiary, amount: types::mint::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "mint", types::Mint { id, beneficiary, amount }, @@ -7077,8 +7559,8 @@ pub mod api { id: types::burn::Id, who: types::burn::Who, amount: types::burn::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "burn", types::Burn { id, who, amount }, @@ -7113,8 +7595,8 @@ pub mod api { id: types::transfer::Id, target: types::transfer::Target, amount: types::transfer::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer", types::Transfer { id, target, amount }, @@ -7149,8 +7631,9 @@ pub mod api { id: types::transfer_keep_alive::Id, target: types::transfer_keep_alive::Target, amount: types::transfer_keep_alive::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_keep_alive", types::TransferKeepAlive { id, target, amount }, @@ -7187,8 +7670,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, amount: types::force_transfer::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_transfer", types::ForceTransfer { id, source, dest, amount }, @@ -7215,8 +7698,8 @@ pub mod api { &self, id: types::freeze::Id, who: types::freeze::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "freeze", types::Freeze { id, who }, @@ -7241,8 +7724,8 @@ pub mod api { &self, id: types::thaw::Id, who: types::thaw::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "thaw", types::Thaw { id, who }, @@ -7265,8 +7748,8 @@ pub mod api { pub fn freeze_asset( &self, id: types::freeze_asset::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "freeze_asset", types::FreezeAsset { id }, @@ -7290,8 +7773,8 @@ pub mod api { pub fn thaw_asset( &self, id: types::thaw_asset::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "thaw_asset", types::ThawAsset { id }, @@ -7316,8 +7799,9 @@ pub mod api { &self, id: types::transfer_ownership::Id, owner: types::transfer_ownership::Owner, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_ownership", types::TransferOwnership { id, owner }, @@ -7346,8 +7830,8 @@ pub mod api { issuer: types::set_team::Issuer, admin: types::set_team::Admin, freezer: types::set_team::Freezer, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_team", types::SetTeam { id, issuer, admin, freezer }, @@ -7381,8 +7865,8 @@ pub mod api { name: types::set_metadata::Name, symbol: types::set_metadata::Symbol, decimals: types::set_metadata::Decimals, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_metadata", types::SetMetadata { id, name, symbol, decimals }, @@ -7408,8 +7892,8 @@ pub mod api { pub fn clear_metadata( &self, id: types::clear_metadata::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "clear_metadata", types::ClearMetadata { id }, @@ -7441,8 +7925,8 @@ pub mod api { symbol: types::force_set_metadata::Symbol, decimals: types::force_set_metadata::Decimals, is_frozen: types::force_set_metadata::IsFrozen, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_set_metadata", types::ForceSetMetadata { id, name, symbol, decimals, is_frozen }, @@ -7468,8 +7952,9 @@ pub mod api { pub fn force_clear_metadata( &self, id: types::force_clear_metadata::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_clear_metadata", types::ForceClearMetadata { id }, @@ -7513,8 +7998,8 @@ pub mod api { min_balance: types::force_asset_status::MinBalance, is_sufficient: types::force_asset_status::IsSufficient, is_frozen: types::force_asset_status::IsFrozen, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_asset_status", types::ForceAssetStatus { @@ -7559,8 +8044,8 @@ pub mod api { id: types::approve_transfer::Id, delegate: types::approve_transfer::Delegate, amount: types::approve_transfer::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "approve_transfer", types::ApproveTransfer { id, delegate, amount }, @@ -7588,8 +8073,8 @@ pub mod api { &self, id: types::cancel_approval::Id, delegate: types::cancel_approval::Delegate, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "cancel_approval", types::CancelApproval { id, delegate }, @@ -7618,8 +8103,9 @@ pub mod api { id: types::force_cancel_approval::Id, owner: types::force_cancel_approval::Owner, delegate: types::force_cancel_approval::Delegate, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "force_cancel_approval", types::ForceCancelApproval { id, owner, delegate }, @@ -7655,8 +8141,8 @@ pub mod api { owner: types::transfer_approved::Owner, destination: types::transfer_approved::Destination, amount: types::transfer_approved::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "transfer_approved", types::TransferApproved { id, owner, destination, amount }, @@ -7679,8 +8165,8 @@ pub mod api { pub fn touch( &self, id: types::touch::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "touch", types::Touch { id }, @@ -7705,8 +8191,8 @@ pub mod api { &self, id: types::refund::Id, allow_burn: types::refund::AllowBurn, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "refund", types::Refund { id, allow_burn }, @@ -7734,8 +8220,8 @@ pub mod api { &self, id: types::set_min_balance::Id, min_balance: types::set_min_balance::MinBalance, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "set_min_balance", types::SetMinBalance { id, min_balance }, @@ -7760,8 +8246,8 @@ pub mod api { &self, id: types::touch_other::Id, who: types::touch_other::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "touch_other", types::TouchOther { id, who }, @@ -7786,8 +8272,8 @@ pub mod api { &self, id: types::refund_other::Id, who: types::refund_other::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "refund_other", types::RefundOther { id, who }, @@ -7812,8 +8298,8 @@ pub mod api { &self, id: types::block::Id, who: types::block::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Assets", "block", types::Block { id, who }, @@ -7831,18 +8317,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some asset class was created."] pub struct Created { pub asset_id: created::AssetId, @@ -7852,26 +8338,26 @@ pub mod api { pub mod created { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Creator = ::subxt_core::utils::AccountId32; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Creator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Created { + impl ::subxt::ext::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Created"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were issued."] pub struct Issued { pub asset_id: issued::AssetId, @@ -7881,26 +8367,26 @@ pub mod api { pub mod issued { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Issued { + impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Issued"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were transferred."] pub struct Transferred { pub asset_id: transferred::AssetId, @@ -7911,27 +8397,27 @@ pub mod api { pub mod transferred { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type From = ::subxt_core::utils::AccountId32; - pub type To = ::subxt_core::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Transferred { + impl ::subxt::ext::subxt_core::events::StaticEvent for Transferred { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Transferred"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were destroyed."] pub struct Burned { pub asset_id: burned::AssetId, @@ -7941,26 +8427,26 @@ pub mod api { pub mod burned { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Burned { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Burned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The management team changed."] pub struct TeamChanged { pub asset_id: team_changed::AssetId, @@ -7971,27 +8457,27 @@ pub mod api { pub mod team_changed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Issuer = ::subxt_core::utils::AccountId32; - pub type Admin = ::subxt_core::utils::AccountId32; - pub type Freezer = ::subxt_core::utils::AccountId32; + pub type Issuer = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Admin = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Freezer = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for TeamChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for TeamChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "TeamChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The owner changed."] pub struct OwnerChanged { pub asset_id: owner_changed::AssetId, @@ -8000,25 +8486,25 @@ pub mod api { pub mod owner_changed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OwnerChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for OwnerChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "OwnerChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was frozen."] pub struct Frozen { pub asset_id: frozen::AssetId, @@ -8027,25 +8513,25 @@ pub mod api { pub mod frozen { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Frozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Frozen"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was thawed."] pub struct Thawed { pub asset_id: thawed::AssetId, @@ -8054,25 +8540,25 @@ pub mod api { pub mod thawed { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Thawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Thawed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some asset `asset_id` was frozen."] pub struct AssetFrozen { pub asset_id: asset_frozen::AssetId, @@ -8081,23 +8567,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for AssetFrozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetFrozen { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetFrozen"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some asset `asset_id` was thawed."] pub struct AssetThawed { pub asset_id: asset_thawed::AssetId, @@ -8106,23 +8592,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for AssetThawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetThawed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetThawed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Accounts were destroyed for given asset."] pub struct AccountsDestroyed { pub asset_id: accounts_destroyed::AssetId, @@ -8135,23 +8621,23 @@ pub mod api { pub type AccountsDestroyed = ::core::primitive::u32; pub type AccountsRemaining = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for AccountsDestroyed { + impl ::subxt::ext::subxt_core::events::StaticEvent for AccountsDestroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AccountsDestroyed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Approvals were destroyed for given asset."] pub struct ApprovalsDestroyed { pub asset_id: approvals_destroyed::AssetId, @@ -8164,23 +8650,23 @@ pub mod api { pub type ApprovalsDestroyed = ::core::primitive::u32; pub type ApprovalsRemaining = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for ApprovalsDestroyed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovalsDestroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovalsDestroyed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An asset class is in the process of being destroyed."] pub struct DestructionStarted { pub asset_id: destruction_started::AssetId, @@ -8189,23 +8675,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for DestructionStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for DestructionStarted { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "DestructionStarted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An asset class was destroyed."] pub struct Destroyed { pub asset_id: destroyed::AssetId, @@ -8214,23 +8700,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Destroyed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some asset class was force-created."] pub struct ForceCreated { pub asset_id: force_created::AssetId, @@ -8239,25 +8725,25 @@ pub mod api { pub mod force_created { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for ForceCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ForceCreated { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ForceCreated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New metadata has been set for an asset."] pub struct MetadataSet { pub asset_id: metadata_set::AssetId, @@ -8269,28 +8755,28 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Name = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Symbol = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Name = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Symbol = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Decimals = ::core::primitive::u8; pub type IsFrozen = ::core::primitive::bool; } - impl ::subxt_core::events::StaticEvent for MetadataSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "MetadataSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata has been cleared for an asset."] pub struct MetadataCleared { pub asset_id: metadata_cleared::AssetId, @@ -8299,23 +8785,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for MetadataCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "MetadataCleared"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "(Additional) funds have been approved for transfer to a destination account."] pub struct ApprovedTransfer { pub asset_id: approved_transfer::AssetId, @@ -8326,27 +8812,27 @@ pub mod api { pub mod approved_transfer { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Source = ::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt_core::utils::AccountId32; + pub type Source = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for ApprovedTransfer { + impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovedTransfer { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovedTransfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An approval for account `delegate` was cancelled by `owner`."] pub struct ApprovalCancelled { pub asset_id: approval_cancelled::AssetId, @@ -8356,26 +8842,26 @@ pub mod api { pub mod approval_cancelled { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for ApprovalCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for ApprovalCancelled { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "ApprovalCancelled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An `amount` was transferred in its entirety from `owner` to `destination` by"] #[doc = "the approved `delegate`."] pub struct TransferredApproved { @@ -8388,28 +8874,28 @@ pub mod api { pub mod transferred_approved { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Owner = ::subxt_core::utils::AccountId32; - pub type Delegate = ::subxt_core::utils::AccountId32; - pub type Destination = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Destination = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for TransferredApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for TransferredApproved { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "TransferredApproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An asset has had its attributes changed by the `Force` origin."] pub struct AssetStatusChanged { pub asset_id: asset_status_changed::AssetId, @@ -8418,23 +8904,23 @@ pub mod api { use super::runtime_types; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for AssetStatusChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetStatusChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetStatusChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The min_balance of an asset has been updated by the asset owner."] pub struct AssetMinBalanceChanged { pub asset_id: asset_min_balance_changed::AssetId, @@ -8445,23 +8931,23 @@ pub mod api { pub type AssetId = ::core::primitive::u128; pub type NewMinBalance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for AssetMinBalanceChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetMinBalanceChanged { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "AssetMinBalanceChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was created with a deposit from `depositor`."] pub struct Touched { pub asset_id: touched::AssetId, @@ -8471,26 +8957,26 @@ pub mod api { pub mod touched { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; - pub type Depositor = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Touched { + impl ::subxt::ext::subxt_core::events::StaticEvent for Touched { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Touched"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some account `who` was blocked."] pub struct Blocked { pub asset_id: blocked::AssetId, @@ -8499,25 +8985,25 @@ pub mod api { pub mod blocked { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Blocked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Blocked { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Blocked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were deposited (e.g. for transaction fees)."] pub struct Deposited { pub asset_id: deposited::AssetId, @@ -8527,26 +9013,26 @@ pub mod api { pub mod deposited { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Deposited { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposited { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Deposited"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets were withdrawn from the account (e.g. for transaction fees)."] pub struct Withdrawn { pub asset_id: withdrawn::AssetId, @@ -8556,10 +9042,10 @@ pub mod api { pub mod withdrawn { use super::runtime_types; pub type AssetId = ::core::primitive::u128; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Assets"; const EVENT: &'static str = "Withdrawn"; } @@ -8572,7 +9058,7 @@ pub mod api { use super::runtime_types; pub type Asset = runtime_types::pallet_assets::types::AssetDetails< ::core::primitive::u128, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u128; @@ -8583,10 +9069,10 @@ pub mod api { ::core::primitive::u128, ::core::primitive::u128, (), - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u128; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod approvals { use super::runtime_types; @@ -8595,8 +9081,8 @@ pub mod api { ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u128; - pub type Param1 = ::subxt_core::utils::AccountId32; - pub type Param2 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param2 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod metadata { use super::runtime_types; @@ -8618,14 +9104,14 @@ pub mod api { #[doc = " Details of an asset."] pub fn asset_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::asset::Asset, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Asset", (), @@ -8641,17 +9127,21 @@ pub mod api { pub fn asset( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::asset::Param0, + >, types::asset::Asset, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Asset", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 184u8, 117u8, 212u8, 54u8, 227u8, 128u8, 105u8, 48u8, 129u8, 209u8, 93u8, 65u8, 239u8, 81u8, 138u8, 169u8, 70u8, 73u8, 193u8, 150u8, 58u8, @@ -8663,14 +9153,14 @@ pub mod api { #[doc = " The holdings of a specific account for a specific asset."] pub fn account_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", (), @@ -8685,17 +9175,21 @@ pub mod api { pub fn account_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 193u8, 248u8, 7u8, 31u8, 182u8, 62u8, 151u8, 45u8, 186u8, 167u8, 187u8, 86u8, 254u8, 71u8, 30u8, 36u8, 169u8, 145u8, 195u8, 93u8, 76u8, 108u8, @@ -8708,22 +9202,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param1, + >, ), types::account::Account, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Account", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 193u8, 248u8, 7u8, 31u8, 182u8, 62u8, 151u8, 45u8, 186u8, 167u8, 187u8, @@ -8737,14 +9239,14 @@ pub mod api { #[doc = " First key is the asset ID, second key is the owner and third key is the delegate."] pub fn approvals_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::approvals::Approvals, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", (), @@ -8762,17 +9264,21 @@ pub mod api { pub fn approvals_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param0, + >, types::approvals::Approvals, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, 182u8, 30u8, 140u8, 109u8, 106u8, 158u8, 104u8, 53u8, 86u8, 112u8, @@ -8788,22 +9294,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param1, + >, ), types::approvals::Approvals, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, @@ -8821,24 +9335,36 @@ pub mod api { _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, _2: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param1, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::approvals::Param2, + >, ), types::approvals::Approvals, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Approvals", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_2.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _2.borrow(), + ), ), [ 88u8, 12u8, 250u8, 89u8, 74u8, 8u8, 18u8, 23u8, 160u8, 172u8, 27u8, @@ -8851,14 +9377,14 @@ pub mod api { #[doc = " Metadata of an asset."] pub fn metadata_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Metadata", (), @@ -8873,17 +9399,21 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata::Param0, + >, types::metadata::Metadata, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "Metadata", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 9u8, 154u8, 67u8, 209u8, 73u8, 219u8, 203u8, 105u8, 197u8, 101u8, 174u8, 94u8, 37u8, 239u8, 121u8, 52u8, 186u8, 127u8, 29u8, 182u8, 32u8, @@ -8902,14 +9432,14 @@ pub mod api { #[doc = " [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration."] pub fn next_asset_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_asset_id::NextAssetId, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Assets", "NextAssetId", (), @@ -8931,8 +9461,10 @@ pub mod api { #[doc = " Must be configured to result in a weight that makes each call fit in a block."] pub fn remove_items_limit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "RemoveItemsLimit", [ @@ -8946,8 +9478,10 @@ pub mod api { #[doc = " The basic amount of funds that must be reserved for an asset."] pub fn asset_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "AssetDeposit", [ @@ -8961,8 +9495,10 @@ pub mod api { #[doc = " maintained."] pub fn asset_account_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "AssetAccountDeposit", [ @@ -8975,8 +9511,10 @@ pub mod api { #[doc = " The basic amount of funds that must be reserved when adding metadata to your asset."] pub fn metadata_deposit_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "MetadataDepositBase", [ @@ -8990,8 +9528,10 @@ pub mod api { #[doc = " metadata."] pub fn metadata_deposit_per_byte( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "MetadataDepositPerByte", [ @@ -9004,8 +9544,10 @@ pub mod api { #[doc = " The amount of funds that must be reserved when creating a new approval."] pub fn approval_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "ApprovalDeposit", [ @@ -9018,8 +9560,10 @@ pub mod api { #[doc = " The maximum length of a name or symbol stored on-chain."] pub fn string_limit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Assets", "StringLimit", [ @@ -9047,18 +9591,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Transfer some liquid free balance to another account."] #[doc = ""] #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] @@ -9073,29 +9621,33 @@ pub mod api { } pub mod transfer_allow_death { use super::runtime_types; - pub type Dest = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_allow_death"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] #[doc = "may be specified."] pub struct ForceTransfer { @@ -9106,33 +9658,37 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type Source = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Dest = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] #[doc = "kill the origin account."] #[doc = ""] @@ -9146,29 +9702,33 @@ pub mod api { } pub mod transfer_keep_alive { use super::runtime_types; - pub type Dest = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_keep_alive"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Transfer the entire transferable balance from the caller account."] #[doc = ""] #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] @@ -9190,29 +9750,33 @@ pub mod api { } pub mod transfer_all { use super::runtime_types; - pub type Dest = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for TransferAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAll { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_all"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unreserve some balance from a user by force."] #[doc = ""] #[doc = "Can only be called by ROOT."] @@ -9222,29 +9786,33 @@ pub mod api { } pub mod force_unreserve { use super::runtime_types; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_unreserve"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Upgrade a specified account."] #[doc = ""] #[doc = "- `origin`: Must be `Signed`."] @@ -9258,25 +9826,31 @@ pub mod api { } pub mod upgrade_accounts { use super::runtime_types; - pub type Who = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { const PALLET: &'static str = "Balances"; const CALL: &'static str = "upgrade_accounts"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the regular balance of a given account."] #[doc = ""] #[doc = "The dispatch origin for this call is `root`."] @@ -9287,29 +9861,33 @@ pub mod api { } pub mod force_set_balance { use super::runtime_types; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type NewFree = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_set_balance"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Adjust the total issuance in a saturating way."] #[doc = ""] #[doc = "Can only be called by root and always needs a positive `delta`."] @@ -9325,23 +9903,27 @@ pub mod api { pub type Direction = runtime_types::pallet_balances::types::AdjustmentDirection; pub type Delta = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceAdjustTotalIssuance { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_adjust_total_issuance"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Burn the specified liquid free balance from the origin account."] #[doc = ""] #[doc = "If the origin's account ends up below the existential deposit as a result"] @@ -9359,7 +9941,7 @@ pub mod api { pub type Value = ::core::primitive::u128; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for Burn { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Burn { const PALLET: &'static str = "Balances"; const CALL: &'static str = "burn"; } @@ -9377,8 +9959,9 @@ pub mod api { &self, dest: types::transfer_allow_death::Dest, value: types::transfer_allow_death::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_allow_death", types::TransferAllowDeath { dest, value }, @@ -9397,8 +9980,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, value: types::force_transfer::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_transfer", types::ForceTransfer { source, dest, value }, @@ -9419,8 +10002,9 @@ pub mod api { &self, dest: types::transfer_keep_alive::Dest, value: types::transfer_keep_alive::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_keep_alive", types::TransferKeepAlive { dest, value }, @@ -9451,8 +10035,8 @@ pub mod api { &self, dest: types::transfer_all::Dest, keep_alive: types::transfer_all::KeepAlive, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "transfer_all", types::TransferAll { dest, keep_alive }, @@ -9471,8 +10055,8 @@ pub mod api { &self, who: types::force_unreserve::Who, amount: types::force_unreserve::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_unreserve", types::ForceUnreserve { who, amount }, @@ -9494,8 +10078,8 @@ pub mod api { pub fn upgrade_accounts( &self, who: types::upgrade_accounts::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "upgrade_accounts", types::UpgradeAccounts { who }, @@ -9513,8 +10097,8 @@ pub mod api { &self, who: types::force_set_balance::Who, new_free: types::force_set_balance::NewFree, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_set_balance", types::ForceSetBalance { who, new_free }, @@ -9535,8 +10119,10 @@ pub mod api { &self, direction: types::force_adjust_total_issuance::Direction, delta: types::force_adjust_total_issuance::Delta, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ForceAdjustTotalIssuance, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "force_adjust_total_issuance", types::ForceAdjustTotalIssuance { direction, delta }, @@ -9559,8 +10145,8 @@ pub mod api { &self, value: types::burn::Value, keep_alive: types::burn::KeepAlive, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Balances", "burn", types::Burn { value, keep_alive }, @@ -9578,18 +10164,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was created with some free balance."] pub struct Endowed { pub account: endowed::Account, @@ -9597,26 +10183,26 @@ pub mod api { } pub mod endowed { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type FreeBalance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Endowed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Endowed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Endowed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] #[doc = "resulting in an outright loss."] pub struct DustLost { @@ -9625,26 +10211,26 @@ pub mod api { } pub mod dust_lost { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for DustLost { + impl ::subxt::ext::subxt_core::events::StaticEvent for DustLost { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "DustLost"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Transfer succeeded."] pub struct Transfer { pub from: transfer::From, @@ -9653,27 +10239,27 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type From = ::subxt_core::utils::AccountId32; - pub type To = ::subxt_core::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Transfer { + impl ::subxt::ext::subxt_core::events::StaticEvent for Transfer { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A balance was set by root."] pub struct BalanceSet { pub who: balance_set::Who, @@ -9681,26 +10267,26 @@ pub mod api { } pub mod balance_set { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Free = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for BalanceSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for BalanceSet { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "BalanceSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was reserved (moved from free to reserved)."] pub struct Reserved { pub who: reserved::Who, @@ -9708,26 +10294,26 @@ pub mod api { } pub mod reserved { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Reserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Reserved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unreserved (moved from reserved to free)."] pub struct Unreserved { pub who: unreserved::Who, @@ -9735,26 +10321,26 @@ pub mod api { } pub mod unreserved { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Unreserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unreserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unreserved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was moved from the reserve of the first account to the second account."] #[doc = "Final argument indicates the destination balance type."] pub struct ReserveRepatriated { @@ -9765,29 +10351,29 @@ pub mod api { } pub mod reserve_repatriated { use super::runtime_types; - pub type From = ::subxt_core::utils::AccountId32; - pub type To = ::subxt_core::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type DestinationStatus = runtime_types::frame_support::traits::tokens::misc::BalanceStatus; } - impl ::subxt_core::events::StaticEvent for ReserveRepatriated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ReserveRepatriated { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "ReserveRepatriated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was deposited (e.g. for transaction fees)."] pub struct Deposit { pub who: deposit::Who, @@ -9795,26 +10381,26 @@ pub mod api { } pub mod deposit { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] pub struct Withdraw { pub who: withdraw::Who, @@ -9822,26 +10408,26 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Withdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdraw { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Withdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] pub struct Slashed { pub who: slashed::Who, @@ -9849,26 +10435,26 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was minted into an account."] pub struct Minted { pub who: minted::Who, @@ -9876,26 +10462,26 @@ pub mod api { } pub mod minted { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Minted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Minted { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Minted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was burned from an account."] pub struct Burned { pub who: burned::Who, @@ -9903,26 +10489,26 @@ pub mod api { } pub mod burned { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Burned { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Burned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was suspended from an account (it can be restored later)."] pub struct Suspended { pub who: suspended::Who, @@ -9930,26 +10516,26 @@ pub mod api { } pub mod suspended { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Suspended { + impl ::subxt::ext::subxt_core::events::StaticEvent for Suspended { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Suspended"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was restored into an account."] pub struct Restored { pub who: restored::Who, @@ -9957,51 +10543,51 @@ pub mod api { } pub mod restored { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Restored { + impl ::subxt::ext::subxt_core::events::StaticEvent for Restored { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Restored"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was upgraded."] pub struct Upgraded { pub who: upgraded::Who, } pub mod upgraded { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Upgraded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Upgraded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Upgraded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] pub struct Issued { pub amount: issued::Amount, @@ -10010,23 +10596,23 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Issued { + impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Issued"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was decreased by `amount`, creating a debt to be balanced."] pub struct Rescinded { pub amount: rescinded::Amount, @@ -10035,23 +10621,23 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Rescinded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rescinded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Rescinded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was locked."] pub struct Locked { pub who: locked::Who, @@ -10059,26 +10645,26 @@ pub mod api { } pub mod locked { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Locked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Locked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Locked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unlocked."] pub struct Unlocked { pub who: unlocked::Who, @@ -10086,26 +10672,26 @@ pub mod api { } pub mod unlocked { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Unlocked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unlocked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unlocked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was frozen."] pub struct Frozen { pub who: frozen::Who, @@ -10113,26 +10699,26 @@ pub mod api { } pub mod frozen { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Frozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Frozen"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was thawed."] pub struct Thawed { pub who: thawed::Who, @@ -10140,26 +10726,26 @@ pub mod api { } pub mod thawed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Thawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Thawed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The `TotalIssuance` was forcefully changed."] pub struct TotalIssuanceForced { pub old: total_issuance_forced::Old, @@ -10170,7 +10756,7 @@ pub mod api { pub type Old = ::core::primitive::u128; pub type New = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for TotalIssuanceForced { + impl ::subxt::ext::subxt_core::events::StaticEvent for TotalIssuanceForced { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "TotalIssuanceForced"; } @@ -10191,7 +10777,7 @@ pub mod api { use super::runtime_types; pub type Account = runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod locks { use super::runtime_types; @@ -10201,7 +10787,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod reserves { use super::runtime_types; @@ -10211,7 +10797,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod holds { use super::runtime_types; @@ -10221,7 +10807,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod freezes { use super::runtime_types; @@ -10231,7 +10817,7 @@ pub mod api { ::core::primitive::u128, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -10239,14 +10825,14 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::total_issuance::TotalIssuance, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "TotalIssuance", (), @@ -10261,14 +10847,14 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::inactive_issuance::InactiveIssuance, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "InactiveIssuance", (), @@ -10305,14 +10891,14 @@ pub mod api { #[doc = " NOTE: This is only used in the case that this pallet is used to store balances."] pub fn account_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account::Account, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Account", (), @@ -10350,17 +10936,21 @@ pub mod api { pub fn account( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Account", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 213u8, 38u8, 200u8, 69u8, 218u8, 0u8, 112u8, 181u8, 160u8, 23u8, 96u8, 90u8, 3u8, 88u8, 126u8, 22u8, 103u8, 74u8, 64u8, 69u8, 29u8, 247u8, @@ -10374,14 +10964,14 @@ pub mod api { #[doc = " Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn locks_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::locks::Locks, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Locks", (), @@ -10399,17 +10989,21 @@ pub mod api { pub fn locks( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::locks::Param0, + >, types::locks::Locks, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Locks", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 10u8, 223u8, 55u8, 0u8, 249u8, 69u8, 168u8, 41u8, 75u8, 35u8, 120u8, 167u8, 18u8, 132u8, 9u8, 20u8, 91u8, 51u8, 27u8, 69u8, 136u8, 187u8, @@ -10422,14 +11016,14 @@ pub mod api { #[doc = " Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn reserves_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reserves::Reserves, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Reserves", (), @@ -10446,17 +11040,21 @@ pub mod api { pub fn reserves( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserves::Param0, + >, types::reserves::Reserves, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Reserves", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 112u8, 10u8, 241u8, 77u8, 64u8, 187u8, 106u8, 159u8, 13u8, 153u8, 140u8, 178u8, 182u8, 50u8, 1u8, 55u8, 149u8, 92u8, 196u8, 229u8, 170u8, @@ -10467,14 +11065,14 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::holds::Holds, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Holds", (), @@ -10490,17 +11088,21 @@ pub mod api { pub fn holds( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::holds::Param0, + >, types::holds::Holds, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Holds", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 129u8, 137u8, 55u8, 91u8, 69u8, 138u8, 47u8, 168u8, 33u8, 159u8, 81u8, 44u8, 125u8, 21u8, 124u8, 211u8, 190u8, 246u8, 14u8, 154u8, 233u8, @@ -10512,14 +11114,14 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::freezes::Freezes, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Freezes", (), @@ -10534,17 +11136,21 @@ pub mod api { pub fn freezes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::freezes::Param0, + >, types::freezes::Freezes, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Balances", "Freezes", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 17u8, 244u8, 16u8, 167u8, 197u8, 87u8, 174u8, 75u8, 172u8, 154u8, 157u8, 40u8, 70u8, 169u8, 39u8, 30u8, 253u8, 1u8, 74u8, 227u8, 122u8, @@ -10568,8 +11174,10 @@ pub mod api { #[doc = " Bottom line: Do yourself a favour and make it at least one!"] pub fn existential_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Balances", "ExistentialDeposit", [ @@ -10585,8 +11193,10 @@ pub mod api { #[doc = " Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn max_locks( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxLocks", [ @@ -10602,8 +11212,10 @@ pub mod api { #[doc = " Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`"] pub fn max_reserves( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxReserves", [ @@ -10617,8 +11229,10 @@ pub mod api { #[doc = " The maximum number of individual freeze locks that can exist on an account at any time."] pub fn max_freezes( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Balances", "MaxFreezes", [ @@ -10640,18 +11254,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,"] #[doc = "has been paid by `who`."] pub struct TransactionFeePaid { @@ -10661,11 +11275,11 @@ pub mod api { } pub mod transaction_fee_paid { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type ActualFee = ::core::primitive::u128; pub type Tip = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for TransactionFeePaid { + impl ::subxt::ext::subxt_core::events::StaticEvent for TransactionFeePaid { const PALLET: &'static str = "TransactionPayment"; const EVENT: &'static str = "TransactionFeePaid"; } @@ -10688,14 +11302,14 @@ pub mod api { impl StorageApi { pub fn next_fee_multiplier( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_fee_multiplier::NextFeeMultiplier, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "TransactionPayment", "NextFeeMultiplier", (), @@ -10709,14 +11323,14 @@ pub mod api { } pub fn storage_version( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::storage_version::StorageVersion, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "TransactionPayment", "StorageVersion", (), @@ -10757,8 +11371,10 @@ pub mod api { #[doc = " transactions."] pub fn operational_fee_multiplier( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u8, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "TransactionPayment", "OperationalFeeMultiplier", [ @@ -10781,7 +11397,7 @@ pub mod api { use super::runtime_types; pub mod author { use super::runtime_types; - pub type Author = ::subxt_core::utils::AccountId32; + pub type Author = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -10789,14 +11405,14 @@ pub mod api { #[doc = " Author of current block."] pub fn author( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::author::Author, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Authorship", "Author", (), @@ -10825,25 +11441,30 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Report authority equivocation/misbehavior. This method will verify"] #[doc = "the equivocation proof and validate the given key ownership proof"] #[doc = "against the extracted offender. If both are valid, the offence will"] #[doc = "be reported."] pub struct ReportEquivocation { - pub equivocation_proof: - ::subxt_core::alloc::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation::EquivocationProof, + >, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { @@ -10857,23 +11478,27 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Babe"; const CALL: &'static str = "report_equivocation"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Report authority equivocation/misbehavior. This method will verify"] #[doc = "the equivocation proof and validate the given key ownership proof"] #[doc = "against the extracted offender. If both are valid, the offence will"] @@ -10883,7 +11508,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: ::subxt_core::alloc::boxed::Box< + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< report_equivocation_unsigned::EquivocationProof, >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, @@ -10899,23 +11524,27 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Babe"; const CALL: &'static str = "report_equivocation_unsigned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] #[doc = "Multiple calls to this method will replace any existing planned config change that had"] @@ -10928,7 +11557,7 @@ pub mod api { pub type Config = runtime_types::sp_consensus_babe::digests::NextConfigDescriptor; } - impl ::subxt_core::blocks::StaticExtrinsic for PlanConfigChange { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlanConfigChange { const PALLET: &'static str = "Babe"; const CALL: &'static str = "plan_config_change"; } @@ -10943,12 +11572,13 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -10972,12 +11602,14 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ReportEquivocationUnsigned, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -10996,8 +11628,8 @@ pub mod api { pub fn plan_config_change( &self, config: types::plan_config_change::Config, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Babe", "plan_config_change", types::PlanConfigChange { config }, @@ -11110,14 +11742,14 @@ pub mod api { #[doc = " Current epoch index."] pub fn epoch_index( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::epoch_index::EpochIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochIndex", (), @@ -11132,14 +11764,14 @@ pub mod api { #[doc = " Current epoch authorities."] pub fn authorities( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::authorities::Authorities, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Authorities", (), @@ -11155,14 +11787,14 @@ pub mod api { #[doc = " until the first block of the chain."] pub fn genesis_slot( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::genesis_slot::GenesisSlot, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "GenesisSlot", (), @@ -11177,14 +11809,14 @@ pub mod api { #[doc = " Current slot number."] pub fn current_slot( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_slot::CurrentSlot, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "CurrentSlot", (), @@ -11208,14 +11840,14 @@ pub mod api { #[doc = " adversary, for purposes such as public-coin zero-knowledge proofs."] pub fn randomness( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::randomness::Randomness, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Randomness", (), @@ -11230,14 +11862,14 @@ pub mod api { #[doc = " Pending epoch configuration change that will be applied when the next epoch is enacted."] pub fn pending_epoch_config_change( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::pending_epoch_config_change::PendingEpochConfigChange, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "PendingEpochConfigChange", (), @@ -11251,14 +11883,14 @@ pub mod api { #[doc = " Next epoch randomness."] pub fn next_randomness( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_randomness::NextRandomness, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextRandomness", (), @@ -11272,14 +11904,14 @@ pub mod api { #[doc = " Next epoch authorities."] pub fn next_authorities( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_authorities::NextAuthorities, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextAuthorities", (), @@ -11301,14 +11933,14 @@ pub mod api { #[doc = " epoch."] pub fn segment_index( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::segment_index::SegmentIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "SegmentIndex", (), @@ -11323,14 +11955,14 @@ pub mod api { #[doc = " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay."] pub fn under_construction_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::under_construction::UnderConstruction, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "UnderConstruction", (), @@ -11345,19 +11977,21 @@ pub mod api { pub fn under_construction( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::under_construction::Param0, >, types::under_construction::UnderConstruction, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "UnderConstruction", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 120u8, 120u8, 59u8, 247u8, 50u8, 6u8, 220u8, 14u8, 2u8, 76u8, 203u8, 244u8, 232u8, 144u8, 253u8, 191u8, 101u8, 35u8, 99u8, 85u8, 111u8, @@ -11369,14 +12003,14 @@ pub mod api { #[doc = " if per-block initialization has already been called for current block."] pub fn initialized( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::initialized::Initialized, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Initialized", (), @@ -11394,14 +12028,14 @@ pub mod api { #[doc = " It is set in `on_finalize`, before it will contain the value from the last block."] pub fn author_vrf_randomness( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::author_vrf_randomness::AuthorVrfRandomness, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "AuthorVrfRandomness", (), @@ -11420,14 +12054,14 @@ pub mod api { #[doc = " slots, which may be skipped, the block numbers may not line up with the slot numbers."] pub fn epoch_start( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::epoch_start::EpochStart, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochStart", (), @@ -11445,14 +12079,14 @@ pub mod api { #[doc = " execution context should always yield zero."] pub fn lateness( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::lateness::Lateness, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "Lateness", (), @@ -11467,14 +12101,14 @@ pub mod api { #[doc = " genesis."] pub fn epoch_config( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::epoch_config::EpochConfig, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "EpochConfig", (), @@ -11490,14 +12124,14 @@ pub mod api { #[doc = " (you can fallback to `EpochConfig` instead in that case)."] pub fn next_epoch_config( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_epoch_config::NextEpochConfig, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "NextEpochConfig", (), @@ -11519,14 +12153,14 @@ pub mod api { #[doc = " active epoch index was during that session."] pub fn skipped_epochs( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::skipped_epochs::SkippedEpochs, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Babe", "SkippedEpochs", (), @@ -11548,8 +12182,10 @@ pub mod api { #[doc = " the chain has started. Attempting to do so will brick block production."] pub fn epoch_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Babe", "EpochDuration", [ @@ -11567,8 +12203,10 @@ pub mod api { #[doc = " the probability of a slot being empty)."] pub fn expected_block_time( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Babe", "ExpectedBlockTime", [ @@ -11582,8 +12220,10 @@ pub mod api { #[doc = " Max number of authorities allowed"] pub fn max_authorities( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Babe", "MaxAuthorities", [ @@ -11597,8 +12237,10 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Babe", "MaxNominators", [ @@ -11626,53 +12268,62 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Report voter equivocation/misbehavior. This method will verify the"] #[doc = "equivocation proof and validate the given key ownership proof"] #[doc = "against the extracted offender. If both are valid, the offence"] #[doc = "will be reported."] pub struct ReportEquivocation { - pub equivocation_proof: - ::subxt_core::alloc::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation::EquivocationProof, + >, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_core::Void; } - impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "report_equivocation"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Report voter equivocation/misbehavior. This method will verify the"] #[doc = "equivocation proof and validate the given key ownership proof"] #[doc = "against the extracted offender. If both are valid, the offence"] @@ -11683,7 +12334,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: ::subxt_core::alloc::boxed::Box< + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< report_equivocation_unsigned::EquivocationProof, >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, @@ -11692,28 +12343,32 @@ pub mod api { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >; pub type KeyOwnerProof = runtime_types::sp_core::Void; } - impl ::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "report_equivocation_unsigned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Note that the current authority set of the GRANDPA finality gadget has stalled."] #[doc = ""] #[doc = "This will trigger a forced authority set change at the beginning of the next session, to"] @@ -11735,7 +12390,7 @@ pub mod api { pub type Delay = ::core::primitive::u64; pub type BestFinalizedBlockNumber = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for NoteStalled { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NoteStalled { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "note_stalled"; } @@ -11750,12 +12405,13 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -11780,12 +12436,14 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ReportEquivocationUnsigned, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::subxt_core::alloc::boxed::Box::new( + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( equivocation_proof, ), key_owner_proof, @@ -11813,8 +12471,8 @@ pub mod api { &self, delay: types::note_stalled::Delay, best_finalized_block_number: types::note_stalled::BestFinalizedBlockNumber, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Grandpa", "note_stalled", types::NoteStalled { delay, best_finalized_block_number }, @@ -11833,68 +12491,68 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New authority set has been applied."] pub struct NewAuthorities { pub authority_set: new_authorities::AuthoritySet, } pub mod new_authorities { use super::runtime_types; - pub type AuthoritySet = ::subxt_core::alloc::vec::Vec<( + pub type AuthoritySet = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } - impl ::subxt_core::events::StaticEvent for NewAuthorities { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewAuthorities { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "NewAuthorities"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been paused."] pub struct Paused; - impl ::subxt_core::events::StaticEvent for Paused { + impl ::subxt::ext::subxt_core::events::StaticEvent for Paused { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Paused"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been resumed."] pub struct Resumed; - impl ::subxt_core::events::StaticEvent for Resumed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Resumed { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Resumed"; } @@ -11944,14 +12602,14 @@ pub mod api { #[doc = " State of the current authority set."] pub fn state( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::state::State, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "State", (), @@ -11965,14 +12623,14 @@ pub mod api { #[doc = " Pending change: (signaled at, scheduled change)."] pub fn pending_change( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::pending_change::PendingChange, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "PendingChange", (), @@ -11986,14 +12644,14 @@ pub mod api { #[doc = " next block number where we can force a change."] pub fn next_forced( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_forced::NextForced, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "NextForced", (), @@ -12008,14 +12666,14 @@ pub mod api { #[doc = " `true` if we are currently stalled."] pub fn stalled( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::stalled::Stalled, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "Stalled", (), @@ -12030,14 +12688,14 @@ pub mod api { #[doc = " in the \"set\" of Grandpa validators from genesis."] pub fn current_set_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_set_id::CurrentSetId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "CurrentSetId", (), @@ -12061,14 +12719,14 @@ pub mod api { #[doc = " TWOX-NOTE: `SetId` is not under user control."] pub fn set_id_session_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::set_id_session::SetIdSession, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "SetIdSession", (), @@ -12092,17 +12750,21 @@ pub mod api { pub fn set_id_session( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::set_id_session::Param0, + >, types::set_id_session::SetIdSession, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "SetIdSession", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, @@ -12113,14 +12775,14 @@ pub mod api { #[doc = " The current list of authorities."] pub fn authorities( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::authorities::Authorities, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Grandpa", "Authorities", (), @@ -12141,8 +12803,10 @@ pub mod api { #[doc = " Max Authorities in use"] pub fn max_authorities( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxAuthorities", [ @@ -12156,8 +12820,10 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxNominators", [ @@ -12176,8 +12842,10 @@ pub mod api { #[doc = " can be zero."] pub fn max_set_id_session_entries( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Grandpa", "MaxSetIdSessionEntries", [ @@ -12205,18 +12873,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Assign an previously unassigned index."] #[doc = ""] #[doc = "Payment: `Deposit` is reserved from the sender account."] @@ -12236,23 +12908,27 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Claim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Indices"; const CALL: &'static str = "claim"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Assign an index already owned by the sender to another account. The balance reservation"] #[doc = "is effectively transferred to the new account."] #[doc = ""] @@ -12271,29 +12947,33 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type New = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Transfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Free up an index owned by the sender."] #[doc = ""] #[doc = "Payment: Any previous deposit placed for the index is unreserved in the sender account."] @@ -12313,23 +12993,27 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Free { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Free { const PALLET: &'static str = "Indices"; const CALL: &'static str = "free"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force an index to an account. This doesn't require a deposit. If the index is already"] #[doc = "held, then any deposit is reimbursed to its current owner."] #[doc = ""] @@ -12350,30 +13034,34 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type New = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; pub type Freeze = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Freeze an index so it will always point to the sender account. This consumes the"] #[doc = "deposit."] #[doc = ""] @@ -12393,7 +13081,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Freeze { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Freeze { const PALLET: &'static str = "Indices"; const CALL: &'static str = "freeze"; } @@ -12415,8 +13103,8 @@ pub mod api { pub fn claim( &self, index: types::claim::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "claim", types::Claim { index }, @@ -12443,8 +13131,8 @@ pub mod api { &self, new: types::transfer::New, index: types::transfer::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "transfer", types::Transfer { new, index }, @@ -12471,8 +13159,8 @@ pub mod api { pub fn free( &self, index: types::free::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "free", types::Free { index }, @@ -12502,8 +13190,8 @@ pub mod api { new: types::force_transfer::New, index: types::force_transfer::Index, freeze: types::force_transfer::Freeze, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "force_transfer", types::ForceTransfer { new, index, freeze }, @@ -12530,8 +13218,8 @@ pub mod api { pub fn freeze( &self, index: types::freeze::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Indices", "freeze", types::Freeze { index }, @@ -12550,18 +13238,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index was assigned."] pub struct IndexAssigned { pub who: index_assigned::Who, @@ -12569,26 +13257,26 @@ pub mod api { } pub mod index_assigned { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for IndexAssigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexAssigned { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexAssigned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index has been freed up (unassigned)."] pub struct IndexFreed { pub index: index_freed::Index, @@ -12597,23 +13285,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for IndexFreed { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFreed { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFreed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index has been frozen to its current account ID."] pub struct IndexFrozen { pub index: index_frozen::Index, @@ -12622,9 +13310,9 @@ pub mod api { pub mod index_frozen { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for IndexFrozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFrozen { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFrozen"; } @@ -12636,7 +13324,7 @@ pub mod api { pub mod accounts { use super::runtime_types; pub type Accounts = ( - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::bool, ); @@ -12648,14 +13336,14 @@ pub mod api { #[doc = " The lookup from index to account."] pub fn accounts_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::accounts::Accounts, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Indices", "Accounts", (), @@ -12671,17 +13359,21 @@ pub mod api { pub fn accounts( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::accounts::Param0, + >, types::accounts::Accounts, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Indices", "Accounts", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 48u8, 189u8, 43u8, 119u8, 32u8, 168u8, 28u8, 12u8, 245u8, 81u8, 119u8, 182u8, 23u8, 201u8, 33u8, 147u8, 128u8, 171u8, 155u8, 134u8, 71u8, @@ -12699,8 +13391,10 @@ pub mod api { #[doc = " The deposit needed for reserving an index."] pub fn deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Indices", "Deposit", [ @@ -12727,18 +13421,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose a sensitive action to be taken."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_ and the sender must"] @@ -12761,23 +13459,27 @@ pub mod api { >; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Propose { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Propose { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "propose"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Signals agreement with a particular proposal."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_ and the sender"] @@ -12792,23 +13494,27 @@ pub mod api { use super::runtime_types; pub type Proposal = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Second { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Second { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "second"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal;"] #[doc = "otherwise it is a vote to keep the status quo."] #[doc = ""] @@ -12827,23 +13533,27 @@ pub mod api { pub type Vote = runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "vote"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule an emergency cancellation of a referendum. Cannot happen twice to the same"] #[doc = "referendum."] #[doc = ""] @@ -12859,23 +13569,27 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for EmergencyCancel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EmergencyCancel { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "emergency_cancel"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a referendum to be tabled once it is legal to schedule an external"] #[doc = "referendum."] #[doc = ""] @@ -12892,23 +13606,27 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ExternalPropose { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalPropose { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a majority-carries referendum to be tabled next once it is legal to schedule"] #[doc = "an external referendum."] #[doc = ""] @@ -12930,23 +13648,27 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ExternalProposeMajority { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalProposeMajority { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose_majority"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a negative-turnout-bias referendum to be tabled next once it is legal to"] #[doc = "schedule an external referendum."] #[doc = ""] @@ -12968,23 +13690,27 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ExternalProposeDefault { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExternalProposeDefault { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "external_propose_default"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule the currently externally-proposed majority-carries referendum to be tabled"] #[doc = "immediately. If there is no externally-proposed referendum currently, or if there is one"] #[doc = "but it is not a majority-carries referendum then it fails."] @@ -13008,27 +13734,31 @@ pub mod api { } pub mod fast_track { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type VotingPeriod = ::core::primitive::u64; pub type Delay = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for FastTrack { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FastTrack { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "fast_track"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Veto and blacklist the external proposal hash."] #[doc = ""] #[doc = "The dispatch origin of this call must be `VetoOrigin`."] @@ -13043,25 +13773,29 @@ pub mod api { } pub mod veto_external { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for VetoExternal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VetoExternal { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "veto_external"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a referendum."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Root_."] @@ -13077,23 +13811,27 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelReferendum { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelReferendum { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "cancel_referendum"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Delegate the voting power (with some given conviction) of the sending account."] #[doc = ""] #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] @@ -13121,30 +13859,34 @@ pub mod api { } pub mod delegate { use super::runtime_types; - pub type To = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type To = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Conviction = runtime_types::pallet_democracy::conviction::Conviction; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Delegate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Delegate { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "delegate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Undelegate the voting power of the sending account."] #[doc = ""] #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] @@ -13158,46 +13900,54 @@ pub mod api { #[doc = "Weight: `O(R)` where R is the number of referendums the voter delegating to has"] #[doc = " voted on. Weight is charged as if maximum votes."] pub struct Undelegate; - impl ::subxt_core::blocks::StaticExtrinsic for Undelegate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Undelegate { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "undelegate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clears all public proposals."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Root_."] #[doc = ""] #[doc = "Weight: `O(1)`."] pub struct ClearPublicProposals; - impl ::subxt_core::blocks::StaticExtrinsic for ClearPublicProposals { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearPublicProposals { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "clear_public_proposals"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unlock tokens that have an expired lock."] #[doc = ""] #[doc = "The dispatch origin of this call must be _Signed_."] @@ -13210,28 +13960,32 @@ pub mod api { } pub mod unlock { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Unlock { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unlock { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "unlock"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a vote for a referendum."] #[doc = ""] #[doc = "If:"] @@ -13266,23 +14020,27 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveVote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveVote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "remove_vote"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a vote for a referendum."] #[doc = ""] #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] @@ -13304,29 +14062,33 @@ pub mod api { } pub mod remove_other_vote { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveOtherVote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveOtherVote { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "remove_other_vote"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Permanently place a proposal into the blacklist. This prevents it from ever being"] #[doc = "proposed again."] #[doc = ""] @@ -13348,26 +14110,30 @@ pub mod api { } pub mod blacklist { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type MaybeRefIndex = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt_core::blocks::StaticExtrinsic for Blacklist { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Blacklist { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "blacklist"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a proposal."] #[doc = ""] #[doc = "The dispatch origin of this call must be `CancelProposalOrigin`."] @@ -13383,23 +14149,27 @@ pub mod api { use super::runtime_types; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelProposal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelProposal { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "cancel_proposal"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set or clear a metadata of a proposal or a referendum."] #[doc = ""] #[doc = "Parameters:"] @@ -13422,9 +14192,10 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type MaybeHash = ::core::option::Option<::subxt_core::utils::H256>; + pub type MaybeHash = + ::core::option::Option<::subxt::ext::subxt_core::utils::H256>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Democracy"; const CALL: &'static str = "set_metadata"; } @@ -13444,8 +14215,8 @@ pub mod api { &self, proposal: types::propose::Proposal, value: types::propose::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "propose", types::Propose { proposal, value }, @@ -13466,8 +14237,8 @@ pub mod api { pub fn second( &self, proposal: types::second::Proposal, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "second", types::Second { proposal }, @@ -13490,8 +14261,8 @@ pub mod api { &self, ref_index: types::vote::RefIndex, vote: types::vote::Vote, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "vote", types::Vote { ref_index, vote }, @@ -13513,8 +14284,8 @@ pub mod api { pub fn emergency_cancel( &self, ref_index: types::emergency_cancel::RefIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "emergency_cancel", types::EmergencyCancel { ref_index }, @@ -13534,8 +14305,8 @@ pub mod api { pub fn external_propose( &self, proposal: types::external_propose::Proposal, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose", types::ExternalPropose { proposal }, @@ -13560,8 +14331,10 @@ pub mod api { pub fn external_propose_majority( &self, proposal: types::external_propose_majority::Proposal, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ExternalProposeMajority, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose_majority", types::ExternalProposeMajority { proposal }, @@ -13586,8 +14359,10 @@ pub mod api { pub fn external_propose_default( &self, proposal: types::external_propose_default::Proposal, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ExternalProposeDefault, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "external_propose_default", types::ExternalProposeDefault { proposal }, @@ -13619,8 +14394,8 @@ pub mod api { proposal_hash: types::fast_track::ProposalHash, voting_period: types::fast_track::VotingPeriod, delay: types::fast_track::Delay, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "fast_track", types::FastTrack { proposal_hash, voting_period, delay }, @@ -13643,8 +14418,8 @@ pub mod api { pub fn veto_external( &self, proposal_hash: types::veto_external::ProposalHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "veto_external", types::VetoExternal { proposal_hash }, @@ -13666,8 +14441,8 @@ pub mod api { pub fn cancel_referendum( &self, ref_index: types::cancel_referendum::RefIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "cancel_referendum", types::CancelReferendum { ref_index }, @@ -13704,8 +14479,8 @@ pub mod api { to: types::delegate::To, conviction: types::delegate::Conviction, balance: types::delegate::Balance, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "delegate", types::Delegate { to, conviction, balance }, @@ -13730,8 +14505,8 @@ pub mod api { #[doc = " voted on. Weight is charged as if maximum votes."] pub fn undelegate( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "undelegate", types::Undelegate {}, @@ -13750,8 +14525,9 @@ pub mod api { #[doc = "Weight: `O(1)`."] pub fn clear_public_proposals( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "clear_public_proposals", types::ClearPublicProposals {}, @@ -13773,8 +14549,8 @@ pub mod api { pub fn unlock( &self, target: types::unlock::Target, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "unlock", types::Unlock { target }, @@ -13816,8 +14592,8 @@ pub mod api { pub fn remove_vote( &self, index: types::remove_vote::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "remove_vote", types::RemoveVote { index }, @@ -13848,8 +14624,8 @@ pub mod api { &self, target: types::remove_other_vote::Target, index: types::remove_other_vote::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "remove_other_vote", types::RemoveOtherVote { target, index }, @@ -13879,8 +14655,8 @@ pub mod api { &self, proposal_hash: types::blacklist::ProposalHash, maybe_ref_index: types::blacklist::MaybeRefIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "blacklist", types::Blacklist { proposal_hash, maybe_ref_index }, @@ -13902,8 +14678,8 @@ pub mod api { pub fn cancel_proposal( &self, prop_index: types::cancel_proposal::PropIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "cancel_proposal", types::CancelProposal { prop_index }, @@ -13933,8 +14709,8 @@ pub mod api { &self, owner: types::set_metadata::Owner, maybe_hash: types::set_metadata::MaybeHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Democracy", "set_metadata", types::SetMetadata { owner, maybe_hash }, @@ -13952,18 +14728,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion has been proposed by a public account."] pub struct Proposed { pub proposal_index: proposed::ProposalIndex, @@ -13974,23 +14750,23 @@ pub mod api { pub type ProposalIndex = ::core::primitive::u32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Proposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Proposed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Proposed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A public proposal has been tabled for referendum vote."] pub struct Tabled { pub proposal_index: tabled::ProposalIndex, @@ -14001,42 +14777,42 @@ pub mod api { pub type ProposalIndex = ::core::primitive::u32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Tabled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Tabled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Tabled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An external proposal has been tabled."] pub struct ExternalTabled; - impl ::subxt_core::events::StaticEvent for ExternalTabled { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExternalTabled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "ExternalTabled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has begun."] pub struct Started { pub ref_index: started::RefIndex, @@ -14047,23 +14823,23 @@ pub mod api { pub type RefIndex = ::core::primitive::u32; pub type Threshold = runtime_types::pallet_democracy::vote_threshold::VoteThreshold; } - impl ::subxt_core::events::StaticEvent for Started { + impl ::subxt::ext::subxt_core::events::StaticEvent for Started { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Started"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been approved by referendum."] pub struct Passed { pub ref_index: passed::RefIndex, @@ -14072,23 +14848,23 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Passed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Passed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Passed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been rejected by referendum."] pub struct NotPassed { pub ref_index: not_passed::RefIndex, @@ -14097,23 +14873,23 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for NotPassed { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotPassed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "NotPassed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been cancelled."] pub struct Cancelled { pub ref_index: cancelled::RefIndex, @@ -14122,23 +14898,23 @@ pub mod api { use super::runtime_types; pub type RefIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Cancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Cancelled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has delegated their vote to another account."] pub struct Delegated { pub who: delegated::Who, @@ -14146,51 +14922,51 @@ pub mod api { } pub mod delegated { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; - pub type Target = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Target = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Delegated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Delegated { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Delegated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has cancelled a previous delegation operation."] pub struct Undelegated { pub account: undelegated::Account, } pub mod undelegated { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Undelegated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Undelegated { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Undelegated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An external proposal has been vetoed."] pub struct Vetoed { pub who: vetoed::Who, @@ -14199,52 +14975,52 @@ pub mod api { } pub mod vetoed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Until = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for Vetoed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Vetoed { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Vetoed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal_hash has been blacklisted permanently."] pub struct Blacklisted { pub proposal_hash: blacklisted::ProposalHash, } pub mod blacklisted { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Blacklisted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Blacklisted { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Blacklisted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has voted in a referendum"] pub struct Voted { pub voter: voted::Voter, @@ -14253,28 +15029,28 @@ pub mod api { } pub mod voted { use super::runtime_types; - pub type Voter = ::subxt_core::utils::AccountId32; + pub type Voter = ::subxt::ext::subxt_core::utils::AccountId32; pub type RefIndex = ::core::primitive::u32; pub type Vote = runtime_types::pallet_democracy::vote::AccountVote<::core::primitive::u128>; } - impl ::subxt_core::events::StaticEvent for Voted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Voted { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Voted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has seconded a proposal"] pub struct Seconded { pub seconder: seconded::Seconder, @@ -14282,26 +15058,26 @@ pub mod api { } pub mod seconded { use super::runtime_types; - pub type Seconder = ::subxt_core::utils::AccountId32; + pub type Seconder = ::subxt::ext::subxt_core::utils::AccountId32; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Seconded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Seconded { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "Seconded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal got canceled."] pub struct ProposalCanceled { pub prop_index: proposal_canceled::PropIndex, @@ -14310,23 +15086,23 @@ pub mod api { use super::runtime_types; pub type PropIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for ProposalCanceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProposalCanceled { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "ProposalCanceled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a proposal or a referendum has been set."] pub struct MetadataSet { pub owner: metadata_set::Owner, @@ -14335,25 +15111,25 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for MetadataSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a proposal or a referendum has been cleared."] pub struct MetadataCleared { pub owner: metadata_cleared::Owner, @@ -14362,25 +15138,25 @@ pub mod api { pub mod metadata_cleared { use super::runtime_types; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for MetadataCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataCleared"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata has been transferred to new owner."] pub struct MetadataTransferred { pub prev_owner: metadata_transferred::PrevOwner, @@ -14391,9 +15167,9 @@ pub mod api { use super::runtime_types; pub type PrevOwner = runtime_types::pallet_democracy::types::MetadataOwner; pub type Owner = runtime_types::pallet_democracy::types::MetadataOwner; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for MetadataTransferred { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataTransferred { const PALLET: &'static str = "Democracy"; const EVENT: &'static str = "MetadataTransferred"; } @@ -14415,14 +15191,14 @@ pub mod api { runtime_types::tangle_testnet_runtime::RuntimeCall, runtime_types::sp_runtime::traits::BlakeTwo256, >, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>; } pub mod deposit_of { use super::runtime_types; pub type DepositOf = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, ::core::primitive::u128, ); @@ -14453,10 +15229,10 @@ pub mod api { use super::runtime_types; pub type VotingOf = runtime_types::pallet_democracy::vote::Voting< ::core::primitive::u128, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod last_tabled_was_external { use super::runtime_types; @@ -14477,19 +15253,19 @@ pub mod api { pub type Blacklist = ( ::core::primitive::u64, runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, ); - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod cancellations { use super::runtime_types; pub type Cancellations = ::core::primitive::bool; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod metadata_of { use super::runtime_types; - pub type MetadataOf = ::subxt_core::utils::H256; + pub type MetadataOf = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = runtime_types::pallet_democracy::types::MetadataOwner; } } @@ -14498,14 +15274,14 @@ pub mod api { #[doc = " The number of (public) proposals that have been made so far."] pub fn public_prop_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::public_prop_count::PublicPropCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "PublicPropCount", (), @@ -14520,14 +15296,14 @@ pub mod api { #[doc = " The public proposals. Unsorted. The second item is the proposal."] pub fn public_props( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::public_props::PublicProps, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "PublicProps", (), @@ -14543,14 +15319,14 @@ pub mod api { #[doc = " TWOX-NOTE: Safe, as increasing integer keys are safe."] pub fn deposit_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::deposit_of::DepositOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "DepositOf", (), @@ -14567,17 +15343,21 @@ pub mod api { pub fn deposit_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::deposit_of::Param0, + >, types::deposit_of::DepositOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "DepositOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 115u8, 12u8, 250u8, 191u8, 201u8, 165u8, 90u8, 140u8, 101u8, 47u8, 46u8, 3u8, 78u8, 30u8, 180u8, 22u8, 28u8, 154u8, 36u8, 99u8, 255u8, @@ -14588,14 +15368,14 @@ pub mod api { #[doc = " The next free referendum index, aka the number of referenda started so far."] pub fn referendum_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::referendum_count::ReferendumCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumCount", (), @@ -14611,14 +15391,14 @@ pub mod api { #[doc = " `ReferendumCount` if there isn't a unbaked referendum."] pub fn lowest_unbaked( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::lowest_unbaked::LowestUnbaked, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "LowestUnbaked", (), @@ -14634,14 +15414,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as indexes are not under an attacker’s control."] pub fn referendum_info_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::referendum_info_of::ReferendumInfoOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumInfoOf", (), @@ -14659,19 +15439,21 @@ pub mod api { pub fn referendum_info_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::referendum_info_of::Param0, >, types::referendum_info_of::ReferendumInfoOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "ReferendumInfoOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 217u8, 175u8, 87u8, 114u8, 161u8, 182u8, 123u8, 182u8, 138u8, 13u8, 118u8, 20u8, 166u8, 149u8, 55u8, 214u8, 114u8, 159u8, 92u8, 25u8, 27u8, @@ -14686,14 +15468,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway."] pub fn voting_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::voting_of::VotingOf, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "VotingOf", (), @@ -14711,17 +15493,21 @@ pub mod api { pub fn voting_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting_of::Param0, + >, types::voting_of::VotingOf, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "VotingOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 186u8, 236u8, 158u8, 48u8, 144u8, 152u8, 83u8, 86u8, 60u8, 19u8, 171u8, 90u8, 26u8, 143u8, 170u8, 108u8, 82u8, 2u8, 38u8, 163u8, 80u8, 8u8, @@ -14733,14 +15519,14 @@ pub mod api { #[doc = " proposal."] pub fn last_tabled_was_external( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::last_tabled_was_external::LastTabledWasExternal, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "LastTabledWasExternal", (), @@ -14757,14 +15543,14 @@ pub mod api { #[doc = " - `PublicProps` is empty."] pub fn next_external( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_external::NextExternal, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "NextExternal", (), @@ -14780,14 +15566,14 @@ pub mod api { #[doc = " (until when it may not be resubmitted) and who vetoed it."] pub fn blacklist_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::blacklist::Blacklist, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Blacklist", (), @@ -14804,17 +15590,21 @@ pub mod api { pub fn blacklist( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::blacklist::Param0, + >, types::blacklist::Blacklist, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Blacklist", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 154u8, 19u8, 120u8, 140u8, 124u8, 231u8, 105u8, 73u8, 99u8, 132u8, 186u8, 213u8, 121u8, 255u8, 5u8, 160u8, 95u8, 68u8, 229u8, 185u8, @@ -14826,14 +15616,14 @@ pub mod api { #[doc = " Record of all proposals that have been subject to emergency cancellation."] pub fn cancellations_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::cancellations::Cancellations, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Cancellations", (), @@ -14849,17 +15639,21 @@ pub mod api { pub fn cancellations( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::cancellations::Param0, + >, types::cancellations::Cancellations, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "Cancellations", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 80u8, 190u8, 98u8, 105u8, 129u8, 25u8, 167u8, 180u8, 74u8, 128u8, 232u8, 29u8, 193u8, 209u8, 185u8, 60u8, 18u8, 180u8, 59u8, 192u8, @@ -14876,14 +15670,14 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::metadata_of::MetadataOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "MetadataOf", (), @@ -14904,17 +15698,21 @@ pub mod api { pub fn metadata_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata_of::Param0, + >, types::metadata_of::MetadataOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Democracy", "MetadataOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 52u8, 151u8, 124u8, 110u8, 85u8, 173u8, 181u8, 86u8, 174u8, 183u8, 102u8, 22u8, 8u8, 36u8, 224u8, 114u8, 98u8, 0u8, 220u8, 215u8, 19u8, @@ -14936,8 +15734,10 @@ pub mod api { #[doc = " where they are on the losing side of a vote."] pub fn enactment_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "EnactmentPeriod", [ @@ -14951,8 +15751,10 @@ pub mod api { #[doc = " How often (in blocks) new public referenda are launched."] pub fn launch_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "LaunchPeriod", [ @@ -14966,8 +15768,10 @@ pub mod api { #[doc = " How often (in blocks) to check for new votes."] pub fn voting_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "VotingPeriod", [ @@ -14984,8 +15788,10 @@ pub mod api { #[doc = " those successful voters are locked into the consequences that their votes entail."] pub fn vote_locking_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "VoteLockingPeriod", [ @@ -14999,8 +15805,10 @@ pub mod api { #[doc = " The minimum amount to be used as a deposit for a public referendum proposal."] pub fn minimum_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MinimumDeposit", [ @@ -15015,8 +15823,10 @@ pub mod api { #[doc = " as an upgrade having happened recently."] pub fn instant_allowed( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::bool> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::bool, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "InstantAllowed", [ @@ -15029,8 +15839,10 @@ pub mod api { #[doc = " Minimum voting period allowed for a fast-track referendum."] pub fn fast_track_voting_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "FastTrackVotingPeriod", [ @@ -15044,8 +15856,10 @@ pub mod api { #[doc = " Period in blocks where an external proposal may not be re-submitted after being vetoed."] pub fn cooloff_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "CooloffPeriod", [ @@ -15062,8 +15876,10 @@ pub mod api { #[doc = " lead to extrinsic with very big weight: see `delegate` for instance."] pub fn max_votes( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxVotes", [ @@ -15077,8 +15893,10 @@ pub mod api { #[doc = " The maximum number of public proposals that can exist at any time."] pub fn max_proposals( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxProposals", [ @@ -15092,8 +15910,10 @@ pub mod api { #[doc = " The maximum number of deposits a public proposal may have at any time."] pub fn max_deposits( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxDeposits", [ @@ -15107,8 +15927,10 @@ pub mod api { #[doc = " The maximum number of items which can be blacklisted."] pub fn max_blacklisted( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Democracy", "MaxBlacklisted", [ @@ -15136,18 +15958,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the collective's membership."] #[doc = ""] #[doc = "- `new_members`: The new member list. Be nice to the chain and provide it sorted."] @@ -15179,28 +16005,34 @@ pub mod api { } pub mod set_members { use super::runtime_types; - pub type NewMembers = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type Prime = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type NewMembers = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type Prime = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; pub type OldCount = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMembers { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMembers { const PALLET: &'static str = "Council"; const CALL: &'static str = "set_members"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispatch a proposal from a member using the `Member` origin."] #[doc = ""] #[doc = "Origin must be a member of the collective."] @@ -15211,7 +16043,7 @@ pub mod api { #[doc = "- `M` members-count (code-bounded)"] #[doc = "- `P` complexity of dispatching `proposal`"] pub struct Execute { - pub proposal: ::subxt_core::alloc::boxed::Box, + pub proposal: ::subxt::ext::subxt_core::alloc::boxed::Box, #[codec(compact)] pub length_bound: execute::LengthBound, } @@ -15220,23 +16052,27 @@ pub mod api { pub type Proposal = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Execute { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Execute { const PALLET: &'static str = "Council"; const CALL: &'static str = "execute"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add a new proposal to either be voted on or executed directly."] #[doc = ""] #[doc = "Requires the sender to be member."] @@ -15254,7 +16090,7 @@ pub mod api { pub struct Propose { #[codec(compact)] pub threshold: propose::Threshold, - pub proposal: ::subxt_core::alloc::boxed::Box, + pub proposal: ::subxt::ext::subxt_core::alloc::boxed::Box, #[codec(compact)] pub length_bound: propose::LengthBound, } @@ -15264,23 +16100,27 @@ pub mod api { pub type Proposal = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Propose { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Propose { const PALLET: &'static str = "Council"; const CALL: &'static str = "propose"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add an aye or nay vote for the sender to the given proposal."] #[doc = ""] #[doc = "Requires the sender to be a member."] @@ -15298,27 +16138,31 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Proposal = ::subxt_core::utils::H256; + pub type Proposal = ::subxt::ext::subxt_core::utils::H256; pub type Index = ::core::primitive::u32; pub type Approve = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Council"; const CALL: &'static str = "vote"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Disapprove a proposal, close, and remove it from the system, regardless of its current"] #[doc = "state."] #[doc = ""] @@ -15334,25 +16178,29 @@ pub mod api { } pub mod disapprove_proposal { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for DisapproveProposal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DisapproveProposal { const PALLET: &'static str = "Council"; const CALL: &'static str = "disapprove_proposal"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Close a vote that is either approved, disapproved or whose voting period has ended."] #[doc = ""] #[doc = "May be called by any signed account in order to finish voting and close the proposal."] @@ -15387,12 +16235,12 @@ pub mod api { } pub mod close { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Index = ::core::primitive::u32; pub type ProposalWeightBound = runtime_types::sp_weights::weight_v2::Weight; pub type LengthBound = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Close { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Close { const PALLET: &'static str = "Council"; const CALL: &'static str = "close"; } @@ -15428,8 +16276,8 @@ pub mod api { new_members: types::set_members::NewMembers, prime: types::set_members::Prime, old_count: types::set_members::OldCount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "set_members", types::SetMembers { new_members, prime, old_count }, @@ -15454,19 +16302,19 @@ pub mod api { &self, proposal: types::execute::Proposal, length_bound: types::execute::LengthBound, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "execute", types::Execute { - proposal: ::subxt_core::alloc::boxed::Box::new(proposal), + proposal: ::subxt::ext::subxt_core::alloc::boxed::Box::new(proposal), length_bound, }, [ - 52u8, 56u8, 84u8, 229u8, 215u8, 26u8, 173u8, 244u8, 118u8, 121u8, 19u8, - 224u8, 154u8, 115u8, 109u8, 228u8, 195u8, 91u8, 180u8, 53u8, 1u8, - 175u8, 2u8, 148u8, 212u8, 178u8, 213u8, 154u8, 121u8, 132u8, 80u8, - 158u8, + 128u8, 238u8, 146u8, 178u8, 171u8, 135u8, 4u8, 198u8, 40u8, 215u8, + 236u8, 230u8, 223u8, 48u8, 45u8, 185u8, 183u8, 60u8, 91u8, 105u8, 80u8, + 231u8, 246u8, 49u8, 109u8, 80u8, 128u8, 189u8, 7u8, 212u8, 208u8, + 135u8, ], ) } @@ -15489,20 +16337,20 @@ pub mod api { threshold: types::propose::Threshold, proposal: types::propose::Proposal, length_bound: types::propose::LengthBound, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "propose", types::Propose { threshold, - proposal: ::subxt_core::alloc::boxed::Box::new(proposal), + proposal: ::subxt::ext::subxt_core::alloc::boxed::Box::new(proposal), length_bound, }, [ - 26u8, 212u8, 6u8, 225u8, 22u8, 37u8, 188u8, 121u8, 22u8, 224u8, 75u8, - 108u8, 69u8, 1u8, 125u8, 150u8, 118u8, 191u8, 196u8, 155u8, 196u8, - 125u8, 198u8, 240u8, 58u8, 194u8, 253u8, 12u8, 196u8, 146u8, 10u8, - 239u8, + 31u8, 133u8, 247u8, 163u8, 37u8, 224u8, 42u8, 248u8, 23u8, 232u8, + 249u8, 87u8, 223u8, 248u8, 145u8, 219u8, 53u8, 199u8, 61u8, 201u8, + 69u8, 153u8, 183u8, 78u8, 82u8, 169u8, 6u8, 151u8, 101u8, 43u8, 166u8, + 143u8, ], ) } @@ -15520,8 +16368,8 @@ pub mod api { proposal: types::vote::Proposal, index: types::vote::Index, approve: types::vote::Approve, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "vote", types::Vote { proposal, index, approve }, @@ -15546,8 +16394,9 @@ pub mod api { pub fn disapprove_proposal( &self, proposal_hash: types::disapprove_proposal::ProposalHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "disapprove_proposal", types::DisapproveProposal { proposal_hash }, @@ -15588,8 +16437,8 @@ pub mod api { index: types::close::Index, proposal_weight_bound: types::close::ProposalWeightBound, length_bound: types::close::LengthBound, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Council", "close", types::Close { proposal_hash, index, proposal_weight_bound, length_bound }, @@ -15607,18 +16456,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] #[doc = "`MemberCount`)."] pub struct Proposed { @@ -15629,28 +16478,28 @@ pub mod api { } pub mod proposed { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProposalIndex = ::core::primitive::u32; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Threshold = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Proposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Proposed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Proposed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion (given hash) has been voted on by given account, leaving"] #[doc = "a tally (yes votes and no votes given respectively as `MemberCount`)."] pub struct Voted { @@ -15662,79 +16511,79 @@ pub mod api { } pub mod voted { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Voted = ::core::primitive::bool; pub type Yes = ::core::primitive::u32; pub type No = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Voted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Voted { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Voted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion was approved by the required threshold."] pub struct Approved { pub proposal_hash: approved::ProposalHash, } pub mod approved { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Approved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Approved { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Approved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion was not approved by the required threshold."] pub struct Disapproved { pub proposal_hash: disapproved::ProposalHash, } pub mod disapproved { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Disapproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Disapproved { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Disapproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] pub struct Executed { pub proposal_hash: executed::ProposalHash, @@ -15742,27 +16591,27 @@ pub mod api { } pub mod executed { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for Executed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Executed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] pub struct MemberExecuted { pub proposal_hash: member_executed::ProposalHash, @@ -15770,27 +16619,27 @@ pub mod api { } pub mod member_executed { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for MemberExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberExecuted { const PALLET: &'static str = "Council"; const EVENT: &'static str = "MemberExecuted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] pub struct Closed { pub proposal_hash: closed::ProposalHash, @@ -15799,11 +16648,11 @@ pub mod api { } pub mod closed { use super::runtime_types; - pub type ProposalHash = ::subxt_core::utils::H256; + pub type ProposalHash = ::subxt::ext::subxt_core::utils::H256; pub type Yes = ::core::primitive::u32; pub type No = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Closed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Closed { const PALLET: &'static str = "Council"; const EVENT: &'static str = "Closed"; } @@ -15816,21 +16665,21 @@ pub mod api { use super::runtime_types; pub type Proposals = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } pub mod proposal_of { use super::runtime_types; pub type ProposalOf = runtime_types::tangle_testnet_runtime::RuntimeCall; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod voting { use super::runtime_types; pub type Voting = runtime_types::pallet_collective::Votes< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, >; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod proposal_count { use super::runtime_types; @@ -15838,12 +16687,13 @@ pub mod api { } pub mod members { use super::runtime_types; - pub type Members = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Members = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } pub mod prime { use super::runtime_types; - pub type Prime = ::subxt_core::utils::AccountId32; + pub type Prime = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -15851,14 +16701,14 @@ pub mod api { #[doc = " The hashes of the active proposals."] pub fn proposals( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proposals::Proposals, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "Proposals", (), @@ -15872,21 +16722,22 @@ pub mod api { #[doc = " Actual proposal for a given hash, if it's current."] pub fn proposal_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proposal_of::ProposalOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalOf", (), [ - 35u8, 33u8, 35u8, 57u8, 146u8, 176u8, 12u8, 103u8, 218u8, 108u8, 149u8, - 98u8, 77u8, 163u8, 221u8, 9u8, 211u8, 213u8, 235u8, 90u8, 32u8, 75u8, - 75u8, 55u8, 238u8, 3u8, 13u8, 255u8, 236u8, 21u8, 241u8, 144u8, + 247u8, 226u8, 58u8, 148u8, 117u8, 37u8, 222u8, 70u8, 22u8, 187u8, + 210u8, 84u8, 249u8, 145u8, 90u8, 66u8, 220u8, 185u8, 48u8, 223u8, + 162u8, 33u8, 59u8, 206u8, 210u8, 235u8, 74u8, 206u8, 168u8, 154u8, + 188u8, 180u8, ], ) } @@ -15894,35 +16745,40 @@ pub mod api { pub fn proposal_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proposal_of::Param0, + >, types::proposal_of::ProposalOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 35u8, 33u8, 35u8, 57u8, 146u8, 176u8, 12u8, 103u8, 218u8, 108u8, 149u8, - 98u8, 77u8, 163u8, 221u8, 9u8, 211u8, 213u8, 235u8, 90u8, 32u8, 75u8, - 75u8, 55u8, 238u8, 3u8, 13u8, 255u8, 236u8, 21u8, 241u8, 144u8, + 247u8, 226u8, 58u8, 148u8, 117u8, 37u8, 222u8, 70u8, 22u8, 187u8, + 210u8, 84u8, 249u8, 145u8, 90u8, 66u8, 220u8, 185u8, 48u8, 223u8, + 162u8, 33u8, 59u8, 206u8, 210u8, 235u8, 74u8, 206u8, 168u8, 154u8, + 188u8, 180u8, ], ) } #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::voting::Voting, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "Voting", (), @@ -15937,17 +16793,21 @@ pub mod api { pub fn voting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting::Param0, + >, types::voting::Voting, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "Voting", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 224u8, 140u8, 244u8, 24u8, 39u8, 198u8, 146u8, 44u8, 158u8, 251u8, 1u8, 108u8, 40u8, 35u8, 34u8, 27u8, 98u8, 168u8, 153u8, 39u8, 174u8, 84u8, @@ -15958,14 +16818,14 @@ pub mod api { #[doc = " Proposals so far."] pub fn proposal_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proposal_count::ProposalCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "ProposalCount", (), @@ -15979,14 +16839,14 @@ pub mod api { #[doc = " The current members of the collective. This is stored sorted (just by value)."] pub fn members( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::members::Members, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "Members", (), @@ -16000,14 +16860,14 @@ pub mod api { #[doc = " The prime member that helps determine the default vote behavior in case of abstentions."] pub fn prime( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::prime::Prime, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Council", "Prime", (), @@ -16027,10 +16887,10 @@ pub mod api { #[doc = " The maximum weight of a dispatch call that can be proposed and executed."] pub fn max_proposal_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Council", "MaxProposalWeight", [ @@ -16058,18 +16918,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unlock any vested funds of the sender account."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have funds still"] @@ -16080,23 +16944,27 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] pub struct Vest; - impl ::subxt_core::blocks::StaticExtrinsic for Vest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vest { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unlock any vested funds of a `target` account."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -16113,28 +16981,32 @@ pub mod api { } pub mod vest_other { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for VestOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestOther { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a vested transfer."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -16154,8 +17026,8 @@ pub mod api { } pub mod vested_transfer { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -16163,23 +17035,27 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::blocks::StaticExtrinsic for VestedTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vested_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force a vested transfer."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -16201,12 +17077,12 @@ pub mod api { } pub mod force_vested_transfer { use super::runtime_types; - pub type Source = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -16214,23 +17090,27 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceVestedTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceVestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "force_vested_transfer"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] #[doc = "the highest possible start and end blocks. If both schedules have already started the"] #[doc = "current block will be used as the schedule start; with the caveat that if one schedule"] @@ -16261,23 +17141,27 @@ pub mod api { pub type Schedule1Index = ::core::primitive::u32; pub type Schedule2Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for MergeSchedules { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MergeSchedules { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "merge_schedules"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force remove a vesting schedule"] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -16290,13 +17174,13 @@ pub mod api { } pub mod force_remove_vesting_schedule { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ScheduleIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceRemoveVestingSchedule { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceRemoveVestingSchedule { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "force_remove_vesting_schedule"; } @@ -16312,8 +17196,10 @@ pub mod api { #[doc = ""] #[doc = "## Complexity"] #[doc = "- `O(1)`."] - pub fn vest(&self) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + pub fn vest( + &self, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vest", types::Vest {}, @@ -16339,8 +17225,8 @@ pub mod api { pub fn vest_other( &self, target: types::vest_other::Target, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vest_other", types::VestOther { target }, @@ -16368,8 +17254,8 @@ pub mod api { &self, target: types::vested_transfer::Target, schedule: types::vested_transfer::Schedule, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "vested_transfer", types::VestedTransfer { target, schedule }, @@ -16400,8 +17286,9 @@ pub mod api { source: types::force_vested_transfer::Source, target: types::force_vested_transfer::Target, schedule: types::force_vested_transfer::Schedule, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "force_vested_transfer", types::ForceVestedTransfer { source, target, schedule }, @@ -16437,8 +17324,8 @@ pub mod api { &self, schedule1_index: types::merge_schedules::Schedule1Index, schedule2_index: types::merge_schedules::Schedule2Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "merge_schedules", types::MergeSchedules { schedule1_index, schedule2_index }, @@ -16459,8 +17346,10 @@ pub mod api { &self, target: types::force_remove_vesting_schedule::Target, schedule_index: types::force_remove_vesting_schedule::ScheduleIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ForceRemoveVestingSchedule, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Vesting", "force_remove_vesting_schedule", types::ForceRemoveVestingSchedule { target, schedule_index }, @@ -16479,18 +17368,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The amount vested has been updated. This could indicate a change in funds available."] #[doc = "The balance given is the amount which is left unvested (and thus locked)."] pub struct VestingUpdated { @@ -16499,35 +17388,35 @@ pub mod api { } pub mod vesting_updated { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Unvested = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for VestingUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for VestingUpdated { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An \\[account\\] has become fully vested."] pub struct VestingCompleted { pub account: vesting_completed::Account, } pub mod vesting_completed { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for VestingCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for VestingCompleted { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingCompleted"; } @@ -16544,7 +17433,7 @@ pub mod api { ::core::primitive::u64, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod storage_version { use super::runtime_types; @@ -16556,14 +17445,14 @@ pub mod api { #[doc = " Information regarding the vesting of a given account."] pub fn vesting_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::vesting::Vesting, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "Vesting", (), @@ -16578,17 +17467,21 @@ pub mod api { pub fn vesting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::vesting::Param0, + >, types::vesting::Vesting, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "Vesting", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 37u8, 146u8, 66u8, 220u8, 99u8, 154u8, 82u8, 170u8, 197u8, 250u8, 73u8, 125u8, 96u8, 104u8, 37u8, 226u8, 30u8, 111u8, 75u8, 18u8, 130u8, 206u8, @@ -16601,14 +17494,14 @@ pub mod api { #[doc = " New networks start with latest version, as determined by the genesis build."] pub fn storage_version( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::storage_version::StorageVersion, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Vesting", "StorageVersion", (), @@ -16628,8 +17521,10 @@ pub mod api { #[doc = " The minimum amount transferred to call `vested_transfer`."] pub fn min_vested_transfer( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Vesting", "MinVestedTransfer", [ @@ -16641,8 +17536,10 @@ pub mod api { } pub fn max_vesting_schedules( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Vesting", "MaxVestingSchedules", [ @@ -16670,18 +17567,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Vote for a set of candidates for the upcoming round of election. This can be called to"] #[doc = "set the initial votes, or update already existing votes."] #[doc = ""] @@ -16708,50 +17609,59 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Votes = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Votes = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Elections"; const CALL: &'static str = "vote"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove `origin` as a voter."] #[doc = ""] #[doc = "This removes the lock and returns the deposit."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed and be a voter."] pub struct RemoveVoter; - impl ::subxt_core::blocks::StaticExtrinsic for RemoveVoter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveVoter { const PALLET: &'static str = "Elections"; const CALL: &'static str = "remove_voter"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Submit oneself for candidacy. A fixed amount of deposit is recorded."] #[doc = ""] #[doc = "All candidates are wiped at the end of the term. They either become a member/runner-up,"] @@ -16775,23 +17685,27 @@ pub mod api { use super::runtime_types; pub type CandidateCount = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for SubmitCandidacy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitCandidacy { const PALLET: &'static str = "Elections"; const CALL: &'static str = "submit_candidacy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Renounce one's intention to be a candidate for the next election round. 3 potential"] #[doc = "outcomes exist:"] #[doc = ""] @@ -16819,23 +17733,27 @@ pub mod api { use super::runtime_types; pub type Renouncing = runtime_types::pallet_elections_phragmen::Renouncing; } - impl ::subxt_core::blocks::StaticExtrinsic for RenounceCandidacy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RenounceCandidacy { const PALLET: &'static str = "Elections"; const CALL: &'static str = "renounce_candidacy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a particular member from the set. This is effective immediately and the bond of"] #[doc = "the outgoing member is slashed."] #[doc = ""] @@ -16859,30 +17777,34 @@ pub mod api { } pub mod remove_member { use super::runtime_types; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type SlashBond = ::core::primitive::bool; pub type RerunElection = ::core::primitive::bool; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveMember { const PALLET: &'static str = "Elections"; const CALL: &'static str = "remove_member"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clean all voters who are defunct (i.e. they do not serve any purpose at all). The"] #[doc = "deposit of the removed voters are returned."] #[doc = ""] @@ -16901,7 +17823,7 @@ pub mod api { pub type NumVoters = ::core::primitive::u32; pub type NumDefunct = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CleanDefunctVoters { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CleanDefunctVoters { const PALLET: &'static str = "Elections"; const CALL: &'static str = "clean_defunct_voters"; } @@ -16931,8 +17853,8 @@ pub mod api { &self, votes: types::vote::Votes, value: types::vote::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "vote", types::Vote { votes, value }, @@ -16950,8 +17872,8 @@ pub mod api { #[doc = "The dispatch origin of this call must be signed and be a voter."] pub fn remove_voter( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "remove_voter", types::RemoveVoter {}, @@ -16981,8 +17903,8 @@ pub mod api { pub fn submit_candidacy( &self, candidate_count: types::submit_candidacy::CandidateCount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "submit_candidacy", types::SubmitCandidacy { candidate_count }, @@ -17017,8 +17939,9 @@ pub mod api { pub fn renounce_candidacy( &self, renouncing: types::renounce_candidacy::Renouncing, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "renounce_candidacy", types::RenounceCandidacy { renouncing }, @@ -17051,8 +17974,8 @@ pub mod api { who: types::remove_member::Who, slash_bond: types::remove_member::SlashBond, rerun_election: types::remove_member::RerunElection, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "remove_member", types::RemoveMember { who, slash_bond, rerun_election }, @@ -17077,8 +18000,9 @@ pub mod api { &self, num_voters: types::clean_defunct_voters::NumVoters, num_defunct: types::clean_defunct_voters::NumDefunct, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Elections", "clean_defunct_voters", types::CleanDefunctVoters { num_voters, num_defunct }, @@ -17096,18 +18020,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new term with new_members. This indicates that enough candidates existed to run"] #[doc = "the election, not that enough have has been elected. The inner value must be examined"] #[doc = "for this purpose. A `NewTerm(\\[\\])` indicates that some candidates got their bond"] @@ -17118,67 +18042,67 @@ pub mod api { } pub mod new_term { use super::runtime_types; - pub type NewMembers = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + pub type NewMembers = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, )>; } - impl ::subxt_core::events::StaticEvent for NewTerm { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewTerm { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "NewTerm"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "No (or not enough) candidates existed for this round. This is different from"] #[doc = "`NewTerm(\\[\\])`. See the description of `NewTerm`."] pub struct EmptyTerm; - impl ::subxt_core::events::StaticEvent for EmptyTerm { + impl ::subxt::ext::subxt_core::events::StaticEvent for EmptyTerm { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "EmptyTerm"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Internal error happened while trying to perform election."] pub struct ElectionError; - impl ::subxt_core::events::StaticEvent for ElectionError { + impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionError { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "ElectionError"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed. This should always be followed by either `NewTerm` or"] #[doc = "`EmptyTerm`."] pub struct MemberKicked { @@ -17186,50 +18110,50 @@ pub mod api { } pub mod member_kicked { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for MemberKicked { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberKicked { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "MemberKicked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Someone has renounced their candidacy."] pub struct Renounced { pub candidate: renounced::Candidate, } pub mod renounced { use super::runtime_types; - pub type Candidate = ::subxt_core::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Renounced { + impl ::subxt::ext::subxt_core::events::StaticEvent for Renounced { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "Renounced"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was slashed by amount due to failing to obtain a seat as member or"] #[doc = "runner-up."] #[doc = ""] @@ -17240,26 +18164,26 @@ pub mod api { } pub mod candidate_slashed { use super::runtime_types; - pub type Candidate = ::subxt_core::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for CandidateSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateSlashed { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "CandidateSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A seat holder was slashed by amount by being forcefully removed from the set."] pub struct SeatHolderSlashed { pub seat_holder: seat_holder_slashed::SeatHolder, @@ -17267,10 +18191,10 @@ pub mod api { } pub mod seat_holder_slashed { use super::runtime_types; - pub type SeatHolder = ::subxt_core::utils::AccountId32; + pub type SeatHolder = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for SeatHolderSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for SeatHolderSlashed { const PALLET: &'static str = "Elections"; const EVENT: &'static str = "SeatHolderSlashed"; } @@ -17281,26 +18205,26 @@ pub mod api { use super::runtime_types; pub mod members { use super::runtime_types; - pub type Members = ::subxt_core::alloc::vec::Vec< + pub type Members = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::pallet_elections_phragmen::SeatHolder< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; } pub mod runners_up { use super::runtime_types; - pub type RunnersUp = ::subxt_core::alloc::vec::Vec< + pub type RunnersUp = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::pallet_elections_phragmen::SeatHolder< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; } pub mod candidates { use super::runtime_types; - pub type Candidates = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + pub type Candidates = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, )>; } @@ -17311,10 +18235,10 @@ pub mod api { pub mod voting { use super::runtime_types; pub type Voting = runtime_types::pallet_elections_phragmen::Voter< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -17324,14 +18248,14 @@ pub mod api { #[doc = " Invariant: Always sorted based on account id."] pub fn members( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::members::Members, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Members", (), @@ -17349,14 +18273,14 @@ pub mod api { #[doc = " last (i.e. _best_) runner-up will be replaced."] pub fn runners_up( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::runners_up::RunnersUp, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "RunnersUp", (), @@ -17375,14 +18299,14 @@ pub mod api { #[doc = " Invariant: Always sorted based on account id."] pub fn candidates( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::candidates::Candidates, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Candidates", (), @@ -17396,14 +18320,14 @@ pub mod api { #[doc = " The total number of vote rounds that have happened, excluding the upcoming one."] pub fn election_rounds( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::election_rounds::ElectionRounds, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "ElectionRounds", (), @@ -17419,14 +18343,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE as `AccountId` is a crypto hash."] pub fn voting_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::voting::Voting, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Voting", (), @@ -17443,17 +18367,21 @@ pub mod api { pub fn voting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting::Param0, + >, types::voting::Voting, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Elections", "Voting", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 37u8, 74u8, 221u8, 188u8, 168u8, 43u8, 125u8, 246u8, 191u8, 21u8, 85u8, 87u8, 124u8, 180u8, 218u8, 43u8, 186u8, 170u8, 140u8, 186u8, 88u8, @@ -17470,9 +18398,10 @@ pub mod api { #[doc = " Identifier for the elections-phragmen pallet's lock"] pub fn pallet_id( &self, - ) -> ::subxt_core::constants::address::StaticAddress<[::core::primitive::u8; 8usize]> - { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + [::core::primitive::u8; 8usize], + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "PalletId", [ @@ -17485,8 +18414,10 @@ pub mod api { #[doc = " How much should be locked up in order to submit one's candidacy."] pub fn candidacy_bond( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "CandidacyBond", [ @@ -17502,8 +18433,10 @@ pub mod api { #[doc = " creating a gigantic number of votes."] pub fn voting_bond_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "VotingBondBase", [ @@ -17516,8 +18449,10 @@ pub mod api { #[doc = " The amount of bond that need to be locked for each vote (32 bytes)."] pub fn voting_bond_factor( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "VotingBondFactor", [ @@ -17530,8 +18465,10 @@ pub mod api { #[doc = " Number of members to elect."] pub fn desired_members( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "DesiredMembers", [ @@ -17545,8 +18482,10 @@ pub mod api { #[doc = " Number of runners_up to keep."] pub fn desired_runners_up( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "DesiredRunnersUp", [ @@ -17562,8 +18501,10 @@ pub mod api { #[doc = " be in passive mode."] pub fn term_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "TermDuration", [ @@ -17582,8 +18523,10 @@ pub mod api { #[doc = " When this limit is reached no more candidates are accepted in the election."] pub fn max_candidates( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxCandidates", [ @@ -17602,8 +18545,10 @@ pub mod api { #[doc = " When the limit is reached the new voters are ignored."] pub fn max_voters( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxVoters", [ @@ -17620,8 +18565,10 @@ pub mod api { #[doc = " consider how it will impact `T::WeightInfo::election_phragmen`."] pub fn max_votes_per_voter( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Elections", "MaxVotesPerVoter", [ @@ -17649,18 +18596,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Submit a solution for the unsigned phase."] #[doc = ""] #[doc = "The dispatch origin fo this call must be __none__."] @@ -17676,7 +18627,8 @@ pub mod api { #[doc = ""] #[doc = "No deposit or reward is associated with this submission."] pub struct SubmitUnsigned { - pub raw_solution: ::subxt_core::alloc::boxed::Box, + pub raw_solution: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub witness: submit_unsigned::Witness, } pub mod submit_unsigned { @@ -17688,23 +18640,27 @@ pub mod api { pub type Witness = runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize; } - impl ::subxt_core::blocks::StaticExtrinsic for SubmitUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitUnsigned { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "submit_unsigned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a new value for `MinimumUntrustedScore`."] #[doc = ""] #[doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] @@ -17718,23 +18674,27 @@ pub mod api { pub type MaybeNextScore = ::core::option::Option; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMinimumUntrustedScore { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinimumUntrustedScore { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "set_minimum_untrusted_score"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] #[doc = "call to `ElectionProvider::elect`."] #[doc = ""] @@ -17748,28 +18708,34 @@ pub mod api { } pub mod set_emergency_election_result { use super::runtime_types; - pub type Supports = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, - runtime_types::sp_npos_elections::Support<::subxt_core::utils::AccountId32>, + pub type Supports = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, + runtime_types::sp_npos_elections::Support< + ::subxt::ext::subxt_core::utils::AccountId32, + >, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetEmergencyElectionResult { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetEmergencyElectionResult { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "set_emergency_election_result"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Submit a solution for the signed phase."] #[doc = ""] #[doc = "The dispatch origin fo this call must be __signed__."] @@ -17780,7 +18746,8 @@ pub mod api { #[doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] #[doc = "might be rewarded, slashed, or get all or a part of the deposit back."] pub struct Submit { - pub raw_solution: ::subxt_core::alloc::boxed::Box, + pub raw_solution: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod submit { use super::runtime_types; @@ -17789,23 +18756,27 @@ pub mod api { runtime_types::tangle_testnet_runtime::NposSolution16, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Submit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Submit { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "submit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Trigger the governance fallback."] #[doc = ""] #[doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] @@ -17819,7 +18790,7 @@ pub mod api { pub type MaybeMaxVoters = ::core::option::Option<::core::primitive::u32>; pub type MaybeMaxTargets = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt_core::blocks::StaticExtrinsic for GovernanceFallback { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GovernanceFallback { const PALLET: &'static str = "ElectionProviderMultiPhase"; const CALL: &'static str = "governance_fallback"; } @@ -17844,12 +18815,14 @@ pub mod api { &self, raw_solution: types::submit_unsigned::RawSolution, witness: types::submit_unsigned::Witness, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "submit_unsigned", types::SubmitUnsigned { - raw_solution: ::subxt_core::alloc::boxed::Box::new(raw_solution), + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + raw_solution, + ), witness, }, [ @@ -17867,8 +18840,10 @@ pub mod api { pub fn set_minimum_untrusted_score( &self, maybe_next_score: types::set_minimum_untrusted_score::MaybeNextScore, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetMinimumUntrustedScore, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "set_minimum_untrusted_score", types::SetMinimumUntrustedScore { maybe_next_score }, @@ -17891,8 +18866,10 @@ pub mod api { pub fn set_emergency_election_result( &self, supports: types::set_emergency_election_result::Supports, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetEmergencyElectionResult, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "set_emergency_election_result", types::SetEmergencyElectionResult { supports }, @@ -17916,12 +18893,14 @@ pub mod api { pub fn submit( &self, raw_solution: types::submit::RawSolution, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "submit", types::Submit { - raw_solution: ::subxt_core::alloc::boxed::Box::new(raw_solution), + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + raw_solution, + ), }, [ 55u8, 254u8, 53u8, 183u8, 136u8, 93u8, 56u8, 39u8, 98u8, 132u8, 8u8, @@ -17938,8 +18917,9 @@ pub mod api { &self, maybe_max_voters: types::governance_fallback::MaybeMaxVoters, maybe_max_targets: types::governance_fallback::MaybeMaxTargets, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ElectionProviderMultiPhase", "governance_fallback", types::GovernanceFallback { maybe_max_voters, maybe_max_targets }, @@ -17957,18 +18937,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A solution was stored with the given compute."] #[doc = ""] #[doc = "The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,"] @@ -17985,26 +18965,27 @@ pub mod api { use super::runtime_types; pub type Compute = runtime_types::pallet_election_provider_multi_phase::ElectionCompute; - pub type Origin = ::core::option::Option<::subxt_core::utils::AccountId32>; + pub type Origin = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; pub type PrevEjected = ::core::primitive::bool; } - impl ::subxt_core::events::StaticEvent for SolutionStored { + impl ::subxt::ext::subxt_core::events::StaticEvent for SolutionStored { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "SolutionStored"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The election has been finalized, with the given computation and score."] pub struct ElectionFinalized { pub compute: election_finalized::Compute, @@ -18016,44 +18997,44 @@ pub mod api { runtime_types::pallet_election_provider_multi_phase::ElectionCompute; pub type Score = runtime_types::sp_npos_elections::ElectionScore; } - impl ::subxt_core::events::StaticEvent for ElectionFinalized { + impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionFinalized { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "ElectionFinalized"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An election failed."] #[doc = ""] #[doc = "Not much can be said about which computes failed in the process."] pub struct ElectionFailed; - impl ::subxt_core::events::StaticEvent for ElectionFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ElectionFailed { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "ElectionFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has been rewarded for their signed submission being finalized."] pub struct Rewarded { pub account: rewarded::Account, @@ -18061,26 +19042,26 @@ pub mod api { } pub mod rewarded { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Rewarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rewarded { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "Rewarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has been slashed for submitting an invalid signed submission."] pub struct Slashed { pub account: slashed::Account, @@ -18088,26 +19069,26 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "There was a phase transition in a given round."] pub struct PhaseTransitioned { pub from: phase_transitioned::From, @@ -18124,7 +19105,7 @@ pub mod api { >; pub type Round = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for PhaseTransitioned { + impl ::subxt::ext::subxt_core::events::StaticEvent for PhaseTransitioned { const PALLET: &'static str = "ElectionProviderMultiPhase"; const EVENT: &'static str = "PhaseTransitioned"; } @@ -18153,12 +19134,12 @@ pub mod api { use super::runtime_types; pub type Snapshot = runtime_types::pallet_election_provider_multi_phase::RoundSnapshot< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ( - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, ), >; @@ -18187,7 +19168,7 @@ pub mod api { } pub mod signed_submissions_map { use super::runtime_types; - pub type SignedSubmissionsMap = runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: NposSolution16 > ; + pub type SignedSubmissionsMap = runtime_types :: pallet_election_provider_multi_phase :: signed :: SignedSubmission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: NposSolution16 > ; pub type Param0 = ::core::primitive::u32; } pub mod minimum_untrusted_score { @@ -18206,14 +19187,14 @@ pub mod api { #[doc = " This is merely incremented once per every time that an upstream `elect` is called."] pub fn round( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::round::Round, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "Round", (), @@ -18227,14 +19208,14 @@ pub mod api { #[doc = " Current phase."] pub fn current_phase( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_phase::CurrentPhase, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "CurrentPhase", (), @@ -18251,14 +19232,14 @@ pub mod api { #[doc = " Always sorted by score."] pub fn queued_solution( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::queued_solution::QueuedSolution, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "QueuedSolution", (), @@ -18276,14 +19257,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn snapshot( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::snapshot::Snapshot, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "Snapshot", (), @@ -18300,14 +19281,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn desired_targets( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::desired_targets::DesiredTargets, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "DesiredTargets", (), @@ -18324,14 +19305,14 @@ pub mod api { #[doc = " Note: This storage type must only be mutated through [`SnapshotWrapper`]."] pub fn snapshot_metadata( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::snapshot_metadata::SnapshotMetadata, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SnapshotMetadata", (), @@ -18353,14 +19334,14 @@ pub mod api { #[doc = " because iteration is slow. Instead, we store the value here."] pub fn signed_submission_next_index( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::signed_submission_next_index::SignedSubmissionNextIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionNextIndex", (), @@ -18379,14 +19360,14 @@ pub mod api { #[doc = " them one at a time instead of reading and decoding all of them at once."] pub fn signed_submission_indices( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::signed_submission_indices::SignedSubmissionIndices, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionIndices", (), @@ -18406,14 +19387,14 @@ pub mod api { #[doc = " affect; we shouldn't need a cryptographically secure hasher."] pub fn signed_submissions_map_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::signed_submissions_map::SignedSubmissionsMap, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", (), @@ -18434,19 +19415,21 @@ pub mod api { pub fn signed_submissions_map( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::signed_submissions_map::Param0, >, types::signed_submissions_map::SignedSubmissionsMap, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedSubmissionsMap", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 118u8, 12u8, 234u8, 73u8, 238u8, 134u8, 20u8, 105u8, 248u8, 39u8, 23u8, 96u8, 157u8, 187u8, 14u8, 143u8, 135u8, 121u8, 77u8, 90u8, 154u8, @@ -18460,14 +19443,14 @@ pub mod api { #[doc = " Can be set via `set_minimum_untrusted_score`."] pub fn minimum_untrusted_score( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::minimum_untrusted_score::MinimumUntrustedScore, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinimumUntrustedScore", (), @@ -18488,10 +19471,10 @@ pub mod api { #[doc = " \"better\" in the Signed phase."] pub fn better_signed_threshold( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Perbill, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "BetterSignedThreshold", [ @@ -18507,8 +19490,10 @@ pub mod api { #[doc = " to submit the worker's solution."] pub fn offchain_repeat( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "OffchainRepeat", [ @@ -18522,8 +19507,10 @@ pub mod api { #[doc = " The priority of the unsigned transaction submitted in the unsigned-phase"] pub fn miner_tx_priority( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerTxPriority", [ @@ -18543,8 +19530,10 @@ pub mod api { #[doc = " attempts to submit new solutions may cause a runtime panic."] pub fn signed_max_submissions( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxSubmissions", [ @@ -18562,10 +19551,10 @@ pub mod api { #[doc = " this value."] pub fn signed_max_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxWeight", [ @@ -18579,8 +19568,10 @@ pub mod api { #[doc = " The maximum amount of unchecked solutions to refund the call fee for."] pub fn signed_max_refunds( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedMaxRefunds", [ @@ -18594,8 +19585,10 @@ pub mod api { #[doc = " Base reward for a signed solution"] pub fn signed_reward_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedRewardBase", [ @@ -18608,8 +19601,10 @@ pub mod api { #[doc = " Per-byte deposit for a signed solution."] pub fn signed_deposit_byte( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedDepositByte", [ @@ -18622,8 +19617,10 @@ pub mod api { #[doc = " Per-weight deposit for a signed solution."] pub fn signed_deposit_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "SignedDepositWeight", [ @@ -18639,8 +19636,10 @@ pub mod api { #[doc = " Note: This must always be greater or equal to `T::DataProvider::desired_targets()`."] pub fn max_winners( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MaxWinners", [ @@ -18653,8 +19652,10 @@ pub mod api { } pub fn miner_max_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxLength", [ @@ -18667,10 +19668,10 @@ pub mod api { } pub fn miner_max_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxWeight", [ @@ -18683,8 +19684,10 @@ pub mod api { } pub fn miner_max_votes_per_voter( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxVotesPerVoter", [ @@ -18697,8 +19700,10 @@ pub mod api { } pub fn miner_max_winners( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ElectionProviderMultiPhase", "MinerMaxWinners", [ @@ -18726,18 +19731,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Take the origin account as a stash and lock up `value` of its balance. `controller` will"] #[doc = "be the account that controls it."] #[doc = ""] @@ -18763,26 +19772,30 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Bond { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Bond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "bond"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add some extra amount that have appeared in the stash `free_balance` into the balance up"] #[doc = "for staking."] #[doc = ""] @@ -18805,23 +19818,27 @@ pub mod api { use super::runtime_types; pub type MaxAdditional = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "Staking"; const CALL: &'static str = "bond_extra"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a portion of the stash to be unlocked ready for transfer out after the bond"] #[doc = "period ends. If this leaves an amount actively bonded less than"] #[doc = "T::Currency::minimum_balance(), then it is increased to the full amount."] @@ -18849,23 +19866,27 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "unbond"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove any unlocked chunks from the `unlocking` queue from our management."] #[doc = ""] #[doc = "This essentially frees up that balance to be used by the stash account to do whatever"] @@ -18896,23 +19917,27 @@ pub mod api { use super::runtime_types; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "Staking"; const CALL: &'static str = "withdraw_unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Declare the desire to validate for the origin controller."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -18925,23 +19950,27 @@ pub mod api { use super::runtime_types; pub type Prefs = runtime_types::pallet_staking::ValidatorPrefs; } - impl ::subxt_core::blocks::StaticExtrinsic for Validate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Validate { const PALLET: &'static str = "Staking"; const CALL: &'static str = "validate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Declare the desire to nominate `targets` for the origin controller."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -18957,30 +19986,34 @@ pub mod api { } pub mod nominate { use super::runtime_types; - pub type Targets = ::subxt_core::alloc::vec::Vec< - ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Targets = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "Staking"; const CALL: &'static str = "nominate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Declare no desire to either validate or nominate."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -18992,23 +20025,27 @@ pub mod api { #[doc = "- Contains one read."] #[doc = "- Writes are limited to the `origin` account key."] pub struct Chill; - impl ::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "Staking"; const CALL: &'static str = "chill"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "(Re-)set the payment target for a controller."] #[doc = ""] #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] @@ -19027,26 +20064,30 @@ pub mod api { pub mod set_payee { use super::runtime_types; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetPayee { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetPayee { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_payee"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "(Re-)sets the controller of a stash to the stash itself. This function previously"] #[doc = "accepted a `controller` argument to set the controller to an account other than the"] #[doc = "stash itself. This functionality has now been removed, now only setting the controller"] @@ -19062,23 +20103,27 @@ pub mod api { #[doc = "- Contains a limited number of reads."] #[doc = "- Writes are limited to the `origin` account key."] pub struct SetController; - impl ::subxt_core::blocks::StaticExtrinsic for SetController { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetController { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_controller"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Sets the ideal number of validators."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -19093,23 +20138,27 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for SetValidatorCount { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_validator_count"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Increments the ideal number of validators up to maximum of"] #[doc = "`ElectionProviderBase::MaxWinners`."] #[doc = ""] @@ -19125,23 +20174,27 @@ pub mod api { use super::runtime_types; pub type Additional = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for IncreaseValidatorCount { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for IncreaseValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "increase_validator_count"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Scale up the ideal number of validators by a factor up to maximum of"] #[doc = "`ElectionProviderBase::MaxWinners`."] #[doc = ""] @@ -19156,23 +20209,27 @@ pub mod api { use super::runtime_types; pub type Factor = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt_core::blocks::StaticExtrinsic for ScaleValidatorCount { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScaleValidatorCount { const PALLET: &'static str = "Staking"; const CALL: &'static str = "scale_validator_count"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force there to be no new eras indefinitely."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -19187,23 +20244,27 @@ pub mod api { #[doc = "- No arguments."] #[doc = "- Weight: O(1)"] pub struct ForceNoEras; - impl ::subxt_core::blocks::StaticExtrinsic for ForceNoEras { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNoEras { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_no_eras"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force there to be a new era at the end of the next session. After this, it will be"] #[doc = "reset to normal (non-forced) behaviour."] #[doc = ""] @@ -19219,23 +20280,27 @@ pub mod api { #[doc = "- No arguments."] #[doc = "- Weight: O(1)"] pub struct ForceNewEra; - impl ::subxt_core::blocks::StaticExtrinsic for ForceNewEra { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNewEra { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_new_era"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the validators who cannot be slashed (if any)."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -19244,26 +20309,31 @@ pub mod api { } pub mod set_invulnerables { use super::runtime_types; - pub type Invulnerables = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Invulnerables = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetInvulnerables { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetInvulnerables { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_invulnerables"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force a current staker to become completely unstaked, immediately."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -19278,26 +20348,30 @@ pub mod api { } pub mod force_unstake { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnstake { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force there to be a new era at the end of sessions indefinitely."] #[doc = ""] #[doc = "The dispatch origin must be Root."] @@ -19308,23 +20382,27 @@ pub mod api { #[doc = "If this is called just before a new era is triggered, the election process may not"] #[doc = "have enough blocks to get a result."] pub struct ForceNewEraAlways; - impl ::subxt_core::blocks::StaticExtrinsic for ForceNewEraAlways { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNewEraAlways { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_new_era_always"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel enactment of a deferred slash."] #[doc = ""] #[doc = "Can be called by the `T::AdminOrigin`."] @@ -19337,25 +20415,30 @@ pub mod api { pub mod cancel_deferred_slash { use super::runtime_types; pub type Era = ::core::primitive::u32; - pub type SlashIndices = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type SlashIndices = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelDeferredSlash { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelDeferredSlash { const PALLET: &'static str = "Staking"; const CALL: &'static str = "cancel_deferred_slash"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Pay out next page of the stakers behind a validator for the given era."] #[doc = ""] #[doc = "- `validator_stash` is the stash account of the validator."] @@ -19375,26 +20458,30 @@ pub mod api { } pub mod payout_stakers { use super::runtime_types; - pub type ValidatorStash = ::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Era = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for PayoutStakers { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PayoutStakers { const PALLET: &'static str = "Staking"; const CALL: &'static str = "payout_stakers"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Rebond a portion of the stash scheduled to be unlocked."] #[doc = ""] #[doc = "The dispatch origin must be signed by the controller."] @@ -19410,23 +20497,27 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Rebond { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Rebond { const PALLET: &'static str = "Staking"; const CALL: &'static str = "rebond"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove all data structures concerning a staker/stash once it is at a state where it can"] #[doc = "be considered `dust` in the staking system. The requirements are:"] #[doc = ""] @@ -19451,26 +20542,30 @@ pub mod api { } pub mod reap_stash { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ReapStash { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReapStash { const PALLET: &'static str = "Staking"; const CALL: &'static str = "reap_stash"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove the given nominations from the calling validator."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -19487,30 +20582,34 @@ pub mod api { } pub mod kick { use super::runtime_types; - pub type Who = ::subxt_core::alloc::vec::Vec< - ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Kick { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Kick { const PALLET: &'static str = "Staking"; const CALL: &'static str = "kick"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update the various staking configurations ."] #[doc = ""] #[doc = "* `min_nominator_bond`: The minimum active bond needed to be a nominator."] @@ -19568,23 +20667,27 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Percent, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetStakingConfigs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetStakingConfigs { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_staking_configs"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Declare a `controller` to stop participating as either a validator or nominator."] #[doc = ""] #[doc = "Effects will be felt at the beginning of the next era."] @@ -19616,25 +20719,29 @@ pub mod api { } pub mod chill_other { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::blocks::StaticExtrinsic for ChillOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ChillOther { const PALLET: &'static str = "Staking"; const CALL: &'static str = "chill_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force a validator to have at least the minimum commission. This will not affect a"] #[doc = "validator who already has a commission greater than or equal to the minimum. Any account"] #[doc = "can call this."] @@ -19643,25 +20750,29 @@ pub mod api { } pub mod force_apply_min_commission { use super::runtime_types; - pub type ValidatorStash = ::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceApplyMinCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceApplyMinCommission { const PALLET: &'static str = "Staking"; const CALL: &'static str = "force_apply_min_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Sets the minimum amount of commission that each validators must maintain."] #[doc = ""] #[doc = "This call has lower privilege requirements than `set_staking_config` and can be called"] @@ -19673,23 +20784,27 @@ pub mod api { use super::runtime_types; pub type New = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMinCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinCommission { const PALLET: &'static str = "Staking"; const CALL: &'static str = "set_min_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Pay out a page of the stakers behind a validator for the given era and page."] #[doc = ""] #[doc = "- `validator_stash` is the stash account of the validator."] @@ -19714,27 +20829,31 @@ pub mod api { } pub mod payout_stakers_by_page { use super::runtime_types; - pub type ValidatorStash = ::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Era = ::core::primitive::u32; pub type Page = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for PayoutStakersByPage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PayoutStakersByPage { const PALLET: &'static str = "Staking"; const CALL: &'static str = "payout_stakers_by_page"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Migrates an account's `RewardDestination::Controller` to"] #[doc = "`RewardDestination::Account(controller)`."] #[doc = ""] @@ -19746,25 +20865,29 @@ pub mod api { } pub mod update_payee { use super::runtime_types; - pub type Controller = ::subxt_core::utils::AccountId32; + pub type Controller = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdatePayee { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdatePayee { const PALLET: &'static str = "Staking"; const CALL: &'static str = "update_payee"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Updates a batch of controller accounts to their corresponding stash account if they are"] #[doc = "not the same. Ignores any controller accounts that do not exist, and does not operate if"] #[doc = "the stash and controller are already the same."] @@ -19779,26 +20902,30 @@ pub mod api { use super::runtime_types; pub type Controllers = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for DeprecateControllerBatch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DeprecateControllerBatch { const PALLET: &'static str = "Staking"; const CALL: &'static str = "deprecate_controller_batch"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Restores the state of a ledger which is in an inconsistent state."] #[doc = ""] #[doc = "The requirements to restore a ledger are the following:"] @@ -19818,9 +20945,9 @@ pub mod api { } pub mod restore_ledger { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type MaybeController = - ::core::option::Option<::subxt_core::utils::AccountId32>; + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; pub type MaybeTotal = ::core::option::Option<::core::primitive::u128>; pub type MaybeUnlocking = ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -19828,7 +20955,7 @@ pub mod api { >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RestoreLedger { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RestoreLedger { const PALLET: &'static str = "Staking"; const CALL: &'static str = "restore_ledger"; } @@ -19855,8 +20982,8 @@ pub mod api { &self, value: types::bond::Value, payee: types::bond::Payee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "bond", types::Bond { value, payee }, @@ -19884,8 +21011,8 @@ pub mod api { pub fn bond_extra( &self, max_additional: types::bond_extra::MaxAdditional, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "bond_extra", types::BondExtra { max_additional }, @@ -19918,8 +21045,8 @@ pub mod api { pub fn unbond( &self, value: types::unbond::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "unbond", types::Unbond { value }, @@ -19956,8 +21083,8 @@ pub mod api { pub fn withdraw_unbonded( &self, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "withdraw_unbonded", types::WithdrawUnbonded { num_slashing_spans }, @@ -19977,8 +21104,8 @@ pub mod api { pub fn validate( &self, prefs: types::validate::Prefs, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "validate", types::Validate { prefs }, @@ -20002,8 +21129,8 @@ pub mod api { pub fn nominate( &self, targets: types::nominate::Targets, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "nominate", types::Nominate { targets }, @@ -20025,8 +21152,10 @@ pub mod api { #[doc = "- Independent of the arguments. Insignificant complexity."] #[doc = "- Contains one read."] #[doc = "- Writes are limited to the `origin` account key."] - pub fn chill(&self) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + pub fn chill( + &self, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "chill", types::Chill {}, @@ -20052,8 +21181,8 @@ pub mod api { pub fn set_payee( &self, payee: types::set_payee::Payee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_payee", types::SetPayee { payee }, @@ -20081,8 +21210,8 @@ pub mod api { #[doc = "- Writes are limited to the `origin` account key."] pub fn set_controller( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_controller", types::SetController {}, @@ -20103,8 +21232,9 @@ pub mod api { pub fn set_validator_count( &self, new: types::set_validator_count::New, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_validator_count", types::SetValidatorCount { new }, @@ -20126,8 +21256,10 @@ pub mod api { pub fn increase_validator_count( &self, additional: types::increase_validator_count::Additional, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::IncreaseValidatorCount, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "increase_validator_count", types::IncreaseValidatorCount { additional }, @@ -20149,8 +21281,9 @@ pub mod api { pub fn scale_validator_count( &self, factor: types::scale_validator_count::Factor, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "scale_validator_count", types::ScaleValidatorCount { factor }, @@ -20177,8 +21310,8 @@ pub mod api { #[doc = "- Weight: O(1)"] pub fn force_no_eras( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_no_eras", types::ForceNoEras {}, @@ -20206,8 +21339,8 @@ pub mod api { #[doc = "- Weight: O(1)"] pub fn force_new_era( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_new_era", types::ForceNewEra {}, @@ -20224,8 +21357,8 @@ pub mod api { pub fn set_invulnerables( &self, invulnerables: types::set_invulnerables::Invulnerables, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_invulnerables", types::SetInvulnerables { invulnerables }, @@ -20248,8 +21381,8 @@ pub mod api { &self, stash: types::force_unstake::Stash, num_slashing_spans: types::force_unstake::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_unstake", types::ForceUnstake { stash, num_slashing_spans }, @@ -20271,8 +21404,9 @@ pub mod api { #[doc = "have enough blocks to get a result."] pub fn force_new_era_always( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_new_era_always", types::ForceNewEraAlways {}, @@ -20292,8 +21426,9 @@ pub mod api { &self, era: types::cancel_deferred_slash::Era, slash_indices: types::cancel_deferred_slash::SlashIndices, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "cancel_deferred_slash", types::CancelDeferredSlash { era, slash_indices }, @@ -20322,8 +21457,8 @@ pub mod api { &self, validator_stash: types::payout_stakers::ValidatorStash, era: types::payout_stakers::Era, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "payout_stakers", types::PayoutStakers { validator_stash, era }, @@ -20344,8 +21479,8 @@ pub mod api { pub fn rebond( &self, value: types::rebond::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "rebond", types::Rebond { value }, @@ -20378,8 +21513,8 @@ pub mod api { &self, stash: types::reap_stash::Stash, num_slashing_spans: types::reap_stash::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "reap_stash", types::ReapStash { stash, num_slashing_spans }, @@ -20404,8 +21539,8 @@ pub mod api { pub fn kick( &self, who: types::kick::Who, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "kick", types::Kick { who }, @@ -20442,8 +21577,9 @@ pub mod api { chill_threshold: types::set_staking_configs::ChillThreshold, min_commission: types::set_staking_configs::MinCommission, max_staked_rewards: types::set_staking_configs::MaxStakedRewards, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_staking_configs", types::SetStakingConfigs { @@ -20492,8 +21628,8 @@ pub mod api { pub fn chill_other( &self, stash: types::chill_other::Stash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "chill_other", types::ChillOther { stash }, @@ -20511,8 +21647,10 @@ pub mod api { pub fn force_apply_min_commission( &self, validator_stash: types::force_apply_min_commission::ValidatorStash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ForceApplyMinCommission, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "force_apply_min_commission", types::ForceApplyMinCommission { validator_stash }, @@ -20530,8 +21668,8 @@ pub mod api { pub fn set_min_commission( &self, new: types::set_min_commission::New, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "set_min_commission", types::SetMinCommission { new }, @@ -20565,8 +21703,9 @@ pub mod api { validator_stash: types::payout_stakers_by_page::ValidatorStash, era: types::payout_stakers_by_page::Era, page: types::payout_stakers_by_page::Page, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "payout_stakers_by_page", types::PayoutStakersByPage { validator_stash, era, page }, @@ -20586,8 +21725,8 @@ pub mod api { pub fn update_payee( &self, controller: types::update_payee::Controller, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "update_payee", types::UpdatePayee { controller }, @@ -20609,8 +21748,10 @@ pub mod api { pub fn deprecate_controller_batch( &self, controllers: types::deprecate_controller_batch::Controllers, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::DeprecateControllerBatch, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "deprecate_controller_batch", types::DeprecateControllerBatch { controllers }, @@ -20639,8 +21780,8 @@ pub mod api { maybe_controller: types::restore_ledger::MaybeController, maybe_total: types::restore_ledger::MaybeTotal, maybe_unlocking: types::restore_ledger::MaybeUnlocking, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Staking", "restore_ledger", types::RestoreLedger { @@ -20663,18 +21804,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The era payout has been set; the first balance is the validator-payout; the second is"] #[doc = "the remainder from the maximum amount of reward."] pub struct EraPaid { @@ -20688,23 +21829,23 @@ pub mod api { pub type ValidatorPayout = ::core::primitive::u128; pub type Remainder = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for EraPaid { + impl ::subxt::ext::subxt_core::events::StaticEvent for EraPaid { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "EraPaid"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The nominator has been rewarded by this amount to this destination."] pub struct Rewarded { pub stash: rewarded::Stash, @@ -20713,29 +21854,29 @@ pub mod api { } pub mod rewarded { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Dest = runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Rewarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rewarded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Rewarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A staker (validator or nominator) has been slashed by the given amount."] pub struct Slashed { pub staker: slashed::Staker, @@ -20743,26 +21884,26 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Staker = ::subxt_core::utils::AccountId32; + pub type Staker = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] #[doc = "era as been reported."] pub struct SlashReported { @@ -20772,27 +21913,27 @@ pub mod api { } pub mod slash_reported { use super::runtime_types; - pub type Validator = ::subxt_core::utils::AccountId32; + pub type Validator = ::subxt::ext::subxt_core::utils::AccountId32; pub type Fraction = runtime_types::sp_arithmetic::per_things::Perbill; pub type SlashEra = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for SlashReported { + impl ::subxt::ext::subxt_core::events::StaticEvent for SlashReported { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SlashReported"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An old slashing report from a prior era was discarded because it could"] #[doc = "not be processed."] pub struct OldSlashingReportDiscarded { @@ -20802,42 +21943,42 @@ pub mod api { use super::runtime_types; pub type SessionIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for OldSlashingReportDiscarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for OldSlashingReportDiscarded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "OldSlashingReportDiscarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new set of stakers was elected."] pub struct StakersElected; - impl ::subxt_core::events::StaticEvent for StakersElected { + impl ::subxt::ext::subxt_core::events::StaticEvent for StakersElected { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "StakersElected"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has bonded this amount. \\[stash, amount\\]"] #[doc = ""] #[doc = "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,"] @@ -20848,26 +21989,26 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Bonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Bonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has unbonded this amount."] pub struct Unbonded { pub stash: unbonded::Stash, @@ -20875,26 +22016,26 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] #[doc = "from the unlocking queue."] pub struct Withdrawn { @@ -20903,26 +22044,26 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Withdrawn"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A nominator has been kicked from a validator."] pub struct Kicked { pub nominator: kicked::Nominator, @@ -20930,70 +22071,70 @@ pub mod api { } pub mod kicked { use super::runtime_types; - pub type Nominator = ::subxt_core::utils::AccountId32; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Nominator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Kicked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Kicked { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Kicked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The election failed. No new era is planned."] pub struct StakingElectionFailed; - impl ::subxt_core::events::StaticEvent for StakingElectionFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for StakingElectionFailed { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "StakingElectionFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has stopped participating as either a validator or nominator."] pub struct Chilled { pub stash: chilled::Stash, } pub mod chilled { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Chilled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Chilled { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Chilled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The stakers' rewards are getting paid."] pub struct PayoutStarted { pub era_index: payout_started::EraIndex, @@ -21002,25 +22143,25 @@ pub mod api { pub mod payout_started { use super::runtime_types; pub type EraIndex = ::core::primitive::u32; - pub type ValidatorStash = ::subxt_core::utils::AccountId32; + pub type ValidatorStash = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for PayoutStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for PayoutStarted { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "PayoutStarted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A validator has set their preferences."] pub struct ValidatorPrefsSet { pub stash: validator_prefs_set::Stash, @@ -21028,26 +22169,26 @@ pub mod api { } pub mod validator_prefs_set { use super::runtime_types; - pub type Stash = ::subxt_core::utils::AccountId32; + pub type Stash = ::subxt::ext::subxt_core::utils::AccountId32; pub type Prefs = runtime_types::pallet_staking::ValidatorPrefs; } - impl ::subxt_core::events::StaticEvent for ValidatorPrefsSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for ValidatorPrefsSet { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ValidatorPrefsSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Voters size limit reached."] pub struct SnapshotVotersSizeExceeded { pub size: snapshot_voters_size_exceeded::Size, @@ -21056,23 +22197,23 @@ pub mod api { use super::runtime_types; pub type Size = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for SnapshotVotersSizeExceeded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SnapshotVotersSizeExceeded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SnapshotVotersSizeExceeded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Targets size limit reached."] pub struct SnapshotTargetsSizeExceeded { pub size: snapshot_targets_size_exceeded::Size, @@ -21081,23 +22222,23 @@ pub mod api { use super::runtime_types; pub type Size = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for SnapshotTargetsSizeExceeded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SnapshotTargetsSizeExceeded { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "SnapshotTargetsSizeExceeded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new force era mode was set."] pub struct ForceEra { pub mode: force_era::Mode, @@ -21106,23 +22247,23 @@ pub mod api { use super::runtime_types; pub type Mode = runtime_types::pallet_staking::Forcing; } - impl ::subxt_core::events::StaticEvent for ForceEra { + impl ::subxt::ext::subxt_core::events::StaticEvent for ForceEra { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ForceEra"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Report of a controller batch deprecation."] pub struct ControllerBatchDeprecated { pub failures: controller_batch_deprecated::Failures, @@ -21131,7 +22272,7 @@ pub mod api { use super::runtime_types; pub type Failures = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for ControllerBatchDeprecated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ControllerBatchDeprecated { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ControllerBatchDeprecated"; } @@ -21150,13 +22291,14 @@ pub mod api { } pub mod invulnerables { use super::runtime_types; - pub type Invulnerables = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Invulnerables = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } pub mod bonded { use super::runtime_types; - pub type Bonded = ::subxt_core::utils::AccountId32; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Bonded = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod min_nominator_bond { use super::runtime_types; @@ -21177,19 +22319,19 @@ pub mod api { pub mod ledger { use super::runtime_types; pub type Ledger = runtime_types::pallet_staking::StakingLedger; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod payee { use super::runtime_types; pub type Payee = runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod validators { use super::runtime_types; pub type Validators = runtime_types::pallet_staking::ValidatorPrefs; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_validators { use super::runtime_types; @@ -21202,7 +22344,7 @@ pub mod api { pub mod nominators { use super::runtime_types; pub type Nominators = runtime_types::pallet_staking::Nominations; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_nominators { use super::runtime_types; @@ -21211,7 +22353,7 @@ pub mod api { pub mod virtual_stakers { use super::runtime_types; pub type VirtualStakers = (); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_virtual_stakers { use super::runtime_types; @@ -21237,49 +22379,50 @@ pub mod api { pub mod eras_stakers { use super::runtime_types; pub type ErasStakers = runtime_types::sp_staking::Exposure< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod eras_stakers_overview { use super::runtime_types; pub type ErasStakersOverview = runtime_types::sp_staking::PagedExposureMetadata<::core::primitive::u128>; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod eras_stakers_clipped { use super::runtime_types; pub type ErasStakersClipped = runtime_types::sp_staking::Exposure< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod eras_stakers_paged { use super::runtime_types; pub type ErasStakersPaged = runtime_types::sp_staking::ExposurePage< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param2 = ::core::primitive::u32; } pub mod claimed_rewards { use super::runtime_types; - pub type ClaimedRewards = ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + pub type ClaimedRewards = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod eras_validator_prefs { use super::runtime_types; pub type ErasValidatorPrefs = runtime_types::pallet_staking::ValidatorPrefs; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod eras_validator_reward { use super::runtime_types; @@ -21289,7 +22432,7 @@ pub mod api { pub mod eras_reward_points { use super::runtime_types; pub type ErasRewardPoints = runtime_types::pallet_staking::EraRewardPoints< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u32; } @@ -21317,9 +22460,9 @@ pub mod api { } pub mod unapplied_slashes { use super::runtime_types; - pub type UnappliedSlashes = ::subxt_core::alloc::vec::Vec< + pub type UnappliedSlashes = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::pallet_staking::UnappliedSlash< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; @@ -21327,7 +22470,7 @@ pub mod api { } pub mod bonded_eras { use super::runtime_types; - pub type BondedEras = ::subxt_core::alloc::vec::Vec<( + pub type BondedEras = ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u32, ::core::primitive::u32, )>; @@ -21339,25 +22482,25 @@ pub mod api { ::core::primitive::u128, ); pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod nominator_slash_in_era { use super::runtime_types; pub type NominatorSlashInEra = ::core::primitive::u128; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod slashing_spans { use super::runtime_types; pub type SlashingSpans = runtime_types::pallet_staking::slashing::SlashingSpans; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod span_slash { use super::runtime_types; pub type SpanSlash = runtime_types::pallet_staking::slashing::SpanRecord< ::core::primitive::u128, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = ::core::primitive::u32; } pub mod current_planned_session { @@ -21367,7 +22510,7 @@ pub mod api { pub mod disabled_validators { use super::runtime_types; pub type DisabledValidators = - ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } pub mod chill_threshold { use super::runtime_types; @@ -21379,14 +22522,14 @@ pub mod api { #[doc = " The ideal number of active validators."] pub fn validator_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::validator_count::ValidatorCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorCount", (), @@ -21401,14 +22544,14 @@ pub mod api { #[doc = " Minimum number of staking participants before emergency conditions are imposed."] pub fn minimum_validator_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::minimum_validator_count::MinimumValidatorCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinimumValidatorCount", (), @@ -21424,14 +22567,14 @@ pub mod api { #[doc = " invulnerables) and restricted to testnets."] pub fn invulnerables( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::invulnerables::Invulnerables, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Invulnerables", (), @@ -21448,14 +22591,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn bonded_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bonded::Bonded, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Bonded", (), @@ -21473,17 +22616,21 @@ pub mod api { pub fn bonded( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bonded::Param0, + >, types::bonded::Bonded, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Bonded", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 99u8, 128u8, 108u8, 100u8, 235u8, 102u8, 243u8, 95u8, 61u8, 206u8, 220u8, 49u8, 155u8, 85u8, 236u8, 110u8, 99u8, 21u8, 117u8, 127u8, @@ -21495,14 +22642,14 @@ pub mod api { #[doc = " The minimum active bond to become and maintain the role of a nominator."] pub fn min_nominator_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_nominator_bond::MinNominatorBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinNominatorBond", (), @@ -21517,14 +22664,14 @@ pub mod api { #[doc = " The minimum active bond to become and maintain the role of a validator."] pub fn min_validator_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_validator_bond::MinValidatorBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinValidatorBond", (), @@ -21539,14 +22686,14 @@ pub mod api { #[doc = " The minimum active nominator stake of the last successful election."] pub fn minimum_active_stake( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::minimum_active_stake::MinimumActiveStake, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinimumActiveStake", (), @@ -21562,14 +22709,14 @@ pub mod api { #[doc = " If set to `0`, no limit exists."] pub fn min_commission( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_commission::MinCommission, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MinCommission", (), @@ -21586,14 +22733,14 @@ pub mod api { #[doc = " by [`StakingLedger`] to ensure data and lock consistency."] pub fn ledger_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::ledger::Ledger, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Ledger", (), @@ -21611,17 +22758,21 @@ pub mod api { pub fn ledger( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::ledger::Param0, + >, types::ledger::Ledger, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Ledger", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 109u8, 240u8, 70u8, 127u8, 227u8, 170u8, 76u8, 152u8, 52u8, 24u8, 90u8, 23u8, 56u8, 59u8, 16u8, 55u8, 68u8, 214u8, 235u8, 142u8, 189u8, 234u8, @@ -21634,14 +22785,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn payee_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::payee::Payee, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Payee", (), @@ -21659,17 +22810,21 @@ pub mod api { pub fn payee( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::payee::Param0, + >, types::payee::Payee, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Payee", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 218u8, 38u8, 125u8, 139u8, 146u8, 230u8, 58u8, 61u8, 163u8, 36u8, 81u8, 175u8, 227u8, 148u8, 135u8, 196u8, 132u8, 198u8, 228u8, 137u8, 4u8, @@ -21683,14 +22838,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn validators_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::validators::Validators, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Validators", (), @@ -21707,17 +22862,21 @@ pub mod api { pub fn validators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::validators::Param0, + >, types::validators::Validators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Validators", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 149u8, 207u8, 68u8, 38u8, 24u8, 220u8, 207u8, 84u8, 236u8, 33u8, 210u8, 124u8, 200u8, 99u8, 98u8, 29u8, 235u8, 46u8, 124u8, 4u8, 203u8, 6u8, @@ -21728,14 +22887,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_validators( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_validators::CounterForValidators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForValidators", (), @@ -21752,14 +22911,14 @@ pub mod api { #[doc = " When this value is not set, no limits are enforced."] pub fn max_validators_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_validators_count::MaxValidatorsCount, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxValidatorsCount", (), @@ -21792,14 +22951,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn nominators_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::nominators::Nominators, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Nominators", (), @@ -21832,17 +22991,21 @@ pub mod api { pub fn nominators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::nominators::Param0, + >, types::nominators::Nominators, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "Nominators", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 244u8, 174u8, 214u8, 105u8, 215u8, 218u8, 241u8, 145u8, 155u8, 54u8, 219u8, 34u8, 158u8, 224u8, 251u8, 17u8, 245u8, 9u8, 150u8, 36u8, 2u8, @@ -21853,14 +23016,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_nominators( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_nominators::CounterForNominators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForNominators", (), @@ -21879,14 +23042,14 @@ pub mod api { #[doc = " via low level apis. We keep track of them to do minimal integrity checks."] pub fn virtual_stakers_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::virtual_stakers::VirtualStakers, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "VirtualStakers", (), @@ -21906,19 +23069,21 @@ pub mod api { pub fn virtual_stakers( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::virtual_stakers::Param0, >, types::virtual_stakers::VirtualStakers, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "VirtualStakers", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 176u8, 114u8, 176u8, 164u8, 4u8, 33u8, 248u8, 152u8, 206u8, 8u8, 241u8, 209u8, 96u8, 131u8, 145u8, 120u8, 74u8, 141u8, 249u8, 208u8, 93u8, @@ -21929,14 +23094,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_virtual_stakers( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_virtual_stakers::CounterForVirtualStakers, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CounterForVirtualStakers", (), @@ -21953,14 +23118,14 @@ pub mod api { #[doc = " When this value is not set, no limits are enforced."] pub fn max_nominators_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_nominators_count::MaxNominatorsCount, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxNominatorsCount", (), @@ -21977,14 +23142,14 @@ pub mod api { #[doc = " set, it might be active or not."] pub fn current_era( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_era::CurrentEra, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CurrentEra", (), @@ -22002,14 +23167,14 @@ pub mod api { #[doc = " equal to [`SessionInterface::validators`]."] pub fn active_era( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::active_era::ActiveEra, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ActiveEra", (), @@ -22027,14 +23192,14 @@ pub mod api { #[doc = " for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`."] pub fn eras_start_session_index_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_start_session_index::ErasStartSessionIndex, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStartSessionIndex", (), @@ -22052,19 +23217,21 @@ pub mod api { pub fn eras_start_session_index( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_start_session_index::Param0, >, types::eras_start_session_index::ErasStartSessionIndex, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStartSessionIndex", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 104u8, 76u8, 102u8, 20u8, 9u8, 146u8, 55u8, 204u8, 12u8, 15u8, 117u8, 22u8, 54u8, 230u8, 98u8, 105u8, 191u8, 136u8, 140u8, 65u8, 48u8, 29u8, @@ -22082,14 +23249,14 @@ pub mod api { #[doc = " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures."] pub fn eras_stakers_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_stakers::ErasStakers, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", (), @@ -22112,17 +23279,21 @@ pub mod api { pub fn eras_stakers_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::eras_stakers::Param0, + >, types::eras_stakers::ErasStakers, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 120u8, 64u8, 232u8, 134u8, 109u8, 212u8, 242u8, 64u8, 68u8, 196u8, 108u8, 91u8, 255u8, 123u8, 245u8, 27u8, 55u8, 254u8, 60u8, 74u8, 183u8, @@ -22143,26 +23314,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers::Param1, >, ), types::eras_stakers::ErasStakers, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakers", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 120u8, 64u8, 232u8, 134u8, 109u8, 212u8, 242u8, 64u8, 68u8, 196u8, @@ -22186,14 +23361,14 @@ pub mod api { #[doc = " If stakers hasn't been set or has been removed then empty overview is returned."] pub fn eras_stakers_overview_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_overview::ErasStakersOverview, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", (), @@ -22220,19 +23395,21 @@ pub mod api { pub fn eras_stakers_overview_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param0, >, types::eras_stakers_overview::ErasStakersOverview, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 235u8, 255u8, 39u8, 72u8, 235u8, 168u8, 98u8, 191u8, 30u8, 195u8, 141u8, 103u8, 167u8, 115u8, 74u8, 170u8, 117u8, 153u8, 151u8, 186u8, @@ -22257,26 +23434,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_overview::Param1, >, ), types::eras_stakers_overview::ErasStakersOverview, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersOverview", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 235u8, 255u8, 39u8, 72u8, 235u8, 168u8, 98u8, 191u8, 30u8, 195u8, @@ -22304,14 +23485,14 @@ pub mod api { #[doc = " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures."] pub fn eras_stakers_clipped_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_clipped::ErasStakersClipped, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", (), @@ -22342,19 +23523,21 @@ pub mod api { pub fn eras_stakers_clipped_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param0, >, types::eras_stakers_clipped::ErasStakersClipped, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 85u8, 192u8, 164u8, 53u8, 181u8, 61u8, 132u8, 255u8, 144u8, 41u8, 44u8, 199u8, 34u8, 11u8, 248u8, 81u8, 203u8, 204u8, 152u8, 138u8, 112u8, @@ -22383,26 +23566,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_clipped::Param1, >, ), types::eras_stakers_clipped::ErasStakersClipped, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersClipped", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 85u8, 192u8, 164u8, 53u8, 181u8, 61u8, 132u8, 255u8, 144u8, 41u8, 44u8, @@ -22420,14 +23607,14 @@ pub mod api { #[doc = " This is cleared after [`Config::HistoryDepth`] eras."] pub fn eras_stakers_paged_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", (), @@ -22448,19 +23635,21 @@ pub mod api { pub fn eras_stakers_paged_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, 126u8, 10u8, 96u8, 40u8, 20u8, 233u8, 238u8, 116u8, 113u8, 215u8, @@ -22479,26 +23668,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param1, >, ), types::eras_stakers_paged::ErasStakersPaged, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, @@ -22519,30 +23712,36 @@ pub mod api { _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, _2: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param1, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_stakers_paged::Param2, >, ), types::eras_stakers_paged::ErasStakersPaged, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasStakersPaged", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_2.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _2.borrow(), + ), ), [ 111u8, 11u8, 84u8, 186u8, 98u8, 173u8, 68u8, 65u8, 58u8, 241u8, 211u8, @@ -22560,14 +23759,14 @@ pub mod api { #[doc = " It is removed after [`Config::HistoryDepth`] eras."] pub fn claimed_rewards_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::claimed_rewards::ClaimedRewards, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", (), @@ -22587,19 +23786,21 @@ pub mod api { pub fn claimed_rewards_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param0, >, types::claimed_rewards::ClaimedRewards, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 44u8, 248u8, 79u8, 211u8, 69u8, 179u8, 60u8, 185u8, 3u8, 175u8, 51u8, 137u8, 222u8, 150u8, 73u8, 60u8, 178u8, 0u8, 179u8, 117u8, 37u8, 86u8, @@ -22617,26 +23818,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::claimed_rewards::Param1, >, ), types::claimed_rewards::ClaimedRewards, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ClaimedRewards", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 44u8, 248u8, 79u8, 211u8, 69u8, 179u8, 60u8, 185u8, 3u8, 175u8, 51u8, @@ -22652,14 +23857,14 @@ pub mod api { #[doc = " Is it removed after [`Config::HistoryDepth`] eras."] pub fn eras_validator_prefs_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_validator_prefs::ErasValidatorPrefs, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", (), @@ -22678,19 +23883,21 @@ pub mod api { pub fn eras_validator_prefs_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param0, >, types::eras_validator_prefs::ErasValidatorPrefs, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 134u8, 250u8, 229u8, 21u8, 44u8, 119u8, 43u8, 99u8, 69u8, 94u8, 177u8, 180u8, 174u8, 134u8, 54u8, 25u8, 56u8, 144u8, 194u8, 149u8, 56u8, @@ -22707,26 +23914,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_validator_prefs::Param1, >, ), types::eras_validator_prefs::ErasValidatorPrefs, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorPrefs", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 134u8, 250u8, 229u8, 21u8, 44u8, 119u8, 43u8, 99u8, 69u8, 94u8, 177u8, @@ -22740,14 +23951,14 @@ pub mod api { #[doc = " Eras that haven't finished yet or has been removed doesn't have reward."] pub fn eras_validator_reward_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_validator_reward::ErasValidatorReward, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorReward", (), @@ -22764,19 +23975,21 @@ pub mod api { pub fn eras_validator_reward( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_validator_reward::Param0, >, types::eras_validator_reward::ErasValidatorReward, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasValidatorReward", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 185u8, 85u8, 179u8, 163u8, 178u8, 168u8, 141u8, 200u8, 59u8, 77u8, 2u8, 197u8, 36u8, 188u8, 133u8, 117u8, 2u8, 25u8, 105u8, 132u8, 44u8, 75u8, @@ -22788,14 +24001,14 @@ pub mod api { #[doc = " If reward hasn't been set or has been removed then 0 reward is returned."] pub fn eras_reward_points_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_reward_points::ErasRewardPoints, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasRewardPoints", (), @@ -22811,19 +24024,21 @@ pub mod api { pub fn eras_reward_points( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_reward_points::Param0, >, types::eras_reward_points::ErasRewardPoints, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasRewardPoints", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 135u8, 0u8, 85u8, 241u8, 213u8, 133u8, 30u8, 192u8, 251u8, 191u8, 41u8, 38u8, 233u8, 236u8, 218u8, 246u8, 166u8, 93u8, 46u8, 37u8, 48u8, 187u8, @@ -22835,14 +24050,14 @@ pub mod api { #[doc = " If total hasn't been set or has been removed then 0 stake is returned."] pub fn eras_total_stake_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::eras_total_stake::ErasTotalStake, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasTotalStake", (), @@ -22859,19 +24074,21 @@ pub mod api { pub fn eras_total_stake( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::eras_total_stake::Param0, >, types::eras_total_stake::ErasTotalStake, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ErasTotalStake", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 8u8, 78u8, 101u8, 62u8, 124u8, 126u8, 66u8, 26u8, 47u8, 126u8, 239u8, 204u8, 222u8, 104u8, 19u8, 108u8, 238u8, 160u8, 112u8, 242u8, 56u8, @@ -22883,14 +24100,14 @@ pub mod api { #[doc = " Mode of era forcing."] pub fn force_era( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::force_era::ForceEra, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ForceEra", (), @@ -22907,14 +24124,14 @@ pub mod api { #[doc = " See [Era payout](./index.html#era-payout)."] pub fn max_staked_rewards( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_staked_rewards::MaxStakedRewards, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "MaxStakedRewards", (), @@ -22930,14 +24147,14 @@ pub mod api { #[doc = " The rest of the slashed value is handled by the `Slash`."] pub fn slash_reward_fraction( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::slash_reward_fraction::SlashRewardFraction, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashRewardFraction", (), @@ -22953,14 +24170,14 @@ pub mod api { #[doc = " canceled by extraordinary circumstances (e.g. governance)."] pub fn canceled_slash_payout( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::canceled_slash_payout::CanceledSlashPayout, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CanceledSlashPayout", (), @@ -22975,14 +24192,14 @@ pub mod api { #[doc = " All unapplied slashes that are queued for later."] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::unapplied_slashes::UnappliedSlashes, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "UnappliedSlashes", (), @@ -22998,19 +24215,21 @@ pub mod api { pub fn unapplied_slashes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, types::unapplied_slashes::UnappliedSlashes, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "UnappliedSlashes", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 158u8, 134u8, 7u8, 21u8, 200u8, 222u8, 197u8, 166u8, 199u8, 39u8, 1u8, 167u8, 164u8, 154u8, 165u8, 118u8, 92u8, 223u8, 219u8, 136u8, 196u8, @@ -23025,14 +24244,14 @@ pub mod api { #[doc = " `[active_era - bounding_duration; active_era]`"] pub fn bonded_eras( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bonded_eras::BondedEras, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "BondedEras", (), @@ -23048,14 +24267,14 @@ pub mod api { #[doc = " and slash value of the era."] pub fn validator_slash_in_era_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::validator_slash_in_era::ValidatorSlashInEra, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", (), @@ -23071,19 +24290,21 @@ pub mod api { pub fn validator_slash_in_era_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param0, >, types::validator_slash_in_era::ValidatorSlashInEra, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 245u8, 72u8, 52u8, 22u8, 10u8, 177u8, 127u8, 83u8, 180u8, 246u8, 17u8, 82u8, 6u8, 231u8, 131u8, 68u8, 73u8, 92u8, 241u8, 251u8, 32u8, 97u8, @@ -23097,26 +24318,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::validator_slash_in_era::Param1, >, ), types::validator_slash_in_era::ValidatorSlashInEra, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ValidatorSlashInEra", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 245u8, 72u8, 52u8, 22u8, 10u8, 177u8, 127u8, 83u8, 180u8, 246u8, 17u8, @@ -23128,14 +24353,14 @@ pub mod api { #[doc = " All slashing events on nominators, mapped by era to the highest slash value of the era."] pub fn nominator_slash_in_era_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::nominator_slash_in_era::NominatorSlashInEra, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", (), @@ -23150,19 +24375,21 @@ pub mod api { pub fn nominator_slash_in_era_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param0, >, types::nominator_slash_in_era::NominatorSlashInEra, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, 60u8, 208u8, 132u8, 9u8, 214u8, 13u8, 148u8, 205u8, 26u8, 5u8, 7u8, @@ -23175,26 +24402,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::nominator_slash_in_era::Param1, >, ), types::nominator_slash_in_era::NominatorSlashInEra, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "NominatorSlashInEra", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 8u8, 89u8, 171u8, 183u8, 64u8, 29u8, 44u8, 185u8, 11u8, 204u8, 67u8, @@ -23206,14 +24437,14 @@ pub mod api { #[doc = " Slashing spans for stash accounts."] pub fn slashing_spans_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::slashing_spans::SlashingSpans, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashingSpans", (), @@ -23229,17 +24460,21 @@ pub mod api { pub fn slashing_spans( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::slashing_spans::Param0, + >, types::slashing_spans::SlashingSpans, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SlashingSpans", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 74u8, 169u8, 189u8, 252u8, 193u8, 191u8, 114u8, 107u8, 158u8, 125u8, 252u8, 35u8, 177u8, 129u8, 99u8, 24u8, 77u8, 223u8, 238u8, 24u8, 237u8, @@ -23252,14 +24487,14 @@ pub mod api { #[doc = " as well as how much reward has been paid out."] pub fn span_slash_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::span_slash::SpanSlash, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", (), @@ -23275,17 +24510,21 @@ pub mod api { pub fn span_slash_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::span_slash::Param0, + >, types::span_slash::SpanSlash, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 158u8, 168u8, 151u8, 108u8, 4u8, 168u8, 253u8, 28u8, 69u8, 111u8, 99u8, 235u8, 175u8, 72u8, 48u8, 238u8, 239u8, 142u8, 40u8, 142u8, 97u8, 77u8, @@ -23299,22 +24538,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::span_slash::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::span_slash::Param1, + >, ), types::span_slash::SpanSlash, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "SpanSlash", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 158u8, 168u8, 151u8, 108u8, 4u8, 168u8, 253u8, 28u8, 69u8, 111u8, 99u8, @@ -23328,14 +24575,14 @@ pub mod api { #[doc = " This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]."] pub fn current_planned_session( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_planned_session::CurrentPlannedSession, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "CurrentPlannedSession", (), @@ -23355,14 +24602,14 @@ pub mod api { #[doc = " offended using binary search."] pub fn disabled_validators( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::disabled_validators::DisabledValidators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "DisabledValidators", (), @@ -23378,14 +24625,14 @@ pub mod api { #[doc = " (`CountFor*`) in the system compared to the configured max (`Max*Count`)."] pub fn chill_threshold( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::chill_threshold::ChillThreshold, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Staking", "ChillThreshold", (), @@ -23424,8 +24671,10 @@ pub mod api { #[doc = " The test `reducing_history_depth_abrupt` shows this effect."] pub fn history_depth( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "HistoryDepth", [ @@ -23439,8 +24688,10 @@ pub mod api { #[doc = " Number of sessions per era."] pub fn sessions_per_era( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "SessionsPerEra", [ @@ -23454,8 +24705,10 @@ pub mod api { #[doc = " Number of eras that staked funds must remain bonded for."] pub fn bonding_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "BondingDuration", [ @@ -23472,8 +24725,10 @@ pub mod api { #[doc = " should be applied immediately, without opportunity for intervention."] pub fn slash_defer_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "SlashDeferDuration", [ @@ -23497,8 +24752,10 @@ pub mod api { #[doc = " without handling it in a migration."] pub fn max_exposure_page_size( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "MaxExposurePageSize", [ @@ -23521,8 +24778,10 @@ pub mod api { #[doc = " this effect."] pub fn max_unlocking_chunks( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Staking", "MaxUnlockingChunks", [ @@ -23550,18 +24809,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Sets the session key(s) of the function caller to `keys`."] #[doc = "Allows an account to set its session key prior to becoming a validator."] #[doc = "This doesn't take effect until the next session."] @@ -23578,25 +24841,30 @@ pub mod api { pub mod set_keys { use super::runtime_types; pub type Keys = runtime_types::tangle_testnet_runtime::opaque::SessionKeys; - pub type Proof = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Proof = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetKeys { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "set_keys"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Removes any session key(s) of the function caller."] #[doc = ""] #[doc = "This doesn't take effect until the next session."] @@ -23610,7 +24878,7 @@ pub mod api { #[doc = "- `O(1)` in number of key types. Actual cost depends on the number of length of"] #[doc = " `T::Keys::key_ids()` which is fixed."] pub struct PurgeKeys; - impl ::subxt_core::blocks::StaticExtrinsic for PurgeKeys { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PurgeKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "purge_keys"; } @@ -23630,8 +24898,8 @@ pub mod api { &self, keys: types::set_keys::Keys, proof: types::set_keys::Proof, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Session", "set_keys", types::SetKeys { keys, proof }, @@ -23656,8 +24924,8 @@ pub mod api { #[doc = " `T::Keys::key_ids()` which is fixed."] pub fn purge_keys( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Session", "purge_keys", types::PurgeKeys {}, @@ -23676,18 +24944,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New session has happened. Note that the argument is the session index, not the"] #[doc = "block number as the type might suggest."] pub struct NewSession { @@ -23697,7 +24965,7 @@ pub mod api { use super::runtime_types; pub type SessionIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for NewSession { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewSession { const PALLET: &'static str = "Session"; const EVENT: &'static str = "NewSession"; } @@ -23708,8 +24976,9 @@ pub mod api { use super::runtime_types; pub mod validators { use super::runtime_types; - pub type Validators = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } pub mod current_index { use super::runtime_types; @@ -23721,24 +24990,24 @@ pub mod api { } pub mod queued_keys { use super::runtime_types; - pub type QueuedKeys = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + pub type QueuedKeys = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::tangle_testnet_runtime::opaque::SessionKeys, )>; } pub mod disabled_validators { use super::runtime_types; pub type DisabledValidators = - ::subxt_core::alloc::vec::Vec<::core::primitive::u32>; + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } pub mod next_keys { use super::runtime_types; pub type NextKeys = runtime_types::tangle_testnet_runtime::opaque::SessionKeys; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod key_owner { use super::runtime_types; - pub type KeyOwner = ::subxt_core::utils::AccountId32; + pub type KeyOwner = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param0 = runtime_types::sp_core::crypto::KeyTypeId; pub type Param1 = [::core::primitive::u8]; } @@ -23748,14 +25017,14 @@ pub mod api { #[doc = " The current set of validators."] pub fn validators( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::validators::Validators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "Validators", (), @@ -23770,14 +25039,14 @@ pub mod api { #[doc = " Current index of the session."] pub fn current_index( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_index::CurrentIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "CurrentIndex", (), @@ -23793,14 +25062,14 @@ pub mod api { #[doc = " has changed in the queued validator set."] pub fn queued_changed( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::queued_changed::QueuedChanged, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "QueuedChanged", (), @@ -23816,14 +25085,14 @@ pub mod api { #[doc = " will be used to determine the validator's session keys."] pub fn queued_keys( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::queued_keys::QueuedKeys, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "QueuedKeys", (), @@ -23841,14 +25110,14 @@ pub mod api { #[doc = " a new set of identities."] pub fn disabled_validators( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::disabled_validators::DisabledValidators, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "DisabledValidators", (), @@ -23862,14 +25131,14 @@ pub mod api { #[doc = " The next session keys for a validator."] pub fn next_keys_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_keys::NextKeys, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "NextKeys", (), @@ -23884,17 +25153,21 @@ pub mod api { pub fn next_keys( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::next_keys::Param0, + >, types::next_keys::NextKeys, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "NextKeys", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 51u8, 114u8, 107u8, 2u8, 144u8, 184u8, 167u8, 66u8, 213u8, 2u8, 91u8, 69u8, 17u8, 28u8, 34u8, 5u8, 89u8, 79u8, 23u8, 55u8, 5u8, 222u8, 177u8, @@ -23905,14 +25178,14 @@ pub mod api { #[doc = " The owner of a key. The key is the `KeyTypeId` + the encoded key."] pub fn key_owner_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::key_owner::KeyOwner, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", (), @@ -23928,17 +25201,21 @@ pub mod api { pub fn key_owner_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param0, + >, types::key_owner::KeyOwner, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, 253u8, 253u8, 248u8, 90u8, 12u8, 202u8, 195u8, 25u8, 18u8, 100u8, @@ -23952,22 +25229,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param1, + >, ), types::key_owner::KeyOwner, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Session", "KeyOwner", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, @@ -23990,7 +25275,7 @@ pub mod api { pub mod historical_sessions { use super::runtime_types; pub type HistoricalSessions = - (::subxt_core::utils::H256, ::core::primitive::u32); + (::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32); pub type Param0 = ::core::primitive::u32; } pub mod stored_range { @@ -24003,14 +25288,14 @@ pub mod api { #[doc = " Mapping from historical session indices to session-data root hash and validator count."] pub fn historical_sessions_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::historical_sessions::HistoricalSessions, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Historical", "HistoricalSessions", (), @@ -24026,19 +25311,21 @@ pub mod api { pub fn historical_sessions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::historical_sessions::Param0, >, types::historical_sessions::HistoricalSessions, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Historical", "HistoricalSessions", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 9u8, 138u8, 247u8, 141u8, 178u8, 146u8, 124u8, 81u8, 162u8, 211u8, 205u8, 149u8, 222u8, 254u8, 253u8, 188u8, 170u8, 242u8, 218u8, 41u8, @@ -24050,14 +25337,14 @@ pub mod api { #[doc = " The range of historical sessions we store. [first, last)"] pub fn stored_range( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::stored_range::StoredRange, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Historical", "StoredRange", (), @@ -24085,18 +25372,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose and approve a spend of treasury funds."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24122,28 +25413,32 @@ pub mod api { pub mod spend_local { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SpendLocal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SpendLocal { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend_local"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Force a previously approved proposal to be removed from the approval queue."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24173,23 +25468,27 @@ pub mod api { use super::runtime_types; pub type ProposalId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveApproval { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveApproval { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "remove_approval"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose and approve a spend of treasury funds."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24217,36 +25516,41 @@ pub mod api { #[doc = ""] #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] pub struct Spend { - pub asset_kind: ::subxt_core::alloc::boxed::Box, + pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, #[codec(compact)] pub amount: spend::Amount, - pub beneficiary: ::subxt_core::alloc::boxed::Box, + pub beneficiary: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub valid_from: spend::ValidFrom, } pub mod spend { use super::runtime_types; pub type AssetKind = (); pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; pub type ValidFrom = ::core::option::Option<::core::primitive::u64>; } - impl ::subxt_core::blocks::StaticExtrinsic for Spend { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Spend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim a spend."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24273,23 +25577,27 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Payout { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Payout { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "payout"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Check the status of the spend and remove it from the storage if processed."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24316,23 +25624,27 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CheckStatus { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CheckStatus { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "check_status"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Void previously approved spend."] #[doc = ""] #[doc = "## Dispatch Origin"] @@ -24356,7 +25668,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for VoidSpend { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VoidSpend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "void_spend"; } @@ -24384,8 +25696,8 @@ pub mod api { &self, amount: types::spend_local::Amount, beneficiary: types::spend_local::Beneficiary, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "spend_local", types::SpendLocal { amount, beneficiary }, @@ -24420,8 +25732,8 @@ pub mod api { pub fn remove_approval( &self, proposal_id: types::remove_approval::ProposalId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "remove_approval", types::RemoveApproval { proposal_id }, @@ -24465,14 +25777,18 @@ pub mod api { amount: types::spend::Amount, beneficiary: types::spend::Beneficiary, valid_from: types::spend::ValidFrom, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "spend", types::Spend { - asset_kind: ::subxt_core::alloc::boxed::Box::new(asset_kind), + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + asset_kind, + ), amount, - beneficiary: ::subxt_core::alloc::boxed::Box::new(beneficiary), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), valid_from, }, [ @@ -24505,8 +25821,8 @@ pub mod api { pub fn payout( &self, index: types::payout::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "payout", types::Payout { index }, @@ -24539,8 +25855,8 @@ pub mod api { pub fn check_status( &self, index: types::check_status::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "check_status", types::CheckStatus { index }, @@ -24570,8 +25886,8 @@ pub mod api { pub fn void_spend( &self, index: types::void_spend::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Treasury", "void_spend", types::VoidSpend { index }, @@ -24589,18 +25905,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "We have ended a spend period and will now allocate funds."] pub struct Spending { pub budget_remaining: spending::BudgetRemaining, @@ -24609,23 +25925,23 @@ pub mod api { use super::runtime_types; pub type BudgetRemaining = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Spending { + impl ::subxt::ext::subxt_core::events::StaticEvent for Spending { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Spending"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been allocated."] pub struct Awarded { pub proposal_index: awarded::ProposalIndex, @@ -24636,25 +25952,25 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Award = ::core::primitive::u128; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Awarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Awarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some of our funds have been burnt."] pub struct Burnt { pub burnt_funds: burnt::BurntFunds, @@ -24663,23 +25979,23 @@ pub mod api { use super::runtime_types; pub type BurntFunds = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Burnt { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burnt { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Burnt"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Spending has finished; this is the amount that rolls over until next spend."] pub struct Rollover { pub rollover_balance: rollover::RolloverBalance, @@ -24688,23 +26004,23 @@ pub mod api { use super::runtime_types; pub type RolloverBalance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Rollover { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rollover { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Rollover"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been deposited."] pub struct Deposit { pub value: deposit::Value, @@ -24713,23 +26029,23 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new spend proposal has been approved."] pub struct SpendApproved { pub proposal_index: spend_approved::ProposalIndex, @@ -24740,25 +26056,25 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for SpendApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for SpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendApproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The inactive funds of the pallet have been updated."] pub struct UpdatedInactive { pub reactivated: updated_inactive::Reactivated, @@ -24769,23 +26085,23 @@ pub mod api { pub type Reactivated = ::core::primitive::u128; pub type Deactivated = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for UpdatedInactive { + impl ::subxt::ext::subxt_core::events::StaticEvent for UpdatedInactive { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "UpdatedInactive"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new asset spend proposal has been approved."] pub struct AssetSpendApproved { pub index: asset_spend_approved::Index, @@ -24800,27 +26116,27 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type AssetKind = (); pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; pub type ValidFrom = ::core::primitive::u64; pub type ExpireAt = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for AssetSpendApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendApproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An approved spend was voided."] pub struct AssetSpendVoided { pub index: asset_spend_voided::Index, @@ -24829,23 +26145,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for AssetSpendVoided { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendVoided { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendVoided"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payment happened."] pub struct Paid { pub index: paid::Index, @@ -24856,23 +26172,23 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = (); } - impl ::subxt_core::events::StaticEvent for Paid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Paid { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Paid"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payment failed and can be retried."] pub struct PaymentFailed { pub index: payment_failed::Index, @@ -24883,23 +26199,23 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = (); } - impl ::subxt_core::events::StaticEvent for PaymentFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PaymentFailed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "PaymentFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A spend was processed and removed from the storage. It might have been successfully"] #[doc = "paid or it may have expired."] pub struct SpendProcessed { @@ -24909,7 +26225,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for SpendProcessed { + impl ::subxt::ext::subxt_core::events::StaticEvent for SpendProcessed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendProcessed"; } @@ -24925,7 +26241,7 @@ pub mod api { pub mod proposals { use super::runtime_types; pub type Proposals = runtime_types::pallet_treasury::Proposal< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; @@ -24950,7 +26266,7 @@ pub mod api { pub type Spends = runtime_types::pallet_treasury::SpendStatus< (), ::core::primitive::u128, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, (), >; @@ -24962,14 +26278,14 @@ pub mod api { #[doc = " Number of proposals that have been made."] pub fn proposal_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proposal_count::ProposalCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "ProposalCount", (), @@ -24983,14 +26299,14 @@ pub mod api { #[doc = " Proposals that have been made."] pub fn proposals_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proposals::Proposals, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Proposals", (), @@ -25006,17 +26322,21 @@ pub mod api { pub fn proposals( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proposals::Param0, + >, types::proposals::Proposals, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Proposals", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 207u8, 135u8, 145u8, 146u8, 48u8, 10u8, 252u8, 40u8, 20u8, 115u8, 205u8, 41u8, 173u8, 83u8, 115u8, 46u8, 106u8, 40u8, 130u8, 157u8, @@ -25028,14 +26348,14 @@ pub mod api { #[doc = " The amount which has been reported as inactive to Currency."] pub fn deactivated( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::deactivated::Deactivated, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Deactivated", (), @@ -25050,14 +26370,14 @@ pub mod api { #[doc = " Proposal indices that have been approved but not yet awarded."] pub fn approvals( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::approvals::Approvals, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Approvals", (), @@ -25071,14 +26391,14 @@ pub mod api { #[doc = " The count of spends that have been made."] pub fn spend_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::spend_count::SpendCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "SpendCount", (), @@ -25093,14 +26413,14 @@ pub mod api { #[doc = " Spends that have been approved and being processed."] pub fn spends_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::spends::Spends, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Spends", (), @@ -25115,17 +26435,21 @@ pub mod api { pub fn spends( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::spends::Param0, + >, types::spends::Spends, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Treasury", "Spends", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 156u8, 92u8, 96u8, 152u8, 53u8, 132u8, 115u8, 226u8, 178u8, 130u8, 50u8, 11u8, 217u8, 191u8, 189u8, 65u8, 91u8, 94u8, 176u8, 90u8, 76u8, @@ -25142,8 +26466,10 @@ pub mod api { #[doc = " Period between successive spends."] pub fn spend_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "SpendPeriod", [ @@ -25157,10 +26483,10 @@ pub mod api { #[doc = " Percentage of spare funds (if any) that are burnt per spend period."] pub fn burn( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Permill, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "Burn", [ @@ -25173,10 +26499,10 @@ pub mod api { #[doc = " The treasury's pallet id, used for deriving its sovereign account ID."] pub fn pallet_id( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "PalletId", [ @@ -25191,8 +26517,10 @@ pub mod api { #[doc = " NOTE: This parameter is also used within the Bounties Pallet extension if enabled."] pub fn max_approvals( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "MaxApprovals", [ @@ -25206,8 +26534,10 @@ pub mod api { #[doc = " The period during which an approved treasury spend has to be claimed."] pub fn payout_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Treasury", "PayoutPeriod", [ @@ -25235,18 +26565,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose a new bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -25267,25 +26601,30 @@ pub mod api { pub mod propose_bounty { use super::runtime_types; pub type Value = ::core::primitive::u128; - pub type Description = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Description = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for ProposeBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] #[doc = "and the original deposit will be returned."] #[doc = ""] @@ -25301,23 +26640,27 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ApproveBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "approve_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose a curator to a funded bounty."] #[doc = ""] #[doc = "May only be called from `T::SpendOrigin`."] @@ -25334,29 +26677,33 @@ pub mod api { pub mod propose_curator { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Fee = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unassign curator from a bounty."] #[doc = ""] #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] @@ -25382,23 +26729,27 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "unassign_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Accept the curator role for a bounty."] #[doc = "A deposit will be reserved from curator and refund upon successful payout."] #[doc = ""] @@ -25414,23 +26765,27 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "accept_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] #[doc = "after a delay."] #[doc = ""] @@ -25449,28 +26804,32 @@ pub mod api { pub mod award_bounty { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Beneficiary = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for AwardBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "award_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim the payout from an awarded bounty after payout delay."] #[doc = ""] #[doc = "The dispatch origin for this call must be the beneficiary of this bounty."] @@ -25487,23 +26846,27 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "claim_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel a proposed or active bounty. All the funds will be sent to treasury and"] #[doc = "the curator deposit will be unreserved if possible."] #[doc = ""] @@ -25521,23 +26884,27 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CloseBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "close_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Extend the expiry time of an active bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be the curator of this bounty."] @@ -25555,9 +26922,10 @@ pub mod api { pub mod extend_bounty_expiry { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Remark = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for ExtendBountyExpiry { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExtendBountyExpiry { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "extend_bounty_expiry"; } @@ -25580,8 +26948,8 @@ pub mod api { &self, value: types::propose_bounty::Value, description: types::propose_bounty::Description, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "propose_bounty", types::ProposeBounty { value, description }, @@ -25602,8 +26970,8 @@ pub mod api { pub fn approve_bounty( &self, bounty_id: types::approve_bounty::BountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "approve_bounty", types::ApproveBounty { bounty_id }, @@ -25626,8 +26994,8 @@ pub mod api { bounty_id: types::propose_curator::BountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "propose_curator", types::ProposeCurator { bounty_id, curator, fee }, @@ -25659,8 +27027,8 @@ pub mod api { pub fn unassign_curator( &self, bounty_id: types::unassign_curator::BountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "unassign_curator", types::UnassignCurator { bounty_id }, @@ -25682,8 +27050,8 @@ pub mod api { pub fn accept_curator( &self, bounty_id: types::accept_curator::BountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "accept_curator", types::AcceptCurator { bounty_id }, @@ -25708,8 +27076,8 @@ pub mod api { &self, bounty_id: types::award_bounty::BountyId, beneficiary: types::award_bounty::Beneficiary, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "award_bounty", types::AwardBounty { bounty_id, beneficiary }, @@ -25731,8 +27099,8 @@ pub mod api { pub fn claim_bounty( &self, bounty_id: types::claim_bounty::BountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "claim_bounty", types::ClaimBounty { bounty_id }, @@ -25756,8 +27124,8 @@ pub mod api { pub fn close_bounty( &self, bounty_id: types::close_bounty::BountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "close_bounty", types::CloseBounty { bounty_id }, @@ -25782,8 +27150,9 @@ pub mod api { &self, bounty_id: types::extend_bounty_expiry::BountyId, remark: types::extend_bounty_expiry::Remark, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Bounties", "extend_bounty_expiry", types::ExtendBountyExpiry { bounty_id, remark }, @@ -25802,18 +27171,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New bounty proposal."] pub struct BountyProposed { pub index: bounty_proposed::Index, @@ -25822,23 +27191,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BountyProposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyProposed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal was rejected; funds were slashed."] pub struct BountyRejected { pub index: bounty_rejected::Index, @@ -25849,23 +27218,23 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Bond = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for BountyRejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyRejected { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyRejected"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal is funded and became active."] pub struct BountyBecameActive { pub index: bounty_became_active::Index, @@ -25874,23 +27243,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BountyBecameActive { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyBecameActive { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyBecameActive"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is awarded to a beneficiary."] pub struct BountyAwarded { pub index: bounty_awarded::Index, @@ -25899,25 +27268,25 @@ pub mod api { pub mod bounty_awarded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for BountyAwarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyAwarded { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyAwarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is claimed by beneficiary."] pub struct BountyClaimed { pub index: bounty_claimed::Index, @@ -25928,25 +27297,25 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for BountyClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyClaimed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyClaimed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is cancelled."] pub struct BountyCanceled { pub index: bounty_canceled::Index, @@ -25955,23 +27324,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BountyCanceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyCanceled { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyCanceled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty expiry is extended."] pub struct BountyExtended { pub index: bounty_extended::Index, @@ -25980,23 +27349,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BountyExtended { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyExtended { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyExtended"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is approved."] pub struct BountyApproved { pub index: bounty_approved::Index, @@ -26005,23 +27374,23 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BountyApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyApproved { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyApproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is proposed."] pub struct CuratorProposed { pub bounty_id: curator_proposed::BountyId, @@ -26030,25 +27399,25 @@ pub mod api { pub mod curator_proposed { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt_core::utils::AccountId32; + pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for CuratorProposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorProposed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is unassigned."] pub struct CuratorUnassigned { pub bounty_id: curator_unassigned::BountyId, @@ -26057,23 +27426,23 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for CuratorUnassigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorUnassigned { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorUnassigned"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is accepted."] pub struct CuratorAccepted { pub bounty_id: curator_accepted::BountyId, @@ -26082,9 +27451,9 @@ pub mod api { pub mod curator_accepted { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt_core::utils::AccountId32; + pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for CuratorAccepted { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorAccepted { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorAccepted"; } @@ -26100,7 +27469,7 @@ pub mod api { pub mod bounties { use super::runtime_types; pub type Bounties = runtime_types::pallet_bounties::Bounty< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u64, >; @@ -26127,14 +27496,14 @@ pub mod api { #[doc = " Number of bounty proposals that have been made."] pub fn bounty_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bounty_count::BountyCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyCount", (), @@ -26149,14 +27518,14 @@ pub mod api { #[doc = " Bounties that have been made."] pub fn bounties_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bounties::Bounties, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "Bounties", (), @@ -26171,17 +27540,21 @@ pub mod api { pub fn bounties( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bounties::Param0, + >, types::bounties::Bounties, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "Bounties", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 61u8, 113u8, 145u8, 206u8, 130u8, 71u8, 78u8, 125u8, 214u8, 253u8, 128u8, 143u8, 36u8, 0u8, 201u8, 132u8, 215u8, 58u8, 129u8, 34u8, 46u8, @@ -26192,14 +27565,14 @@ pub mod api { #[doc = " The description of each bounty."] pub fn bounty_descriptions_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bounty_descriptions::BountyDescriptions, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyDescriptions", (), @@ -26214,19 +27587,21 @@ pub mod api { pub fn bounty_descriptions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::bounty_descriptions::Param0, >, types::bounty_descriptions::BountyDescriptions, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyDescriptions", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 71u8, 40u8, 133u8, 84u8, 55u8, 207u8, 169u8, 189u8, 160u8, 51u8, 202u8, 144u8, 15u8, 226u8, 97u8, 114u8, 54u8, 247u8, 53u8, 26u8, 36u8, 54u8, @@ -26237,14 +27612,14 @@ pub mod api { #[doc = " Bounty indices that have been approved but not yet funded."] pub fn bounty_approvals( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bounty_approvals::BountyApprovals, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Bounties", "BountyApprovals", (), @@ -26264,8 +27639,10 @@ pub mod api { #[doc = " The amount held on deposit for placing a bounty proposal."] pub fn bounty_deposit_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyDepositBase", [ @@ -26278,8 +27655,10 @@ pub mod api { #[doc = " The delay period for which a bounty beneficiary need to wait before claim the payout."] pub fn bounty_deposit_payout_delay( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyDepositPayoutDelay", [ @@ -26293,8 +27672,10 @@ pub mod api { #[doc = " Bounty duration in blocks."] pub fn bounty_update_period( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyUpdatePeriod", [ @@ -26311,10 +27692,10 @@ pub mod api { #[doc = " `CuratorDepositMin`."] pub fn curator_deposit_multiplier( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_arithmetic::per_things::Permill, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMultiplier", [ @@ -26327,10 +27708,10 @@ pub mod api { #[doc = " Maximum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_max( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< ::core::option::Option<::core::primitive::u128>, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMax", [ @@ -26344,10 +27725,10 @@ pub mod api { #[doc = " Minimum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_min( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< ::core::option::Option<::core::primitive::u128>, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "CuratorDepositMin", [ @@ -26361,8 +27742,10 @@ pub mod api { #[doc = " Minimum value for a bounty."] pub fn bounty_value_minimum( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "BountyValueMinimum", [ @@ -26375,8 +27758,10 @@ pub mod api { #[doc = " The amount held on deposit per byte within the tip report reason or bounty description."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "DataDepositPerByte", [ @@ -26391,8 +27776,10 @@ pub mod api { #[doc = " Benchmarks depend on this value, be sure to update weights file when changing this value"] pub fn maximum_reason_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Bounties", "MaximumReasonLength", [ @@ -26420,18 +27807,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add a new child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be the curator of parent"] @@ -26462,25 +27853,30 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type Value = ::core::primitive::u128; - pub type Description = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Description = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for AddChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "add_child_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Propose curator for funded child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be curator of parent bounty."] @@ -26509,29 +27905,33 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Curator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Fee = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "propose_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Accept the curator role for the child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call must be the curator of this"] @@ -26562,23 +27962,27 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "accept_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unassign curator from a child-bounty."] #[doc = ""] #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] @@ -26624,23 +28028,27 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "unassign_curator"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Award child-bounty to a beneficiary."] #[doc = ""] #[doc = "The beneficiary will be able to claim the funds after a delay."] @@ -26669,28 +28077,32 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Beneficiary = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for AwardChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "award_child_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim the payout from an awarded child-bounty after payout delay."] #[doc = ""] #[doc = "The dispatch origin for this call may be any signed origin."] @@ -26718,23 +28130,27 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "claim_child_bounty"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel a proposed or active child-bounty. Child-bounty account funds"] #[doc = "are transferred to parent bounty account. The child-bounty curator"] #[doc = "deposit may be unreserved if possible."] @@ -26768,7 +28184,7 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CloseChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "close_child_bounty"; } @@ -26799,8 +28215,8 @@ pub mod api { parent_bounty_id: types::add_child_bounty::ParentBountyId, value: types::add_child_bounty::Value, description: types::add_child_bounty::Description, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "add_child_bounty", types::AddChildBounty { parent_bounty_id, value, description }, @@ -26833,8 +28249,8 @@ pub mod api { child_bounty_id: types::propose_curator::ChildBountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "propose_curator", types::ProposeCurator { parent_bounty_id, child_bounty_id, curator, fee }, @@ -26868,8 +28284,8 @@ pub mod api { &self, parent_bounty_id: types::accept_curator::ParentBountyId, child_bounty_id: types::accept_curator::ChildBountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "accept_curator", types::AcceptCurator { parent_bounty_id, child_bounty_id }, @@ -26919,8 +28335,8 @@ pub mod api { &self, parent_bounty_id: types::unassign_curator::ParentBountyId, child_bounty_id: types::unassign_curator::ChildBountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "unassign_curator", types::UnassignCurator { parent_bounty_id, child_bounty_id }, @@ -26954,8 +28370,8 @@ pub mod api { parent_bounty_id: types::award_child_bounty::ParentBountyId, child_bounty_id: types::award_child_bounty::ChildBountyId, beneficiary: types::award_child_bounty::Beneficiary, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "award_child_bounty", types::AwardChildBounty { parent_bounty_id, child_bounty_id, beneficiary }, @@ -26987,8 +28403,8 @@ pub mod api { &self, parent_bounty_id: types::claim_child_bounty::ParentBountyId, child_bounty_id: types::claim_child_bounty::ChildBountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "claim_child_bounty", types::ClaimChildBounty { parent_bounty_id, child_bounty_id }, @@ -27025,8 +28441,8 @@ pub mod api { &self, parent_bounty_id: types::close_child_bounty::ParentBountyId, child_bounty_id: types::close_child_bounty::ChildBountyId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ChildBounties", "close_child_bounty", types::CloseChildBounty { parent_bounty_id, child_bounty_id }, @@ -27044,18 +28460,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is added."] pub struct Added { pub index: added::Index, @@ -27066,23 +28482,23 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Added { + impl ::subxt::ext::subxt_core::events::StaticEvent for Added { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Added"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is awarded to a beneficiary."] pub struct Awarded { pub index: awarded::Index, @@ -27093,25 +28509,25 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Awarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Awarded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is claimed by beneficiary."] pub struct Claimed { pub index: claimed::Index, @@ -27124,25 +28540,25 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; - pub type Beneficiary = ::subxt_core::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Claimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Claimed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is cancelled."] pub struct Canceled { pub index: canceled::Index, @@ -27153,7 +28569,7 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Canceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Canceled"; } @@ -27174,7 +28590,7 @@ pub mod api { pub mod child_bounties { use super::runtime_types; pub type ChildBounties = runtime_types::pallet_child_bounties::ChildBounty< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u64, >; @@ -27200,14 +28616,14 @@ pub mod api { #[doc = " Number of total child bounties."] pub fn child_bounty_count( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::child_bounty_count::ChildBountyCount, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyCount", (), @@ -27222,14 +28638,14 @@ pub mod api { #[doc = " Map of parent bounty index to number of child bounties."] pub fn parent_child_bounties_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::parent_child_bounties::ParentChildBounties, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ParentChildBounties", (), @@ -27245,19 +28661,21 @@ pub mod api { pub fn parent_child_bounties( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::parent_child_bounties::Param0, >, types::parent_child_bounties::ParentChildBounties, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ParentChildBounties", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 52u8, 179u8, 242u8, 212u8, 91u8, 185u8, 176u8, 52u8, 100u8, 200u8, 1u8, 41u8, 184u8, 234u8, 234u8, 8u8, 123u8, 252u8, 131u8, 55u8, 109u8, @@ -27268,14 +28686,14 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::child_bounties::ChildBounties, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", (), @@ -27291,17 +28709,21 @@ pub mod api { pub fn child_bounties_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::child_bounties::Param0, + >, types::child_bounties::ChildBounties, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 147u8, 73u8, 192u8, 132u8, 112u8, 28u8, 88u8, 203u8, 183u8, 170u8, 198u8, 134u8, 5u8, 80u8, 131u8, 179u8, 28u8, 249u8, 195u8, 139u8, @@ -27315,26 +28737,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::child_bounties::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::child_bounties::Param1, >, ), types::child_bounties::ChildBounties, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBounties", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 147u8, 73u8, 192u8, 132u8, 112u8, 28u8, 88u8, 203u8, 183u8, 170u8, @@ -27347,14 +28773,14 @@ pub mod api { #[doc = " The description of each child-bounty."] pub fn child_bounty_descriptions_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::child_bounty_descriptions::ChildBountyDescriptions, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyDescriptions", (), @@ -27369,19 +28795,21 @@ pub mod api { pub fn child_bounty_descriptions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::child_bounty_descriptions::Param0, >, types::child_bounty_descriptions::ChildBountyDescriptions, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildBountyDescriptions", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 192u8, 0u8, 220u8, 156u8, 109u8, 65u8, 113u8, 102u8, 119u8, 0u8, 109u8, 141u8, 211u8, 128u8, 237u8, 61u8, 28u8, 56u8, 206u8, 93u8, 183u8, 74u8, @@ -27392,14 +28820,14 @@ pub mod api { #[doc = " The cumulative child-bounty curator fee for each parent bounty."] pub fn children_curator_fees_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::children_curator_fees::ChildrenCuratorFees, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildrenCuratorFees", (), @@ -27414,19 +28842,21 @@ pub mod api { pub fn children_curator_fees( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::children_curator_fees::Param0, >, types::children_curator_fees::ChildrenCuratorFees, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ChildBounties", "ChildrenCuratorFees", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 32u8, 16u8, 190u8, 193u8, 6u8, 80u8, 163u8, 16u8, 85u8, 111u8, 39u8, 141u8, 209u8, 70u8, 213u8, 167u8, 22u8, 12u8, 93u8, 17u8, 104u8, 94u8, @@ -27443,8 +28873,10 @@ pub mod api { #[doc = " Maximum number of child bounties that can be added to a parent bounty."] pub fn max_active_child_bounty_count( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ChildBounties", "MaxActiveChildBountyCount", [ @@ -27458,8 +28890,10 @@ pub mod api { #[doc = " Minimum value for a child-bounty."] pub fn child_bounty_value_minimum( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ChildBounties", "ChildBountyValueMinimum", [ @@ -27486,18 +28920,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Declare that some `dislocated` account has, through rewards or penalties, sufficiently"] #[doc = "changed its score that it should properly fall into a different bag than its current"] #[doc = "one."] @@ -27513,28 +28951,32 @@ pub mod api { } pub mod rebag { use super::runtime_types; - pub type Dislocated = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Dislocated = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Rebag { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Rebag { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "rebag"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Move the caller's Id directly in front of `lighter`."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and can only be called by the Id of"] @@ -27550,28 +28992,32 @@ pub mod api { } pub mod put_in_front_of { use super::runtime_types; - pub type Lighter = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Lighter = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for PutInFrontOf { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PutInFrontOf { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "put_in_front_of"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Same as [`Pallet::put_in_front_of`], but it can be called by anyone."] #[doc = ""] #[doc = "Fee is paid by the origin under all circumstances."] @@ -27581,16 +29027,16 @@ pub mod api { } pub mod put_in_front_of_other { use super::runtime_types; - pub type Heavier = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Heavier = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Lighter = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Lighter = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for PutInFrontOfOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PutInFrontOfOther { const PALLET: &'static str = "BagsList"; const CALL: &'static str = "put_in_front_of_other"; } @@ -27610,8 +29056,8 @@ pub mod api { pub fn rebag( &self, dislocated: types::rebag::Dislocated, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "rebag", types::Rebag { dislocated }, @@ -27635,8 +29081,8 @@ pub mod api { pub fn put_in_front_of( &self, lighter: types::put_in_front_of::Lighter, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "put_in_front_of", types::PutInFrontOf { lighter }, @@ -27654,8 +29100,9 @@ pub mod api { &self, heavier: types::put_in_front_of_other::Heavier, lighter: types::put_in_front_of_other::Lighter, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "BagsList", "put_in_front_of_other", types::PutInFrontOfOther { heavier, lighter }, @@ -27674,18 +29121,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Moved an account from one bag to another."] pub struct Rebagged { pub who: rebagged::Who, @@ -27694,27 +29141,27 @@ pub mod api { } pub mod rebagged { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type From = ::core::primitive::u64; pub type To = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for Rebagged { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rebagged { const PALLET: &'static str = "BagsList"; const EVENT: &'static str = "Rebagged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Updated the score of some account to the given amount."] pub struct ScoreUpdated { pub who: score_updated::Who, @@ -27722,10 +29169,10 @@ pub mod api { } pub mod score_updated { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type NewScore = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for ScoreUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ScoreUpdated { const PALLET: &'static str = "BagsList"; const EVENT: &'static str = "ScoreUpdated"; } @@ -27737,7 +29184,7 @@ pub mod api { pub mod list_nodes { use super::runtime_types; pub type ListNodes = runtime_types::pallet_bags_list::list::Node; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_list_nodes { use super::runtime_types; @@ -27756,14 +29203,14 @@ pub mod api { #[doc = " Nodes store links forward and back within their respective bags."] pub fn list_nodes_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::list_nodes::ListNodes, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListNodes", (), @@ -27780,17 +29227,21 @@ pub mod api { pub fn list_nodes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::list_nodes::Param0, + >, types::list_nodes::ListNodes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListNodes", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 240u8, 139u8, 78u8, 185u8, 159u8, 185u8, 33u8, 229u8, 171u8, 222u8, 54u8, 81u8, 104u8, 170u8, 49u8, 232u8, 29u8, 117u8, 193u8, 68u8, 225u8, @@ -27801,14 +29252,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_list_nodes( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_list_nodes::CounterForListNodes, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "CounterForListNodes", (), @@ -27825,14 +29276,14 @@ pub mod api { #[doc = " Stores a `Bag` struct, which stores head and tail pointers to itself."] pub fn list_bags_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::list_bags::ListBags, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListBags", (), @@ -27849,17 +29300,21 @@ pub mod api { pub fn list_bags( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::list_bags::Param0, + >, types::list_bags::ListBags, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BagsList", "ListBags", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 98u8, 52u8, 177u8, 147u8, 244u8, 169u8, 45u8, 213u8, 76u8, 163u8, 47u8, 96u8, 197u8, 245u8, 17u8, 208u8, 86u8, 15u8, 233u8, 156u8, 165u8, 44u8, @@ -27918,10 +29373,10 @@ pub mod api { #[doc = " With that `List::migrate` can be called, which will perform the appropriate migration."] pub fn bag_thresholds( &self, - ) -> ::subxt_core::constants::address::StaticAddress< - ::subxt_core::alloc::vec::Vec<::core::primitive::u64>, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "BagsList", "BagThresholds", [ @@ -27948,18 +29403,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Stake funds with a pool. The amount to bond is transferred from the member to the"] #[doc = "pools account and immediately increases the pools bond."] #[doc = ""] @@ -27980,23 +29439,27 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Join { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Join { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "join"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] #[doc = ""] #[doc = "Additional funds can come from either the free balance of the account, of from the"] @@ -28012,23 +29475,27 @@ pub mod api { pub type Extra = runtime_types::pallet_nomination_pools::BondExtra<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "bond_extra"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "A bonded member can use this to claim their payout based on the rewards that the pool"] #[doc = "has accumulated since their last claimed payout (OR since joining if this is their first"] #[doc = "time claiming rewards). The payout will be transferred to the member's account."] @@ -28038,23 +29505,27 @@ pub mod api { #[doc = ""] #[doc = "See `claim_payout_other` to claim rewards on behalf of some `other` pool member."] pub struct ClaimPayout; - impl ::subxt_core::blocks::StaticExtrinsic for ClaimPayout { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimPayout { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_payout"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] #[doc = "implicitly collects the rewards one last time, since not doing so would mean some"] #[doc = "rewards would be forfeited."] @@ -28093,29 +29564,33 @@ pub mod api { } pub mod unbond { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type UnbondingPoints = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "unbond"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] #[doc = ""] #[doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] @@ -28131,23 +29606,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "pool_withdraw_unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] #[doc = "error is returned."] #[doc = ""] @@ -28176,29 +29655,33 @@ pub mod api { } pub mod withdraw_unbonded { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "withdraw_unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a new delegation pool."] #[doc = ""] #[doc = "# Arguments"] @@ -28226,36 +29709,40 @@ pub mod api { pub mod create { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "create"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a new delegation pool with a previously used pool id"] #[doc = ""] #[doc = "# Arguments"] @@ -28273,37 +29760,41 @@ pub mod api { pub mod create_with_pool_id { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "create_with_pool_id"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Nominate on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] @@ -28323,26 +29814,31 @@ pub mod api { pub mod nominate { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Validators = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "nominate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a new state for the pool."] #[doc = ""] #[doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] @@ -28362,23 +29858,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type State = runtime_types::pallet_nomination_pools::PoolState; } - impl ::subxt_core::blocks::StaticExtrinsic for SetState { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetState { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_state"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a new metadata for the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] @@ -28390,25 +29890,30 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Metadata = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Metadata = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update configurations for the nomination pools. The origin for this call must be"] #[doc = "[`Config::AdminOrigin`]."] #[doc = ""] @@ -28444,23 +29949,27 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Perbill, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetConfigs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetConfigs { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_configs"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update the roles of the pool."] #[doc = ""] #[doc = "The root is the only entity that can change any of the roles, including itself,"] @@ -28478,32 +29987,36 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; pub type NewRoot = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type NewNominator = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type NewBouncer = runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdateRoles { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateRoles { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "update_roles"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Chill on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call can be signed by the pool nominator or the pool"] @@ -28527,23 +30040,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "chill"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] #[doc = "pools."] #[doc = ""] @@ -28559,30 +30076,34 @@ pub mod api { } pub mod bond_extra_other { use super::runtime_types; - pub type Member = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Member = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Extra = runtime_types::pallet_nomination_pools::BondExtra<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for BondExtraOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtraOther { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "bond_extra_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows a pool member to set a claim permission to allow or disallow permissionless"] #[doc = "bonding and withdrawing."] #[doc = ""] @@ -28597,23 +30118,27 @@ pub mod api { use super::runtime_types; pub type Permission = runtime_types::pallet_nomination_pools::ClaimPermission; } - impl ::subxt_core::blocks::StaticExtrinsic for SetClaimPermission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetClaimPermission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_claim_permission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "`origin` can claim payouts on some pool member `other`'s behalf."] #[doc = ""] #[doc = "Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim"] @@ -28623,25 +30148,29 @@ pub mod api { } pub mod claim_payout_other { use super::runtime_types; - pub type Other = ::subxt_core::utils::AccountId32; + pub type Other = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimPayoutOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimPayoutOther { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_payout_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the commission of a pool."] #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] #[doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] @@ -28656,26 +30185,30 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewCommission = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the maximum commission of a pool."] #[doc = ""] #[doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] @@ -28690,23 +30223,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_max"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the commission change rate for a pool."] #[doc = ""] #[doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] @@ -28723,23 +30260,27 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_change_rate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim pending commission."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] @@ -28752,23 +30293,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimCommission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "claim_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Top up the deficit or withdraw the excess ED from the pool."] #[doc = ""] #[doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] @@ -28783,23 +30328,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "adjust_pool_deposit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set or remove a pool's commission claim permission."] #[doc = ""] #[doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] @@ -28813,27 +30362,31 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "set_commission_claim_permission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Apply a pending slash on a member."] #[doc = ""] #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] @@ -28846,28 +30399,32 @@ pub mod api { } pub mod apply_slash { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ApplySlash { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApplySlash { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "apply_slash"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Migrates delegated funds from the pool account to the `member_account`."] #[doc = ""] #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] @@ -28882,28 +30439,32 @@ pub mod api { } pub mod migrate_delegation { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for MigrateDelegation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigrateDelegation { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "migrate_delegation"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Migrate pool from [`adapter::StakeStrategyType::Transfer`] to"] #[doc = "[`adapter::StakeStrategyType::Delegate`]."] #[doc = ""] @@ -28920,7 +30481,7 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for MigratePoolToDelegateStake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigratePoolToDelegateStake { const PALLET: &'static str = "NominationPools"; const CALL: &'static str = "migrate_pool_to_delegate_stake"; } @@ -28941,8 +30502,8 @@ pub mod api { &self, amount: types::join::Amount, pool_id: types::join::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "join", types::Join { amount, pool_id }, @@ -28963,8 +30524,8 @@ pub mod api { pub fn bond_extra( &self, extra: types::bond_extra::Extra, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "bond_extra", types::BondExtra { extra }, @@ -28986,8 +30547,8 @@ pub mod api { #[doc = "See `claim_payout_other` to claim rewards on behalf of some `other` pool member."] pub fn claim_payout( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_payout", types::ClaimPayout {}, @@ -29033,8 +30594,8 @@ pub mod api { &self, member_account: types::unbond::MemberAccount, unbonding_points: types::unbond::UnbondingPoints, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "unbond", types::Unbond { member_account, unbonding_points }, @@ -29055,8 +30616,9 @@ pub mod api { &self, pool_id: types::pool_withdraw_unbonded::PoolId, num_slashing_spans: types::pool_withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "pool_withdraw_unbonded", types::PoolWithdrawUnbonded { pool_id, num_slashing_spans }, @@ -29094,8 +30656,8 @@ pub mod api { &self, member_account: types::withdraw_unbonded::MemberAccount, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "withdraw_unbonded", types::WithdrawUnbonded { member_account, num_slashing_spans }, @@ -29130,8 +30692,8 @@ pub mod api { root: types::create::Root, nominator: types::create::Nominator, bouncer: types::create::Bouncer, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "create", types::Create { amount, root, nominator, bouncer }, @@ -29155,8 +30717,8 @@ pub mod api { nominator: types::create_with_pool_id::Nominator, bouncer: types::create_with_pool_id::Bouncer, pool_id: types::create_with_pool_id::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "create_with_pool_id", types::CreateWithPoolId { amount, root, nominator, bouncer, pool_id }, @@ -29184,8 +30746,8 @@ pub mod api { &self, pool_id: types::nominate::PoolId, validators: types::nominate::Validators, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "nominate", types::Nominate { pool_id, validators }, @@ -29210,8 +30772,8 @@ pub mod api { &self, pool_id: types::set_state::PoolId, state: types::set_state::State, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_state", types::SetState { pool_id, state }, @@ -29230,8 +30792,8 @@ pub mod api { &self, pool_id: types::set_metadata::PoolId, metadata: types::set_metadata::Metadata, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_metadata", types::SetMetadata { pool_id, metadata }, @@ -29261,8 +30823,8 @@ pub mod api { max_members: types::set_configs::MaxMembers, max_members_per_pool: types::set_configs::MaxMembersPerPool, global_max_commission: types::set_configs::GlobalMaxCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_configs", types::SetConfigs { @@ -29294,8 +30856,8 @@ pub mod api { new_root: types::update_roles::NewRoot, new_nominator: types::update_roles::NewNominator, new_bouncer: types::update_roles::NewBouncer, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "update_roles", types::UpdateRoles { pool_id, new_root, new_nominator, new_bouncer }, @@ -29326,8 +30888,8 @@ pub mod api { pub fn chill( &self, pool_id: types::chill::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "chill", types::Chill { pool_id }, @@ -29351,8 +30913,8 @@ pub mod api { &self, member: types::bond_extra_other::Member, extra: types::bond_extra_other::Extra, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "bond_extra_other", types::BondExtraOther { member, extra }, @@ -29374,8 +30936,9 @@ pub mod api { pub fn set_claim_permission( &self, permission: types::set_claim_permission::Permission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_claim_permission", types::SetClaimPermission { permission }, @@ -29393,8 +30956,8 @@ pub mod api { pub fn claim_payout_other( &self, other: types::claim_payout_other::Other, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_payout_other", types::ClaimPayoutOther { other }, @@ -29415,8 +30978,8 @@ pub mod api { &self, pool_id: types::set_commission::PoolId, new_commission: types::set_commission::NewCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission", types::SetCommission { pool_id, new_commission }, @@ -29436,8 +30999,8 @@ pub mod api { &self, pool_id: types::set_commission_max::PoolId, max_commission: types::set_commission_max::MaxCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_max", types::SetCommissionMax { pool_id, max_commission }, @@ -29457,8 +31020,10 @@ pub mod api { &self, pool_id: types::set_commission_change_rate::PoolId, change_rate: types::set_commission_change_rate::ChangeRate, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetCommissionChangeRate, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_change_rate", types::SetCommissionChangeRate { pool_id, change_rate }, @@ -29478,8 +31043,8 @@ pub mod api { pub fn claim_commission( &self, pool_id: types::claim_commission::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "claim_commission", types::ClaimCommission { pool_id }, @@ -29500,8 +31065,9 @@ pub mod api { pub fn adjust_pool_deposit( &self, pool_id: types::adjust_pool_deposit::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "adjust_pool_deposit", types::AdjustPoolDeposit { pool_id }, @@ -29520,8 +31086,10 @@ pub mod api { &self, pool_id: types::set_commission_claim_permission::PoolId, permission: types::set_commission_claim_permission::Permission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetCommissionClaimPermission, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "set_commission_claim_permission", types::SetCommissionClaimPermission { pool_id, permission }, @@ -29542,8 +31110,8 @@ pub mod api { pub fn apply_slash( &self, member_account: types::apply_slash::MemberAccount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "apply_slash", types::ApplySlash { member_account }, @@ -29566,8 +31134,9 @@ pub mod api { pub fn migrate_delegation( &self, member_account: types::migrate_delegation::MemberAccount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "migrate_delegation", types::MigrateDelegation { member_account }, @@ -29590,8 +31159,10 @@ pub mod api { pub fn migrate_pool_to_delegate_stake( &self, pool_id: types::migrate_pool_to_delegate_stake::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::MigratePoolToDelegateStake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "NominationPools", "migrate_pool_to_delegate_stake", types::MigratePoolToDelegateStake { pool_id }, @@ -29609,18 +31180,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been created."] pub struct Created { pub depositor: created::Depositor, @@ -29628,26 +31199,26 @@ pub mod api { } pub mod created { use super::runtime_types; - pub type Depositor = ::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Created { + impl ::subxt::ext::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Created"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has became bonded in a pool."] pub struct Bonded { pub member: bonded::Member, @@ -29657,28 +31228,28 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Bonded = ::core::primitive::u128; pub type Joined = ::core::primitive::bool; } - impl ::subxt_core::events::StaticEvent for Bonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Bonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payout has been made to a member."] pub struct PaidOut { pub member: paid_out::Member, @@ -29687,27 +31258,27 @@ pub mod api { } pub mod paid_out { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PaidOut { + impl ::subxt::ext::subxt_core::events::StaticEvent for PaidOut { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PaidOut"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has unbonded from their pool."] #[doc = ""] #[doc = "- `balance` is the corresponding balance of the number of points that has been"] @@ -29728,29 +31299,29 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; pub type Era = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has withdrawn from their pool."] #[doc = ""] #[doc = "The given number of `points` have been dissolved in return of `balance`."] @@ -29765,28 +31336,28 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Withdrawn"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been destroyed."] pub struct Destroyed { pub pool_id: destroyed::PoolId, @@ -29795,23 +31366,23 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "Destroyed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The state of a pool has changed"] pub struct StateChanged { pub pool_id: state_changed::PoolId, @@ -29822,23 +31393,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewState = runtime_types::pallet_nomination_pools::PoolState; } - impl ::subxt_core::events::StaticEvent for StateChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for StateChanged { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "StateChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed from a pool."] #[doc = ""] #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] @@ -29849,25 +31420,25 @@ pub mod api { pub mod member_removed { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for MemberRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberRemoved { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MemberRemoved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] pub struct RolesUpdated { @@ -29877,27 +31448,30 @@ pub mod api { } pub mod roles_updated { use super::runtime_types; - pub type Root = ::core::option::Option<::subxt_core::utils::AccountId32>; - pub type Bouncer = ::core::option::Option<::subxt_core::utils::AccountId32>; - pub type Nominator = ::core::option::Option<::subxt_core::utils::AccountId32>; - } - impl ::subxt_core::events::StaticEvent for RolesUpdated { + pub type Root = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type Bouncer = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type Nominator = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for RolesUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "RolesUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] pub struct PoolSlashed { pub pool_id: pool_slashed::PoolId, @@ -29908,23 +31482,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PoolSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolSlashed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] pub struct UnbondingPoolSlashed { pub pool_id: unbonding_pool_slashed::PoolId, @@ -29937,23 +31511,23 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for UnbondingPoolSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for UnbondingPoolSlashed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "UnbondingPoolSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission setting has been changed."] pub struct PoolCommissionUpdated { pub pool_id: pool_commission_updated::PoolId, @@ -29964,26 +31538,26 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Current = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>; } - impl ::subxt_core::events::StaticEvent for PoolCommissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's maximum commission setting has been changed."] pub struct PoolMaxCommissionUpdated { pub pool_id: pool_max_commission_updated::PoolId, @@ -29994,23 +31568,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolMaxCommissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission `change_rate` has been changed."] pub struct PoolCommissionChangeRateUpdated { pub pool_id: pool_commission_change_rate_updated::PoolId, @@ -30023,23 +31597,23 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionChangeRateUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission claim permission has been updated."] pub struct PoolCommissionClaimPermissionUpdated { pub pool_id: pool_commission_claim_permission_updated::PoolId, @@ -30050,27 +31624,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionClaimPermissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission has been claimed."] pub struct PoolCommissionClaimed { pub pool_id: pool_commission_claimed::PoolId, @@ -30081,23 +31655,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Commission = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PoolCommissionClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimed { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "PoolCommissionClaimed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Topped up deficit in frozen ED of the reward pool."] pub struct MinBalanceDeficitAdjusted { pub pool_id: min_balance_deficit_adjusted::PoolId, @@ -30108,23 +31682,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MinBalanceDeficitAdjusted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Claimed excess frozen ED of af the reward pool."] pub struct MinBalanceExcessAdjusted { pub pool_id: min_balance_excess_adjusted::PoolId, @@ -30135,7 +31709,7 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { const PALLET: &'static str = "NominationPools"; const EVENT: &'static str = "MinBalanceExcessAdjusted"; } @@ -30176,7 +31750,7 @@ pub mod api { pub mod pool_members { use super::runtime_types; pub type PoolMembers = runtime_types::pallet_nomination_pools::PoolMember; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_pool_members { use super::runtime_types; @@ -30227,7 +31801,7 @@ pub mod api { pub mod reverse_pool_id_lookup { use super::runtime_types; pub type ReversePoolIdLookup = ::core::primitive::u32; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_reverse_pool_id_lookup { use super::runtime_types; @@ -30237,7 +31811,7 @@ pub mod api { use super::runtime_types; pub type ClaimPermissions = runtime_types::pallet_nomination_pools::ClaimPermission; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -30249,14 +31823,14 @@ pub mod api { #[doc = " `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s."] pub fn total_value_locked( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::total_value_locked::TotalValueLocked, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "TotalValueLocked", (), @@ -30270,14 +31844,14 @@ pub mod api { #[doc = " Minimum amount to bond to join a pool."] pub fn min_join_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_join_bond::MinJoinBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MinJoinBond", (), @@ -30297,14 +31871,14 @@ pub mod api { #[doc = " while all other accounts leave."] pub fn min_create_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_create_bond::MinCreateBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MinCreateBond", (), @@ -30320,14 +31894,14 @@ pub mod api { #[doc = " pools can exist."] pub fn max_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_pools::MaxPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPools", (), @@ -30343,14 +31917,14 @@ pub mod api { #[doc = " members are not bound on a system wide basis."] pub fn max_pool_members( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_pool_members::MaxPoolMembers, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPoolMembers", (), @@ -30366,14 +31940,14 @@ pub mod api { #[doc = " members is not bound on a per pool basis."] pub fn max_pool_members_per_pool( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_pool_members_per_pool::MaxPoolMembersPerPool, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "MaxPoolMembersPerPool", (), @@ -30389,14 +31963,14 @@ pub mod api { #[doc = " `GlobalMaxCommission` is lower than some current pool commissions."] pub fn global_max_commission( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::global_max_commission::GlobalMaxCommission, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "GlobalMaxCommission", (), @@ -30413,14 +31987,14 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn pool_members_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::pool_members::PoolMembers, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "PoolMembers", (), @@ -30438,17 +32012,21 @@ pub mod api { pub fn pool_members( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pool_members::Param0, + >, types::pool_members::PoolMembers, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "PoolMembers", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 71u8, 14u8, 198u8, 220u8, 13u8, 117u8, 189u8, 187u8, 123u8, 105u8, 247u8, 41u8, 154u8, 176u8, 134u8, 226u8, 195u8, 136u8, 193u8, 6u8, @@ -30460,14 +32038,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_pool_members( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_pool_members::CounterForPoolMembers, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForPoolMembers", (), @@ -30482,14 +32060,14 @@ pub mod api { #[doc = " Storage for bonded pools."] pub fn bonded_pools_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bonded_pools::BondedPools, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "BondedPools", (), @@ -30505,17 +32083,21 @@ pub mod api { pub fn bonded_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bonded_pools::Param0, + >, types::bonded_pools::BondedPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "BondedPools", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 237u8, 73u8, 210u8, 142u8, 175u8, 108u8, 4u8, 196u8, 31u8, 179u8, 149u8, 14u8, 4u8, 10u8, 103u8, 135u8, 221u8, 118u8, 124u8, 94u8, 106u8, @@ -30527,14 +32109,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_bonded_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_bonded_pools::CounterForBondedPools, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForBondedPools", (), @@ -30549,14 +32131,14 @@ pub mod api { #[doc = " claimed, the balance comes out of the reward pool. Keyed by the bonded pools account."] pub fn reward_pools_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reward_pools::RewardPools, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "RewardPools", (), @@ -30573,17 +32155,21 @@ pub mod api { pub fn reward_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reward_pools::Param0, + >, types::reward_pools::RewardPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "RewardPools", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 9u8, 12u8, 53u8, 236u8, 133u8, 154u8, 71u8, 150u8, 220u8, 31u8, 130u8, 126u8, 208u8, 240u8, 214u8, 66u8, 16u8, 43u8, 202u8, 222u8, 94u8, @@ -30595,14 +32181,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reward_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_reward_pools::CounterForRewardPools, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForRewardPools", (), @@ -30618,14 +32204,14 @@ pub mod api { #[doc = " bonded pool, hence the name sub-pools. Keyed by the bonded pools account."] pub fn sub_pools_storage_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::sub_pools_storage::SubPoolsStorage, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "SubPoolsStorage", (), @@ -30641,19 +32227,21 @@ pub mod api { pub fn sub_pools_storage( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::sub_pools_storage::Param0, >, types::sub_pools_storage::SubPoolsStorage, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "SubPoolsStorage", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 43u8, 35u8, 94u8, 197u8, 201u8, 86u8, 21u8, 118u8, 230u8, 10u8, 66u8, 180u8, 104u8, 146u8, 250u8, 207u8, 159u8, 153u8, 203u8, 58u8, 20u8, @@ -30664,14 +32252,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_sub_pools_storage( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_sub_pools_storage::CounterForSubPoolsStorage, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForSubPoolsStorage", (), @@ -30686,14 +32274,14 @@ pub mod api { #[doc = " Metadata for the pool."] pub fn metadata_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "Metadata", (), @@ -30708,17 +32296,21 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata::Param0, + >, types::metadata::Metadata, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "Metadata", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, @@ -30729,14 +32321,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_metadata( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_metadata::CounterForMetadata, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForMetadata", (), @@ -30751,14 +32343,14 @@ pub mod api { #[doc = " Ever increasing number of all pools created so far."] pub fn last_pool_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::last_pool_id::LastPoolId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "LastPoolId", (), @@ -30776,14 +32368,14 @@ pub mod api { #[doc = " pool id is used, and the accounts are deterministically derived from it."] pub fn reverse_pool_id_lookup_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reverse_pool_id_lookup::ReversePoolIdLookup, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ReversePoolIdLookup", (), @@ -30801,19 +32393,21 @@ pub mod api { pub fn reverse_pool_id_lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::reverse_pool_id_lookup::Param0, >, types::reverse_pool_id_lookup::ReversePoolIdLookup, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ReversePoolIdLookup", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, @@ -30824,14 +32418,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reverse_pool_id_lookup( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_reverse_pool_id_lookup::CounterForReversePoolIdLookup, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "CounterForReversePoolIdLookup", (), @@ -30846,14 +32440,14 @@ pub mod api { #[doc = " Map from a pool member account to their opted claim permission."] pub fn claim_permissions_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::claim_permissions::ClaimPermissions, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ClaimPermissions", (), @@ -30868,19 +32462,21 @@ pub mod api { pub fn claim_permissions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::claim_permissions::Param0, >, types::claim_permissions::ClaimPermissions, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "NominationPools", "ClaimPermissions", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 127u8, 58u8, 154u8, 103u8, 97u8, 80u8, 68u8, 18u8, 167u8, 41u8, 93u8, 100u8, 94u8, 81u8, 82u8, 98u8, 13u8, 162u8, 122u8, 199u8, 216u8, 139u8, @@ -30897,10 +32493,10 @@ pub mod api { #[doc = " The nomination pool's pallet id."] pub fn pallet_id( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "PalletId", [ @@ -30924,8 +32520,10 @@ pub mod api { #[doc = " Such a scenario would also be the equivalent of the pool being 90% slashed."] pub fn max_points_to_balance( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u8, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "MaxPointsToBalance", [ @@ -30939,8 +32537,10 @@ pub mod api { #[doc = " The maximum number of simultaneous unbonding chunks that can exist per member."] pub fn max_unbonding( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "NominationPools", "MaxUnbonding", [ @@ -30968,24 +32568,28 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Anonymously schedule a task."] pub struct Schedule { pub when: schedule::When, pub maybe_periodic: schedule::MaybePeriodic, pub priority: schedule::Priority, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule { use super::runtime_types; @@ -30995,23 +32599,27 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for Schedule { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Schedule { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel an anonymously scheduled task."] pub struct Cancel { pub when: cancel::When, @@ -31022,30 +32630,34 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Cancel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Cancel { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a named task."] pub struct ScheduleNamed { pub id: schedule_named::Id, pub when: schedule_named::When, pub maybe_periodic: schedule_named::MaybePeriodic, pub priority: schedule_named::Priority, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_named { use super::runtime_types; @@ -31056,23 +32668,27 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel a named scheduled task."] pub struct CancelNamed { pub id: cancel_named::Id, @@ -31081,29 +32697,33 @@ pub mod api { use super::runtime_types; pub type Id = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_named"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Anonymously schedule a task after a delay."] pub struct ScheduleAfter { pub after: schedule_after::After, pub maybe_periodic: schedule_after::MaybePeriodic, pub priority: schedule_after::Priority, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_after { use super::runtime_types; @@ -31113,30 +32733,35 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleAfter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_after"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedule a named task after a delay."] pub struct ScheduleNamedAfter { pub id: schedule_named_after::Id, pub after: schedule_named_after::After, pub maybe_periodic: schedule_named_after::MaybePeriodic, pub priority: schedule_named_after::Priority, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_named_after { use super::runtime_types; @@ -31147,23 +32772,27 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleNamedAfter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamedAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named_after"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a retry configuration for a task so that, in case its scheduled run fails, it will"] #[doc = "be retried after `period` blocks, for a total amount of `retries` retries or until it"] #[doc = "succeeds."] @@ -31187,23 +32816,27 @@ pub mod api { pub type Retries = ::core::primitive::u8; pub type Period = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for SetRetry { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRetry { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "set_retry"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a retry configuration for a named task so that, in case its scheduled run fails, it"] #[doc = "will be retried after `period` blocks, for a total amount of `retries` retries or until"] #[doc = "it succeeds."] @@ -31227,23 +32860,27 @@ pub mod api { pub type Retries = ::core::primitive::u8; pub type Period = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for SetRetryNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRetryNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "set_retry_named"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Removes the retry configuration of a task."] pub struct CancelRetry { pub task: cancel_retry::Task, @@ -31252,23 +32889,27 @@ pub mod api { use super::runtime_types; pub type Task = (::core::primitive::u64, ::core::primitive::u32); } - impl ::subxt_core::blocks::StaticExtrinsic for CancelRetry { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRetry { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_retry"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel the retry configuration of a named task."] pub struct CancelRetryNamed { pub id: cancel_retry_named::Id, @@ -31277,7 +32918,7 @@ pub mod api { use super::runtime_types; pub type Id = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelRetryNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRetryNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_retry_named"; } @@ -31291,20 +32932,21 @@ pub mod api { maybe_periodic: types::schedule::MaybePeriodic, priority: types::schedule::Priority, call: types::schedule::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule", types::Schedule { when, maybe_periodic, priority, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 115u8, 107u8, 233u8, 6u8, 248u8, 96u8, 22u8, 225u8, 163u8, 50u8, 128u8, - 74u8, 123u8, 90u8, 76u8, 196u8, 121u8, 88u8, 212u8, 242u8, 254u8, - 173u8, 91u8, 79u8, 206u8, 238u8, 89u8, 138u8, 91u8, 78u8, 246u8, 177u8, + 121u8, 117u8, 89u8, 68u8, 229u8, 121u8, 26u8, 27u8, 136u8, 126u8, + 180u8, 105u8, 114u8, 190u8, 189u8, 122u8, 230u8, 190u8, 84u8, 20u8, + 250u8, 185u8, 108u8, 101u8, 106u8, 209u8, 186u8, 121u8, 31u8, 39u8, + 116u8, 205u8, ], ) } @@ -31313,8 +32955,8 @@ pub mod api { &self, when: types::cancel::When, index: types::cancel::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel", types::Cancel { when, index }, @@ -31334,8 +32976,8 @@ pub mod api { maybe_periodic: types::schedule_named::MaybePeriodic, priority: types::schedule_named::Priority, call: types::schedule_named::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_named", types::ScheduleNamed { @@ -31343,13 +32985,12 @@ pub mod api { when, maybe_periodic, priority, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 155u8, 86u8, 128u8, 165u8, 67u8, 251u8, 146u8, 130u8, 239u8, 131u8, - 54u8, 122u8, 54u8, 14u8, 179u8, 10u8, 108u8, 228u8, 254u8, 179u8, 52u8, - 217u8, 35u8, 200u8, 106u8, 169u8, 13u8, 118u8, 33u8, 138u8, 64u8, - 142u8, + 95u8, 192u8, 237u8, 123u8, 199u8, 40u8, 121u8, 30u8, 31u8, 163u8, 14u8, + 48u8, 32u8, 139u8, 98u8, 0u8, 126u8, 102u8, 34u8, 200u8, 99u8, 254u8, + 86u8, 203u8, 184u8, 118u8, 242u8, 136u8, 238u8, 219u8, 226u8, 43u8, ], ) } @@ -31357,8 +32998,8 @@ pub mod api { pub fn cancel_named( &self, id: types::cancel_named::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_named", types::CancelNamed { id }, @@ -31376,20 +33017,21 @@ pub mod api { maybe_periodic: types::schedule_after::MaybePeriodic, priority: types::schedule_after::Priority, call: types::schedule_after::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_after", types::ScheduleAfter { after, maybe_periodic, priority, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 148u8, 9u8, 77u8, 37u8, 178u8, 122u8, 27u8, 47u8, 119u8, 163u8, 34u8, - 2u8, 82u8, 62u8, 151u8, 84u8, 78u8, 38u8, 133u8, 209u8, 140u8, 24u8, - 119u8, 184u8, 198u8, 68u8, 10u8, 188u8, 232u8, 22u8, 68u8, 212u8, + 212u8, 233u8, 95u8, 173u8, 171u8, 89u8, 135u8, 140u8, 243u8, 184u8, + 126u8, 53u8, 249u8, 144u8, 13u8, 100u8, 159u8, 92u8, 106u8, 137u8, + 17u8, 183u8, 84u8, 39u8, 92u8, 195u8, 152u8, 235u8, 119u8, 248u8, + 119u8, 173u8, ], ) } @@ -31401,8 +33043,9 @@ pub mod api { maybe_periodic: types::schedule_named_after::MaybePeriodic, priority: types::schedule_named_after::Priority, call: types::schedule_named_after::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "schedule_named_after", types::ScheduleNamedAfter { @@ -31410,13 +33053,12 @@ pub mod api { after, maybe_periodic, priority, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 241u8, 179u8, 178u8, 230u8, 111u8, 247u8, 210u8, 160u8, 39u8, 10u8, - 203u8, 237u8, 206u8, 102u8, 55u8, 127u8, 220u8, 64u8, 7u8, 169u8, - 191u8, 56u8, 34u8, 120u8, 200u8, 182u8, 49u8, 205u8, 107u8, 201u8, - 235u8, 78u8, + 124u8, 131u8, 12u8, 39u8, 75u8, 215u8, 79u8, 24u8, 218u8, 177u8, 35u8, + 44u8, 153u8, 21u8, 26u8, 86u8, 75u8, 226u8, 88u8, 60u8, 191u8, 195u8, + 29u8, 55u8, 119u8, 222u8, 133u8, 79u8, 191u8, 208u8, 74u8, 90u8, ], ) } @@ -31437,8 +33079,8 @@ pub mod api { task: types::set_retry::Task, retries: types::set_retry::Retries, period: types::set_retry::Period, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "set_retry", types::SetRetry { task, retries, period }, @@ -31466,8 +33108,8 @@ pub mod api { id: types::set_retry_named::Id, retries: types::set_retry_named::Retries, period: types::set_retry_named::Period, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "set_retry_named", types::SetRetryNamed { id, retries, period }, @@ -31483,8 +33125,8 @@ pub mod api { pub fn cancel_retry( &self, task: types::cancel_retry::Task, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_retry", types::CancelRetry { task }, @@ -31499,8 +33141,8 @@ pub mod api { pub fn cancel_retry_named( &self, id: types::cancel_retry_named::Id, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Scheduler", "cancel_retry_named", types::CancelRetryNamed { id }, @@ -31518,18 +33160,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Scheduled some task."] pub struct Scheduled { pub when: scheduled::When, @@ -31540,23 +33182,23 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Scheduled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Scheduled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Scheduled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Canceled some task."] pub struct Canceled { pub when: canceled::When, @@ -31567,23 +33209,23 @@ pub mod api { pub type When = ::core::primitive::u64; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Canceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Canceled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Dispatched some task."] pub struct Dispatched { pub task: dispatched::Task, @@ -31597,23 +33239,23 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for Dispatched { + impl ::subxt::ext::subxt_core::events::StaticEvent for Dispatched { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Dispatched"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Set a retry configuration for some task."] pub struct RetrySet { pub task: retry_set::Task, @@ -31628,23 +33270,23 @@ pub mod api { pub type Period = ::core::primitive::u64; pub type Retries = ::core::primitive::u8; } - impl ::subxt_core::events::StaticEvent for RetrySet { + impl ::subxt::ext::subxt_core::events::StaticEvent for RetrySet { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetrySet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Cancel a retry configuration for some task."] pub struct RetryCancelled { pub task: retry_cancelled::Task, @@ -31655,23 +33297,23 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt_core::events::StaticEvent for RetryCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for RetryCancelled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetryCancelled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The call for the provided hash was not found so the task has been aborted."] pub struct CallUnavailable { pub task: call_unavailable::Task, @@ -31682,23 +33324,23 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt_core::events::StaticEvent for CallUnavailable { + impl ::subxt::ext::subxt_core::events::StaticEvent for CallUnavailable { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "CallUnavailable"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given task was unable to be renewed since the agenda is full at that block."] pub struct PeriodicFailed { pub task: periodic_failed::Task, @@ -31709,23 +33351,23 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt_core::events::StaticEvent for PeriodicFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PeriodicFailed { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PeriodicFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given task was unable to be retried since the agenda is full at that block or there"] #[doc = "was not enough weight to reschedule it."] pub struct RetryFailed { @@ -31737,23 +33379,23 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt_core::events::StaticEvent for RetryFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for RetryFailed { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "RetryFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given task can never be executed since it is overweight."] pub struct PermanentlyOverweight { pub task: permanently_overweight::Task, @@ -31764,7 +33406,7 @@ pub mod api { pub type Task = (::core::primitive::u64, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt_core::events::StaticEvent for PermanentlyOverweight { + impl ::subxt::ext::subxt_core::events::StaticEvent for PermanentlyOverweight { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PermanentlyOverweight"; } @@ -31789,7 +33431,7 @@ pub mod api { >, ::core::primitive::u64, runtime_types::tangle_testnet_runtime::OriginCaller, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, >; @@ -31812,14 +33454,14 @@ pub mod api { impl StorageApi { pub fn incomplete_since( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::incomplete_since::IncompleteSince, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "IncompleteSince", (), @@ -31834,14 +33476,14 @@ pub mod api { #[doc = " Items to be executed, indexed by the block number that they should be executed on."] pub fn agenda_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::agenda::Agenda, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Agenda", (), @@ -31857,17 +33499,21 @@ pub mod api { pub fn agenda( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::agenda::Param0, + >, types::agenda::Agenda, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Agenda", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 207u8, 229u8, 12u8, 111u8, 82u8, 163u8, 230u8, 234u8, 172u8, 240u8, 41u8, 179u8, 64u8, 235u8, 253u8, 139u8, 75u8, 150u8, 218u8, 97u8, @@ -31879,14 +33525,14 @@ pub mod api { #[doc = " Retry configurations for items to be executed, indexed by task address."] pub fn retries_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::retries::Retries, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", (), @@ -31901,17 +33547,21 @@ pub mod api { pub fn retries_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::retries::Param0, + >, types::retries::Retries, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 226u8, 140u8, 93u8, 197u8, 220u8, 2u8, 34u8, 112u8, 64u8, 9u8, 110u8, 98u8, 192u8, 87u8, 138u8, 168u8, 186u8, 72u8, 27u8, 14u8, 187u8, 75u8, @@ -31924,22 +33574,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::retries::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::retries::Param1, + >, ), types::retries::Retries, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Retries", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 226u8, 140u8, 93u8, 197u8, 220u8, 2u8, 34u8, 112u8, 64u8, 9u8, 110u8, @@ -31954,14 +33612,14 @@ pub mod api { #[doc = " identities."] pub fn lookup_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::lookup::Lookup, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Lookup", (), @@ -31980,17 +33638,21 @@ pub mod api { pub fn lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::lookup::Param0, + >, types::lookup::Lookup, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Scheduler", "Lookup", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 43u8, 113u8, 203u8, 163u8, 123u8, 137u8, 242u8, 150u8, 151u8, 218u8, 249u8, 222u8, 109u8, 245u8, 242u8, 112u8, 45u8, 96u8, 67u8, 162u8, @@ -32008,10 +33670,10 @@ pub mod api { #[doc = " The maximum weight that may be scheduled per block for any dispatchables."] pub fn maximum_weight( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::sp_weights::weight_v2::Weight, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Scheduler", "MaximumWeight", [ @@ -32029,8 +33691,10 @@ pub mod api { #[doc = " higher limit under `runtime-benchmarks` feature."] pub fn max_scheduled_per_block( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Scheduler", "MaxScheduledPerBlock", [ @@ -32058,18 +33722,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Register a preimage on-chain."] #[doc = ""] #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] @@ -32079,25 +33747,30 @@ pub mod api { } pub mod note_preimage { use super::runtime_types; - pub type Bytes = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Bytes = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for NotePreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "note_preimage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clear an unrequested preimage from the runtime storage."] #[doc = ""] #[doc = "If `len` is provided, then it will be a much cheaper operation."] @@ -32109,25 +33782,29 @@ pub mod api { } pub mod unnote_preimage { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for UnnotePreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnnotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unnote_preimage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] #[doc = ""] #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] @@ -32137,25 +33814,29 @@ pub mod api { } pub mod request_preimage { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for RequestPreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "request_preimage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clear a previously made request for a preimage."] #[doc = ""] #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] @@ -32164,25 +33845,29 @@ pub mod api { } pub mod unrequest_preimage { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for UnrequestPreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnrequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unrequest_preimage"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Ensure that the a bulk of pre-images is upgraded."] #[doc = ""] #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] @@ -32191,9 +33876,11 @@ pub mod api { } pub mod ensure_updated { use super::runtime_types; - pub type Hashes = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; + pub type Hashes = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for EnsureUpdated { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EnsureUpdated { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "ensure_updated"; } @@ -32207,8 +33894,8 @@ pub mod api { pub fn note_preimage( &self, bytes: types::note_preimage::Bytes, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "note_preimage", types::NotePreimage { bytes }, @@ -32228,8 +33915,8 @@ pub mod api { pub fn unnote_preimage( &self, hash: types::unnote_preimage::Hash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "unnote_preimage", types::UnnotePreimage { hash }, @@ -32248,8 +33935,8 @@ pub mod api { pub fn request_preimage( &self, hash: types::request_preimage::Hash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "request_preimage", types::RequestPreimage { hash }, @@ -32266,8 +33953,9 @@ pub mod api { pub fn unrequest_preimage( &self, hash: types::unrequest_preimage::Hash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "unrequest_preimage", types::UnrequestPreimage { hash }, @@ -32285,8 +33973,8 @@ pub mod api { pub fn ensure_updated( &self, hashes: types::ensure_updated::Hashes, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Preimage", "ensure_updated", types::EnsureUpdated { hashes }, @@ -32305,77 +33993,77 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has been noted."] pub struct Noted { pub hash: noted::Hash, } pub mod noted { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Noted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Noted { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Noted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has been requested."] pub struct Requested { pub hash: requested::Hash, } pub mod requested { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Requested { + impl ::subxt::ext::subxt_core::events::StaticEvent for Requested { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Requested"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has ben cleared."] pub struct Cleared { pub hash: cleared::Hash, } pub mod cleared { use super::runtime_types; - pub type Hash = ::subxt_core::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Cleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cleared { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Cleared"; } @@ -32387,18 +34075,18 @@ pub mod api { pub mod status_for { use super::runtime_types; pub type StatusFor = runtime_types::pallet_preimage::OldRequestStatus< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod request_status_for { use super::runtime_types; pub type RequestStatusFor = runtime_types::pallet_preimage::RequestStatus< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, (), >; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod preimage_for { use super::runtime_types; @@ -32406,7 +34094,7 @@ pub mod api { runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; pub type Param1 = ::core::primitive::u32; } } @@ -32415,14 +34103,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn status_for_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::status_for::StatusFor, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "StatusFor", (), @@ -32438,17 +34126,21 @@ pub mod api { pub fn status_for( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::status_for::Param0, + >, types::status_for::StatusFor, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "StatusFor", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 187u8, 100u8, 54u8, 112u8, 96u8, 129u8, 36u8, 149u8, 127u8, 226u8, 126u8, 171u8, 72u8, 189u8, 59u8, 126u8, 204u8, 125u8, 67u8, 204u8, @@ -32460,14 +34152,14 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn request_status_for_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::request_status_for::RequestStatusFor, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "RequestStatusFor", (), @@ -32482,19 +34174,21 @@ pub mod api { pub fn request_status_for( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::request_status_for::Param0, >, types::request_status_for::RequestStatusFor, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "RequestStatusFor", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 60u8, 36u8, 88u8, 121u8, 15u8, 71u8, 245u8, 91u8, 235u8, 58u8, 109u8, 17u8, 249u8, 135u8, 4u8, 132u8, 170u8, 173u8, 142u8, 101u8, 167u8, @@ -32504,14 +34198,14 @@ pub mod api { } pub fn preimage_for_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::preimage_for::PreimageFor, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", (), @@ -32526,17 +34220,21 @@ pub mod api { pub fn preimage_for_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::preimage_for::Param0, + >, types::preimage_for::PreimageFor, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, 141u8, 117u8, 40u8, 30u8, 94u8, 187u8, 35u8, 206u8, 216u8, 143u8, @@ -32549,26 +34247,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::preimage_for::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::preimage_for::Param1, >, ), types::preimage_for::PreimageFor, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Preimage", "PreimageFor", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, @@ -32589,18 +34291,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "There is an offence reported of the given `kind` happened at the `session_index` and"] #[doc = "(kind-specific) time slot. This event is not deposited for duplicate slashes."] #[doc = "\\[kind, timeslot\\]."] @@ -32611,9 +34313,10 @@ pub mod api { pub mod offence { use super::runtime_types; pub type Kind = [::core::primitive::u8; 16usize]; - pub type Timeslot = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Timeslot = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::events::StaticEvent for Offence { + impl ::subxt::ext::subxt_core::events::StaticEvent for Offence { const PALLET: &'static str = "Offences"; const EVENT: &'static str = "Offence"; } @@ -32625,21 +34328,22 @@ pub mod api { pub mod reports { use super::runtime_types; pub type Reports = runtime_types::sp_staking::offence::OffenceDetails< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ( - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, ), >; - pub type Param0 = ::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod concurrent_reports_index { use super::runtime_types; - pub type ConcurrentReportsIndex = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; + pub type ConcurrentReportsIndex = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Param0 = [::core::primitive::u8; 16usize]; pub type Param1 = [::core::primitive::u8]; } @@ -32649,14 +34353,14 @@ pub mod api { #[doc = " The primary structure that holds all offence records keyed by report identifiers."] pub fn reports_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reports::Reports, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Offences", "Reports", (), @@ -32671,17 +34375,21 @@ pub mod api { pub fn reports( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reports::Param0, + >, types::reports::Reports, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Offences", "Reports", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 140u8, 14u8, 199u8, 180u8, 83u8, 5u8, 23u8, 57u8, 241u8, 41u8, 240u8, 35u8, 80u8, 12u8, 115u8, 16u8, 2u8, 15u8, 22u8, 77u8, 25u8, 92u8, @@ -32692,14 +34400,14 @@ pub mod api { #[doc = " A vector of reports of the same kind that happened at the same time slot."] pub fn concurrent_reports_index_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", (), @@ -32715,19 +34423,21 @@ pub mod api { pub fn concurrent_reports_index_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param0, >, types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, 241u8, 20u8, 235u8, 108u8, 126u8, 215u8, 82u8, 73u8, 113u8, 199u8, @@ -32741,26 +34451,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::concurrent_reports_index::Param1, >, ), types::concurrent_reports_index::ConcurrentReportsIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Offences", "ConcurrentReportsIndex", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, @@ -32787,18 +34501,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Pause a call."] #[doc = ""] #[doc = "Can only be called by [`Config::PauseOrigin`]."] @@ -32817,23 +34535,27 @@ pub mod api { >, ); } - impl ::subxt_core::blocks::StaticExtrinsic for Pause { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Pause { const PALLET: &'static str = "TxPause"; const CALL: &'static str = "pause"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Un-pause a call."] #[doc = ""] #[doc = "Can only be called by [`Config::UnpauseOrigin`]."] @@ -32852,7 +34574,7 @@ pub mod api { >, ); } - impl ::subxt_core::blocks::StaticExtrinsic for Unpause { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unpause { const PALLET: &'static str = "TxPause"; const CALL: &'static str = "unpause"; } @@ -32866,8 +34588,8 @@ pub mod api { pub fn pause( &self, full_name: types::pause::FullName, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "TxPause", "pause", types::Pause { full_name }, @@ -32885,8 +34607,8 @@ pub mod api { pub fn unpause( &self, ident: types::unpause::Ident, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "TxPause", "unpause", types::Unpause { ident }, @@ -32905,18 +34627,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "This pallet, or a specific call is now paused."] pub struct CallPaused { pub full_name: call_paused::FullName, @@ -32932,23 +34654,23 @@ pub mod api { >, ); } - impl ::subxt_core::events::StaticEvent for CallPaused { + impl ::subxt::ext::subxt_core::events::StaticEvent for CallPaused { const PALLET: &'static str = "TxPause"; const EVENT: &'static str = "CallPaused"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "This pallet, or a specific call is now unpaused."] pub struct CallUnpaused { pub full_name: call_unpaused::FullName, @@ -32964,7 +34686,7 @@ pub mod api { >, ); } - impl ::subxt_core::events::StaticEvent for CallUnpaused { + impl ::subxt::ext::subxt_core::events::StaticEvent for CallUnpaused { const PALLET: &'static str = "TxPause"; const EVENT: &'static str = "CallUnpaused"; } @@ -32989,14 +34711,14 @@ pub mod api { #[doc = " The set of calls that are explicitly paused."] pub fn paused_calls_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::paused_calls::PausedCalls, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", (), @@ -33011,17 +34733,21 @@ pub mod api { pub fn paused_calls_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::paused_calls::Param0, + >, types::paused_calls::PausedCalls, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 36u8, 9u8, 29u8, 154u8, 39u8, 47u8, 237u8, 97u8, 176u8, 241u8, 153u8, 131u8, 20u8, 16u8, 73u8, 63u8, 27u8, 21u8, 107u8, 5u8, 147u8, 198u8, @@ -33034,26 +34760,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::paused_calls::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::paused_calls::Param1, >, ), types::paused_calls::PausedCalls, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "TxPause", "PausedCalls", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 36u8, 9u8, 29u8, 154u8, 39u8, 47u8, 237u8, 97u8, 176u8, 241u8, 153u8, @@ -33073,8 +34803,10 @@ pub mod api { #[doc = " TOO LONG NAMES WILL BE TREATED AS PAUSED."] pub fn max_name_len( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "TxPause", "MaxNameLen", [ @@ -33102,18 +34834,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "## Complexity:"] #[doc = "- `O(K)` where K is length of `Keys` (heartbeat.validators_len)"] #[doc = " - `O(K)`: decoding of length `K`"] @@ -33128,7 +34864,7 @@ pub mod api { pub type Signature = runtime_types::pallet_im_online::sr25519::app_sr25519::Signature; } - impl ::subxt_core::blocks::StaticExtrinsic for Heartbeat { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Heartbeat { const PALLET: &'static str = "ImOnline"; const CALL: &'static str = "heartbeat"; } @@ -33142,8 +34878,8 @@ pub mod api { &self, heartbeat: types::heartbeat::Heartbeat, signature: types::heartbeat::Signature, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "ImOnline", "heartbeat", types::Heartbeat { heartbeat, signature }, @@ -33161,18 +34897,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new heartbeat was received from `AuthorityId`."] pub struct HeartbeatReceived { pub authority_id: heartbeat_received::AuthorityId, @@ -33182,57 +34918,57 @@ pub mod api { pub type AuthorityId = runtime_types::pallet_im_online::sr25519::app_sr25519::Public; } - impl ::subxt_core::events::StaticEvent for HeartbeatReceived { + impl ::subxt::ext::subxt_core::events::StaticEvent for HeartbeatReceived { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "HeartbeatReceived"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "At the end of the session, no offence was committed."] pub struct AllGood; - impl ::subxt_core::events::StaticEvent for AllGood { + impl ::subxt::ext::subxt_core::events::StaticEvent for AllGood { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "AllGood"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "At the end of the session, at least one validator was found to be offline."] pub struct SomeOffline { pub offline: some_offline::Offline, } pub mod some_offline { use super::runtime_types; - pub type Offline = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + pub type Offline = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, )>; } - impl ::subxt_core::events::StaticEvent for SomeOffline { + impl ::subxt::ext::subxt_core::events::StaticEvent for SomeOffline { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "SomeOffline"; } @@ -33262,7 +34998,7 @@ pub mod api { use super::runtime_types; pub type AuthoredBlocks = ::core::primitive::u32; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -33280,14 +35016,14 @@ pub mod api { #[doc = " more accurate then the value we calculate for `HeartbeatAfter`."] pub fn heartbeat_after( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::heartbeat_after::HeartbeatAfter, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "HeartbeatAfter", (), @@ -33301,14 +35037,14 @@ pub mod api { #[doc = " The current set of keys that may issue a heartbeat."] pub fn keys( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::keys::Keys, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "Keys", (), @@ -33323,14 +35059,14 @@ pub mod api { #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] pub fn received_heartbeats_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", (), @@ -33345,19 +35081,21 @@ pub mod api { pub fn received_heartbeats_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param0, >, types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, 234u8, 108u8, 64u8, 27u8, 247u8, 17u8, 187u8, 199u8, 41u8, 138u8, 55u8, @@ -33370,26 +35108,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::received_heartbeats::Param1, >, ), types::received_heartbeats::ReceivedHeartbeats, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "ReceivedHeartbeats", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, @@ -33402,14 +35144,14 @@ pub mod api { #[doc = " number of blocks authored by the given authority."] pub fn authored_blocks_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::authored_blocks::AuthoredBlocks, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", (), @@ -33426,19 +35168,21 @@ pub mod api { pub fn authored_blocks_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::authored_blocks::Param0, >, types::authored_blocks::AuthoredBlocks, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, 218u8, 20u8, 174u8, 191u8, 224u8, 67u8, 137u8, 48u8, 146u8, 209u8, @@ -33453,26 +35197,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::authored_blocks::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::authored_blocks::Param1, >, ), types::authored_blocks::AuthoredBlocks, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "ImOnline", "AuthoredBlocks", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, @@ -33494,8 +35242,10 @@ pub mod api { #[doc = " multiple pallets send unsigned transactions."] pub fn unsigned_priority( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "ImOnline", "UnsignedPriority", [ @@ -33523,18 +35273,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add a registrar to the system."] #[doc = ""] #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] @@ -33547,28 +35301,32 @@ pub mod api { } pub mod add_registrar { use super::runtime_types; - pub type Account = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for AddRegistrar { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddRegistrar { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_registrar"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set an account's identity information and reserve the appropriate deposit."] #[doc = ""] #[doc = "If the account already has identity information, the deposit is taken as part payment"] @@ -33580,29 +35338,33 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentitySet` if successful."] pub struct SetIdentity { - pub info: ::subxt_core::alloc::boxed::Box, + pub info: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod set_identity { use super::runtime_types; pub type Info = runtime_types::pallet_identity::legacy::IdentityInfo; } - impl ::subxt_core::blocks::StaticExtrinsic for SetIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_identity"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the sub-accounts of the sender."] #[doc = ""] #[doc = "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned"] @@ -33617,28 +35379,32 @@ pub mod api { } pub mod set_subs { use super::runtime_types; - pub type Subs = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + pub type Subs = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetSubs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetSubs { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_subs"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Clear an account's identity info and all sub-accounts and return all deposits."] #[doc = ""] #[doc = "Payment: All reserved balances on the account are returned."] @@ -33648,23 +35414,27 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentityCleared` if successful."] pub struct ClearIdentity; - impl ::subxt_core::blocks::StaticExtrinsic for ClearIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "clear_identity"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Request a judgement from a registrar."] #[doc = ""] #[doc = "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement"] @@ -33692,23 +35462,27 @@ pub mod api { pub type RegIndex = ::core::primitive::u32; pub type MaxFee = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for RequestJudgement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "request_judgement"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel a previous request."] #[doc = ""] #[doc = "Payment: A previously reserved deposit is returned on success."] @@ -33726,23 +35500,27 @@ pub mod api { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelRequest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRequest { const PALLET: &'static str = "Identity"; const CALL: &'static str = "cancel_request"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the fee required for a judgement to be requested from a registrar."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] @@ -33761,23 +35539,27 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Fee = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for SetFee { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFee { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fee"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Change the account associated with a registrar."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] @@ -33793,28 +35575,32 @@ pub mod api { pub mod set_account_id { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type New = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetAccountId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetAccountId { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_account_id"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the field information for a registrar."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] @@ -33832,23 +35618,27 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Fields = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for SetFields { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFields { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fields"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Provide a judgement for an account's identity."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] @@ -33874,31 +35664,35 @@ pub mod api { pub mod provide_judgement { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Judgement = runtime_types::pallet_identity::types::Judgement<::core::primitive::u128>; - pub type Identity = ::subxt_core::utils::H256; + pub type Identity = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for ProvideJudgement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProvideJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "provide_judgement"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove an account's identity and sub-account information and slash the deposits."] #[doc = ""] #[doc = "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by"] @@ -33916,28 +35710,32 @@ pub mod api { } pub mod kill_identity { use super::runtime_types; - pub type Target = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for KillIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "kill_identity"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add the given account to the sender's subs."] #[doc = ""] #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] @@ -33951,29 +35749,33 @@ pub mod api { } pub mod add_sub { use super::runtime_types; - pub type Sub = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt_core::blocks::StaticExtrinsic for AddSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_sub"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Alter the associated name of the given sub-account."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] @@ -33984,29 +35786,33 @@ pub mod api { } pub mod rename_sub { use super::runtime_types; - pub type Sub = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt_core::blocks::StaticExtrinsic for RenameSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RenameSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "rename_sub"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove the given account from the sender's subs."] #[doc = ""] #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] @@ -34019,28 +35825,32 @@ pub mod api { } pub mod remove_sub { use super::runtime_types; - pub type Sub = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_sub"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove the sender as a sub-account."] #[doc = ""] #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] @@ -34052,23 +35862,27 @@ pub mod api { #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] #[doc = "controller of an account is maliciously registered as a sub-account."] pub struct QuitSub; - impl ::subxt_core::blocks::StaticExtrinsic for QuitSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for QuitSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "quit_sub"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Add an `AccountId` with permission to grant usernames with a given `suffix` appended."] #[doc = ""] #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] @@ -34080,58 +35894,67 @@ pub mod api { } pub mod add_username_authority { use super::runtime_types; - pub type Authority = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Authority = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Suffix = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Suffix = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Allocation = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for AddUsernameAuthority { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddUsernameAuthority { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_username_authority"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove `authority` from the username authorities."] pub struct RemoveUsernameAuthority { pub authority: remove_username_authority::Authority, } pub mod remove_username_authority { use super::runtime_types; - pub type Authority = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Authority = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveUsernameAuthority { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveUsernameAuthority { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_username_authority"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the username for `who`. Must be called by a username authority."] #[doc = ""] #[doc = "The authority must have an `allocation`. Users can either pre-sign their usernames or"] @@ -34148,31 +35971,36 @@ pub mod api { } pub mod set_username_for { use super::runtime_types; - pub type Who = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Username = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Username = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Signature = ::core::option::Option; } - impl ::subxt_core::blocks::StaticExtrinsic for SetUsernameFor { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetUsernameFor { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_username_for"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Accept a given username that an `authority` granted. The call must include the full"] #[doc = "username, as in `username.suffix`."] pub struct AcceptUsername { @@ -34184,23 +36012,27 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt_core::blocks::StaticExtrinsic for AcceptUsername { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "accept_username"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove an expired username approval. The username was approved by an authority but never"] #[doc = "accepted by the user and must now be beyond its expiration. The call must include the"] #[doc = "full username, as in `username.suffix`."] @@ -34213,23 +36045,27 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveExpiredApproval { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveExpiredApproval { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_expired_approval"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a given username as the primary. The username should include the suffix."] pub struct SetPrimaryUsername { pub username: set_primary_username::Username, @@ -34240,23 +36076,27 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetPrimaryUsername { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetPrimaryUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_primary_username"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a username that corresponds to an account with no identity. Exists when a user"] #[doc = "gets a username but then calls `clear_identity`."] pub struct RemoveDanglingUsername { @@ -34268,7 +36108,7 @@ pub mod api { ::core::primitive::u8, >; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveDanglingUsername { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveDanglingUsername { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_dangling_username"; } @@ -34285,8 +36125,8 @@ pub mod api { pub fn add_registrar( &self, account: types::add_registrar::Account, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_registrar", types::AddRegistrar { account }, @@ -34310,11 +36150,13 @@ pub mod api { pub fn set_identity( &self, info: types::set_identity::Info, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_identity", - types::SetIdentity { info: ::subxt_core::alloc::boxed::Box::new(info) }, + types::SetIdentity { + info: ::subxt::ext::subxt_core::alloc::boxed::Box::new(info), + }, [ 18u8, 86u8, 67u8, 10u8, 116u8, 254u8, 94u8, 95u8, 166u8, 30u8, 204u8, 189u8, 174u8, 70u8, 191u8, 255u8, 149u8, 93u8, 156u8, 120u8, 105u8, @@ -34335,8 +36177,8 @@ pub mod api { pub fn set_subs( &self, subs: types::set_subs::Subs, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_subs", types::SetSubs { subs }, @@ -34358,8 +36200,8 @@ pub mod api { #[doc = "Emits `IdentityCleared` if successful."] pub fn clear_identity( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "clear_identity", types::ClearIdentity {}, @@ -34391,8 +36233,8 @@ pub mod api { &self, reg_index: types::request_judgement::RegIndex, max_fee: types::request_judgement::MaxFee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "request_judgement", types::RequestJudgement { reg_index, max_fee }, @@ -34416,8 +36258,8 @@ pub mod api { pub fn cancel_request( &self, reg_index: types::cancel_request::RegIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "cancel_request", types::CancelRequest { reg_index }, @@ -34440,8 +36282,8 @@ pub mod api { &self, index: types::set_fee::Index, fee: types::set_fee::Fee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_fee", types::SetFee { index, fee }, @@ -34464,8 +36306,8 @@ pub mod api { &self, index: types::set_account_id::Index, new: types::set_account_id::New, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_account_id", types::SetAccountId { index, new }, @@ -34488,8 +36330,8 @@ pub mod api { &self, index: types::set_fields::Index, fields: types::set_fields::Fields, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_fields", types::SetFields { index, fields }, @@ -34522,8 +36364,8 @@ pub mod api { target: types::provide_judgement::Target, judgement: types::provide_judgement::Judgement, identity: types::provide_judgement::Identity, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "provide_judgement", types::ProvideJudgement { reg_index, target, judgement, identity }, @@ -34550,8 +36392,8 @@ pub mod api { pub fn kill_identity( &self, target: types::kill_identity::Target, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "kill_identity", types::KillIdentity { target }, @@ -34573,8 +36415,8 @@ pub mod api { &self, sub: types::add_sub::Sub, data: types::add_sub::Data, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_sub", types::AddSub { sub, data }, @@ -34593,8 +36435,8 @@ pub mod api { &self, sub: types::rename_sub::Sub, data: types::rename_sub::Data, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "rename_sub", types::RenameSub { sub, data }, @@ -34615,8 +36457,8 @@ pub mod api { pub fn remove_sub( &self, sub: types::remove_sub::Sub, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_sub", types::RemoveSub { sub }, @@ -34638,8 +36480,10 @@ pub mod api { #[doc = ""] #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] #[doc = "controller of an account is maliciously registered as a sub-account."] - pub fn quit_sub(&self) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + pub fn quit_sub( + &self, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "quit_sub", types::QuitSub {}, @@ -34660,8 +36504,9 @@ pub mod api { authority: types::add_username_authority::Authority, suffix: types::add_username_authority::Suffix, allocation: types::add_username_authority::Allocation, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "add_username_authority", types::AddUsernameAuthority { authority, suffix, allocation }, @@ -34676,8 +36521,10 @@ pub mod api { pub fn remove_username_authority( &self, authority: types::remove_username_authority::Authority, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::RemoveUsernameAuthority, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_username_authority", types::RemoveUsernameAuthority { authority }, @@ -34702,8 +36549,8 @@ pub mod api { who: types::set_username_for::Who, username: types::set_username_for::Username, signature: types::set_username_for::Signature, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_username_for", types::SetUsernameFor { who, username, signature }, @@ -34720,8 +36567,8 @@ pub mod api { pub fn accept_username( &self, username: types::accept_username::Username, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "accept_username", types::AcceptUsername { username }, @@ -34738,8 +36585,10 @@ pub mod api { pub fn remove_expired_approval( &self, username: types::remove_expired_approval::Username, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::RemoveExpiredApproval, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_expired_approval", types::RemoveExpiredApproval { username }, @@ -34754,8 +36603,9 @@ pub mod api { pub fn set_primary_username( &self, username: types::set_primary_username::Username, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "set_primary_username", types::SetPrimaryUsername { username }, @@ -34771,8 +36621,10 @@ pub mod api { pub fn remove_dangling_username( &self, username: types::remove_dangling_username::Username, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::RemoveDanglingUsername, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Identity", "remove_dangling_username", types::RemoveDanglingUsername { username }, @@ -34790,43 +36642,43 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was set or reset (which will remove all judgements)."] pub struct IdentitySet { pub who: identity_set::Who, } pub mod identity_set { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for IdentitySet { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentitySet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentitySet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was cleared, and the given balance returned."] pub struct IdentityCleared { pub who: identity_cleared::Who, @@ -34834,26 +36686,26 @@ pub mod api { } pub mod identity_cleared { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for IdentityCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityCleared { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityCleared"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was removed and the given balance slashed."] pub struct IdentityKilled { pub who: identity_killed::Who, @@ -34861,26 +36713,26 @@ pub mod api { } pub mod identity_killed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for IdentityKilled { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityKilled { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityKilled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was asked from a registrar."] pub struct JudgementRequested { pub who: judgement_requested::Who, @@ -34888,26 +36740,26 @@ pub mod api { } pub mod judgement_requested { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for JudgementRequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementRequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementRequested"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement request was retracted."] pub struct JudgementUnrequested { pub who: judgement_unrequested::Who, @@ -34915,26 +36767,26 @@ pub mod api { } pub mod judgement_unrequested { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for JudgementUnrequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementUnrequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementUnrequested"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was given by a registrar."] pub struct JudgementGiven { pub target: judgement_given::Target, @@ -34942,26 +36794,26 @@ pub mod api { } pub mod judgement_given { use super::runtime_types; - pub type Target = ::subxt_core::utils::AccountId32; + pub type Target = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for JudgementGiven { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementGiven { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementGiven"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A registrar was added."] pub struct RegistrarAdded { pub registrar_index: registrar_added::RegistrarIndex, @@ -34970,23 +36822,23 @@ pub mod api { use super::runtime_types; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for RegistrarAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for RegistrarAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "RegistrarAdded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was added to an identity and the deposit paid."] pub struct SubIdentityAdded { pub sub: sub_identity_added::Sub, @@ -34995,27 +36847,27 @@ pub mod api { } pub mod sub_identity_added { use super::runtime_types; - pub type Sub = ::subxt_core::utils::AccountId32; - pub type Main = ::subxt_core::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for SubIdentityAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityAdded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was removed from an identity and the deposit freed."] pub struct SubIdentityRemoved { pub sub: sub_identity_removed::Sub, @@ -35024,27 +36876,27 @@ pub mod api { } pub mod sub_identity_removed { use super::runtime_types; - pub type Sub = ::subxt_core::utils::AccountId32; - pub type Main = ::subxt_core::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for SubIdentityRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRemoved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was cleared, and the given deposit repatriated from the"] #[doc = "main identity account to the sub-identity account."] pub struct SubIdentityRevoked { @@ -35054,77 +36906,77 @@ pub mod api { } pub mod sub_identity_revoked { use super::runtime_types; - pub type Sub = ::subxt_core::utils::AccountId32; - pub type Main = ::subxt_core::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for SubIdentityRevoked { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRevoked { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRevoked"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A username authority was added."] pub struct AuthorityAdded { pub authority: authority_added::Authority, } pub mod authority_added { use super::runtime_types; - pub type Authority = ::subxt_core::utils::AccountId32; + pub type Authority = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for AuthorityAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for AuthorityAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "AuthorityAdded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A username authority was removed."] pub struct AuthorityRemoved { pub authority: authority_removed::Authority, } pub mod authority_removed { use super::runtime_types; - pub type Authority = ::subxt_core::utils::AccountId32; + pub type Authority = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for AuthorityRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for AuthorityRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "AuthorityRemoved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A username was set for `who`."] pub struct UsernameSet { pub who: username_set::Who, @@ -35132,28 +36984,28 @@ pub mod api { } pub mod username_set { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt_core::events::StaticEvent for UsernameSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for UsernameSet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "UsernameSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] pub struct UsernameQueued { pub who: username_queued::Who, @@ -35162,54 +37014,54 @@ pub mod api { } pub mod username_queued { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; pub type Expiration = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for UsernameQueued { + impl ::subxt::ext::subxt_core::events::StaticEvent for UsernameQueued { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "UsernameQueued"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A queued username passed its expiration without being claimed and was removed."] pub struct PreapprovalExpired { pub whose: preapproval_expired::Whose, } pub mod preapproval_expired { use super::runtime_types; - pub type Whose = ::subxt_core::utils::AccountId32; + pub type Whose = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for PreapprovalExpired { + impl ::subxt::ext::subxt_core::events::StaticEvent for PreapprovalExpired { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "PreapprovalExpired"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A username was set as a primary and can be looked up from `who`."] pub struct PrimaryUsernameSet { pub who: primary_username_set::Who, @@ -35217,28 +37069,28 @@ pub mod api { } pub mod primary_username_set { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt_core::events::StaticEvent for PrimaryUsernameSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for PrimaryUsernameSet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "PrimaryUsernameSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A dangling username (as in, a username corresponding to an account that has removed its"] #[doc = "identity) has been removed."] pub struct DanglingUsernameRemoved { @@ -35247,12 +37099,12 @@ pub mod api { } pub mod dangling_username_removed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Username = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; } - impl ::subxt_core::events::StaticEvent for DanglingUsernameRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for DanglingUsernameRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "DanglingUsernameRemoved"; } @@ -35274,25 +37126,25 @@ pub mod api { >, >, ); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod super_of { use super::runtime_types; pub type SuperOf = ( - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, ); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod subs_of { use super::runtime_types; pub type SubsOf = ( ::core::primitive::u128, runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, ); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod registrars { use super::runtime_types; @@ -35301,7 +37153,7 @@ pub mod api { ::core::option::Option< runtime_types::pallet_identity::types::RegistrarInfo< ::core::primitive::u128, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, >, >, @@ -35315,11 +37167,11 @@ pub mod api { ::core::primitive::u8, >, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod account_of_username { use super::runtime_types; - pub type AccountOfUsername = ::subxt_core::utils::AccountId32; + pub type AccountOfUsername = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; @@ -35327,7 +37179,7 @@ pub mod api { pub mod pending_usernames { use super::runtime_types; pub type PendingUsernames = - (::subxt_core::utils::AccountId32, ::core::primitive::u64); + (::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64); pub type Param0 = runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >; @@ -35341,14 +37193,14 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn identity_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::identity_of::IdentityOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "IdentityOf", (), @@ -35366,17 +37218,21 @@ pub mod api { pub fn identity_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::identity_of::Param0, + >, types::identity_of::IdentityOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "IdentityOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 0u8, 73u8, 213u8, 52u8, 49u8, 235u8, 238u8, 43u8, 119u8, 12u8, 35u8, 162u8, 230u8, 24u8, 246u8, 200u8, 44u8, 254u8, 13u8, 84u8, 10u8, 27u8, @@ -35388,14 +37244,14 @@ pub mod api { #[doc = " context. If the account is not some other account's sub-identity, then just `None`."] pub fn super_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::super_of::SuperOf, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SuperOf", (), @@ -35411,17 +37267,21 @@ pub mod api { pub fn super_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::super_of::Param0, + >, types::super_of::SuperOf, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SuperOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 84u8, 72u8, 64u8, 14u8, 56u8, 9u8, 143u8, 100u8, 141u8, 163u8, 36u8, 55u8, 38u8, 254u8, 164u8, 17u8, 3u8, 110u8, 88u8, 175u8, 161u8, 65u8, @@ -35436,14 +37296,14 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn subs_of_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::subs_of::SubsOf, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SubsOf", (), @@ -35463,17 +37323,21 @@ pub mod api { pub fn subs_of( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::subs_of::Param0, + >, types::subs_of::SubsOf, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "SubsOf", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 164u8, 140u8, 52u8, 123u8, 220u8, 118u8, 147u8, 3u8, 67u8, 22u8, 191u8, 18u8, 186u8, 21u8, 154u8, 8u8, 205u8, 224u8, 163u8, 173u8, 174u8, @@ -35488,14 +37352,14 @@ pub mod api { #[doc = " The index into this can be cast to `RegistrarIndex` to get a valid value."] pub fn registrars( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::registrars::Registrars, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "Registrars", (), @@ -35510,14 +37374,14 @@ pub mod api { #[doc = " A map of the accounts who are authorized to grant usernames."] pub fn username_authorities_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::username_authorities::UsernameAuthorities, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "UsernameAuthorities", (), @@ -35532,19 +37396,21 @@ pub mod api { pub fn username_authorities( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::username_authorities::Param0, >, types::username_authorities::UsernameAuthorities, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "UsernameAuthorities", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 89u8, 102u8, 60u8, 184u8, 127u8, 244u8, 3u8, 61u8, 209u8, 78u8, 178u8, 44u8, 159u8, 27u8, 7u8, 0u8, 22u8, 116u8, 42u8, 240u8, 130u8, 93u8, @@ -35559,14 +37425,14 @@ pub mod api { #[doc = " primary username."] pub fn account_of_username_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account_of_username::AccountOfUsername, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "AccountOfUsername", (), @@ -35586,19 +37452,21 @@ pub mod api { pub fn account_of_username( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::account_of_username::Param0, >, types::account_of_username::AccountOfUsername, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "AccountOfUsername", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 131u8, 96u8, 207u8, 217u8, 223u8, 54u8, 51u8, 156u8, 8u8, 238u8, 134u8, 57u8, 42u8, 110u8, 180u8, 107u8, 30u8, 109u8, 162u8, 110u8, 178u8, @@ -35615,14 +37483,14 @@ pub mod api { #[doc = " First tuple item is the account and second is the acceptance deadline."] pub fn pending_usernames_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::pending_usernames::PendingUsernames, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "PendingUsernames", (), @@ -35643,19 +37511,21 @@ pub mod api { pub fn pending_usernames( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::pending_usernames::Param0, >, types::pending_usernames::PendingUsernames, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Identity", "PendingUsernames", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 223u8, 53u8, 146u8, 168u8, 52u8, 5u8, 197u8, 129u8, 163u8, 221u8, 112u8, 242u8, 120u8, 199u8, 172u8, 187u8, 53u8, 49u8, 11u8, 175u8, @@ -35673,8 +37543,10 @@ pub mod api { #[doc = " The amount held on deposit for a registered identity."] pub fn basic_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "BasicDeposit", [ @@ -35687,8 +37559,10 @@ pub mod api { #[doc = " The amount held on deposit per encoded byte for a registered identity."] pub fn byte_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "ByteDeposit", [ @@ -35703,8 +37577,10 @@ pub mod api { #[doc = " be another trie item whose value is the size of an account ID plus 32 bytes."] pub fn sub_account_deposit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "SubAccountDeposit", [ @@ -35717,8 +37593,10 @@ pub mod api { #[doc = " The maximum number of sub-accounts allowed per identified account."] pub fn max_sub_accounts( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxSubAccounts", [ @@ -35733,8 +37611,10 @@ pub mod api { #[doc = " of, e.g., updating judgements."] pub fn max_registrars( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxRegistrars", [ @@ -35748,8 +37628,10 @@ pub mod api { #[doc = " The number of blocks within which a username grant must be accepted."] pub fn pending_username_expiration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u64> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u64, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "PendingUsernameExpiration", [ @@ -35763,8 +37645,10 @@ pub mod api { #[doc = " The maximum length of a suffix."] pub fn max_suffix_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxSuffixLength", [ @@ -35778,8 +37662,10 @@ pub mod api { #[doc = " The maximum length of a username, including its suffix and any system-added delimiters."] pub fn max_username_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Identity", "MaxUsernameLength", [ @@ -35807,18 +37693,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Send a batch of dispatch calls."] #[doc = ""] #[doc = "May be called from any origin except `None`."] @@ -35842,27 +37732,31 @@ pub mod api { } pub mod batch { use super::runtime_types; - pub type Calls = ::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Batch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Batch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Send a call through an indexed pseudonym of the sender."] #[doc = ""] #[doc = "Filter from origin are passed along. The call will be dispatched with an origin which"] @@ -35878,30 +37772,34 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_."] pub struct AsDerivative { pub index: as_derivative::Index, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod as_derivative { use super::runtime_types; pub type Index = ::core::primitive::u16; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for AsDerivative { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsDerivative { const PALLET: &'static str = "Utility"; const CALL: &'static str = "as_derivative"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Send a batch of dispatch calls and atomically execute them."] #[doc = "The whole transaction will rollback and fail if any of the calls failed."] #[doc = ""] @@ -35920,27 +37818,31 @@ pub mod api { } pub mod batch_all { use super::runtime_types; - pub type Calls = ::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt_core::blocks::StaticExtrinsic for BatchAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BatchAll { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch_all"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispatches a function call with a provided origin."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -35948,31 +37850,36 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(1)."] pub struct DispatchAs { - pub as_origin: ::subxt_core::alloc::boxed::Box, - pub call: ::subxt_core::alloc::boxed::Box, + pub as_origin: + ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod dispatch_as { use super::runtime_types; pub type AsOrigin = runtime_types::tangle_testnet_runtime::OriginCaller; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for DispatchAs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DispatchAs { const PALLET: &'static str = "Utility"; const CALL: &'static str = "dispatch_as"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Send a batch of dispatch calls."] #[doc = "Unlike `batch`, it allows errors and won't interrupt."] #[doc = ""] @@ -35991,27 +37898,31 @@ pub mod api { } pub mod force_batch { use super::runtime_types; - pub type Calls = ::subxt_core::alloc::vec::Vec< + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceBatch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceBatch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "force_batch"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispatch a function call with a specified weight."] #[doc = ""] #[doc = "This function does not check the weight of the call, and instead allows the"] @@ -36019,7 +37930,7 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] pub struct WithWeight { - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, pub weight: with_weight::Weight, } pub mod with_weight { @@ -36027,7 +37938,7 @@ pub mod api { pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt_core::blocks::StaticExtrinsic for WithWeight { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithWeight { const PALLET: &'static str = "Utility"; const CALL: &'static str = "with_weight"; } @@ -36055,15 +37966,15 @@ pub mod api { pub fn batch( &self, calls: types::batch::Calls, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "batch", types::Batch { calls }, [ - 173u8, 98u8, 103u8, 2u8, 63u8, 46u8, 210u8, 167u8, 73u8, 34u8, 117u8, - 228u8, 36u8, 202u8, 189u8, 96u8, 60u8, 116u8, 9u8, 228u8, 208u8, 103u8, - 246u8, 222u8, 14u8, 215u8, 12u8, 190u8, 136u8, 227u8, 68u8, 70u8, + 188u8, 120u8, 29u8, 27u8, 207u8, 192u8, 239u8, 58u8, 83u8, 161u8, 2u8, + 90u8, 207u8, 86u8, 1u8, 70u8, 40u8, 109u8, 126u8, 206u8, 14u8, 133u8, + 13u8, 100u8, 207u8, 177u8, 12u8, 124u8, 156u8, 187u8, 221u8, 201u8, ], ) } @@ -36084,18 +37995,18 @@ pub mod api { &self, index: types::as_derivative::Index, call: types::as_derivative::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "as_derivative", types::AsDerivative { index, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 2u8, 4u8, 73u8, 214u8, 163u8, 113u8, 118u8, 84u8, 76u8, 200u8, 83u8, - 225u8, 66u8, 112u8, 183u8, 230u8, 123u8, 171u8, 189u8, 59u8, 27u8, 1u8, - 4u8, 17u8, 145u8, 216u8, 96u8, 230u8, 26u8, 203u8, 185u8, 233u8, + 226u8, 185u8, 59u8, 137u8, 209u8, 241u8, 226u8, 0u8, 2u8, 247u8, 11u8, + 107u8, 201u8, 133u8, 86u8, 248u8, 138u8, 43u8, 43u8, 37u8, 43u8, 124u8, + 28u8, 229u8, 156u8, 124u8, 41u8, 63u8, 219u8, 104u8, 58u8, 82u8, ], ) } @@ -36115,16 +38026,15 @@ pub mod api { pub fn batch_all( &self, calls: types::batch_all::Calls, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "batch_all", types::BatchAll { calls }, [ - 21u8, 135u8, 162u8, 247u8, 80u8, 86u8, 158u8, 243u8, 247u8, 185u8, - 108u8, 57u8, 238u8, 75u8, 109u8, 214u8, 166u8, 213u8, 154u8, 59u8, - 208u8, 219u8, 119u8, 20u8, 141u8, 39u8, 34u8, 76u8, 122u8, 37u8, 168u8, - 208u8, + 52u8, 249u8, 37u8, 17u8, 195u8, 212u8, 66u8, 44u8, 33u8, 178u8, 127u8, + 166u8, 134u8, 187u8, 102u8, 66u8, 152u8, 211u8, 102u8, 254u8, 1u8, + 103u8, 7u8, 142u8, 177u8, 77u8, 7u8, 246u8, 161u8, 36u8, 53u8, 133u8, ], ) } @@ -36138,18 +38048,19 @@ pub mod api { &self, as_origin: types::dispatch_as::AsOrigin, call: types::dispatch_as::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "dispatch_as", types::DispatchAs { - as_origin: ::subxt_core::alloc::boxed::Box::new(as_origin), - call: ::subxt_core::alloc::boxed::Box::new(call), + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box::new(as_origin), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 72u8, 238u8, 219u8, 218u8, 65u8, 6u8, 172u8, 204u8, 184u8, 49u8, 39u8, - 204u8, 132u8, 214u8, 77u8, 199u8, 5u8, 208u8, 221u8, 26u8, 32u8, 72u8, - 84u8, 158u8, 69u8, 190u8, 128u8, 216u8, 89u8, 214u8, 199u8, 180u8, + 119u8, 252u8, 211u8, 35u8, 170u8, 123u8, 47u8, 208u8, 126u8, 153u8, + 175u8, 164u8, 198u8, 12u8, 104u8, 83u8, 98u8, 126u8, 139u8, 238u8, + 173u8, 214u8, 235u8, 30u8, 151u8, 151u8, 34u8, 236u8, 200u8, 236u8, + 119u8, 66u8, ], ) } @@ -36169,16 +38080,15 @@ pub mod api { pub fn force_batch( &self, calls: types::force_batch::Calls, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "force_batch", types::ForceBatch { calls }, [ - 53u8, 41u8, 168u8, 103u8, 124u8, 43u8, 176u8, 232u8, 190u8, 89u8, 50u8, - 99u8, 231u8, 7u8, 230u8, 58u8, 149u8, 131u8, 247u8, 174u8, 197u8, - 141u8, 174u8, 227u8, 93u8, 34u8, 169u8, 108u8, 249u8, 44u8, 156u8, - 192u8, + 205u8, 95u8, 34u8, 136u8, 27u8, 141u8, 81u8, 225u8, 99u8, 35u8, 127u8, + 7u8, 138u8, 66u8, 13u8, 115u8, 209u8, 26u8, 252u8, 129u8, 242u8, 206u8, + 41u8, 197u8, 66u8, 196u8, 252u8, 199u8, 129u8, 203u8, 12u8, 126u8, ], ) } @@ -36192,19 +38102,19 @@ pub mod api { &self, call: types::with_weight::Call, weight: types::with_weight::Weight, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Utility", "with_weight", types::WithWeight { - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), weight, }, [ - 208u8, 190u8, 122u8, 56u8, 114u8, 183u8, 60u8, 82u8, 124u8, 106u8, - 255u8, 137u8, 198u8, 21u8, 248u8, 39u8, 149u8, 194u8, 45u8, 175u8, - 204u8, 77u8, 239u8, 227u8, 59u8, 201u8, 14u8, 62u8, 144u8, 117u8, - 156u8, 16u8, + 221u8, 191u8, 96u8, 156u8, 225u8, 185u8, 238u8, 228u8, 226u8, 73u8, + 144u8, 133u8, 134u8, 45u8, 170u8, 190u8, 254u8, 12u8, 214u8, 102u8, + 184u8, 91u8, 225u8, 120u8, 149u8, 177u8, 93u8, 113u8, 12u8, 233u8, + 203u8, 126u8, ], ) } @@ -36215,18 +38125,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches did not complete fully. Index of first failing dispatch given, as"] #[doc = "well as the error."] pub struct BatchInterrupted { @@ -36238,80 +38148,80 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt_core::events::StaticEvent for BatchInterrupted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchInterrupted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchInterrupted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed fully with no error."] pub struct BatchCompleted; - impl ::subxt_core::events::StaticEvent for BatchCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompleted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed but has errors."] pub struct BatchCompletedWithErrors; - impl ::subxt_core::events::StaticEvent for BatchCompletedWithErrors { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompletedWithErrors { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompletedWithErrors"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with no error."] pub struct ItemCompleted; - impl ::subxt_core::events::StaticEvent for ItemCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ItemCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemCompleted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with error."] pub struct ItemFailed { pub error: item_failed::Error, @@ -36320,23 +38230,23 @@ pub mod api { use super::runtime_types; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt_core::events::StaticEvent for ItemFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ItemFailed { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A call was dispatched."] pub struct DispatchedAs { pub result: dispatched_as::Result, @@ -36346,7 +38256,7 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for DispatchedAs { + impl ::subxt::ext::subxt_core::events::StaticEvent for DispatchedAs { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "DispatchedAs"; } @@ -36358,8 +38268,10 @@ pub mod api { #[doc = " The limit on the number of batched calls."] pub fn batched_calls_limit( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Utility", "batched_calls_limit", [ @@ -36387,18 +38299,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Immediately dispatch a multi-signature call using a single approval from the caller."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -36413,31 +38329,37 @@ pub mod api { #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] pub struct AsMultiThreshold1 { pub other_signatories: as_multi_threshold1::OtherSignatories, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod as_multi_threshold1 { use super::runtime_types; - pub type OtherSignatories = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for AsMultiThreshold1 { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMultiThreshold1 { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi_threshold_1"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] #[doc = ""] @@ -36481,37 +38403,42 @@ pub mod api { pub threshold: as_multi::Threshold, pub other_signatories: as_multi::OtherSignatories, pub maybe_timepoint: as_multi::MaybeTimepoint, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, pub max_weight: as_multi::MaxWeight, } pub mod as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt_core::blocks::StaticExtrinsic for AsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] #[doc = ""] @@ -36552,31 +38479,36 @@ pub mod api { pub mod approve_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >; pub type CallHash = [::core::primitive::u8; 32usize]; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt_core::blocks::StaticExtrinsic for ApproveAsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "approve_as_multi"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously"] #[doc = "for this operation will be unreserved on success."] #[doc = ""] @@ -36607,13 +38539,14 @@ pub mod api { pub mod cancel_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelAsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "cancel_as_multi"; } @@ -36636,18 +38569,19 @@ pub mod api { &self, other_signatories: types::as_multi_threshold1::OtherSignatories, call: types::as_multi_threshold1::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "as_multi_threshold_1", types::AsMultiThreshold1 { other_signatories, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 12u8, 158u8, 174u8, 162u8, 8u8, 89u8, 249u8, 36u8, 113u8, 106u8, 193u8, - 19u8, 230u8, 71u8, 78u8, 142u8, 231u8, 205u8, 34u8, 188u8, 61u8, 43u8, - 191u8, 183u8, 79u8, 21u8, 76u8, 21u8, 50u8, 77u8, 248u8, 185u8, + 213u8, 180u8, 215u8, 185u8, 196u8, 141u8, 121u8, 4u8, 23u8, 247u8, + 81u8, 244u8, 29u8, 204u8, 71u8, 44u8, 224u8, 178u8, 163u8, 14u8, 155u8, + 22u8, 164u8, 75u8, 39u8, 141u8, 34u8, 31u8, 197u8, 179u8, 185u8, 1u8, ], ) } @@ -36697,21 +38631,21 @@ pub mod api { maybe_timepoint: types::as_multi::MaybeTimepoint, call: types::as_multi::Call, max_weight: types::as_multi::MaxWeight, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "as_multi", types::AsMulti { threshold, other_signatories, maybe_timepoint, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), max_weight, }, [ - 5u8, 127u8, 237u8, 191u8, 69u8, 42u8, 240u8, 246u8, 199u8, 149u8, - 246u8, 179u8, 27u8, 33u8, 110u8, 117u8, 3u8, 216u8, 117u8, 231u8, 72u8, - 44u8, 77u8, 188u8, 254u8, 126u8, 67u8, 24u8, 187u8, 52u8, 58u8, 104u8, + 230u8, 55u8, 21u8, 1u8, 39u8, 12u8, 167u8, 195u8, 138u8, 8u8, 13u8, + 193u8, 157u8, 120u8, 11u8, 95u8, 228u8, 167u8, 126u8, 142u8, 187u8, + 143u8, 211u8, 169u8, 4u8, 17u8, 198u8, 66u8, 147u8, 171u8, 146u8, 8u8, ], ) } @@ -36752,8 +38686,8 @@ pub mod api { maybe_timepoint: types::approve_as_multi::MaybeTimepoint, call_hash: types::approve_as_multi::CallHash, max_weight: types::approve_as_multi::MaxWeight, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "approve_as_multi", types::ApproveAsMulti { @@ -36797,8 +38731,8 @@ pub mod api { other_signatories: types::cancel_as_multi::OtherSignatories, timepoint: types::cancel_as_multi::Timepoint, call_hash: types::cancel_as_multi::CallHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Multisig", "cancel_as_multi", types::CancelAsMulti { threshold, other_signatories, timepoint, call_hash }, @@ -36817,18 +38751,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new multisig operation has begun."] pub struct NewMultisig { pub approving: new_multisig::Approving, @@ -36837,27 +38771,27 @@ pub mod api { } pub mod new_multisig { use super::runtime_types; - pub type Approving = ::subxt_core::utils::AccountId32; - pub type Multisig = ::subxt_core::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::events::StaticEvent for NewMultisig { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewMultisig { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "NewMultisig"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been approved by someone."] pub struct MultisigApproval { pub approving: multisig_approval::Approving, @@ -36867,29 +38801,29 @@ pub mod api { } pub mod multisig_approval { use super::runtime_types; - pub type Approving = ::subxt_core::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::events::StaticEvent for MultisigApproval { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigApproval { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigApproval"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been executed."] pub struct MultisigExecuted { pub approving: multisig_executed::Approving, @@ -36900,31 +38834,31 @@ pub mod api { } pub mod multisig_executed { use super::runtime_types; - pub type Approving = ::subxt_core::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for MultisigExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigExecuted { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigExecuted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been cancelled."] pub struct MultisigCancelled { pub cancelling: multisig_cancelled::Cancelling, @@ -36934,13 +38868,13 @@ pub mod api { } pub mod multisig_cancelled { use super::runtime_types; - pub type Cancelling = ::subxt_core::utils::AccountId32; + pub type Cancelling = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>; - pub type Multisig = ::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt_core::events::StaticEvent for MultisigCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigCancelled { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigCancelled"; } @@ -36954,9 +38888,9 @@ pub mod api { pub type Multisigs = runtime_types::pallet_multisig::Multisig< ::core::primitive::u64, ::core::primitive::u128, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = [::core::primitive::u8; 32usize]; } } @@ -36965,14 +38899,14 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::multisigs::Multisigs, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", (), @@ -36988,17 +38922,21 @@ pub mod api { pub fn multisigs_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param0, + >, types::multisigs::Multisigs, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 69u8, 190u8, 134u8, 80u8, 236u8, 248u8, 25u8, 153u8, 154u8, 71u8, 192u8, 101u8, 159u8, 179u8, 0u8, 228u8, 93u8, 125u8, 99u8, 229u8, @@ -37012,22 +38950,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param1, + >, ), types::multisigs::Multisigs, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Multisig", "Multisigs", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 69u8, 190u8, 134u8, 80u8, 236u8, 248u8, 25u8, 153u8, 154u8, 71u8, @@ -37051,8 +38997,10 @@ pub mod api { #[doc = " `32 + sizeof(AccountId)` bytes."] pub fn deposit_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "DepositBase", [ @@ -37067,8 +39015,10 @@ pub mod api { #[doc = " This is held for adding 32 bytes more into a pre-existing storage value."] pub fn deposit_factor( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "DepositFactor", [ @@ -37081,8 +39031,10 @@ pub mod api { #[doc = " The maximum amount of signatories allowed in the multisig."] pub fn max_signatories( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Multisig", "MaxSignatories", [ @@ -37110,18 +39062,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Transact an Ethereum transaction."] pub struct Transact { pub transaction: transact::Transaction, @@ -37130,7 +39086,7 @@ pub mod api { use super::runtime_types; pub type Transaction = runtime_types::ethereum::transaction::TransactionV2; } - impl ::subxt_core::blocks::StaticExtrinsic for Transact { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transact { const PALLET: &'static str = "Ethereum"; const CALL: &'static str = "transact"; } @@ -37141,8 +39097,8 @@ pub mod api { pub fn transact( &self, transaction: types::transact::Transaction, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Ethereum", "transact", types::Transact { transaction }, @@ -37160,18 +39116,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An ethereum transaction was successfully executed."] pub struct Executed { pub from: executed::From, @@ -37182,13 +39138,14 @@ pub mod api { } pub mod executed { use super::runtime_types; - pub type From = ::subxt_core::utils::H160; - pub type To = ::subxt_core::utils::H160; - pub type TransactionHash = ::subxt_core::utils::H256; + pub type From = ::subxt::ext::subxt_core::utils::H160; + pub type To = ::subxt::ext::subxt_core::utils::H160; + pub type TransactionHash = ::subxt::ext::subxt_core::utils::H256; pub type ExitReason = runtime_types::evm_core::error::ExitReason; - pub type ExtraData = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type ExtraData = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::events::StaticEvent for Executed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "Ethereum"; const EVENT: &'static str = "Executed"; } @@ -37199,7 +39156,7 @@ pub mod api { use super::runtime_types; pub mod pending { use super::runtime_types; - pub type Pending = ::subxt_core::alloc::vec::Vec<( + pub type Pending = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::ethereum::transaction::TransactionV2, runtime_types::fp_rpc::TransactionStatus, runtime_types::ethereum::receipt::ReceiptV3, @@ -37213,17 +39170,19 @@ pub mod api { } pub mod current_receipts { use super::runtime_types; - pub type CurrentReceipts = - ::subxt_core::alloc::vec::Vec; + pub type CurrentReceipts = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::ethereum::receipt::ReceiptV3, + >; } pub mod current_transaction_statuses { use super::runtime_types; - pub type CurrentTransactionStatuses = - ::subxt_core::alloc::vec::Vec; + pub type CurrentTransactionStatuses = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::fp_rpc::TransactionStatus, + >; } pub mod block_hash { use super::runtime_types; - pub type BlockHash = ::subxt_core::utils::H256; + pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = runtime_types::primitive_types::U256; } } @@ -37232,14 +39191,14 @@ pub mod api { #[doc = " Current building block's transactions and receipts."] pub fn pending( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::pending::Pending, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "Pending", (), @@ -37254,14 +39213,14 @@ pub mod api { #[doc = " The current Ethereum block."] pub fn current_block( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_block::CurrentBlock, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentBlock", (), @@ -37276,14 +39235,14 @@ pub mod api { #[doc = " The current Ethereum receipts."] pub fn current_receipts( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_receipts::CurrentReceipts, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentReceipts", (), @@ -37297,14 +39256,14 @@ pub mod api { #[doc = " The current transaction statuses."] pub fn current_transaction_statuses( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_transaction_statuses::CurrentTransactionStatuses, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "CurrentTransactionStatuses", (), @@ -37317,14 +39276,14 @@ pub mod api { } pub fn block_hash_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::block_hash::BlockHash, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "BlockHash", (), @@ -37338,17 +39297,21 @@ pub mod api { pub fn block_hash( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::block_hash::Param0, + >, types::block_hash::BlockHash, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Ethereum", "BlockHash", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 131u8, 87u8, 201u8, 82u8, 203u8, 241u8, 176u8, 149u8, 39u8, 243u8, 227u8, 1u8, 86u8, 62u8, 6u8, 231u8, 55u8, 6u8, 212u8, 96u8, 207u8, @@ -37373,18 +39336,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Withdraw balance from EVM into currency/balances pallet."] pub struct Withdraw { pub address: withdraw::Address, @@ -37392,26 +39359,30 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Withdraw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Withdraw { const PALLET: &'static str = "EVM"; const CALL: &'static str = "withdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Issue an EVM call operation. This is similar to a message call transaction in Ethereum."] pub struct Call { pub source: call::Source, @@ -37426,37 +39397,44 @@ pub mod api { } pub mod call { use super::runtime_types; - pub type Source = ::subxt_core::utils::H160; - pub type Target = ::subxt_core::utils::H160; - pub type Input = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Source = ::subxt::ext::subxt_core::utils::H160; + pub type Target = ::subxt::ext::subxt_core::utils::H160; + pub type Input = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for Call { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Call { const PALLET: &'static str = "EVM"; const CALL: &'static str = "call"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Issue an EVM create operation. This is similar to a contract creation transaction in"] #[doc = "Ethereum."] pub struct Create { @@ -37471,36 +39449,43 @@ pub mod api { } pub mod create { use super::runtime_types; - pub type Source = ::subxt_core::utils::H160; - pub type Init = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Source = ::subxt::ext::subxt_core::utils::H160; + pub type Init = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "EVM"; const CALL: &'static str = "create"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Issue an EVM create2 operation."] pub struct Create2 { pub source: create2::Source, @@ -37515,21 +39500,24 @@ pub mod api { } pub mod create2 { use super::runtime_types; - pub type Source = ::subxt_core::utils::H160; - pub type Init = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Salt = ::subxt_core::utils::H256; + pub type Source = ::subxt::ext::subxt_core::utils::H160; + pub type Init = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Salt = ::subxt::ext::subxt_core::utils::H256; pub type Value = runtime_types::primitive_types::U256; pub type GasLimit = ::core::primitive::u64; pub type MaxFeePerGas = runtime_types::primitive_types::U256; pub type MaxPriorityFeePerGas = ::core::option::Option; pub type Nonce = ::core::option::Option; - pub type AccessList = ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + pub type AccessList = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for Create2 { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create2 { const PALLET: &'static str = "EVM"; const CALL: &'static str = "create2"; } @@ -37541,8 +39529,8 @@ pub mod api { &self, address: types::withdraw::Address, value: types::withdraw::Value, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "withdraw", types::Withdraw { address, value }, @@ -37565,8 +39553,8 @@ pub mod api { max_priority_fee_per_gas: types::call::MaxPriorityFeePerGas, nonce: types::call::Nonce, access_list: types::call::AccessList, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "call", types::Call { @@ -37600,8 +39588,8 @@ pub mod api { max_priority_fee_per_gas: types::create::MaxPriorityFeePerGas, nonce: types::create::Nonce, access_list: types::create::AccessList, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "create", types::Create { @@ -37633,8 +39621,8 @@ pub mod api { max_priority_fee_per_gas: types::create2::MaxPriorityFeePerGas, nonce: types::create2::Nonce, access_list: types::create2::AccessList, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "EVM", "create2", types::Create2 { @@ -37663,18 +39651,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Ethereum events from contracts."] pub struct Log { pub log: log::Log, @@ -37683,107 +39671,107 @@ pub mod api { use super::runtime_types; pub type Log = runtime_types::ethereum::log::Log; } - impl ::subxt_core::events::StaticEvent for Log { + impl ::subxt::ext::subxt_core::events::StaticEvent for Log { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Log"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been created at given address."] pub struct Created { pub address: created::Address, } pub mod created { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::events::StaticEvent for Created { + impl ::subxt::ext::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Created"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A contract was attempted to be created, but the execution failed."] pub struct CreatedFailed { pub address: created_failed::Address, } pub mod created_failed { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::events::StaticEvent for CreatedFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for CreatedFailed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "CreatedFailed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been executed successfully with states applied."] pub struct Executed { pub address: executed::Address, } pub mod executed { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::events::StaticEvent for Executed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Executed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "Executed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A contract has been executed with errors. States are reverted with only gas fees applied."] pub struct ExecutedFailed { pub address: executed_failed::Address, } pub mod executed_failed { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::events::StaticEvent for ExecutedFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExecutedFailed { const PALLET: &'static str = "EVM"; const EVENT: &'static str = "ExecutedFailed"; } @@ -37794,38 +39782,39 @@ pub mod api { use super::runtime_types; pub mod account_codes { use super::runtime_types; - pub type AccountCodes = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Param0 = ::subxt_core::utils::H160; + pub type AccountCodes = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Param0 = ::subxt::ext::subxt_core::utils::H160; } pub mod account_codes_metadata { use super::runtime_types; pub type AccountCodesMetadata = runtime_types::pallet_evm::CodeMetadata; - pub type Param0 = ::subxt_core::utils::H160; + pub type Param0 = ::subxt::ext::subxt_core::utils::H160; } pub mod account_storages { use super::runtime_types; - pub type AccountStorages = ::subxt_core::utils::H256; - pub type Param0 = ::subxt_core::utils::H160; - pub type Param1 = ::subxt_core::utils::H256; + pub type AccountStorages = ::subxt::ext::subxt_core::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H160; + pub type Param1 = ::subxt::ext::subxt_core::utils::H256; } pub mod suicided { use super::runtime_types; pub type Suicided = (); - pub type Param0 = ::subxt_core::utils::H160; + pub type Param0 = ::subxt::ext::subxt_core::utils::H160; } } pub struct StorageApi; impl StorageApi { pub fn account_codes_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account_codes::AccountCodes, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodes", (), @@ -37839,17 +39828,21 @@ pub mod api { pub fn account_codes( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account_codes::Param0, + >, types::account_codes::AccountCodes, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodes", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 49u8, 73u8, 188u8, 164u8, 3u8, 40u8, 187u8, 216u8, 70u8, 119u8, 176u8, 187u8, 76u8, 24u8, 49u8, 174u8, 54u8, 98u8, 208u8, 255u8, 38u8, 214u8, @@ -37859,14 +39852,14 @@ pub mod api { } pub fn account_codes_metadata_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account_codes_metadata::AccountCodesMetadata, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodesMetadata", (), @@ -37881,19 +39874,21 @@ pub mod api { pub fn account_codes_metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::account_codes_metadata::Param0, >, types::account_codes_metadata::AccountCodesMetadata, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountCodesMetadata", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 17u8, 83u8, 22u8, 15u8, 158u8, 242u8, 39u8, 174u8, 61u8, 230u8, 0u8, 161u8, 173u8, 242u8, 155u8, 156u8, 149u8, 108u8, 47u8, 129u8, 190u8, @@ -37904,14 +39899,14 @@ pub mod api { } pub fn account_storages_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::account_storages::AccountStorages, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", (), @@ -37925,19 +39920,21 @@ pub mod api { pub fn account_storages_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param0, >, types::account_storages::AccountStorages, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 63u8, 69u8, 109u8, 3u8, 190u8, 233u8, 39u8, 122u8, 94u8, 37u8, 74u8, 90u8, 197u8, 191u8, 12u8, 119u8, 165u8, 61u8, 217u8, 15u8, 36u8, 167u8, @@ -37949,26 +39946,30 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::account_storages::Param1, >, ), types::account_storages::AccountStorages, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "AccountStorages", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ 63u8, 69u8, 109u8, 3u8, 190u8, 233u8, 39u8, 122u8, 94u8, 37u8, 74u8, @@ -37979,14 +39980,14 @@ pub mod api { } pub fn suicided_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::suicided::Suicided, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "Suicided", (), @@ -38000,17 +40001,21 @@ pub mod api { pub fn suicided( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::suicided::Param0, + >, types::suicided::Suicided, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVM", "Suicided", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 5u8, 137u8, 180u8, 131u8, 216u8, 217u8, 148u8, 127u8, 9u8, 159u8, 14u8, 25u8, 56u8, 99u8, 55u8, 151u8, 140u8, 143u8, 188u8, 172u8, 33u8, 91u8, @@ -38038,14 +40043,14 @@ pub mod api { #[doc = " The EVM chain ID."] pub fn chain_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::chain_id::ChainId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "EVMChainId", "ChainId", (), @@ -38072,18 +40077,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct NoteMinGasPriceTarget { pub target: note_min_gas_price_target::Target, } @@ -38091,7 +40100,7 @@ pub mod api { use super::runtime_types; pub type Target = runtime_types::primitive_types::U256; } - impl ::subxt_core::blocks::StaticExtrinsic for NoteMinGasPriceTarget { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NoteMinGasPriceTarget { const PALLET: &'static str = "DynamicFee"; const CALL: &'static str = "note_min_gas_price_target"; } @@ -38101,8 +40110,10 @@ pub mod api { pub fn note_min_gas_price_target( &self, target: types::note_min_gas_price_target::Target, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::NoteMinGasPriceTarget, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "DynamicFee", "note_min_gas_price_target", types::NoteMinGasPriceTarget { target }, @@ -38132,14 +40143,14 @@ pub mod api { impl StorageApi { pub fn min_gas_price( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_gas_price::MinGasPrice, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "DynamicFee", "MinGasPrice", (), @@ -38152,14 +40163,14 @@ pub mod api { } pub fn target_min_gas_price( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::target_min_gas_price::TargetMinGasPrice, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "DynamicFee", "TargetMinGasPrice", (), @@ -38185,18 +40196,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SetBaseFeePerGas { pub fee: set_base_fee_per_gas::Fee, } @@ -38204,23 +40219,27 @@ pub mod api { use super::runtime_types; pub type Fee = runtime_types::primitive_types::U256; } - impl ::subxt_core::blocks::StaticExtrinsic for SetBaseFeePerGas { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetBaseFeePerGas { const PALLET: &'static str = "BaseFee"; const CALL: &'static str = "set_base_fee_per_gas"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SetElasticity { pub elasticity: set_elasticity::Elasticity, } @@ -38228,7 +40247,7 @@ pub mod api { use super::runtime_types; pub type Elasticity = runtime_types::sp_arithmetic::per_things::Permill; } - impl ::subxt_core::blocks::StaticExtrinsic for SetElasticity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetElasticity { const PALLET: &'static str = "BaseFee"; const CALL: &'static str = "set_elasticity"; } @@ -38238,8 +40257,8 @@ pub mod api { pub fn set_base_fee_per_gas( &self, fee: types::set_base_fee_per_gas::Fee, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "BaseFee", "set_base_fee_per_gas", types::SetBaseFeePerGas { fee }, @@ -38254,8 +40273,8 @@ pub mod api { pub fn set_elasticity( &self, elasticity: types::set_elasticity::Elasticity, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "BaseFee", "set_elasticity", types::SetElasticity { elasticity }, @@ -38273,18 +40292,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct NewBaseFeePerGas { pub fee: new_base_fee_per_gas::Fee, } @@ -38292,41 +40311,41 @@ pub mod api { use super::runtime_types; pub type Fee = runtime_types::primitive_types::U256; } - impl ::subxt_core::events::StaticEvent for NewBaseFeePerGas { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewBaseFeePerGas { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "NewBaseFeePerGas"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BaseFeeOverflow; - impl ::subxt_core::events::StaticEvent for BaseFeeOverflow { + impl ::subxt::ext::subxt_core::events::StaticEvent for BaseFeeOverflow { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "BaseFeeOverflow"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct NewElasticity { pub elasticity: new_elasticity::Elasticity, } @@ -38334,7 +40353,7 @@ pub mod api { use super::runtime_types; pub type Elasticity = runtime_types::sp_arithmetic::per_things::Permill; } - impl ::subxt_core::events::StaticEvent for NewElasticity { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewElasticity { const PALLET: &'static str = "BaseFee"; const EVENT: &'static str = "NewElasticity"; } @@ -38356,14 +40375,14 @@ pub mod api { impl StorageApi { pub fn base_fee_per_gas( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::base_fee_per_gas::BaseFeePerGas, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BaseFee", "BaseFeePerGas", (), @@ -38376,14 +40395,14 @@ pub mod api { } pub fn elasticity( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::elasticity::Elasticity, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "BaseFee", "Elasticity", (), @@ -38411,18 +40430,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Increment `sufficients` for existing accounts having a nonzero `nonce` but zero `sufficients`, `consumers` and `providers` value."] #[doc = "This state was caused by a previous bug in EVM create account dispatchable."] #[doc = ""] @@ -38432,9 +40455,11 @@ pub mod api { } pub mod hotfix_inc_account_sufficients { use super::runtime_types; - pub type Addresses = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H160>; + pub type Addresses = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H160, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for HotfixIncAccountSufficients { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HotfixIncAccountSufficients { const PALLET: &'static str = "HotfixSufficients"; const CALL: &'static str = "hotfix_inc_account_sufficients"; } @@ -38448,8 +40473,10 @@ pub mod api { pub fn hotfix_inc_account_sufficients( &self, addresses: types::hotfix_inc_account_sufficients::Addresses, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::HotfixIncAccountSufficients, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "HotfixSufficients", "hotfix_inc_account_sufficients", types::HotfixIncAccountSufficients { addresses }, @@ -38478,18 +40505,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Make a claim to collect your tokens."] #[doc = ""] #[doc = "The dispatch origin for this call must be _None_."] @@ -38530,23 +40561,27 @@ pub mod api { pub type Signature = runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature; } - impl ::subxt_core::blocks::StaticExtrinsic for Claim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Mint a new claim to collect native tokens."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] @@ -38582,23 +40617,27 @@ pub mod api { pub type Statement = ::core::option::Option; } - impl ::subxt_core::blocks::StaticExtrinsic for MintClaim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MintClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "mint_claim"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Make a claim to collect your native tokens by signing a statement."] #[doc = ""] #[doc = "The dispatch origin for this call must be _None_."] @@ -38642,25 +40681,30 @@ pub mod api { >; pub type Signature = runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature; - pub type Statement = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Statement = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimAttest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimAttest { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim_attest"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MoveClaim { pub old: move_claim::Old, pub new: move_claim::New, @@ -38670,23 +40714,27 @@ pub mod api { pub type Old = runtime_types::pallet_airdrop_claims::utils::MultiAddress; pub type New = runtime_types::pallet_airdrop_claims::utils::MultiAddress; } - impl ::subxt_core::blocks::StaticExtrinsic for MoveClaim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MoveClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "move_claim"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the value for expiryconfig"] #[doc = "Can only be called by ForceOrigin"] pub struct ForceSetExpiryConfig { @@ -38698,23 +40746,27 @@ pub mod api { pub type ExpiryBlock = ::core::primitive::u64; pub type Dest = runtime_types::pallet_airdrop_claims::utils::MultiAddress; } - impl ::subxt_core::blocks::StaticExtrinsic for ForceSetExpiryConfig { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetExpiryConfig { const PALLET: &'static str = "Claims"; const CALL: &'static str = "force_set_expiry_config"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim from signed origin"] pub struct ClaimSigned { pub dest: claim_signed::Dest, @@ -38725,7 +40777,7 @@ pub mod api { runtime_types::pallet_airdrop_claims::utils::MultiAddress, >; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimSigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimSigned { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim_signed"; } @@ -38761,8 +40813,8 @@ pub mod api { dest: types::claim::Dest, signer: types::claim::Signer, signature: types::claim::Signature, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim", types::Claim { dest, signer, signature }, @@ -38794,8 +40846,8 @@ pub mod api { value: types::mint_claim::Value, vesting_schedule: types::mint_claim::VestingSchedule, statement: types::mint_claim::Statement, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "mint_claim", types::MintClaim { who, value, vesting_schedule, statement }, @@ -38840,8 +40892,8 @@ pub mod api { signer: types::claim_attest::Signer, signature: types::claim_attest::Signature, statement: types::claim_attest::Statement, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim_attest", types::ClaimAttest { dest, signer, signature, statement }, @@ -38857,8 +40909,8 @@ pub mod api { &self, old: types::move_claim::Old, new: types::move_claim::New, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "move_claim", types::MoveClaim { old, new }, @@ -38875,8 +40927,9 @@ pub mod api { &self, expiry_block: types::force_set_expiry_config::ExpiryBlock, dest: types::force_set_expiry_config::Dest, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "force_set_expiry_config", types::ForceSetExpiryConfig { expiry_block, dest }, @@ -38892,8 +40945,8 @@ pub mod api { pub fn claim_signed( &self, dest: types::claim_signed::Dest, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Claims", "claim_signed", types::ClaimSigned { dest }, @@ -38912,18 +40965,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Someone claimed some native tokens."] pub struct Claimed { pub recipient: claimed::Recipient, @@ -38932,11 +40985,11 @@ pub mod api { } pub mod claimed { use super::runtime_types; - pub type Recipient = ::subxt_core::utils::AccountId32; + pub type Recipient = ::subxt::ext::subxt_core::utils::AccountId32; pub type Source = runtime_types::pallet_airdrop_claims::utils::MultiAddress; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Claimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "Claims"; const EVENT: &'static str = "Claimed"; } @@ -38978,14 +41031,14 @@ pub mod api { impl StorageApi { pub fn claims_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::claims::Claims, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Claims", (), @@ -38999,17 +41052,21 @@ pub mod api { pub fn claims( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::claims::Param0, + >, types::claims::Claims, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Claims", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 175u8, 97u8, 79u8, 164u8, 220u8, 228u8, 14u8, 49u8, 136u8, 218u8, 96u8, 209u8, 66u8, 54u8, 156u8, 95u8, 86u8, 234u8, 219u8, 166u8, 181u8, 93u8, @@ -39019,14 +41076,14 @@ pub mod api { } pub fn total( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::total::Total, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Total", (), @@ -39041,14 +41098,14 @@ pub mod api { #[doc = " Expiry block and account to deposit expired funds"] pub fn expiry_config( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::expiry_config::ExpiryConfig, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "ExpiryConfig", (), @@ -39065,14 +41122,14 @@ pub mod api { #[doc = " The block number is when the vesting should start."] pub fn vesting_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::vesting::Vesting, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Vesting", (), @@ -39091,17 +41148,21 @@ pub mod api { pub fn vesting( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::vesting::Param0, + >, types::vesting::Vesting, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Vesting", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 166u8, 245u8, 205u8, 165u8, 58u8, 90u8, 122u8, 157u8, 28u8, 220u8, 114u8, 22u8, 73u8, 221u8, 230u8, 238u8, 57u8, 16u8, 66u8, 5u8, 63u8, @@ -39113,14 +41174,14 @@ pub mod api { #[doc = " The statement kind that must be signed, if any."] pub fn signing_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::signing::Signing, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Signing", (), @@ -39135,17 +41196,21 @@ pub mod api { pub fn signing( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::signing::Param0, + >, types::signing::Signing, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Claims", "Signing", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 210u8, 2u8, 184u8, 130u8, 98u8, 38u8, 101u8, 191u8, 250u8, 166u8, 246u8, 153u8, 175u8, 181u8, 174u8, 232u8, 58u8, 4u8, 40u8, 112u8, 68u8, @@ -39161,10 +41226,10 @@ pub mod api { impl ConstantsApi { pub fn prefix( &self, - ) -> ::subxt_core::constants::address::StaticAddress< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Claims", "Prefix", [ @@ -39192,18 +41257,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispatch the given `call` from an account that the sender is authorised for through"] #[doc = "`add_proxy`."] #[doc = ""] @@ -39216,35 +41285,39 @@ pub mod api { pub struct Proxy { pub real: proxy::Real, pub force_proxy_type: proxy::ForceProxyType, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod proxy { use super::runtime_types; - pub type Real = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for Proxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Proxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Register a proxy account for the sender that is able to make calls on its behalf."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -39261,30 +41334,34 @@ pub mod api { } pub mod add_proxy { use super::runtime_types; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for AddProxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "add_proxy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unregister a proxy account for the sender."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -39299,30 +41376,34 @@ pub mod api { } pub mod remove_proxy { use super::runtime_types; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveProxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxy"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unregister all proxy accounts for the sender."] #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] @@ -39330,23 +41411,27 @@ pub mod api { #[doc = "WARNING: This may be called on accounts created by `pure`, however if done, then"] #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] pub struct RemoveProxies; - impl ::subxt_core::blocks::StaticExtrinsic for RemoveProxies { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxies { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxies"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and"] #[doc = "initialize it with a proxy of `proxy_type` for `origin` sender."] #[doc = ""] @@ -39376,23 +41461,27 @@ pub mod api { pub type Delay = ::core::primitive::u64; pub type Index = ::core::primitive::u16; } - impl ::subxt_core::blocks::StaticExtrinsic for CreatePure { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreatePure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "create_pure"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Removes a previously spawned pure proxy."] #[doc = ""] #[doc = "WARNING: **All access to this account will be lost.** Any funds held in it will be"] @@ -39420,8 +41509,8 @@ pub mod api { } pub mod kill_pure { use super::runtime_types; - pub type Spawner = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Spawner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; @@ -39429,23 +41518,27 @@ pub mod api { pub type Height = ::core::primitive::u64; pub type ExtIndex = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for KillPure { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "kill_pure"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Publish the hash of a proxy-call that will be made in the future."] #[doc = ""] #[doc = "This must be called some number of blocks before the corresponding `proxy` is attempted"] @@ -39467,29 +41560,33 @@ pub mod api { } pub mod announce { use super::runtime_types; - pub type Real = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt_core::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for Announce { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Announce { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "announce"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove a given announcement."] #[doc = ""] #[doc = "May be called by a proxy account to remove a call they previously announced and return"] @@ -39506,29 +41603,33 @@ pub mod api { } pub mod remove_announcement { use super::runtime_types; - pub type Real = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt_core::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveAnnouncement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_announcement"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Remove the given announcement of a delegate."] #[doc = ""] #[doc = "May be called by a target (proxied) account to remove a call that one of their delegates"] @@ -39545,29 +41646,33 @@ pub mod api { } pub mod reject_announcement { use super::runtime_types; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type CallHash = ::subxt_core::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::blocks::StaticExtrinsic for RejectAnnouncement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RejectAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "reject_announcement"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] #[doc = "`add_proxy`."] #[doc = ""] @@ -39583,23 +41688,23 @@ pub mod api { pub delegate: proxy_announced::Delegate, pub real: proxy_announced::Real, pub force_proxy_type: proxy_announced::ForceProxyType, - pub call: ::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod proxy_announced { use super::runtime_types; - pub type Delegate = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Real = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; } - impl ::subxt_core::blocks::StaticExtrinsic for ProxyAnnounced { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProxyAnnounced { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy_announced"; } @@ -39620,20 +41725,20 @@ pub mod api { real: types::proxy::Real, force_proxy_type: types::proxy::ForceProxyType, call: types::proxy::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "proxy", types::Proxy { real, force_proxy_type, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 123u8, 127u8, 31u8, 81u8, 215u8, 109u8, 183u8, 0u8, 121u8, 22u8, 229u8, - 44u8, 171u8, 142u8, 36u8, 142u8, 245u8, 99u8, 165u8, 185u8, 181u8, - 141u8, 223u8, 175u8, 110u8, 243u8, 136u8, 73u8, 162u8, 55u8, 202u8, - 177u8, + 102u8, 246u8, 175u8, 219u8, 197u8, 24u8, 179u8, 200u8, 157u8, 102u8, + 185u8, 117u8, 181u8, 182u8, 253u8, 66u8, 238u8, 194u8, 254u8, 221u8, + 204u8, 44u8, 34u8, 42u8, 225u8, 171u8, 230u8, 210u8, 46u8, 252u8, + 214u8, 189u8, ], ) } @@ -39651,8 +41756,8 @@ pub mod api { delegate: types::add_proxy::Delegate, proxy_type: types::add_proxy::ProxyType, delay: types::add_proxy::Delay, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "add_proxy", types::AddProxy { delegate, proxy_type, delay }, @@ -39675,8 +41780,8 @@ pub mod api { delegate: types::remove_proxy::Delegate, proxy_type: types::remove_proxy::ProxyType, delay: types::remove_proxy::Delay, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_proxy", types::RemoveProxy { delegate, proxy_type, delay }, @@ -39695,8 +41800,8 @@ pub mod api { #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] pub fn remove_proxies( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_proxies", types::RemoveProxies {}, @@ -39731,8 +41836,8 @@ pub mod api { proxy_type: types::create_pure::ProxyType, delay: types::create_pure::Delay, index: types::create_pure::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "create_pure", types::CreatePure { proxy_type, delay, index }, @@ -39766,8 +41871,8 @@ pub mod api { index: types::kill_pure::Index, height: types::kill_pure::Height, ext_index: types::kill_pure::ExtIndex, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "kill_pure", types::KillPure { spawner, proxy_type, index, height, ext_index }, @@ -39797,8 +41902,8 @@ pub mod api { &self, real: types::announce::Real, call_hash: types::announce::CallHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "announce", types::Announce { real, call_hash }, @@ -39823,8 +41928,9 @@ pub mod api { &self, real: types::remove_announcement::Real, call_hash: types::remove_announcement::CallHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "remove_announcement", types::RemoveAnnouncement { real, call_hash }, @@ -39849,8 +41955,9 @@ pub mod api { &self, delegate: types::reject_announcement::Delegate, call_hash: types::reject_announcement::CallHash, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "reject_announcement", types::RejectAnnouncement { delegate, call_hash }, @@ -39878,21 +41985,20 @@ pub mod api { real: types::proxy_announced::Real, force_proxy_type: types::proxy_announced::ForceProxyType, call: types::proxy_announced::Call, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Proxy", "proxy_announced", types::ProxyAnnounced { delegate, real, force_proxy_type, - call: ::subxt_core::alloc::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 237u8, 175u8, 100u8, 249u8, 185u8, 139u8, 104u8, 236u8, 191u8, 40u8, - 26u8, 225u8, 157u8, 19u8, 144u8, 8u8, 161u8, 122u8, 157u8, 44u8, 195u8, - 205u8, 136u8, 184u8, 203u8, 17u8, 71u8, 238u8, 123u8, 255u8, 34u8, - 173u8, + 157u8, 13u8, 33u8, 230u8, 61u8, 192u8, 240u8, 250u8, 65u8, 251u8, 97u8, + 191u8, 208u8, 195u8, 217u8, 17u8, 169u8, 69u8, 193u8, 122u8, 148u8, + 199u8, 32u8, 42u8, 88u8, 99u8, 34u8, 176u8, 219u8, 8u8, 124u8, 131u8, ], ) } @@ -39903,18 +42009,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was executed correctly, with the given."] pub struct ProxyExecuted { pub result: proxy_executed::Result, @@ -39924,23 +42030,23 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt_core::events::StaticEvent for ProxyExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyExecuted { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyExecuted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pure account has been created by new proxy with given"] #[doc = "disambiguation index and proxy type."] pub struct PureCreated { @@ -39951,28 +42057,28 @@ pub mod api { } pub mod pure_created { use super::runtime_types; - pub type Pure = ::subxt_core::utils::AccountId32; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Pure = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type DisambiguationIndex = ::core::primitive::u16; } - impl ::subxt_core::events::StaticEvent for PureCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PureCreated { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "PureCreated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An announcement was placed to make a call in the future."] pub struct Announced { pub real: announced::Real, @@ -39981,27 +42087,27 @@ pub mod api { } pub mod announced { use super::runtime_types; - pub type Real = ::subxt_core::utils::AccountId32; - pub type Proxy = ::subxt_core::utils::AccountId32; - pub type CallHash = ::subxt_core::utils::H256; + pub type Real = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Proxy = ::subxt::ext::subxt_core::utils::AccountId32; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt_core::events::StaticEvent for Announced { + impl ::subxt::ext::subxt_core::events::StaticEvent for Announced { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "Announced"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was added."] pub struct ProxyAdded { pub delegator: proxy_added::Delegator, @@ -40011,28 +42117,28 @@ pub mod api { } pub mod proxy_added { use super::runtime_types; - pub type Delegator = ::subxt_core::utils::AccountId32; - pub type Delegatee = ::subxt_core::utils::AccountId32; + pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for ProxyAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyAdded { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyAdded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was removed."] pub struct ProxyRemoved { pub delegator: proxy_removed::Delegator, @@ -40042,12 +42148,12 @@ pub mod api { } pub mod proxy_removed { use super::runtime_types; - pub type Delegator = ::subxt_core::utils::AccountId32; - pub type Delegatee = ::subxt_core::utils::AccountId32; + pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::tangle_testnet_runtime::ProxyType; pub type Delay = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for ProxyRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyRemoved { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyRemoved"; } @@ -40061,28 +42167,28 @@ pub mod api { pub type Proxies = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::pallet_proxy::ProxyDefinition< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::tangle_testnet_runtime::ProxyType, ::core::primitive::u64, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod announcements { use super::runtime_types; pub type Announcements = ( runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::pallet_proxy::Announcement< - ::subxt_core::utils::AccountId32, - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -40091,14 +42197,14 @@ pub mod api { #[doc = " which are being delegated to, together with the amount held on deposit."] pub fn proxies_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::proxies::Proxies, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Proxies", (), @@ -40115,17 +42221,21 @@ pub mod api { pub fn proxies( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proxies::Param0, + >, types::proxies::Proxies, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Proxies", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 223u8, 41u8, 16u8, 124u8, 14u8, 158u8, 113u8, 7u8, 229u8, 203u8, 172u8, 71u8, 221u8, 164u8, 20u8, 177u8, 252u8, 14u8, 117u8, 176u8, 21u8, @@ -40137,14 +42247,14 @@ pub mod api { #[doc = " The announcements made by the proxy (key)."] pub fn announcements_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::announcements::Announcements, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Announcements", (), @@ -40159,17 +42269,21 @@ pub mod api { pub fn announcements( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::announcements::Param0, + >, types::announcements::Announcements, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Proxy", "Announcements", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 36u8, 91u8, 194u8, 19u8, 186u8, 110u8, 217u8, 123u8, 101u8, 197u8, 249u8, 185u8, 42u8, 5u8, 244u8, 249u8, 18u8, 156u8, 41u8, 19u8, 86u8, @@ -40189,8 +42303,10 @@ pub mod api { #[doc = " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes."] pub fn proxy_deposit_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "ProxyDepositBase", [ @@ -40207,8 +42323,10 @@ pub mod api { #[doc = " into account `32 + proxy_type.encode().len()` bytes of data."] pub fn proxy_deposit_factor( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "ProxyDepositFactor", [ @@ -40221,8 +42339,10 @@ pub mod api { #[doc = " The maximum amount of proxies allowed for a single account."] pub fn max_proxies( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "MaxProxies", [ @@ -40236,8 +42356,10 @@ pub mod api { #[doc = " The maximum amount of time-delayed announcements that are allowed to be pending."] pub fn max_pending( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "MaxPending", [ @@ -40254,8 +42376,10 @@ pub mod api { #[doc = " bytes)."] pub fn announcement_deposit_base( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "AnnouncementDepositBase", [ @@ -40271,8 +42395,10 @@ pub mod api { #[doc = " into a pre-existing storage value."] pub fn announcement_deposit_factor( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Proxy", "AnnouncementDepositFactor", [ @@ -40299,18 +42425,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows an account to join as an operator by providing a stake."] pub struct JoinOperators { pub bond_amount: join_operators::BondAmount, @@ -40319,80 +42449,96 @@ pub mod api { use super::runtime_types; pub type BondAmount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for JoinOperators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for JoinOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "join_operators"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedules an operator to leave."] pub struct ScheduleLeaveOperators; - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleLeaveOperators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_leave_operators"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancels a scheduled leave for an operator."] pub struct CancelLeaveOperators; - impl ::subxt_core::blocks::StaticExtrinsic for CancelLeaveOperators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_leave_operators"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Executes a scheduled leave for an operator."] pub struct ExecuteLeaveOperators; - impl ::subxt_core::blocks::StaticExtrinsic for ExecuteLeaveOperators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteLeaveOperators { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_leave_operators"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows an operator to increase their stake."] pub struct OperatorBondMore { pub additional_bond: operator_bond_more::AdditionalBond, @@ -40401,23 +42547,27 @@ pub mod api { use super::runtime_types; pub type AdditionalBond = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for OperatorBondMore { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for OperatorBondMore { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "operator_bond_more"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedules an operator to decrease their stake."] pub struct ScheduleOperatorUnstake { pub unstake_amount: schedule_operator_unstake::UnstakeAmount, @@ -40426,99 +42576,119 @@ pub mod api { use super::runtime_types; pub type UnstakeAmount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleOperatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_operator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Executes a scheduled stake decrease for an operator."] pub struct ExecuteOperatorUnstake; - impl ::subxt_core::blocks::StaticExtrinsic for ExecuteOperatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_operator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancels a scheduled stake decrease for an operator."] pub struct CancelOperatorUnstake; - impl ::subxt_core::blocks::StaticExtrinsic for CancelOperatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelOperatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_operator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows an operator to go offline."] pub struct GoOffline; - impl ::subxt_core::blocks::StaticExtrinsic for GoOffline { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GoOffline { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "go_offline"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows an operator to go online."] pub struct GoOnline; - impl ::subxt_core::blocks::StaticExtrinsic for GoOnline { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for GoOnline { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "go_online"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows a user to deposit an asset."] pub struct Deposit { pub asset_id: deposit::AssetId, @@ -40529,23 +42699,27 @@ pub mod api { pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Deposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Deposit { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "deposit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedules an withdraw request."] pub struct ScheduleWithdraw { pub asset_id: schedule_withdraw::AssetId, @@ -40556,42 +42730,50 @@ pub mod api { pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleWithdraw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_withdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Executes a scheduled withdraw request."] pub struct ExecuteWithdraw; - impl ::subxt_core::blocks::StaticExtrinsic for ExecuteWithdraw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_withdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancels a scheduled withdraw request."] pub struct CancelWithdraw { pub asset_id: cancel_withdraw::AssetId, @@ -40602,52 +42784,62 @@ pub mod api { pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelWithdraw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelWithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_withdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Allows a user to delegate an amount of an asset to an operator."] pub struct Delegate { pub operator: delegate::Operator, pub asset_id: delegate::AssetId, pub amount: delegate::Amount, + pub blueprint_selection: delegate::BlueprintSelection, } pub mod delegate { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; + pub type BlueprintSelection = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > ; } - impl ::subxt_core::blocks::StaticExtrinsic for Delegate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Delegate { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "delegate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Schedules a request to reduce a delegator's stake."] pub struct ScheduleDelegatorUnstake { pub operator: schedule_delegator_unstake::Operator, @@ -40656,46 +42848,54 @@ pub mod api { } pub mod schedule_delegator_unstake { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for ScheduleDelegatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "schedule_delegator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Executes a scheduled request to reduce a delegator's stake."] pub struct ExecuteDelegatorUnstake; - impl ::subxt_core::blocks::StaticExtrinsic for ExecuteDelegatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "execute_delegator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Cancels a scheduled request to reduce a delegator's stake."] pub struct CancelDelegatorUnstake { pub operator: cancel_delegator_unstake::Operator, @@ -40704,28 +42904,37 @@ pub mod api { } pub mod cancel_delegator_unstake { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type AssetId = ::core::primitive::u128; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for CancelDelegatorUnstake { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelDelegatorUnstake { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "cancel_delegator_unstake"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Sets the APY and cap for a specific asset."] + #[doc = "The APY is the annual percentage yield that the asset will earn."] + #[doc = "The cap is the amount of assets required to be deposited to distribute the entire APY."] + #[doc = "The APY is capped at 10% and will require runtime upgrade to change."] + #[doc = ""] + #[doc = "While the cap is not met, the APY distributed will be `amount_deposited / cap * APY`."] pub struct SetIncentiveApyAndCap { pub vault_id: set_incentive_apy_and_cap::VaultId, pub apy: set_incentive_apy_and_cap::Apy, @@ -40737,23 +42946,27 @@ pub mod api { pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; pub type Cap = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for SetIncentiveApyAndCap { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetIncentiveApyAndCap { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "set_incentive_apy_and_cap"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Whitelists a blueprint for rewards."] pub struct WhitelistBlueprintForRewards { pub blueprint_id: whitelist_blueprint_for_rewards::BlueprintId, @@ -40762,23 +42975,27 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for WhitelistBlueprintForRewards { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WhitelistBlueprintForRewards { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "whitelist_blueprint_for_rewards"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Manage asset id to vault rewards"] pub struct ManageAssetInVault { pub vault_id: manage_asset_in_vault::VaultId, @@ -40792,10 +43009,68 @@ pub mod api { pub type Action = runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; } - impl ::subxt_core::blocks::StaticExtrinsic for ManageAssetInVault { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ManageAssetInVault { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "manage_asset_in_vault"; } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + #[doc = "Adds a blueprint ID to a delegator's selection."] + pub struct AddBlueprintId { + pub blueprint_id: add_blueprint_id::BlueprintId, + } + pub mod add_blueprint_id { + use super::runtime_types; + pub type BlueprintId = ::core::primitive::u64; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddBlueprintId { + const PALLET: &'static str = "MultiAssetDelegation"; + const CALL: &'static str = "add_blueprint_id"; + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + #[doc = "Removes a blueprint ID from a delegator's selection."] + pub struct RemoveBlueprintId { + pub blueprint_id: remove_blueprint_id::BlueprintId, + } + pub mod remove_blueprint_id { + use super::runtime_types; + pub type BlueprintId = ::core::primitive::u64; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveBlueprintId { + const PALLET: &'static str = "MultiAssetDelegation"; + const CALL: &'static str = "remove_blueprint_id"; + } } pub struct TransactionApi; impl TransactionApi { @@ -40803,8 +43078,8 @@ pub mod api { pub fn join_operators( &self, bond_amount: types::join_operators::BondAmount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "join_operators", types::JoinOperators { bond_amount }, @@ -40819,8 +43094,10 @@ pub mod api { #[doc = "Schedules an operator to leave."] pub fn schedule_leave_operators( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ScheduleLeaveOperators, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_leave_operators", types::ScheduleLeaveOperators {}, @@ -40834,8 +43111,9 @@ pub mod api { #[doc = "Cancels a scheduled leave for an operator."] pub fn cancel_leave_operators( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_leave_operators", types::CancelLeaveOperators {}, @@ -40849,8 +43127,10 @@ pub mod api { #[doc = "Executes a scheduled leave for an operator."] pub fn execute_leave_operators( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ExecuteLeaveOperators, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_leave_operators", types::ExecuteLeaveOperators {}, @@ -40866,8 +43146,8 @@ pub mod api { pub fn operator_bond_more( &self, additional_bond: types::operator_bond_more::AdditionalBond, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "operator_bond_more", types::OperatorBondMore { additional_bond }, @@ -40883,8 +43163,10 @@ pub mod api { pub fn schedule_operator_unstake( &self, unstake_amount: types::schedule_operator_unstake::UnstakeAmount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ScheduleOperatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_operator_unstake", types::ScheduleOperatorUnstake { unstake_amount }, @@ -40898,8 +43180,10 @@ pub mod api { #[doc = "Executes a scheduled stake decrease for an operator."] pub fn execute_operator_unstake( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ExecuteOperatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_operator_unstake", types::ExecuteOperatorUnstake {}, @@ -40913,8 +43197,10 @@ pub mod api { #[doc = "Cancels a scheduled stake decrease for an operator."] pub fn cancel_operator_unstake( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::CancelOperatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_operator_unstake", types::CancelOperatorUnstake {}, @@ -40928,8 +43214,8 @@ pub mod api { #[doc = "Allows an operator to go offline."] pub fn go_offline( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "go_offline", types::GoOffline {}, @@ -40944,8 +43230,8 @@ pub mod api { #[doc = "Allows an operator to go online."] pub fn go_online( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "go_online", types::GoOnline {}, @@ -40962,8 +43248,8 @@ pub mod api { &self, asset_id: types::deposit::AssetId, amount: types::deposit::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "deposit", types::Deposit { asset_id, amount }, @@ -40980,8 +43266,8 @@ pub mod api { &self, asset_id: types::schedule_withdraw::AssetId, amount: types::schedule_withdraw::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_withdraw", types::ScheduleWithdraw { asset_id, amount }, @@ -40996,8 +43282,8 @@ pub mod api { #[doc = "Executes a scheduled withdraw request."] pub fn execute_withdraw( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_withdraw", types::ExecuteWithdraw {}, @@ -41013,8 +43299,8 @@ pub mod api { &self, asset_id: types::cancel_withdraw::AssetId, amount: types::cancel_withdraw::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_withdraw", types::CancelWithdraw { asset_id, amount }, @@ -41031,15 +43317,17 @@ pub mod api { operator: types::delegate::Operator, asset_id: types::delegate::AssetId, amount: types::delegate::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + blueprint_selection: types::delegate::BlueprintSelection, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "delegate", - types::Delegate { operator, asset_id, amount }, + types::Delegate { operator, asset_id, amount, blueprint_selection }, [ - 227u8, 11u8, 47u8, 236u8, 76u8, 251u8, 39u8, 73u8, 131u8, 239u8, 207u8, - 202u8, 101u8, 233u8, 134u8, 54u8, 216u8, 29u8, 130u8, 54u8, 144u8, - 192u8, 233u8, 73u8, 53u8, 91u8, 5u8, 170u8, 250u8, 197u8, 113u8, 38u8, + 229u8, 174u8, 212u8, 104u8, 133u8, 233u8, 29u8, 42u8, 84u8, 225u8, + 15u8, 137u8, 245u8, 47u8, 206u8, 52u8, 134u8, 101u8, 122u8, 114u8, + 184u8, 61u8, 228u8, 27u8, 245u8, 185u8, 31u8, 161u8, 244u8, 130u8, + 183u8, 243u8, ], ) } @@ -41049,8 +43337,10 @@ pub mod api { operator: types::schedule_delegator_unstake::Operator, asset_id: types::schedule_delegator_unstake::AssetId, amount: types::schedule_delegator_unstake::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ScheduleDelegatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "schedule_delegator_unstake", types::ScheduleDelegatorUnstake { operator, asset_id, amount }, @@ -41064,8 +43354,10 @@ pub mod api { #[doc = "Executes a scheduled request to reduce a delegator's stake."] pub fn execute_delegator_unstake( &self, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ExecuteDelegatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "execute_delegator_unstake", types::ExecuteDelegatorUnstake {}, @@ -41082,8 +43374,10 @@ pub mod api { operator: types::cancel_delegator_unstake::Operator, asset_id: types::cancel_delegator_unstake::AssetId, amount: types::cancel_delegator_unstake::Amount, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::CancelDelegatorUnstake, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "cancel_delegator_unstake", types::CancelDelegatorUnstake { operator, asset_id, amount }, @@ -41096,13 +43390,20 @@ pub mod api { ) } #[doc = "Sets the APY and cap for a specific asset."] + #[doc = "The APY is the annual percentage yield that the asset will earn."] + #[doc = "The cap is the amount of assets required to be deposited to distribute the entire APY."] + #[doc = "The APY is capped at 10% and will require runtime upgrade to change."] + #[doc = ""] + #[doc = "While the cap is not met, the APY distributed will be `amount_deposited / cap * APY`."] pub fn set_incentive_apy_and_cap( &self, vault_id: types::set_incentive_apy_and_cap::VaultId, apy: types::set_incentive_apy_and_cap::Apy, cap: types::set_incentive_apy_and_cap::Cap, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetIncentiveApyAndCap, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "set_incentive_apy_and_cap", types::SetIncentiveApyAndCap { vault_id, apy, cap }, @@ -41118,8 +43419,10 @@ pub mod api { pub fn whitelist_blueprint_for_rewards( &self, blueprint_id: types::whitelist_blueprint_for_rewards::BlueprintId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::WhitelistBlueprintForRewards, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "whitelist_blueprint_for_rewards", types::WhitelistBlueprintForRewards { blueprint_id }, @@ -41137,8 +43440,9 @@ pub mod api { vault_id: types::manage_asset_in_vault::VaultId, asset_id: types::manage_asset_in_vault::AssetId, action: types::manage_asset_in_vault::Action, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", "manage_asset_in_vault", types::ManageAssetInVault { vault_id, asset_id, action }, @@ -41149,6 +43453,40 @@ pub mod api { ], ) } + #[doc = "Adds a blueprint ID to a delegator's selection."] + pub fn add_blueprint_id( + &self, + blueprint_id: types::add_blueprint_id::BlueprintId, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + "MultiAssetDelegation", + "add_blueprint_id", + types::AddBlueprintId { blueprint_id }, + [ + 74u8, 66u8, 160u8, 46u8, 189u8, 193u8, 17u8, 231u8, 120u8, 52u8, 172u8, + 159u8, 250u8, 132u8, 97u8, 232u8, 0u8, 156u8, 141u8, 168u8, 85u8, 31u8, + 114u8, 113u8, 101u8, 141u8, 69u8, 28u8, 54u8, 103u8, 54u8, 29u8, + ], + ) + } + #[doc = "Removes a blueprint ID from a delegator's selection."] + pub fn remove_blueprint_id( + &self, + blueprint_id: types::remove_blueprint_id::BlueprintId, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + "MultiAssetDelegation", + "remove_blueprint_id", + types::RemoveBlueprintId { blueprint_id }, + [ + 81u8, 3u8, 117u8, 89u8, 53u8, 187u8, 26u8, 167u8, 9u8, 26u8, 9u8, + 213u8, 230u8, 218u8, 64u8, 142u8, 227u8, 34u8, 128u8, 123u8, 197u8, + 25u8, 199u8, 212u8, 118u8, 117u8, 134u8, 45u8, 116u8, 10u8, 217u8, + 136u8, + ], + ) + } } } #[doc = "Events emitted by the pallet."] @@ -41156,118 +43494,118 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has joined."] pub struct OperatorJoined { pub who: operator_joined::Who, } pub mod operator_joined { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorJoined { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorJoined { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorJoined"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has scheduled to leave."] pub struct OperatorLeavingScheduled { pub who: operator_leaving_scheduled::Who, } pub mod operator_leaving_scheduled { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorLeavingScheduled { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeavingScheduled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeavingScheduled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has cancelled their leave request."] pub struct OperatorLeaveCancelled { pub who: operator_leave_cancelled::Who, } pub mod operator_leave_cancelled { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorLeaveCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeaveCancelled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeaveCancelled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has executed their leave request."] pub struct OperatorLeaveExecuted { pub who: operator_leave_executed::Who, } pub mod operator_leave_executed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorLeaveExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorLeaveExecuted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorLeaveExecuted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has increased their stake."] pub struct OperatorBondMore { pub who: operator_bond_more::Who, @@ -41275,26 +43613,26 @@ pub mod api { } pub mod operator_bond_more { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type AdditionalBond = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for OperatorBondMore { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondMore { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondMore"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has scheduled to decrease their stake."] pub struct OperatorBondLessScheduled { pub who: operator_bond_less_scheduled::Who, @@ -41302,126 +43640,126 @@ pub mod api { } pub mod operator_bond_less_scheduled { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type UnstakeAmount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for OperatorBondLessScheduled { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessScheduled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessScheduled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has executed their stake decrease."] pub struct OperatorBondLessExecuted { pub who: operator_bond_less_executed::Who, } pub mod operator_bond_less_executed { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorBondLessExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessExecuted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessExecuted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has cancelled their stake decrease request."] pub struct OperatorBondLessCancelled { pub who: operator_bond_less_cancelled::Who, } pub mod operator_bond_less_cancelled { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorBondLessCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorBondLessCancelled { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorBondLessCancelled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has gone offline."] pub struct OperatorWentOffline { pub who: operator_went_offline::Who, } pub mod operator_went_offline { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorWentOffline { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorWentOffline { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorWentOffline"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has gone online."] pub struct OperatorWentOnline { pub who: operator_went_online::Who, } pub mod operator_went_online { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for OperatorWentOnline { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorWentOnline { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorWentOnline"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A deposit has been made."] pub struct Deposited { pub who: deposited::Who, @@ -41430,27 +43768,27 @@ pub mod api { } pub mod deposited { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Deposited { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposited { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Deposited"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been scheduled."] pub struct Scheduledwithdraw { pub who: scheduledwithdraw::Who, @@ -41459,77 +43797,77 @@ pub mod api { } pub mod scheduledwithdraw { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Scheduledwithdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Scheduledwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Scheduledwithdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been executed."] pub struct Executedwithdraw { pub who: executedwithdraw::Who, } pub mod executedwithdraw { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Executedwithdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Executedwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Executedwithdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An withdraw has been cancelled."] pub struct Cancelledwithdraw { pub who: cancelledwithdraw::Who, } pub mod cancelledwithdraw { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for Cancelledwithdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelledwithdraw { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Cancelledwithdraw"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A delegation has been made."] pub struct Delegated { pub who: delegated::Who, @@ -41539,28 +43877,28 @@ pub mod api { } pub mod delegated { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Delegated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Delegated { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "Delegated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been scheduled."] pub struct ScheduledDelegatorBondLess { pub who: scheduled_delegator_bond_less::Who, @@ -41570,78 +43908,78 @@ pub mod api { } pub mod scheduled_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type AssetId = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for ScheduledDelegatorBondLess { + impl ::subxt::ext::subxt_core::events::StaticEvent for ScheduledDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "ScheduledDelegatorBondLess"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been executed."] pub struct ExecutedDelegatorBondLess { pub who: executed_delegator_bond_less::Who, } pub mod executed_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for ExecutedDelegatorBondLess { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExecutedDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "ExecutedDelegatorBondLess"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A delegator unstake request has been cancelled."] pub struct CancelledDelegatorBondLess { pub who: cancelled_delegator_bond_less::Who, } pub mod cancelled_delegator_bond_less { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for CancelledDelegatorBondLess { + impl ::subxt::ext::subxt_core::events::StaticEvent for CancelledDelegatorBondLess { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "CancelledDelegatorBondLess"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Event emitted when an incentive APY and cap are set for a reward vault"] pub struct IncentiveAPYAndCapSet { pub vault_id: incentive_apy_and_cap_set::VaultId, @@ -41654,23 +43992,23 @@ pub mod api { pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; pub type Cap = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "IncentiveAPYAndCapSet"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Event emitted when a blueprint is whitelisted for rewards"] pub struct BlueprintWhitelisted { pub blueprint_id: blueprint_whitelisted::BlueprintId, @@ -41679,23 +44017,23 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for BlueprintWhitelisted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintWhitelisted { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "BlueprintWhitelisted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Asset has been updated to reward vault"] pub struct AssetUpdatedInVault { pub who: asset_updated_in_vault::Who, @@ -41705,16 +44043,70 @@ pub mod api { } pub mod asset_updated_in_vault { use super::runtime_types; - pub type Who = ::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type VaultId = ::core::primitive::u128; pub type AssetId = ::core::primitive::u128; pub type Action = runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; } - impl ::subxt_core::events::StaticEvent for AssetUpdatedInVault { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetUpdatedInVault { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "AssetUpdatedInVault"; } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[doc = "Operator has been slashed"] + pub struct OperatorSlashed { + pub who: operator_slashed::Who, + pub amount: operator_slashed::Amount, + } + pub mod operator_slashed { + use super::runtime_types; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Amount = ::core::primitive::u128; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorSlashed { + const PALLET: &'static str = "MultiAssetDelegation"; + const EVENT: &'static str = "OperatorSlashed"; + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[doc = "Delegator has been slashed"] + pub struct DelegatorSlashed { + pub who: delegator_slashed::Who, + pub amount: delegator_slashed::Amount, + } + pub mod delegator_slashed { + use super::runtime_types; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Amount = ::core::primitive::u128; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for DelegatorSlashed { + const PALLET: &'static str = "MultiAssetDelegation"; + const EVENT: &'static str = "DelegatorSlashed"; + } } pub mod storage { use super::runtime_types; @@ -41722,8 +44114,8 @@ pub mod api { use super::runtime_types; pub mod operators { use super::runtime_types; - pub type Operators = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorMetadata < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 > ; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Operators = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorMetadata < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxOperatorBlueprints > ; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod current_round { use super::runtime_types; @@ -41731,18 +44123,19 @@ pub mod api { } pub mod at_stake { use super::runtime_types; - pub type AtStake = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorSnapshot < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 > ; + pub type AtStake = runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorSnapshot < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod delegators { use super::runtime_types; - pub type Delegators = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorMetadata < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 > ; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Delegators = runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorMetadata < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u128 , :: core :: primitive :: u128 , runtime_types :: tangle_testnet_runtime :: MaxWithdrawRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxUnstakeRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > ; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod reward_vaults { use super::runtime_types; - pub type RewardVaults = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type RewardVaults = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; pub type Param0 = ::core::primitive::u128; } pub mod asset_lookup_reward_vaults { @@ -41764,22 +44157,21 @@ pub mod api { #[doc = " Storage for operator information."] pub fn operators_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::operators::Operators, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Operators", (), [ - 142u8, 248u8, 178u8, 68u8, 67u8, 114u8, 211u8, 90u8, 106u8, 188u8, - 23u8, 230u8, 72u8, 190u8, 46u8, 12u8, 223u8, 19u8, 242u8, 35u8, 177u8, - 191u8, 117u8, 194u8, 48u8, 233u8, 80u8, 102u8, 34u8, 147u8, 125u8, - 68u8, + 96u8, 12u8, 202u8, 32u8, 26u8, 119u8, 119u8, 77u8, 133u8, 40u8, 41u8, + 55u8, 220u8, 158u8, 30u8, 147u8, 39u8, 168u8, 231u8, 231u8, 102u8, + 161u8, 66u8, 27u8, 228u8, 0u8, 123u8, 144u8, 205u8, 235u8, 186u8, 91u8, ], ) } @@ -41787,36 +44179,39 @@ pub mod api { pub fn operators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::operators::Param0, + >, types::operators::Operators, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Operators", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 142u8, 248u8, 178u8, 68u8, 67u8, 114u8, 211u8, 90u8, 106u8, 188u8, - 23u8, 230u8, 72u8, 190u8, 46u8, 12u8, 223u8, 19u8, 242u8, 35u8, 177u8, - 191u8, 117u8, 194u8, 48u8, 233u8, 80u8, 102u8, 34u8, 147u8, 125u8, - 68u8, + 96u8, 12u8, 202u8, 32u8, 26u8, 119u8, 119u8, 77u8, 133u8, 40u8, 41u8, + 55u8, 220u8, 158u8, 30u8, 147u8, 39u8, 168u8, 231u8, 231u8, 102u8, + 161u8, 66u8, 27u8, 228u8, 0u8, 123u8, 144u8, 205u8, 235u8, 186u8, 91u8, ], ) } #[doc = " Storage for the current round."] pub fn current_round( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::current_round::CurrentRound, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "CurrentRound", (), @@ -41831,21 +44226,21 @@ pub mod api { #[doc = " Snapshot of collator delegation stake at the start of the round."] pub fn at_stake_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::at_stake::AtStake, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", (), [ - 103u8, 69u8, 78u8, 81u8, 1u8, 242u8, 233u8, 40u8, 135u8, 38u8, 63u8, - 65u8, 146u8, 83u8, 53u8, 208u8, 85u8, 157u8, 223u8, 47u8, 202u8, 190u8, - 203u8, 231u8, 129u8, 125u8, 152u8, 27u8, 181u8, 53u8, 195u8, 153u8, + 225u8, 39u8, 121u8, 190u8, 208u8, 227u8, 9u8, 44u8, 140u8, 28u8, 13u8, + 112u8, 213u8, 80u8, 240u8, 250u8, 179u8, 121u8, 82u8, 26u8, 136u8, + 62u8, 197u8, 86u8, 231u8, 210u8, 155u8, 245u8, 36u8, 251u8, 0u8, 193u8, ], ) } @@ -41853,21 +44248,25 @@ pub mod api { pub fn at_stake_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::at_stake::Param0, + >, types::at_stake::AtStake, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 103u8, 69u8, 78u8, 81u8, 1u8, 242u8, 233u8, 40u8, 135u8, 38u8, 63u8, - 65u8, 146u8, 83u8, 53u8, 208u8, 85u8, 157u8, 223u8, 47u8, 202u8, 190u8, - 203u8, 231u8, 129u8, 125u8, 152u8, 27u8, 181u8, 53u8, 195u8, 153u8, + 225u8, 39u8, 121u8, 190u8, 208u8, 227u8, 9u8, 44u8, 140u8, 28u8, 13u8, + 112u8, 213u8, 80u8, 240u8, 250u8, 179u8, 121u8, 82u8, 26u8, 136u8, + 62u8, 197u8, 86u8, 231u8, 210u8, 155u8, 245u8, 36u8, 251u8, 0u8, 193u8, ], ) } @@ -41876,49 +44275,57 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::at_stake::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::at_stake::Param1, + >, ), types::at_stake::AtStake, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AtStake", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 103u8, 69u8, 78u8, 81u8, 1u8, 242u8, 233u8, 40u8, 135u8, 38u8, 63u8, - 65u8, 146u8, 83u8, 53u8, 208u8, 85u8, 157u8, 223u8, 47u8, 202u8, 190u8, - 203u8, 231u8, 129u8, 125u8, 152u8, 27u8, 181u8, 53u8, 195u8, 153u8, + 225u8, 39u8, 121u8, 190u8, 208u8, 227u8, 9u8, 44u8, 140u8, 28u8, 13u8, + 112u8, 213u8, 80u8, 240u8, 250u8, 179u8, 121u8, 82u8, 26u8, 136u8, + 62u8, 197u8, 86u8, 231u8, 210u8, 155u8, 245u8, 36u8, 251u8, 0u8, 193u8, ], ) } #[doc = " Storage for delegator information."] pub fn delegators_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::delegators::Delegators, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Delegators", (), [ - 188u8, 252u8, 192u8, 65u8, 173u8, 39u8, 31u8, 73u8, 153u8, 225u8, - 224u8, 38u8, 87u8, 15u8, 139u8, 12u8, 211u8, 11u8, 132u8, 3u8, 176u8, - 156u8, 116u8, 243u8, 181u8, 134u8, 30u8, 157u8, 92u8, 1u8, 110u8, - 235u8, + 186u8, 236u8, 239u8, 183u8, 201u8, 64u8, 123u8, 184u8, 5u8, 98u8, 2u8, + 199u8, 173u8, 253u8, 72u8, 182u8, 3u8, 142u8, 163u8, 56u8, 162u8, + 106u8, 229u8, 144u8, 49u8, 151u8, 144u8, 111u8, 12u8, 187u8, 73u8, + 108u8, ], ) } @@ -41926,44 +44333,48 @@ pub mod api { pub fn delegators( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::delegators::Param0, + >, types::delegators::Delegators, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "Delegators", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 188u8, 252u8, 192u8, 65u8, 173u8, 39u8, 31u8, 73u8, 153u8, 225u8, - 224u8, 38u8, 87u8, 15u8, 139u8, 12u8, 211u8, 11u8, 132u8, 3u8, 176u8, - 156u8, 116u8, 243u8, 181u8, 134u8, 30u8, 157u8, 92u8, 1u8, 110u8, - 235u8, + 186u8, 236u8, 239u8, 183u8, 201u8, 64u8, 123u8, 184u8, 5u8, 98u8, 2u8, + 199u8, 173u8, 253u8, 72u8, 182u8, 3u8, 142u8, 163u8, 56u8, 162u8, + 106u8, 229u8, 144u8, 49u8, 151u8, 144u8, 111u8, 12u8, 187u8, 73u8, + 108u8, ], ) } #[doc = " Storage for the reward vaults"] pub fn reward_vaults_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reward_vaults::RewardVaults, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "RewardVaults", (), [ - 191u8, 72u8, 49u8, 249u8, 166u8, 45u8, 60u8, 215u8, 67u8, 118u8, 9u8, - 75u8, 33u8, 45u8, 192u8, 197u8, 210u8, 85u8, 205u8, 130u8, 236u8, - 219u8, 57u8, 14u8, 150u8, 246u8, 242u8, 131u8, 218u8, 190u8, 155u8, - 50u8, + 107u8, 40u8, 83u8, 145u8, 146u8, 241u8, 12u8, 112u8, 110u8, 211u8, + 66u8, 186u8, 13u8, 229u8, 71u8, 181u8, 174u8, 19u8, 143u8, 231u8, + 242u8, 61u8, 45u8, 254u8, 61u8, 113u8, 204u8, 68u8, 51u8, 82u8, 212u8, + 248u8, ], ) } @@ -41971,44 +44382,48 @@ pub mod api { pub fn reward_vaults( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reward_vaults::Param0, + >, types::reward_vaults::RewardVaults, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "RewardVaults", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 191u8, 72u8, 49u8, 249u8, 166u8, 45u8, 60u8, 215u8, 67u8, 118u8, 9u8, - 75u8, 33u8, 45u8, 192u8, 197u8, 210u8, 85u8, 205u8, 130u8, 236u8, - 219u8, 57u8, 14u8, 150u8, 246u8, 242u8, 131u8, 218u8, 190u8, 155u8, - 50u8, + 107u8, 40u8, 83u8, 145u8, 146u8, 241u8, 12u8, 112u8, 110u8, 211u8, + 66u8, 186u8, 13u8, 229u8, 71u8, 181u8, 174u8, 19u8, 143u8, 231u8, + 242u8, 61u8, 45u8, 254u8, 61u8, 113u8, 204u8, 68u8, 51u8, 82u8, 212u8, + 248u8, ], ) } #[doc = " Storage for the reward vaults"] pub fn asset_lookup_reward_vaults_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::asset_lookup_reward_vaults::AssetLookupRewardVaults, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AssetLookupRewardVaults", (), [ - 77u8, 190u8, 158u8, 161u8, 51u8, 82u8, 84u8, 39u8, 128u8, 21u8, 33u8, - 248u8, 135u8, 227u8, 136u8, 199u8, 68u8, 229u8, 79u8, 149u8, 106u8, - 196u8, 45u8, 29u8, 228u8, 141u8, 16u8, 154u8, 139u8, 153u8, 128u8, - 23u8, + 46u8, 208u8, 170u8, 41u8, 111u8, 195u8, 130u8, 114u8, 204u8, 158u8, + 215u8, 207u8, 211u8, 217u8, 51u8, 244u8, 150u8, 215u8, 253u8, 106u8, + 106u8, 142u8, 208u8, 128u8, 25u8, 0u8, 123u8, 33u8, 0u8, 233u8, 72u8, + 186u8, ], ) } @@ -42016,24 +44431,26 @@ pub mod api { pub fn asset_lookup_reward_vaults( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::asset_lookup_reward_vaults::Param0, >, types::asset_lookup_reward_vaults::AssetLookupRewardVaults, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "AssetLookupRewardVaults", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 77u8, 190u8, 158u8, 161u8, 51u8, 82u8, 84u8, 39u8, 128u8, 21u8, 33u8, - 248u8, 135u8, 227u8, 136u8, 199u8, 68u8, 229u8, 79u8, 149u8, 106u8, - 196u8, 45u8, 29u8, 228u8, 141u8, 16u8, 154u8, 139u8, 153u8, 128u8, - 23u8, + 46u8, 208u8, 170u8, 41u8, 111u8, 195u8, 130u8, 114u8, 204u8, 158u8, + 215u8, 207u8, 211u8, 217u8, 51u8, 244u8, 150u8, 215u8, 253u8, 106u8, + 106u8, 142u8, 208u8, 128u8, 25u8, 0u8, 123u8, 33u8, 0u8, 233u8, 72u8, + 186u8, ], ) } @@ -42041,14 +44458,14 @@ pub mod api { #[doc = " blueprints."] pub fn reward_config_storage( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reward_config_storage::RewardConfigStorage, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "MultiAssetDelegation", "RewardConfigStorage", (), @@ -42065,11 +44482,98 @@ pub mod api { use super::runtime_types; pub struct ConstantsApi; impl ConstantsApi { + #[doc = " The maximum number of blueprints a delegator can have in Fixed mode."] + pub fn max_delegator_blueprints( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "MaxDelegatorBlueprints", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } + #[doc = " The maximum number of blueprints an operator can support."] + pub fn max_operator_blueprints( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "MaxOperatorBlueprints", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } + #[doc = " The maximum number of withdraw requests a delegator can have."] + pub fn max_withdraw_requests( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "MaxWithdrawRequests", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } + #[doc = " The maximum number of delegations a delegator can have."] + pub fn max_delegations( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "MaxDelegations", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } + #[doc = " The maximum number of unstake requests a delegator can have."] + pub fn max_unstake_requests( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "MaxUnstakeRequests", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } #[doc = " The minimum amount of stake required for an operator."] pub fn min_operator_bond_amount( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MinOperatorBondAmount", [ @@ -42082,8 +44586,10 @@ pub mod api { #[doc = " The minimum amount of stake required for a delegate."] pub fn min_delegate_amount( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u128> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u128, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "MinDelegateAmount", [ @@ -42096,8 +44602,10 @@ pub mod api { #[doc = " The duration for which the stake is locked."] pub fn bond_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "BondDuration", [ @@ -42111,8 +44619,10 @@ pub mod api { #[doc = " Number of rounds that operators remain bonded before the exit request is executable."] pub fn leave_operators_delay( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "LeaveOperatorsDelay", [ @@ -42126,8 +44636,10 @@ pub mod api { #[doc = " Number of rounds operator requests to decrease self-stake must wait to be executable."] pub fn operator_bond_less_delay( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "OperatorBondLessDelay", [ @@ -42141,8 +44653,10 @@ pub mod api { #[doc = " Number of rounds that delegators remain bonded before the exit request is executable."] pub fn leave_delegators_delay( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "LeaveDelegatorsDelay", [ @@ -42156,8 +44670,10 @@ pub mod api { #[doc = " Number of rounds that delegation unstake requests must wait before being executable."] pub fn delegation_bond_less_delay( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "MultiAssetDelegation", "DelegationBondLessDelay", [ @@ -42185,18 +44701,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a new service blueprint."] #[doc = ""] #[doc = "A Service Blueprint is a template for a service that can be instantiated later on by a"] @@ -42213,23 +44733,27 @@ pub mod api { pub type Blueprint = runtime_types::tangle_primitives::services::ServiceBlueprint; } - impl ::subxt_core::blocks::StaticExtrinsic for CreateBlueprint { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateBlueprint { const PALLET: &'static str = "Services"; const CALL: &'static str = "create_blueprint"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Pre-register the caller as an operator for a specific blueprint."] #[doc = ""] #[doc = "The caller can pre-register for a blueprint, which will emit a `PreRegistration` event."] @@ -42247,23 +44771,27 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for PreRegister { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PreRegister { const PALLET: &'static str = "Services"; const CALL: &'static str = "pre_register"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Register the caller as an operator for a specific blueprint."] #[doc = ""] #[doc = "The caller may require an approval first before they can accept to provide the service"] @@ -42273,35 +44801,42 @@ pub mod api { pub blueprint_id: register::BlueprintId, pub preferences: register::Preferences, pub registration_args: register::RegistrationArgs, + #[codec(compact)] + pub value: register::Value, } pub mod register { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; pub type Preferences = runtime_types::tangle_primitives::services::OperatorPreferences; - pub type RegistrationArgs = ::subxt_core::alloc::vec::Vec< + pub type RegistrationArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; + pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Register { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Register { const PALLET: &'static str = "Services"; const CALL: &'static str = "register"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unregister the caller from being an operator for the service blueprint"] #[doc = "so that, no more services will assigned to the caller for this specific blueprint."] #[doc = "Note that, the caller needs to keep providing service for other active service"] @@ -42315,23 +44850,27 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for Unregister { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unregister { const PALLET: &'static str = "Services"; const CALL: &'static str = "unregister"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update the price targets for the caller for a specific service blueprint."] #[doc = ""] #[doc = "See [`Self::register`] for more information."] @@ -42346,23 +44885,27 @@ pub mod api { pub type PriceTargets = runtime_types::tangle_primitives::services::PriceTargets; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdatePriceTargets { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdatePriceTargets { const PALLET: &'static str = "Services"; const CALL: &'static str = "update_price_targets"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Request a new service to be initiated using the provided blueprint with a list of"] #[doc = "operators that will run your service. Optionally, you can specifiy who is permitted"] #[doc = "caller of this service, by default only the caller is allowed to call the service."] @@ -42375,39 +44918,49 @@ pub mod api { pub assets: request::Assets, #[codec(compact)] pub ttl: request::Ttl, + #[codec(compact)] + pub value: request::Value, } pub mod request { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; - pub type PermittedCallers = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type Operators = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type RequestArgs = ::subxt_core::alloc::vec::Vec< + pub type PermittedCallers = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type Operators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type RequestArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; - pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type Assets = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; pub type Ttl = ::core::primitive::u64; + pub type Value = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Request { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Request { const PALLET: &'static str = "Services"; const CALL: &'static str = "request"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Approve a service request, so that the service can be initiated."] #[doc = ""] #[doc = "The `restaking_percent` is the percentage of the restaked tokens that will be exposed to"] @@ -42423,23 +44976,27 @@ pub mod api { pub type RequestId = ::core::primitive::u64; pub type RestakingPercent = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt_core::blocks::StaticExtrinsic for Approve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Approve { const PALLET: &'static str = "Services"; const CALL: &'static str = "approve"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Reject a service request."] #[doc = "The service will not be initiated, and the requester will need to update the service"] #[doc = "request."] @@ -42451,23 +45008,27 @@ pub mod api { use super::runtime_types; pub type RequestId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for Reject { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Reject { const PALLET: &'static str = "Services"; const CALL: &'static str = "reject"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Terminates the service by the owner of the service."] pub struct Terminate { #[codec(compact)] @@ -42477,23 +45038,27 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for Terminate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Terminate { const PALLET: &'static str = "Services"; const CALL: &'static str = "terminate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Call a Job in the service."] #[doc = "The caller needs to be the owner of the service, or a permitted caller."] pub struct Call { @@ -42507,29 +45072,33 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Args = ::subxt_core::alloc::vec::Vec< + pub type Args = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Call { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Call { const PALLET: &'static str = "Services"; const CALL: &'static str = "call"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Submit the job result by using the service ID and call ID."] pub struct SubmitResult { #[codec(compact)] @@ -42542,29 +45111,33 @@ pub mod api { use super::runtime_types; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; - pub type Result = ::subxt_core::alloc::vec::Vec< + pub type Result = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SubmitResult { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SubmitResult { const PALLET: &'static str = "Services"; const CALL: &'static str = "submit_result"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Slash an operator (offender) for a service id with a given percent of their exposed stake for that service."] #[doc = ""] #[doc = "The caller needs to be an authorized Slash Origin for this service."] @@ -42579,27 +45152,31 @@ pub mod api { } pub mod slash { use super::runtime_types; - pub type Offender = ::subxt_core::utils::AccountId32; + pub type Offender = ::subxt::ext::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type Percent = runtime_types::sp_arithmetic::per_things::Percent; } - impl ::subxt_core::blocks::StaticExtrinsic for Slash { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Slash { const PALLET: &'static str = "Services"; const CALL: &'static str = "slash"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Dispute an [UnappliedSlash] for a given era and index."] #[doc = ""] #[doc = "The caller needs to be an authorized Dispute Origin for the service in the [UnappliedSlash]."] @@ -42614,10 +45191,38 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Index = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Dispute { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Dispute { const PALLET: &'static str = "Services"; const CALL: &'static str = "dispute"; } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct UpdateMasterBlueprintServiceManager { + pub address: update_master_blueprint_service_manager::Address, + } + pub mod update_master_blueprint_service_manager { + use super::runtime_types; + pub type Address = ::subxt::ext::subxt_core::utils::H160; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateMasterBlueprintServiceManager { + const PALLET: &'static str = "Services"; + const CALL: &'static str = "update_master_blueprint_service_manager"; + } } pub struct TransactionApi; impl TransactionApi { @@ -42632,16 +45237,16 @@ pub mod api { pub fn create_blueprint( &self, blueprint: types::create_blueprint::Blueprint, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "create_blueprint", types::CreateBlueprint { blueprint }, [ - 242u8, 254u8, 204u8, 105u8, 189u8, 10u8, 250u8, 225u8, 217u8, 31u8, - 250u8, 222u8, 81u8, 115u8, 244u8, 237u8, 248u8, 162u8, 154u8, 167u8, - 0u8, 62u8, 9u8, 226u8, 171u8, 159u8, 234u8, 77u8, 80u8, 188u8, 165u8, - 79u8, + 19u8, 125u8, 48u8, 153u8, 57u8, 158u8, 34u8, 194u8, 247u8, 193u8, + 186u8, 71u8, 59u8, 219u8, 32u8, 194u8, 130u8, 14u8, 189u8, 254u8, 60u8, + 231u8, 142u8, 0u8, 40u8, 244u8, 151u8, 203u8, 133u8, 230u8, 125u8, + 186u8, ], ) } @@ -42657,8 +45262,8 @@ pub mod api { pub fn pre_register( &self, blueprint_id: types::pre_register::BlueprintId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "pre_register", types::PreRegister { blueprint_id }, @@ -42678,15 +45283,16 @@ pub mod api { blueprint_id: types::register::BlueprintId, preferences: types::register::Preferences, registration_args: types::register::RegistrationArgs, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + value: types::register::Value, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "register", - types::Register { blueprint_id, preferences, registration_args }, + types::Register { blueprint_id, preferences, registration_args, value }, [ - 55u8, 119u8, 184u8, 246u8, 106u8, 51u8, 174u8, 112u8, 134u8, 83u8, 8u8, - 14u8, 97u8, 158u8, 51u8, 75u8, 95u8, 82u8, 96u8, 139u8, 135u8, 212u8, - 55u8, 160u8, 221u8, 21u8, 91u8, 7u8, 111u8, 70u8, 33u8, 162u8, + 201u8, 151u8, 55u8, 83u8, 6u8, 71u8, 14u8, 243u8, 102u8, 3u8, 104u8, + 131u8, 87u8, 78u8, 80u8, 86u8, 91u8, 94u8, 32u8, 197u8, 59u8, 151u8, + 215u8, 149u8, 43u8, 88u8, 241u8, 71u8, 159u8, 219u8, 161u8, 115u8, ], ) } @@ -42698,8 +45304,8 @@ pub mod api { pub fn unregister( &self, blueprint_id: types::unregister::BlueprintId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "unregister", types::Unregister { blueprint_id }, @@ -42717,8 +45323,9 @@ pub mod api { &self, blueprint_id: types::update_price_targets::BlueprintId, price_targets: types::update_price_targets::PriceTargets, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "update_price_targets", types::UpdatePriceTargets { blueprint_id, price_targets }, @@ -42741,8 +45348,9 @@ pub mod api { request_args: types::request::RequestArgs, assets: types::request::Assets, ttl: types::request::Ttl, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + value: types::request::Value, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "request", types::Request { @@ -42752,12 +45360,12 @@ pub mod api { request_args, assets, ttl, + value, }, [ - 137u8, 228u8, 248u8, 75u8, 210u8, 4u8, 219u8, 114u8, 117u8, 107u8, - 241u8, 88u8, 242u8, 212u8, 231u8, 100u8, 105u8, 110u8, 54u8, 116u8, - 175u8, 133u8, 186u8, 155u8, 11u8, 249u8, 21u8, 203u8, 39u8, 42u8, 87u8, - 151u8, + 89u8, 57u8, 60u8, 236u8, 234u8, 81u8, 60u8, 71u8, 44u8, 92u8, 148u8, + 99u8, 179u8, 21u8, 42u8, 103u8, 1u8, 92u8, 12u8, 55u8, 19u8, 43u8, + 227u8, 134u8, 79u8, 113u8, 58u8, 216u8, 186u8, 58u8, 75u8, 98u8, ], ) } @@ -42769,8 +45377,8 @@ pub mod api { &self, request_id: types::approve::RequestId, restaking_percent: types::approve::RestakingPercent, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "approve", types::Approve { request_id, restaking_percent }, @@ -42787,8 +45395,8 @@ pub mod api { pub fn reject( &self, request_id: types::reject::RequestId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "reject", types::Reject { request_id }, @@ -42804,8 +45412,8 @@ pub mod api { pub fn terminate( &self, service_id: types::terminate::ServiceId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "terminate", types::Terminate { service_id }, @@ -42823,8 +45431,8 @@ pub mod api { service_id: types::call::ServiceId, job: types::call::Job, args: types::call::Args, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "call", types::Call { service_id, job, args }, @@ -42842,8 +45450,8 @@ pub mod api { service_id: types::submit_result::ServiceId, call_id: types::submit_result::CallId, result: types::submit_result::Result, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "submit_result", types::SubmitResult { service_id, call_id, result }, @@ -42865,8 +45473,8 @@ pub mod api { offender: types::slash::Offender, service_id: types::slash::ServiceId, percent: types::slash::Percent, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "slash", types::Slash { offender, service_id, percent }, @@ -42884,8 +45492,8 @@ pub mod api { &self, era: types::dispute::Era, index: types::dispute::Index, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "dispute", types::Dispute { era, index }, @@ -42896,6 +45504,24 @@ pub mod api { ], ) } + pub fn update_master_blueprint_service_manager( + &self, + address: types::update_master_blueprint_service_manager::Address, + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::UpdateMasterBlueprintServiceManager, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( + "Services", + "update_master_blueprint_service_manager", + types::UpdateMasterBlueprintServiceManager { address }, + [ + 252u8, 219u8, 162u8, 106u8, 90u8, 65u8, 108u8, 176u8, 11u8, 107u8, + 15u8, 162u8, 137u8, 205u8, 165u8, 226u8, 66u8, 222u8, 234u8, 231u8, + 20u8, 85u8, 248u8, 147u8, 200u8, 203u8, 51u8, 242u8, 10u8, 152u8, + 167u8, 68u8, + ], + ) + } } } #[doc = "The `Event` enum of this pallet"] @@ -42903,18 +45529,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new service blueprint has been created."] pub struct BlueprintCreated { pub owner: blueprint_created::Owner, @@ -42922,26 +45548,26 @@ pub mod api { } pub mod blueprint_created { use super::runtime_types; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for BlueprintCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintCreated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "BlueprintCreated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has pre-registered for a service blueprint."] pub struct PreRegistration { pub operator: pre_registration::Operator, @@ -42949,26 +45575,26 @@ pub mod api { } pub mod pre_registration { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for PreRegistration { + impl ::subxt::ext::subxt_core::events::StaticEvent for PreRegistration { const PALLET: &'static str = "Services"; const EVENT: &'static str = "PreRegistration"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An new operator has been registered."] pub struct Registered { pub provider: registered::Provider, @@ -42978,33 +45604,33 @@ pub mod api { } pub mod registered { use super::runtime_types; - pub type Provider = ::subxt_core::utils::AccountId32; + pub type Provider = ::subxt::ext::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; pub type Preferences = runtime_types::tangle_primitives::services::OperatorPreferences; - pub type RegistrationArgs = ::subxt_core::alloc::vec::Vec< + pub type RegistrationArgs = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::events::StaticEvent for Registered { + impl ::subxt::ext::subxt_core::events::StaticEvent for Registered { const PALLET: &'static str = "Services"; const EVENT: &'static str = "Registered"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An operator has been unregistered."] pub struct Unregistered { pub operator: unregistered::Operator, @@ -43012,26 +45638,26 @@ pub mod api { } pub mod unregistered { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for Unregistered { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unregistered { const PALLET: &'static str = "Services"; const EVENT: &'static str = "Unregistered"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The price targets for an operator has been updated."] pub struct PriceTargetsUpdated { pub operator: price_targets_updated::Operator, @@ -43040,27 +45666,27 @@ pub mod api { } pub mod price_targets_updated { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type BlueprintId = ::core::primitive::u64; pub type PriceTargets = runtime_types::tangle_primitives::services::PriceTargets; } - impl ::subxt_core::events::StaticEvent for PriceTargetsUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PriceTargetsUpdated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "PriceTargetsUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new service has been requested."] pub struct ServiceRequested { pub owner: service_requested::Owner, @@ -43072,31 +45698,35 @@ pub mod api { } pub mod service_requested { use super::runtime_types; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type PendingApprovals = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type Approved = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type PendingApprovals = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type Approved = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type Assets = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; } - impl ::subxt_core::events::StaticEvent for ServiceRequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequested { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequested"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A service request has been approved."] pub struct ServiceRequestApproved { pub operator: service_request_approved::Operator, @@ -43107,30 +45737,33 @@ pub mod api { } pub mod service_request_approved { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type PendingApprovals = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; - pub type Approved = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type PendingApprovals = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; + pub type Approved = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt_core::events::StaticEvent for ServiceRequestApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequestApproved { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequestApproved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A service request has been rejected."] pub struct ServiceRequestRejected { pub operator: service_request_rejected::Operator, @@ -43139,27 +45772,27 @@ pub mod api { } pub mod service_request_rejected { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for ServiceRequestRejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceRequestRejected { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceRequestRejected"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A service has been initiated."] pub struct ServiceInitiated { pub owner: service_initiated::Owner, @@ -43170,29 +45803,30 @@ pub mod api { } pub mod service_initiated { use super::runtime_types; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type RequestId = ::core::primitive::u64; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; - pub type Assets = ::subxt_core::alloc::vec::Vec<::core::primitive::u128>; + pub type Assets = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>; } - impl ::subxt_core::events::StaticEvent for ServiceInitiated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceInitiated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceInitiated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A service has been terminated."] pub struct ServiceTerminated { pub owner: service_terminated::Owner, @@ -43201,27 +45835,27 @@ pub mod api { } pub mod service_terminated { use super::runtime_types; - pub type Owner = ::subxt_core::utils::AccountId32; + pub type Owner = ::subxt::ext::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for ServiceTerminated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ServiceTerminated { const PALLET: &'static str = "Services"; const EVENT: &'static str = "ServiceTerminated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A job has been called."] pub struct JobCalled { pub caller: job_called::Caller, @@ -43232,33 +45866,33 @@ pub mod api { } pub mod job_called { use super::runtime_types; - pub type Caller = ::subxt_core::utils::AccountId32; + pub type Caller = ::subxt::ext::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Args = ::subxt_core::alloc::vec::Vec< + pub type Args = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::events::StaticEvent for JobCalled { + impl ::subxt::ext::subxt_core::events::StaticEvent for JobCalled { const PALLET: &'static str = "Services"; const EVENT: &'static str = "JobCalled"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A job result has been submitted."] pub struct JobResultSubmitted { pub operator: job_result_submitted::Operator, @@ -43269,62 +45903,33 @@ pub mod api { } pub mod job_result_submitted { use super::runtime_types; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type ServiceId = ::core::primitive::u64; pub type CallId = ::core::primitive::u64; pub type Job = ::core::primitive::u8; - pub type Result = ::subxt_core::alloc::vec::Vec< + pub type Result = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::events::StaticEvent for JobResultSubmitted { + impl ::subxt::ext::subxt_core::events::StaticEvent for JobResultSubmitted { const PALLET: &'static str = "Services"; const EVENT: &'static str = "JobResultSubmitted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - #[doc = "An EVM log has been emitted during an execution."] - pub struct EvmLog { - pub address: evm_log::Address, - pub topics: evm_log::Topics, - pub data: evm_log::Data, - } - pub mod evm_log { - use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; - pub type Topics = ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>; - pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - } - impl ::subxt_core::events::StaticEvent for EvmLog { - const PALLET: &'static str = "Services"; - const EVENT: &'static str = "EvmLog"; - } - #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, - Clone, - Debug, - Eq, - PartialEq, - )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "EVM execution reverted with a reason."] pub struct EvmReverted { pub from: evm_reverted::From, @@ -43334,28 +45939,28 @@ pub mod api { } pub mod evm_reverted { use super::runtime_types; - pub type From = ::subxt_core::utils::H160; - pub type To = ::subxt_core::utils::H160; - pub type Data = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; - pub type Reason = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type From = ::subxt::ext::subxt_core::utils::H160; + pub type To = ::subxt::ext::subxt_core::utils::H160; + pub type Data = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Reason = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::events::StaticEvent for EvmReverted { + impl ::subxt::ext::subxt_core::events::StaticEvent for EvmReverted { const PALLET: &'static str = "Services"; const EVENT: &'static str = "EvmReverted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An Operator has an unapplied slash."] pub struct UnappliedSlash { pub index: unapplied_slash::Index, @@ -43368,29 +45973,29 @@ pub mod api { pub mod unapplied_slash { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; pub type Era = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for UnappliedSlash { + impl ::subxt::ext::subxt_core::events::StaticEvent for UnappliedSlash { const PALLET: &'static str = "Services"; const EVENT: &'static str = "UnappliedSlash"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An Unapplied Slash got discarded."] pub struct SlashDiscarded { pub index: slash_discarded::Index, @@ -43403,16 +46008,43 @@ pub mod api { pub mod slash_discarded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Operator = ::subxt_core::utils::AccountId32; + pub type Operator = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type ServiceId = ::core::primitive::u64; pub type BlueprintId = ::core::primitive::u64; pub type Era = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for SlashDiscarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SlashDiscarded { const PALLET: &'static str = "Services"; const EVENT: &'static str = "SlashDiscarded"; } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[doc = "The Master Blueprint Service Manager has been revised."] + pub struct MasterBlueprintServiceManagerRevised { + pub revision: master_blueprint_service_manager_revised::Revision, + pub address: master_blueprint_service_manager_revised::Address, + } + pub mod master_blueprint_service_manager_revised { + use super::runtime_types; + pub type Revision = ::core::primitive::u32; + pub type Address = ::subxt::ext::subxt_core::utils::H160; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for MasterBlueprintServiceManagerRevised { + const PALLET: &'static str = "Services"; + const EVENT: &'static str = "MasterBlueprintServiceManagerRevised"; + } } pub mod storage { use super::runtime_types; @@ -43441,7 +46073,7 @@ pub mod api { pub mod blueprints { use super::runtime_types; pub type Blueprints = ( - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::tangle_primitives::services::ServiceBlueprint, ); pub type Param0 = ::core::primitive::u64; @@ -43451,13 +46083,13 @@ pub mod api { pub type Operators = runtime_types::tangle_primitives::services::OperatorPreferences; pub type Param0 = ::core::primitive::u64; - pub type Param1 = ::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod service_requests { use super::runtime_types; pub type ServiceRequests = runtime_types::tangle_primitives::services::ServiceRequest< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, ::core::primitive::u128, >; @@ -43466,7 +46098,7 @@ pub mod api { pub mod instances { use super::runtime_types; pub type Instances = runtime_types::tangle_primitives::services::Service< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u64, ::core::primitive::u128, >; @@ -43478,12 +46110,12 @@ pub mod api { runtime_types::bounded_collections::bounded_btree_set::BoundedBTreeSet< ::core::primitive::u64, >; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod job_calls { use super::runtime_types; pub type JobCalls = runtime_types::tangle_primitives::services::JobCall< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u64; pub type Param1 = ::core::primitive::u64; @@ -43491,7 +46123,7 @@ pub mod api { pub mod job_results { use super::runtime_types; pub type JobResults = runtime_types::tangle_primitives::services::JobCallResult< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type Param0 = ::core::primitive::u64; pub type Param1 = ::core::primitive::u64; @@ -43500,17 +46132,24 @@ pub mod api { use super::runtime_types; pub type UnappliedSlashes = runtime_types::pallet_services::types::UnappliedSlash< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; pub type Param1 = ::core::primitive::u32; } + pub mod master_blueprint_service_manager_revisions { + use super::runtime_types; + pub type MasterBlueprintServiceManagerRevisions = + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::subxt::ext::subxt_core::utils::H160, + >; + } pub mod operators_profile { use super::runtime_types; pub type OperatorsProfile = runtime_types::tangle_primitives::services::OperatorProfile; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -43518,14 +46157,14 @@ pub mod api { #[doc = " The next free ID for a service blueprint."] pub fn next_blueprint_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_blueprint_id::NextBlueprintId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextBlueprintId", (), @@ -43539,14 +46178,14 @@ pub mod api { #[doc = " The next free ID for a service request."] pub fn next_service_request_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_service_request_id::NextServiceRequestId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextServiceRequestId", (), @@ -43560,14 +46199,14 @@ pub mod api { #[doc = " The next free ID for a service Instance."] pub fn next_instance_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_instance_id::NextInstanceId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextInstanceId", (), @@ -43581,14 +46220,14 @@ pub mod api { #[doc = " The next free ID for a service call."] pub fn next_job_call_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_job_call_id::NextJobCallId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextJobCallId", (), @@ -43602,14 +46241,14 @@ pub mod api { #[doc = " The next free ID for a unapplied slash."] pub fn next_unapplied_slash_index( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::next_unapplied_slash_index::NextUnappliedSlashIndex, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "NextUnappliedSlashIndex", (), @@ -43624,22 +46263,22 @@ pub mod api { #[doc = " The service blueprints along with their owner."] pub fn blueprints_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::blueprints::Blueprints, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Blueprints", (), [ - 139u8, 54u8, 53u8, 146u8, 217u8, 215u8, 98u8, 222u8, 251u8, 167u8, - 116u8, 132u8, 151u8, 242u8, 202u8, 45u8, 69u8, 144u8, 15u8, 57u8, - 191u8, 132u8, 232u8, 145u8, 227u8, 190u8, 215u8, 159u8, 118u8, 206u8, - 138u8, 153u8, + 128u8, 96u8, 251u8, 173u8, 221u8, 227u8, 202u8, 143u8, 95u8, 146u8, + 91u8, 134u8, 174u8, 134u8, 229u8, 40u8, 99u8, 115u8, 180u8, 135u8, + 144u8, 94u8, 17u8, 43u8, 69u8, 81u8, 46u8, 127u8, 238u8, 179u8, 51u8, + 58u8, ], ) } @@ -43647,22 +46286,26 @@ pub mod api { pub fn blueprints( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::blueprints::Param0, + >, types::blueprints::Blueprints, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Blueprints", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 139u8, 54u8, 53u8, 146u8, 217u8, 215u8, 98u8, 222u8, 251u8, 167u8, - 116u8, 132u8, 151u8, 242u8, 202u8, 45u8, 69u8, 144u8, 15u8, 57u8, - 191u8, 132u8, 232u8, 145u8, 227u8, 190u8, 215u8, 159u8, 118u8, 206u8, - 138u8, 153u8, + 128u8, 96u8, 251u8, 173u8, 221u8, 227u8, 202u8, 143u8, 95u8, 146u8, + 91u8, 134u8, 174u8, 134u8, 229u8, 40u8, 99u8, 115u8, 180u8, 135u8, + 144u8, 94u8, 17u8, 43u8, 69u8, 81u8, 46u8, 127u8, 238u8, 179u8, 51u8, + 58u8, ], ) } @@ -43670,21 +46313,21 @@ pub mod api { #[doc = " Blueprint ID -> Operator -> Operator Preferences"] pub fn operators_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::operators::Operators, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", (), [ - 93u8, 238u8, 51u8, 207u8, 28u8, 222u8, 167u8, 25u8, 219u8, 57u8, 14u8, - 79u8, 66u8, 6u8, 236u8, 103u8, 26u8, 247u8, 189u8, 151u8, 134u8, 181u8, - 93u8, 99u8, 252u8, 39u8, 181u8, 54u8, 212u8, 155u8, 57u8, 8u8, + 164u8, 199u8, 127u8, 97u8, 14u8, 98u8, 66u8, 133u8, 3u8, 218u8, 5u8, + 49u8, 134u8, 227u8, 66u8, 91u8, 217u8, 108u8, 148u8, 61u8, 242u8, 78u8, + 193u8, 140u8, 172u8, 152u8, 229u8, 232u8, 18u8, 60u8, 161u8, 41u8, ], ) } @@ -43693,21 +46336,25 @@ pub mod api { pub fn operators_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::operators::Param0, + >, types::operators::Operators, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 93u8, 238u8, 51u8, 207u8, 28u8, 222u8, 167u8, 25u8, 219u8, 57u8, 14u8, - 79u8, 66u8, 6u8, 236u8, 103u8, 26u8, 247u8, 189u8, 151u8, 134u8, 181u8, - 93u8, 99u8, 252u8, 39u8, 181u8, 54u8, 212u8, 155u8, 57u8, 8u8, + 164u8, 199u8, 127u8, 97u8, 14u8, 98u8, 66u8, 133u8, 3u8, 218u8, 5u8, + 49u8, 134u8, 227u8, 66u8, 91u8, 217u8, 108u8, 148u8, 61u8, 242u8, 78u8, + 193u8, 140u8, 172u8, 152u8, 229u8, 232u8, 18u8, 60u8, 161u8, 41u8, ], ) } @@ -43717,27 +46364,35 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::operators::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::operators::Param1, + >, ), types::operators::Operators, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Operators", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 93u8, 238u8, 51u8, 207u8, 28u8, 222u8, 167u8, 25u8, 219u8, 57u8, 14u8, - 79u8, 66u8, 6u8, 236u8, 103u8, 26u8, 247u8, 189u8, 151u8, 134u8, 181u8, - 93u8, 99u8, 252u8, 39u8, 181u8, 54u8, 212u8, 155u8, 57u8, 8u8, + 164u8, 199u8, 127u8, 97u8, 14u8, 98u8, 66u8, 133u8, 3u8, 218u8, 5u8, + 49u8, 134u8, 227u8, 66u8, 91u8, 217u8, 108u8, 148u8, 61u8, 242u8, 78u8, + 193u8, 140u8, 172u8, 152u8, 229u8, 232u8, 18u8, 60u8, 161u8, 41u8, ], ) } @@ -43745,21 +46400,21 @@ pub mod api { #[doc = " Request ID -> Service Request"] pub fn service_requests_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::service_requests::ServiceRequests, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "ServiceRequests", (), [ - 135u8, 208u8, 92u8, 144u8, 230u8, 140u8, 76u8, 70u8, 14u8, 253u8, - 187u8, 44u8, 212u8, 132u8, 113u8, 135u8, 181u8, 79u8, 18u8, 19u8, 8u8, - 74u8, 145u8, 95u8, 8u8, 33u8, 170u8, 75u8, 116u8, 108u8, 151u8, 224u8, + 92u8, 49u8, 14u8, 154u8, 29u8, 210u8, 138u8, 91u8, 151u8, 226u8, 221u8, + 114u8, 248u8, 45u8, 245u8, 254u8, 111u8, 214u8, 147u8, 250u8, 173u8, + 241u8, 197u8, 2u8, 223u8, 27u8, 216u8, 162u8, 87u8, 93u8, 222u8, 12u8, ], ) } @@ -43768,23 +46423,25 @@ pub mod api { pub fn service_requests( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::service_requests::Param0, >, types::service_requests::ServiceRequests, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "ServiceRequests", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 135u8, 208u8, 92u8, 144u8, 230u8, 140u8, 76u8, 70u8, 14u8, 253u8, - 187u8, 44u8, 212u8, 132u8, 113u8, 135u8, 181u8, 79u8, 18u8, 19u8, 8u8, - 74u8, 145u8, 95u8, 8u8, 33u8, 170u8, 75u8, 116u8, 108u8, 151u8, 224u8, + 92u8, 49u8, 14u8, 154u8, 29u8, 210u8, 138u8, 91u8, 151u8, 226u8, 221u8, + 114u8, 248u8, 45u8, 245u8, 254u8, 111u8, 214u8, 147u8, 250u8, 173u8, + 241u8, 197u8, 2u8, 223u8, 27u8, 216u8, 162u8, 87u8, 93u8, 222u8, 12u8, ], ) } @@ -43792,21 +46449,22 @@ pub mod api { #[doc = " Service ID -> Service"] pub fn instances_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::instances::Instances, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Instances", (), [ - 86u8, 166u8, 251u8, 232u8, 110u8, 184u8, 109u8, 201u8, 252u8, 167u8, - 245u8, 44u8, 15u8, 117u8, 138u8, 92u8, 114u8, 15u8, 110u8, 176u8, 59u8, - 8u8, 192u8, 154u8, 94u8, 83u8, 235u8, 134u8, 217u8, 98u8, 184u8, 96u8, + 219u8, 177u8, 116u8, 70u8, 123u8, 19u8, 195u8, 108u8, 154u8, 204u8, + 221u8, 131u8, 254u8, 20u8, 56u8, 29u8, 41u8, 105u8, 35u8, 213u8, 252u8, + 44u8, 118u8, 125u8, 82u8, 215u8, 54u8, 131u8, 154u8, 111u8, 105u8, + 246u8, ], ) } @@ -43815,21 +46473,26 @@ pub mod api { pub fn instances( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::instances::Param0, + >, types::instances::Instances, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "Instances", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 86u8, 166u8, 251u8, 232u8, 110u8, 184u8, 109u8, 201u8, 252u8, 167u8, - 245u8, 44u8, 15u8, 117u8, 138u8, 92u8, 114u8, 15u8, 110u8, 176u8, 59u8, - 8u8, 192u8, 154u8, 94u8, 83u8, 235u8, 134u8, 217u8, 98u8, 184u8, 96u8, + 219u8, 177u8, 116u8, 70u8, 123u8, 19u8, 195u8, 108u8, 154u8, 204u8, + 221u8, 131u8, 254u8, 20u8, 56u8, 29u8, 41u8, 105u8, 35u8, 213u8, 252u8, + 44u8, 118u8, 125u8, 82u8, 215u8, 54u8, 131u8, 154u8, 111u8, 105u8, + 246u8, ], ) } @@ -43837,14 +46500,14 @@ pub mod api { #[doc = " User Account ID -> Service ID"] pub fn user_services_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::user_services::UserServices, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "UserServices", (), @@ -43861,17 +46524,21 @@ pub mod api { pub fn user_services( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::user_services::Param0, + >, types::user_services::UserServices, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "UserServices", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 228u8, 80u8, 139u8, 177u8, 57u8, 117u8, 175u8, 212u8, 37u8, 201u8, 176u8, 12u8, 79u8, 136u8, 65u8, 250u8, 105u8, 37u8, 13u8, 176u8, 86u8, @@ -43884,22 +46551,21 @@ pub mod api { #[doc = " Service ID -> Call ID -> Job Call"] pub fn job_calls_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::job_calls::JobCalls, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", (), [ - 101u8, 28u8, 142u8, 190u8, 194u8, 80u8, 51u8, 249u8, 248u8, 125u8, - 227u8, 138u8, 123u8, 163u8, 193u8, 43u8, 85u8, 3u8, 249u8, 93u8, 112u8, - 39u8, 214u8, 196u8, 187u8, 228u8, 200u8, 170u8, 212u8, 154u8, 89u8, - 70u8, + 210u8, 66u8, 128u8, 255u8, 41u8, 25u8, 204u8, 100u8, 45u8, 122u8, 29u8, + 103u8, 47u8, 49u8, 21u8, 182u8, 4u8, 212u8, 199u8, 119u8, 107u8, 59u8, + 94u8, 82u8, 70u8, 184u8, 131u8, 151u8, 80u8, 223u8, 172u8, 178u8, ], ) } @@ -43908,22 +46574,25 @@ pub mod api { pub fn job_calls_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::job_calls::Param0, + >, types::job_calls::JobCalls, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 101u8, 28u8, 142u8, 190u8, 194u8, 80u8, 51u8, 249u8, 248u8, 125u8, - 227u8, 138u8, 123u8, 163u8, 193u8, 43u8, 85u8, 3u8, 249u8, 93u8, 112u8, - 39u8, 214u8, 196u8, 187u8, 228u8, 200u8, 170u8, 212u8, 154u8, 89u8, - 70u8, + 210u8, 66u8, 128u8, 255u8, 41u8, 25u8, 204u8, 100u8, 45u8, 122u8, 29u8, + 103u8, 47u8, 49u8, 21u8, 182u8, 4u8, 212u8, 199u8, 119u8, 107u8, 59u8, + 94u8, 82u8, 70u8, 184u8, 131u8, 151u8, 80u8, 223u8, 172u8, 178u8, ], ) } @@ -43933,28 +46602,35 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey, - ::subxt_core::storage::address::StaticStorageKey, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::job_calls::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::job_calls::Param1, + >, ), types::job_calls::JobCalls, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobCalls", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 101u8, 28u8, 142u8, 190u8, 194u8, 80u8, 51u8, 249u8, 248u8, 125u8, - 227u8, 138u8, 123u8, 163u8, 193u8, 43u8, 85u8, 3u8, 249u8, 93u8, 112u8, - 39u8, 214u8, 196u8, 187u8, 228u8, 200u8, 170u8, 212u8, 154u8, 89u8, - 70u8, + 210u8, 66u8, 128u8, 255u8, 41u8, 25u8, 204u8, 100u8, 45u8, 122u8, 29u8, + 103u8, 47u8, 49u8, 21u8, 182u8, 4u8, 212u8, 199u8, 119u8, 107u8, 59u8, + 94u8, 82u8, 70u8, 184u8, 131u8, 151u8, 80u8, 223u8, 172u8, 178u8, ], ) } @@ -43962,22 +46638,21 @@ pub mod api { #[doc = " Service ID -> Call ID -> Job Call Result"] pub fn job_results_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::job_results::JobResults, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", (), [ - 51u8, 245u8, 21u8, 132u8, 225u8, 158u8, 160u8, 42u8, 194u8, 236u8, - 59u8, 218u8, 135u8, 187u8, 180u8, 144u8, 27u8, 20u8, 113u8, 14u8, - 121u8, 178u8, 164u8, 139u8, 153u8, 163u8, 43u8, 251u8, 109u8, 252u8, - 131u8, 181u8, + 254u8, 193u8, 251u8, 72u8, 66u8, 54u8, 149u8, 100u8, 181u8, 169u8, + 170u8, 162u8, 209u8, 71u8, 148u8, 26u8, 93u8, 110u8, 187u8, 91u8, 28u8, + 120u8, 63u8, 93u8, 3u8, 59u8, 39u8, 147u8, 235u8, 126u8, 167u8, 108u8, ], ) } @@ -43986,22 +46661,25 @@ pub mod api { pub fn job_results_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::job_results::Param0, + >, types::job_results::JobResults, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 51u8, 245u8, 21u8, 132u8, 225u8, 158u8, 160u8, 42u8, 194u8, 236u8, - 59u8, 218u8, 135u8, 187u8, 180u8, 144u8, 27u8, 20u8, 113u8, 14u8, - 121u8, 178u8, 164u8, 139u8, 153u8, 163u8, 43u8, 251u8, 109u8, 252u8, - 131u8, 181u8, + 254u8, 193u8, 251u8, 72u8, 66u8, 54u8, 149u8, 100u8, 181u8, 169u8, + 170u8, 162u8, 209u8, 71u8, 148u8, 26u8, 93u8, 110u8, 187u8, 91u8, 28u8, + 120u8, 63u8, 93u8, 3u8, 59u8, 39u8, 147u8, 235u8, 126u8, 167u8, 108u8, ], ) } @@ -44011,32 +46689,35 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::job_results::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::job_results::Param1, >, ), types::job_results::JobResults, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "JobResults", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 51u8, 245u8, 21u8, 132u8, 225u8, 158u8, 160u8, 42u8, 194u8, 236u8, - 59u8, 218u8, 135u8, 187u8, 180u8, 144u8, 27u8, 20u8, 113u8, 14u8, - 121u8, 178u8, 164u8, 139u8, 153u8, 163u8, 43u8, 251u8, 109u8, 252u8, - 131u8, 181u8, + 254u8, 193u8, 251u8, 72u8, 66u8, 54u8, 149u8, 100u8, 181u8, 169u8, + 170u8, 162u8, 209u8, 71u8, 148u8, 26u8, 93u8, 110u8, 187u8, 91u8, 28u8, + 120u8, 63u8, 93u8, 3u8, 59u8, 39u8, 147u8, 235u8, 126u8, 167u8, 108u8, ], ) } @@ -44045,22 +46726,22 @@ pub mod api { #[doc = " EraIndex -> Index -> UnappliedSlash"] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", (), [ - 223u8, 174u8, 85u8, 241u8, 227u8, 154u8, 43u8, 144u8, 199u8, 118u8, - 187u8, 255u8, 252u8, 48u8, 64u8, 124u8, 73u8, 110u8, 144u8, 247u8, - 91u8, 46u8, 248u8, 6u8, 203u8, 30u8, 110u8, 45u8, 78u8, 194u8, 58u8, - 125u8, + 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, + 110u8, 58u8, 162u8, 117u8, 169u8, 140u8, 71u8, 132u8, 11u8, 255u8, + 112u8, 187u8, 4u8, 46u8, 22u8, 107u8, 20u8, 139u8, 49u8, 181u8, 45u8, + 61u8, ], ) } @@ -44070,24 +46751,26 @@ pub mod api { pub fn unapplied_slashes_iter1( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 223u8, 174u8, 85u8, 241u8, 227u8, 154u8, 43u8, 144u8, 199u8, 118u8, - 187u8, 255u8, 252u8, 48u8, 64u8, 124u8, 73u8, 110u8, 144u8, 247u8, - 91u8, 46u8, 248u8, 6u8, 203u8, 30u8, 110u8, 45u8, 78u8, 194u8, 58u8, - 125u8, + 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, + 110u8, 58u8, 162u8, 117u8, 169u8, 140u8, 71u8, 132u8, 11u8, 255u8, + 112u8, 187u8, 4u8, 46u8, 22u8, 107u8, 20u8, 139u8, 49u8, 181u8, 45u8, + 61u8, ], ) } @@ -44098,75 +46781,95 @@ pub mod api { &self, _0: impl ::core::borrow::Borrow, _1: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< ( - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unapplied_slashes::Param1, >, ), types::unapplied_slashes::UnappliedSlashes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "UnappliedSlashes", ( - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), - ::subxt_core::storage::address::StaticStorageKey::new(_1.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), ), [ - 223u8, 174u8, 85u8, 241u8, 227u8, 154u8, 43u8, 144u8, 199u8, 118u8, - 187u8, 255u8, 252u8, 48u8, 64u8, 124u8, 73u8, 110u8, 144u8, 247u8, - 91u8, 46u8, 248u8, 6u8, 203u8, 30u8, 110u8, 45u8, 78u8, 194u8, 58u8, - 125u8, + 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, + 110u8, 58u8, 162u8, 117u8, 169u8, 140u8, 71u8, 132u8, 11u8, 255u8, + 112u8, 187u8, 4u8, 46u8, 22u8, 107u8, 20u8, 139u8, 49u8, 181u8, 45u8, + 61u8, + ], + ) + } + #[doc = " All the Master Blueprint Service Managers revisions."] + #[doc = ""] + #[doc = " Where the index is the revision number."] pub fn master_blueprint_service_manager_revisions (& self ,) -> :: subxt :: ext :: subxt_core :: storage :: address :: StaticAddress :: < () , types :: master_blueprint_service_manager_revisions :: MasterBlueprintServiceManagerRevisions , :: subxt :: ext :: subxt_core :: utils :: Yes , :: subxt :: ext :: subxt_core :: utils :: Yes , () >{ + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "Services", + "MasterBlueprintServiceManagerRevisions", + (), + [ + 189u8, 128u8, 221u8, 221u8, 88u8, 201u8, 75u8, 183u8, 233u8, 149u8, + 188u8, 66u8, 88u8, 166u8, 249u8, 15u8, 140u8, 119u8, 83u8, 86u8, 106u8, + 68u8, 14u8, 1u8, 194u8, 48u8, 241u8, 18u8, 19u8, 133u8, 114u8, 167u8, ], ) } pub fn operators_profile_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::operators_profile::OperatorsProfile, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "OperatorsProfile", (), [ - 148u8, 139u8, 113u8, 73u8, 167u8, 41u8, 2u8, 55u8, 48u8, 228u8, 14u8, - 63u8, 148u8, 159u8, 25u8, 74u8, 126u8, 39u8, 211u8, 235u8, 103u8, 79u8, - 45u8, 21u8, 86u8, 231u8, 13u8, 148u8, 92u8, 175u8, 197u8, 21u8, + 89u8, 71u8, 163u8, 108u8, 71u8, 192u8, 181u8, 164u8, 168u8, 126u8, + 228u8, 122u8, 159u8, 83u8, 66u8, 59u8, 179u8, 218u8, 96u8, 67u8, 172u8, + 65u8, 62u8, 156u8, 69u8, 85u8, 38u8, 217u8, 93u8, 8u8, 58u8, 115u8, ], ) } pub fn operators_profile( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::operators_profile::Param0, >, types::operators_profile::OperatorsProfile, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Services", "OperatorsProfile", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 148u8, 139u8, 113u8, 73u8, 167u8, 41u8, 2u8, 55u8, 48u8, 228u8, 14u8, - 63u8, 148u8, 159u8, 25u8, 74u8, 126u8, 39u8, 211u8, 235u8, 103u8, 79u8, - 45u8, 21u8, 86u8, 231u8, 13u8, 148u8, 92u8, 175u8, 197u8, 21u8, + 89u8, 71u8, 163u8, 108u8, 71u8, 192u8, 181u8, 164u8, 168u8, 126u8, + 228u8, 122u8, 159u8, 83u8, 66u8, 59u8, 179u8, 218u8, 96u8, 67u8, 172u8, + 65u8, 62u8, 156u8, 69u8, 85u8, 38u8, 217u8, 93u8, 8u8, 58u8, 115u8, ], ) } @@ -44176,27 +46879,30 @@ pub mod api { use super::runtime_types; pub struct ConstantsApi; impl ConstantsApi { - #[doc = " `PalletId` for the services pallet."] - pub fn pallet_id( + #[doc = " `Pallet` EVM Address."] + pub fn pallet_evm_address( &self, - ) -> ::subxt_core::constants::address::StaticAddress< - runtime_types::frame_support::PalletId, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::subxt::ext::subxt_core::utils::H160, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", - "PalletId", + "PalletEVMAddress", [ - 56u8, 243u8, 53u8, 83u8, 154u8, 179u8, 170u8, 80u8, 133u8, 173u8, 61u8, - 161u8, 47u8, 225u8, 146u8, 21u8, 50u8, 229u8, 248u8, 27u8, 104u8, 58u8, - 129u8, 197u8, 102u8, 160u8, 168u8, 205u8, 154u8, 42u8, 217u8, 53u8, + 184u8, 103u8, 76u8, 37u8, 218u8, 155u8, 125u8, 78u8, 138u8, 122u8, + 255u8, 132u8, 124u8, 68u8, 65u8, 163u8, 97u8, 77u8, 80u8, 33u8, 69u8, + 55u8, 69u8, 230u8, 83u8, 135u8, 254u8, 221u8, 222u8, 177u8, 10u8, + 189u8, ], ) } #[doc = " Maximum number of fields in a job call."] pub fn max_fields( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxFields", [ @@ -44210,8 +46916,10 @@ pub mod api { #[doc = " Maximum size of a field in a job call."] pub fn max_fields_size( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxFieldsSize", [ @@ -44225,8 +46933,10 @@ pub mod api { #[doc = " Maximum length of metadata string length."] pub fn max_metadata_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxMetadataLength", [ @@ -44240,8 +46950,10 @@ pub mod api { #[doc = " Maximum number of jobs per service."] pub fn max_jobs_per_service( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxJobsPerService", [ @@ -44255,8 +46967,10 @@ pub mod api { #[doc = " Maximum number of Operators per service."] pub fn max_operators_per_service( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxOperatorsPerService", [ @@ -44270,8 +46984,10 @@ pub mod api { #[doc = " Maximum number of permitted callers per service."] pub fn max_permitted_callers( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxPermittedCallers", [ @@ -44285,8 +47001,10 @@ pub mod api { #[doc = " Maximum number of services per operator."] pub fn max_services_per_operator( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxServicesPerOperator", [ @@ -44300,8 +47018,10 @@ pub mod api { #[doc = " Maximum number of blueprints per operator."] pub fn max_blueprints_per_operator( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBlueprintsPerOperator", [ @@ -44315,8 +47035,10 @@ pub mod api { #[doc = " Maximum number of services per user."] pub fn max_services_per_user( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxServicesPerUser", [ @@ -44330,8 +47052,10 @@ pub mod api { #[doc = " Maximum number of binaries per gadget."] pub fn max_binaries_per_gadget( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBinariesPerGadget", [ @@ -44345,8 +47069,10 @@ pub mod api { #[doc = " Maximum number of sources per gadget."] pub fn max_sources_per_gadget( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxSourcesPerGadget", [ @@ -44360,8 +47086,10 @@ pub mod api { #[doc = " Git owner maximum length."] pub fn max_git_owner_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitOwnerLength", [ @@ -44375,8 +47103,10 @@ pub mod api { #[doc = " Git repository maximum length."] pub fn max_git_repo_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitRepoLength", [ @@ -44390,8 +47120,10 @@ pub mod api { #[doc = " Git tag maximum length."] pub fn max_git_tag_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxGitTagLength", [ @@ -44405,8 +47137,10 @@ pub mod api { #[doc = " binary name maximum length."] pub fn max_binary_name_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxBinaryNameLength", [ @@ -44420,8 +47154,10 @@ pub mod api { #[doc = " IPFS hash maximum length."] pub fn max_ipfs_hash_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxIpfsHashLength", [ @@ -44435,8 +47171,10 @@ pub mod api { #[doc = " Container registry maximum length."] pub fn max_container_registry_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerRegistryLength", [ @@ -44450,8 +47188,10 @@ pub mod api { #[doc = " Container image name maximum length."] pub fn max_container_image_name_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerImageNameLength", [ @@ -44465,8 +47205,10 @@ pub mod api { #[doc = " Container image tag maximum length."] pub fn max_container_image_tag_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxContainerImageTagLength", [ @@ -44480,8 +47222,10 @@ pub mod api { #[doc = " Maximum number of assets per service."] pub fn max_assets_per_service( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "MaxAssetsPerService", [ @@ -44492,14 +47236,33 @@ pub mod api { ], ) } + #[doc = " Maximum number of versions of Master Blueprint Service Manager allowed."] + pub fn max_master_blueprint_service_manager_versions( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "Services", + "MaxMasterBlueprintServiceManagerVersions", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } #[doc = " Number of eras that slashes are deferred by, after computation."] #[doc = ""] #[doc = " This should be less than the bonding duration. Set to 0 if slashes"] #[doc = " should be applied immediately, without opportunity for intervention."] pub fn slash_defer_duration( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "SlashDeferDuration", [ @@ -44527,18 +47290,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Stake funds with a pool. The amount to bond is transferred from the member to the"] #[doc = "pools account and immediately increases the pools bond."] #[doc = ""] @@ -44557,23 +47324,27 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Join { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Join { const PALLET: &'static str = "Lst"; const CALL: &'static str = "join"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] #[doc = ""] #[doc = "Additional funds can come from either the free balance of the account, of from the"] @@ -44591,23 +47362,27 @@ pub mod api { pub type Extra = runtime_types::pallet_tangle_lst::types::BondExtra<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for BondExtra { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtra { const PALLET: &'static str = "Lst"; const CALL: &'static str = "bond_extra"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] #[doc = "implicitly collects the rewards one last time, since not doing so would mean some"] #[doc = "rewards would be forfeited."] @@ -44647,30 +47422,34 @@ pub mod api { } pub mod unbond { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type UnbondingPoints = ::core::primitive::u128; } - impl ::subxt_core::blocks::StaticExtrinsic for Unbond { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbond { const PALLET: &'static str = "Lst"; const CALL: &'static str = "unbond"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] #[doc = ""] #[doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] @@ -44686,23 +47465,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PoolWithdrawUnbonded { const PALLET: &'static str = "Lst"; const CALL: &'static str = "pool_withdraw_unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] #[doc = "error is returned."] #[doc = ""] @@ -44729,30 +47512,34 @@ pub mod api { } pub mod withdraw_unbonded { use super::runtime_types; - pub type MemberAccount = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type MemberAccount = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type NumSlashingSpans = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithdrawUnbonded { const PALLET: &'static str = "Lst"; const CALL: &'static str = "withdraw_unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a new delegation pool."] #[doc = ""] #[doc = "# Arguments"] @@ -44782,16 +47569,16 @@ pub mod api { pub mod create { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type Name = ::core::option::Option< @@ -44805,23 +47592,27 @@ pub mod api { >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "Lst"; const CALL: &'static str = "create"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Create a new delegation pool with a previously used pool id"] #[doc = ""] #[doc = "# Arguments"] @@ -44841,16 +47632,16 @@ pub mod api { pub mod create_with_pool_id { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Root = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Root = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Nominator = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Nominator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; - pub type Bouncer = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Bouncer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; @@ -44865,23 +47656,27 @@ pub mod api { >, >; } - impl ::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateWithPoolId { const PALLET: &'static str = "Lst"; const CALL: &'static str = "create_with_pool_id"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Nominate on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] @@ -44896,26 +47691,31 @@ pub mod api { pub mod nominate { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Validators = - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt_core::blocks::StaticExtrinsic for Nominate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Nominate { const PALLET: &'static str = "Lst"; const CALL: &'static str = "nominate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a new state for the pool."] #[doc = ""] #[doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] @@ -44935,23 +47735,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type State = runtime_types::pallet_tangle_lst::types::pools::PoolState; } - impl ::subxt_core::blocks::StaticExtrinsic for SetState { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetState { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_state"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set a new metadata for the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] @@ -44963,25 +47767,30 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Metadata = ::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type Metadata = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_metadata"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update configurations for the nomination pools. The origin for this call must be"] #[doc = "Root."] #[doc = ""] @@ -45012,23 +47821,27 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Perbill, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetConfigs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetConfigs { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_configs"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Update the roles of the pool."] #[doc = ""] #[doc = "The root is the only entity that can change any of the roles, including itself,"] @@ -45046,32 +47859,36 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; pub type NewRoot = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type NewNominator = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; pub type NewBouncer = runtime_types::pallet_tangle_lst::types::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdateRoles { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateRoles { const PALLET: &'static str = "Lst"; const CALL: &'static str = "update_roles"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Chill on behalf of the pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] @@ -45086,23 +47903,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for Chill { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Chill { const PALLET: &'static str = "Lst"; const CALL: &'static str = "chill"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] #[doc = "pools."] #[doc = ""] @@ -45119,31 +47940,35 @@ pub mod api { } pub mod bond_extra_other { use super::runtime_types; - pub type Member = ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + pub type Member = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >; pub type PoolId = ::core::primitive::u32; pub type Extra = runtime_types::pallet_tangle_lst::types::BondExtra<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for BondExtraOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BondExtraOther { const PALLET: &'static str = "Lst"; const CALL: &'static str = "bond_extra_other"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the commission of a pool."] #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] #[doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] @@ -45158,26 +47983,30 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewCommission = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the maximum commission of a pool."] #[doc = ""] #[doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] @@ -45192,23 +48021,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionMax { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_max"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set the commission change rate for a pool."] #[doc = ""] #[doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] @@ -45225,23 +48058,27 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionChangeRate { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_change_rate"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Claim pending commission."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] @@ -45254,23 +48091,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimCommission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimCommission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "claim_commission"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Top up the deficit or withdraw the excess ED from the pool."] #[doc = ""] #[doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] @@ -45285,23 +48126,27 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AdjustPoolDeposit { const PALLET: &'static str = "Lst"; const CALL: &'static str = "adjust_pool_deposit"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Set or remove a pool's commission claim permission."] #[doc = ""] #[doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] @@ -45313,9 +48158,9 @@ pub mod api { pub mod set_commission_claim_permission { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Permission = :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > ; + pub type Permission = :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > ; } - impl ::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCommissionClaimPermission { const PALLET: &'static str = "Lst"; const CALL: &'static str = "set_commission_claim_permission"; } @@ -45334,8 +48179,8 @@ pub mod api { &self, amount: types::join::Amount, pool_id: types::join::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "join", types::Join { amount, pool_id }, @@ -45357,8 +48202,8 @@ pub mod api { &self, pool_id: types::bond_extra::PoolId, extra: types::bond_extra::Extra, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "bond_extra", types::BondExtra { pool_id, extra }, @@ -45405,8 +48250,8 @@ pub mod api { member_account: types::unbond::MemberAccount, pool_id: types::unbond::PoolId, unbonding_points: types::unbond::UnbondingPoints, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "unbond", types::Unbond { member_account, pool_id, unbonding_points }, @@ -45428,8 +48273,9 @@ pub mod api { &self, pool_id: types::pool_withdraw_unbonded::PoolId, num_slashing_spans: types::pool_withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "pool_withdraw_unbonded", types::PoolWithdrawUnbonded { pool_id, num_slashing_spans }, @@ -45465,8 +48311,8 @@ pub mod api { member_account: types::withdraw_unbonded::MemberAccount, pool_id: types::withdraw_unbonded::PoolId, num_slashing_spans: types::withdraw_unbonded::NumSlashingSpans, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "withdraw_unbonded", types::WithdrawUnbonded { member_account, pool_id, num_slashing_spans }, @@ -45503,8 +48349,8 @@ pub mod api { bouncer: types::create::Bouncer, name: types::create::Name, icon: types::create::Icon, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "create", types::Create { amount, root, nominator, bouncer, name, icon }, @@ -45530,8 +48376,8 @@ pub mod api { pool_id: types::create_with_pool_id::PoolId, name: types::create_with_pool_id::Name, icon: types::create_with_pool_id::Icon, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "create_with_pool_id", types::CreateWithPoolId { @@ -45562,8 +48408,8 @@ pub mod api { &self, pool_id: types::nominate::PoolId, validators: types::nominate::Validators, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "nominate", types::Nominate { pool_id, validators }, @@ -45588,8 +48434,8 @@ pub mod api { &self, pool_id: types::set_state::PoolId, state: types::set_state::State, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_state", types::SetState { pool_id, state }, @@ -45608,8 +48454,8 @@ pub mod api { &self, pool_id: types::set_metadata::PoolId, metadata: types::set_metadata::Metadata, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_metadata", types::SetMetadata { pool_id, metadata }, @@ -45637,8 +48483,8 @@ pub mod api { min_create_bond: types::set_configs::MinCreateBond, max_pools: types::set_configs::MaxPools, global_max_commission: types::set_configs::GlobalMaxCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_configs", types::SetConfigs { @@ -45668,8 +48514,8 @@ pub mod api { new_root: types::update_roles::NewRoot, new_nominator: types::update_roles::NewNominator, new_bouncer: types::update_roles::NewBouncer, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "update_roles", types::UpdateRoles { pool_id, new_root, new_nominator, new_bouncer }, @@ -45691,8 +48537,8 @@ pub mod api { pub fn chill( &self, pool_id: types::chill::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "chill", types::Chill { pool_id }, @@ -45717,8 +48563,8 @@ pub mod api { member: types::bond_extra_other::Member, pool_id: types::bond_extra_other::PoolId, extra: types::bond_extra_other::Extra, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "bond_extra_other", types::BondExtraOther { member, pool_id, extra }, @@ -45738,8 +48584,8 @@ pub mod api { &self, pool_id: types::set_commission::PoolId, new_commission: types::set_commission::NewCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission", types::SetCommission { pool_id, new_commission }, @@ -45759,8 +48605,8 @@ pub mod api { &self, pool_id: types::set_commission_max::PoolId, max_commission: types::set_commission_max::MaxCommission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_max", types::SetCommissionMax { pool_id, max_commission }, @@ -45780,8 +48626,10 @@ pub mod api { &self, pool_id: types::set_commission_change_rate::PoolId, change_rate: types::set_commission_change_rate::ChangeRate, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetCommissionChangeRate, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_change_rate", types::SetCommissionChangeRate { pool_id, change_rate }, @@ -45801,8 +48649,8 @@ pub mod api { pub fn claim_commission( &self, pool_id: types::claim_commission::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "claim_commission", types::ClaimCommission { pool_id }, @@ -45823,8 +48671,9 @@ pub mod api { pub fn adjust_pool_deposit( &self, pool_id: types::adjust_pool_deposit::PoolId, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload + { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "adjust_pool_deposit", types::AdjustPoolDeposit { pool_id }, @@ -45843,8 +48692,10 @@ pub mod api { &self, pool_id: types::set_commission_claim_permission::PoolId, permission: types::set_commission_claim_permission::Permission, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::SetCommissionClaimPermission, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Lst", "set_commission_claim_permission", types::SetCommissionClaimPermission { pool_id, permission }, @@ -45862,18 +48713,18 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been created."] pub struct Created { pub depositor: created::Depositor, @@ -45881,26 +48732,26 @@ pub mod api { } pub mod created { use super::runtime_types; - pub type Depositor = ::subxt_core::utils::AccountId32; + pub type Depositor = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Created { + impl ::subxt::ext::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Created"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has became bonded in a pool."] pub struct Bonded { pub member: bonded::Member, @@ -45910,28 +48761,28 @@ pub mod api { } pub mod bonded { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Bonded = ::core::primitive::u128; pub type Joined = ::core::primitive::bool; } - impl ::subxt_core::events::StaticEvent for Bonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Bonded { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Bonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payout has been made to a member."] pub struct PaidOut { pub member: paid_out::Member, @@ -45940,27 +48791,27 @@ pub mod api { } pub mod paid_out { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PaidOut { + impl ::subxt::ext::subxt_core::events::StaticEvent for PaidOut { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PaidOut"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has unbonded from their pool."] #[doc = ""] #[doc = "- `balance` is the corresponding balance of the number of points that has been"] @@ -45981,29 +48832,29 @@ pub mod api { } pub mod unbonded { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; pub type Era = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Unbonded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unbonded { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Unbonded"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has withdrawn from their pool."] #[doc = ""] #[doc = "The given number of `points` have been dissolved in return of `balance`."] @@ -46018,28 +48869,28 @@ pub mod api { } pub mod withdrawn { use super::runtime_types; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; pub type Points = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for Withdrawn { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrawn { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Withdrawn"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool has been destroyed."] pub struct Destroyed { pub pool_id: destroyed::PoolId, @@ -46048,23 +48899,23 @@ pub mod api { use super::runtime_types; pub type PoolId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for Destroyed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Destroyed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "Destroyed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The state of a pool has changed"] pub struct StateChanged { pub pool_id: state_changed::PoolId, @@ -46075,23 +48926,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type NewState = runtime_types::pallet_tangle_lst::types::pools::PoolState; } - impl ::subxt_core::events::StaticEvent for StateChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for StateChanged { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "StateChanged"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has been removed from a pool."] #[doc = ""] #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] @@ -46102,25 +48953,25 @@ pub mod api { pub mod member_removed { use super::runtime_types; pub type PoolId = ::core::primitive::u32; - pub type Member = ::subxt_core::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt_core::events::StaticEvent for MemberRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberRemoved { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MemberRemoved"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] pub struct RolesUpdated { @@ -46130,27 +48981,30 @@ pub mod api { } pub mod roles_updated { use super::runtime_types; - pub type Root = ::core::option::Option<::subxt_core::utils::AccountId32>; - pub type Bouncer = ::core::option::Option<::subxt_core::utils::AccountId32>; - pub type Nominator = ::core::option::Option<::subxt_core::utils::AccountId32>; - } - impl ::subxt_core::events::StaticEvent for RolesUpdated { + pub type Root = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type Bouncer = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + pub type Nominator = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for RolesUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "RolesUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] pub struct PoolSlashed { pub pool_id: pool_slashed::PoolId, @@ -46161,23 +49015,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PoolSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolSlashed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] pub struct UnbondingPoolSlashed { pub pool_id: unbonding_pool_slashed::PoolId, @@ -46190,23 +49044,23 @@ pub mod api { pub type Era = ::core::primitive::u32; pub type Balance = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for UnbondingPoolSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for UnbondingPoolSlashed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "UnbondingPoolSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission setting has been changed."] pub struct PoolCommissionUpdated { pub pool_id: pool_commission_updated::PoolId, @@ -46217,26 +49071,26 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Current = ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>; } - impl ::subxt_core::events::StaticEvent for PoolCommissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's maximum commission setting has been changed."] pub struct PoolMaxCommissionUpdated { pub pool_id: pool_max_commission_updated::PoolId, @@ -46247,23 +49101,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type MaxCommission = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolMaxCommissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolMaxCommissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pool's commission `change_rate` has been changed."] pub struct PoolCommissionChangeRateUpdated { pub pool_id: pool_commission_change_rate_updated::PoolId, @@ -46277,23 +49131,23 @@ pub mod api { ::core::primitive::u64, >; } - impl ::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionChangeRateUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionChangeRateUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission claim permission has been updated."] pub struct PoolCommissionClaimPermissionUpdated { pub pool_id: pool_commission_claim_permission_updated::PoolId, @@ -46304,27 +49158,27 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Permission = ::core::option::Option< runtime_types::pallet_tangle_lst::types::commission::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; } - impl ::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimPermissionUpdated { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionClaimPermissionUpdated"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Pool commission has been claimed."] pub struct PoolCommissionClaimed { pub pool_id: pool_commission_claimed::PoolId, @@ -46335,23 +49189,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Commission = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for PoolCommissionClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PoolCommissionClaimed { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "PoolCommissionClaimed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Topped up deficit in frozen ED of the reward pool."] pub struct MinBalanceDeficitAdjusted { pub pool_id: min_balance_deficit_adjusted::PoolId, @@ -46362,23 +49216,23 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceDeficitAdjusted { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MinBalanceDeficitAdjusted"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Claimed excess frozen ED of af the reward pool."] pub struct MinBalanceExcessAdjusted { pub pool_id: min_balance_excess_adjusted::PoolId, @@ -46389,7 +49243,7 @@ pub mod api { pub type PoolId = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MinBalanceExcessAdjusted { const PALLET: &'static str = "Lst"; const EVENT: &'static str = "MinBalanceExcessAdjusted"; } @@ -46468,7 +49322,7 @@ pub mod api { use super::runtime_types; pub type UnbondingMembers = runtime_types::pallet_tangle_lst::types::pools::PoolMember; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_unbonding_members { use super::runtime_types; @@ -46477,7 +49331,7 @@ pub mod api { pub mod reverse_pool_id_lookup { use super::runtime_types; pub type ReversePoolIdLookup = ::core::primitive::u32; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod counter_for_reverse_pool_id_lookup { use super::runtime_types; @@ -46487,7 +49341,7 @@ pub mod api { use super::runtime_types; pub type ClaimPermissions = runtime_types::pallet_tangle_lst::types::ClaimPermission; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -46499,14 +49353,14 @@ pub mod api { #[doc = " `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s."] pub fn total_value_locked( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::total_value_locked::TotalValueLocked, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "TotalValueLocked", (), @@ -46520,14 +49374,14 @@ pub mod api { #[doc = " Minimum amount to bond to join a pool."] pub fn min_join_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_join_bond::MinJoinBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MinJoinBond", (), @@ -46547,14 +49401,14 @@ pub mod api { #[doc = " while all other accounts leave."] pub fn min_create_bond( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::min_create_bond::MinCreateBond, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MinCreateBond", (), @@ -46570,14 +49424,14 @@ pub mod api { #[doc = " pools can exist."] pub fn max_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::max_pools::MaxPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "MaxPools", (), @@ -46594,14 +49448,14 @@ pub mod api { #[doc = " `GlobalMaxCommission` is lower than some current pool commissions."] pub fn global_max_commission( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::global_max_commission::GlobalMaxCommission, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "GlobalMaxCommission", (), @@ -46616,14 +49470,14 @@ pub mod api { #[doc = " Storage for bonded pools."] pub fn bonded_pools_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::bonded_pools::BondedPools, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "BondedPools", (), @@ -46638,17 +49492,21 @@ pub mod api { pub fn bonded_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bonded_pools::Param0, + >, types::bonded_pools::BondedPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "BondedPools", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 74u8, 250u8, 235u8, 10u8, 153u8, 148u8, 26u8, 163u8, 198u8, 48u8, 57u8, 147u8, 9u8, 101u8, 63u8, 185u8, 86u8, 216u8, 172u8, 144u8, 173u8, @@ -46659,14 +49517,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_bonded_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_bonded_pools::CounterForBondedPools, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForBondedPools", (), @@ -46681,14 +49539,14 @@ pub mod api { #[doc = " claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account."] pub fn reward_pools_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reward_pools::RewardPools, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "RewardPools", (), @@ -46705,17 +49563,21 @@ pub mod api { pub fn reward_pools( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reward_pools::Param0, + >, types::reward_pools::RewardPools, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "RewardPools", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 9u8, 12u8, 53u8, 236u8, 133u8, 154u8, 71u8, 150u8, 220u8, 31u8, 130u8, 126u8, 208u8, 240u8, 214u8, 66u8, 16u8, 43u8, 202u8, 222u8, 94u8, @@ -46727,14 +49589,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reward_pools( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_reward_pools::CounterForRewardPools, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForRewardPools", (), @@ -46750,14 +49612,14 @@ pub mod api { #[doc = " bonded pool, hence the name sub-pools. Keyed by the bonded pools account."] pub fn sub_pools_storage_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::sub_pools_storage::SubPoolsStorage, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "SubPoolsStorage", (), @@ -46773,19 +49635,21 @@ pub mod api { pub fn sub_pools_storage( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::sub_pools_storage::Param0, >, types::sub_pools_storage::SubPoolsStorage, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "SubPoolsStorage", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 43u8, 35u8, 94u8, 197u8, 201u8, 86u8, 21u8, 118u8, 230u8, 10u8, 66u8, 180u8, 104u8, 146u8, 250u8, 207u8, 159u8, 153u8, 203u8, 58u8, 20u8, @@ -46796,14 +49660,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_sub_pools_storage( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_sub_pools_storage::CounterForSubPoolsStorage, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForSubPoolsStorage", (), @@ -46818,14 +49682,14 @@ pub mod api { #[doc = " Metadata for the pool."] pub fn metadata_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::metadata::Metadata, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "Metadata", (), @@ -46840,17 +49704,21 @@ pub mod api { pub fn metadata( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata::Param0, + >, types::metadata::Metadata, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "Metadata", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 10u8, 171u8, 251u8, 5u8, 72u8, 74u8, 86u8, 144u8, 59u8, 67u8, 92u8, 111u8, 217u8, 111u8, 175u8, 107u8, 119u8, 206u8, 199u8, 78u8, 182u8, @@ -46861,14 +49729,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_metadata( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_metadata::CounterForMetadata, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForMetadata", (), @@ -46883,14 +49751,14 @@ pub mod api { #[doc = " Ever increasing number of all pools created so far."] pub fn last_pool_id( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::last_pool_id::LastPoolId, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "LastPoolId", (), @@ -46907,21 +49775,21 @@ pub mod api { #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn unbonding_members_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::unbonding_members::UnbondingMembers, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "UnbondingMembers", (), [ - 12u8, 3u8, 231u8, 163u8, 207u8, 37u8, 152u8, 52u8, 81u8, 171u8, 162u8, - 70u8, 37u8, 199u8, 254u8, 172u8, 124u8, 50u8, 6u8, 69u8, 166u8, 184u8, - 38u8, 230u8, 198u8, 153u8, 181u8, 33u8, 180u8, 137u8, 75u8, 62u8, + 46u8, 91u8, 211u8, 29u8, 83u8, 17u8, 148u8, 26u8, 183u8, 226u8, 240u8, + 39u8, 186u8, 86u8, 198u8, 55u8, 43u8, 125u8, 83u8, 249u8, 203u8, 33u8, + 123u8, 108u8, 179u8, 237u8, 193u8, 63u8, 85u8, 230u8, 194u8, 173u8, ], ) } @@ -46931,37 +49799,39 @@ pub mod api { pub fn unbonding_members( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::unbonding_members::Param0, >, types::unbonding_members::UnbondingMembers, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "UnbondingMembers", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ - 12u8, 3u8, 231u8, 163u8, 207u8, 37u8, 152u8, 52u8, 81u8, 171u8, 162u8, - 70u8, 37u8, 199u8, 254u8, 172u8, 124u8, 50u8, 6u8, 69u8, 166u8, 184u8, - 38u8, 230u8, 198u8, 153u8, 181u8, 33u8, 180u8, 137u8, 75u8, 62u8, + 46u8, 91u8, 211u8, 29u8, 83u8, 17u8, 148u8, 26u8, 183u8, 226u8, 240u8, + 39u8, 186u8, 86u8, 198u8, 55u8, 43u8, 125u8, 83u8, 249u8, 203u8, 33u8, + 123u8, 108u8, 179u8, 237u8, 193u8, 63u8, 85u8, 230u8, 194u8, 173u8, ], ) } #[doc = "Counter for the related counted storage map"] pub fn counter_for_unbonding_members( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_unbonding_members::CounterForUnbondingMembers, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForUnbondingMembers", (), @@ -46979,14 +49849,14 @@ pub mod api { #[doc = " accounts are deterministically derived from it."] pub fn reverse_pool_id_lookup_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::reverse_pool_id_lookup::ReversePoolIdLookup, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ReversePoolIdLookup", (), @@ -47004,19 +49874,21 @@ pub mod api { pub fn reverse_pool_id_lookup( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::reverse_pool_id_lookup::Param0, >, types::reverse_pool_id_lookup::ReversePoolIdLookup, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ReversePoolIdLookup", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 76u8, 76u8, 150u8, 33u8, 64u8, 81u8, 90u8, 75u8, 212u8, 221u8, 59u8, 83u8, 178u8, 45u8, 86u8, 206u8, 196u8, 221u8, 117u8, 94u8, 229u8, @@ -47027,14 +49899,14 @@ pub mod api { #[doc = "Counter for the related counted storage map"] pub fn counter_for_reverse_pool_id_lookup( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::counter_for_reverse_pool_id_lookup::CounterForReversePoolIdLookup, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "CounterForReversePoolIdLookup", (), @@ -47049,14 +49921,14 @@ pub mod api { #[doc = " Map from a pool member account to their opted claim permission."] pub fn claim_permissions_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::claim_permissions::ClaimPermissions, (), - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ClaimPermissions", (), @@ -47071,19 +49943,21 @@ pub mod api { pub fn claim_permissions( &self, _0: impl ::core::borrow::Borrow, - ) -> ::subxt_core::storage::address::StaticAddress< - ::subxt_core::storage::address::StaticStorageKey< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::claim_permissions::Param0, >, types::claim_permissions::ClaimPermissions, - ::subxt_core::utils::Yes, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Lst", "ClaimPermissions", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 98u8, 241u8, 185u8, 102u8, 61u8, 53u8, 215u8, 105u8, 2u8, 148u8, 197u8, 17u8, 107u8, 253u8, 74u8, 159u8, 14u8, 30u8, 213u8, 38u8, 35u8, 163u8, @@ -47100,10 +49974,10 @@ pub mod api { #[doc = " The nomination pool's pallet id."] pub fn pallet_id( &self, - ) -> ::subxt_core::constants::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< runtime_types::frame_support::PalletId, > { - ::subxt_core::constants::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Lst", "PalletId", [ @@ -47127,8 +50001,10 @@ pub mod api { #[doc = " Such a scenario would also be the equivalent of the pool being 90% slashed."] pub fn max_points_to_balance( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u8> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u8, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxPointsToBalance", [ @@ -47142,8 +50018,10 @@ pub mod api { #[doc = " The maximum number of simultaneous unbonding chunks that can exist per member."] pub fn max_unbonding( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxUnbonding", [ @@ -47157,8 +50035,10 @@ pub mod api { #[doc = " The maximum length of a pool name."] pub fn max_name_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxNameLength", [ @@ -47172,8 +50052,10 @@ pub mod api { #[doc = " The maximum length of a pool icon."] pub fn max_icon_length( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::core::primitive::u32> { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::core::primitive::u32, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Lst", "MaxIconLength", [ @@ -47194,44 +50076,54 @@ pub mod api { pub mod bounded_btree_map { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct BoundedBTreeMap<_0, _1>(pub ::subxt_core::utils::KeyedVec<_0, _1>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedBTreeMap<_0, _1>( + pub ::subxt::ext::subxt_core::utils::KeyedVec<_0, _1>, + ); } pub mod bounded_btree_set { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct BoundedBTreeSet<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -47239,44 +50131,52 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct BoundedVec<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct WeakBoundedVec<_0>(pub ::subxt_core::alloc::vec::Vec<_0>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod ethbloom { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Bloom(pub [::core::primitive::u8; 256usize]); } pub mod ethereum { @@ -47284,113 +50184,139 @@ pub mod api { pub mod block { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Block<_0> { pub header: runtime_types::ethereum::header::Header, - pub transactions: ::subxt_core::alloc::vec::Vec<_0>, - pub ommers: - ::subxt_core::alloc::vec::Vec, + pub transactions: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub ommers: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::ethereum::header::Header, + >, } } pub mod header { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Header { - pub parent_hash: ::subxt_core::utils::H256, - pub ommers_hash: ::subxt_core::utils::H256, - pub beneficiary: ::subxt_core::utils::H160, - pub state_root: ::subxt_core::utils::H256, - pub transactions_root: ::subxt_core::utils::H256, - pub receipts_root: ::subxt_core::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub ommers_hash: ::subxt::ext::subxt_core::utils::H256, + pub beneficiary: ::subxt::ext::subxt_core::utils::H160, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub transactions_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, pub logs_bloom: runtime_types::ethbloom::Bloom, pub difficulty: runtime_types::primitive_types::U256, pub number: runtime_types::primitive_types::U256, pub gas_limit: runtime_types::primitive_types::U256, pub gas_used: runtime_types::primitive_types::U256, pub timestamp: ::core::primitive::u64, - pub extra_data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub mix_hash: ::subxt_core::utils::H256, + pub extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub mix_hash: ::subxt::ext::subxt_core::utils::H256, pub nonce: runtime_types::ethereum_types::hash::H64, } } pub mod log { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Log { - pub address: ::subxt_core::utils::H160, - pub topics: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, - pub data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub address: ::subxt::ext::subxt_core::utils::H160, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod receipt { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EIP658ReceiptData { pub status_code: ::core::primitive::u8, pub used_gas: runtime_types::primitive_types::U256, pub logs_bloom: runtime_types::ethbloom::Bloom, - pub logs: ::subxt_core::alloc::vec::Vec, + pub logs: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::ethereum::log::Log, + >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ReceiptV3 { #[codec(index = 0)] Legacy(runtime_types::ethereum::receipt::EIP658ReceiptData), @@ -47403,35 +50329,45 @@ pub mod api { pub mod transaction { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccessListItem { - pub address: ::subxt_core::utils::H160, - pub storage_keys: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + pub address: ::subxt::ext::subxt_core::utils::H160, + pub storage_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EIP1559Transaction { pub chain_id: ::core::primitive::u64, pub nonce: runtime_types::primitive_types::U256, @@ -47440,27 +50376,31 @@ pub mod api { pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub access_list: ::subxt_core::alloc::vec::Vec< + pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub access_list: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::AccessListItem, >, pub odd_y_parity: ::core::primitive::bool, - pub r: ::subxt_core::utils::H256, - pub s: ::subxt_core::utils::H256, + pub r: ::subxt::ext::subxt_core::utils::H256, + pub s: ::subxt::ext::subxt_core::utils::H256, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EIP2930Transaction { pub chain_id: ::core::primitive::u64, pub nonce: runtime_types::primitive_types::U256, @@ -47468,101 +50408,121 @@ pub mod api { pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - pub access_list: ::subxt_core::alloc::vec::Vec< + pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub access_list: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::AccessListItem, >, pub odd_y_parity: ::core::primitive::bool, - pub r: ::subxt_core::utils::H256, - pub s: ::subxt_core::utils::H256, + pub r: ::subxt::ext::subxt_core::utils::H256, + pub s: ::subxt::ext::subxt_core::utils::H256, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct LegacyTransaction { pub nonce: runtime_types::primitive_types::U256, pub gas_price: runtime_types::primitive_types::U256, pub gas_limit: runtime_types::primitive_types::U256, pub action: runtime_types::ethereum::transaction::TransactionAction, pub value: runtime_types::primitive_types::U256, - pub input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub signature: runtime_types::ethereum::transaction::TransactionSignature, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionAction { #[codec(index = 0)] - Call(::subxt_core::utils::H160), + Call(::subxt::ext::subxt_core::utils::H160), #[codec(index = 1)] Create, } #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TransactionRecoveryId(pub ::core::primitive::u64); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TransactionSignature { pub v: runtime_types::ethereum::transaction::TransactionRecoveryId, - pub r: ::subxt_core::utils::H256, - pub s: ::subxt_core::utils::H256, + pub r: ::subxt::ext::subxt_core::utils::H256, + pub s: ::subxt::ext::subxt_core::utils::H256, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionV2 { #[codec(index = 0)] Legacy(runtime_types::ethereum::transaction::LegacyTransaction), @@ -47578,18 +50538,22 @@ pub mod api { pub mod hash { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct H64(pub [::core::primitive::u8; 8usize]); } } @@ -47598,18 +50562,22 @@ pub mod api { pub mod backend { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Basic { pub balance: runtime_types::primitive_types::U256, pub nonce: runtime_types::primitive_types::U256, @@ -47621,18 +50589,22 @@ pub mod api { pub mod error { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExitError { #[codec(index = 0)] StackUnderflow, @@ -47663,23 +50635,27 @@ pub mod api { #[codec(index = 12)] CreateEmpty, #[codec(index = 13)] - Other(::subxt_core::alloc::string::String), + Other(::subxt::ext::subxt_core::alloc::string::String), #[codec(index = 14)] MaxNonce, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExitFatal { #[codec(index = 0)] NotSupported, @@ -47688,21 +50664,25 @@ pub mod api { #[codec(index = 2)] CallErrorAsFatal(runtime_types::evm_core::error::ExitError), #[codec(index = 3)] - Other(::subxt_core::alloc::string::String), + Other(::subxt::ext::subxt_core::alloc::string::String), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExitReason { #[codec(index = 0)] Succeed(runtime_types::evm_core::error::ExitSucceed), @@ -47714,35 +50694,43 @@ pub mod api { Fatal(runtime_types::evm_core::error::ExitFatal), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExitRevert { #[codec(index = 0)] Reverted, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExitSucceed { #[codec(index = 0)] Stopped, @@ -47755,37 +50743,41 @@ pub mod api { pub mod opcode { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Opcode(pub ::core::primitive::u8); } } pub mod finality_grandpa { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, @@ -47793,35 +50785,35 @@ pub mod api { pub second: (_1, _2), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -47830,55 +50822,56 @@ pub mod api { pub mod fp_evm { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ExecutionInfoV2<_0> { pub exit_reason: runtime_types::evm_core::error::ExitReason, pub value: _0, pub used_gas: runtime_types::fp_evm::UsedGas, pub weight_info: ::core::option::Option, - pub logs: ::subxt_core::alloc::vec::Vec, + pub logs: + ::subxt::ext::subxt_core::alloc::vec::Vec, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct UsedGas { pub standard: runtime_types::primitive_types::U256, pub effective: runtime_types::primitive_types::U256, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct WeightInfo { pub ref_time_limit: ::core::option::Option<::core::primitive::u64>, pub proof_size_limit: ::core::option::Option<::core::primitive::u64>, @@ -47889,25 +50882,26 @@ pub mod api { pub mod fp_rpc { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct TransactionStatus { - pub transaction_hash: ::subxt_core::utils::H256, + pub transaction_hash: ::subxt::ext::subxt_core::utils::H256, pub transaction_index: ::core::primitive::u32, - pub from: ::subxt_core::utils::H160, - pub to: ::core::option::Option<::subxt_core::utils::H160>, - pub contract_address: ::core::option::Option<::subxt_core::utils::H160>, - pub logs: ::subxt_core::alloc::vec::Vec, + pub from: ::subxt::ext::subxt_core::utils::H160, + pub to: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, + pub contract_address: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, + pub logs: + ::subxt::ext::subxt_core::alloc::vec::Vec, pub logs_bloom: runtime_types::ethbloom::Bloom, } } @@ -47916,54 +50910,58 @@ pub mod api { pub mod unchecked_extrinsic { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct UncheckedExtrinsic<_0, _1, _2, _3>( - pub ::subxt_core::utils::UncheckedExtrinsic<_0, _1, _2, _3>, + pub ::subxt::ext::subxt_core::utils::UncheckedExtrinsic<_0, _1, _2, _3>, ); } } pub mod frame_metadata_hash_extension { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CheckMetadataHash { pub mode: runtime_types::frame_metadata_hash_extension::Mode, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Mode { #[codec(index = 0)] Disabled, @@ -47976,18 +50974,22 @@ pub mod api { pub mod dispatch { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -47997,36 +50999,44 @@ pub mod api { Mandatory, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DispatchInfo { pub weight: runtime_types::sp_weights::weight_v2::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Pays { #[codec(index = 0)] Yes, @@ -48034,36 +51044,44 @@ pub mod api { No, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -48078,22 +51096,26 @@ pub mod api { pub mod preimages { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { - hash: ::subxt_core::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 1)] Inline( @@ -48103,7 +51125,7 @@ pub mod api { ), #[codec(index = 2)] Lookup { - hash: ::subxt_core::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, len: ::core::primitive::u32, }, __Ignore(::core::marker::PhantomData<(_0, _1)>), @@ -48114,18 +51136,22 @@ pub mod api { pub mod misc { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -48133,18 +51159,22 @@ pub mod api { Reserved, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, @@ -48153,18 +51183,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -48174,156 +51204,192 @@ pub mod api { pub mod check_genesis { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckMortality(pub runtime_types::sp_runtime::generic::era::Era); } pub mod check_non_zero_sender { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlockWeights { pub base_block: runtime_types::sp_weights::weight_v2::Weight, pub max_block: runtime_types::sp_weights::weight_v2::Weight, @@ -48332,18 +51398,22 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct WeightsPerClass { pub base_extrinsic: runtime_types::sp_weights::weight_v2::Weight, pub max_extrinsic: @@ -48357,52 +51427,60 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "Make some on-chain remark."] #[doc = ""] #[doc = "Can be executed by every `origin`."] - remark { remark: ::subxt_core::alloc::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] #[doc = "Set the number of pages in the WebAssembly environment's heap."] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] #[doc = "Set the new runtime code."] - set_code { code: ::subxt_core::alloc::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] #[doc = "Set the new runtime code without doing any checks of the given `code`."] #[doc = ""] #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] #[doc = "version!"] set_code_without_checks { - code: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] #[doc = "Set some items of storage."] set_storage { - items: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] #[doc = "Kill some items from storage."] kill_storage { - keys: ::subxt_core::alloc::vec::Vec< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, }, #[codec(index = 6)] @@ -48411,20 +51489,20 @@ pub mod api { #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] #[doc = "the prefix we are removing to accurately calculate the weight of this function."] kill_prefix { - prefix: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] #[doc = "Make some on-chain remark and emit event."] remark_with_event { - remark: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 9)] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] #[doc = ""] #[doc = "This call requires Root origin."] - authorize_upgrade { code_hash: ::subxt_core::utils::H256 }, + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 10)] #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] #[doc = "later."] @@ -48434,7 +51512,9 @@ pub mod api { #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] #[doc = ""] #[doc = "This call requires Root origin."] - authorize_upgrade_without_checks { code_hash: ::subxt_core::utils::H256 }, + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 11)] #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] #[doc = ""] @@ -48446,22 +51526,26 @@ pub mod api { #[doc = ""] #[doc = "All origins are allowed."] apply_authorized_upgrade { - code: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the System pallet"] pub enum Error { #[codec(index = 0)] @@ -48497,18 +51581,22 @@ pub mod api { Unauthorized, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Event for the System pallet."] pub enum Event { #[codec(index = 0)] @@ -48527,37 +51615,37 @@ pub mod api { CodeUpdated, #[codec(index = 3)] #[doc = "A new account was created."] - NewAccount { account: ::subxt_core::utils::AccountId32 }, + NewAccount { account: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 4)] #[doc = "An account was reaped."] - KilledAccount { account: ::subxt_core::utils::AccountId32 }, + KilledAccount { account: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 5)] #[doc = "On on-chain remark happened."] Remarked { - sender: ::subxt_core::utils::AccountId32, - hash: ::subxt_core::utils::H256, + sender: ::subxt::ext::subxt_core::utils::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 6)] #[doc = "An upgrade was authorized."] UpgradeAuthorized { - code_hash: ::subxt_core::utils::H256, + code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -48566,71 +51654,71 @@ pub mod api { pub data: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt_core::utils::H256, + pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::subxt_core::alloc::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::subxt_core::alloc::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -48645,18 +51733,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -48761,7 +51853,7 @@ pub mod api { >, signature: runtime_types::pallet_airdrop_claims::utils::MultiAddressSignature, - statement: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + statement: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] move_claim { @@ -48784,18 +51876,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -48825,24 +51921,28 @@ pub mod api { VestedBalanceExists, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Someone claimed some native tokens."] Claimed { - recipient: ::subxt_core::utils::AccountId32, + recipient: ::subxt::ext::subxt_core::utils::AccountId32, source: runtime_types::pallet_airdrop_claims::utils::MultiAddress, amount: ::core::primitive::u128, }, @@ -48853,92 +51953,112 @@ pub mod api { pub mod ethereum_address { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MultiAddress { - # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EthereumAddress ,) , # [codec (index = 1)] Native (:: subxt_core :: utils :: AccountId32 ,) , } + # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EthereumAddress ,) , # [codec (index = 1)] Native (:: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MultiAddressSignature { # [codec (index = 0)] EVM (runtime_types :: pallet_airdrop_claims :: utils :: ethereum_address :: EcdsaSignature ,) , # [codec (index = 1)] Native (runtime_types :: pallet_airdrop_claims :: utils :: Sr25519Signature ,) , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Sr25519Signature(pub [::core::primitive::u8; 64usize]); } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -48951,18 +52071,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -48988,8 +52112,8 @@ pub mod api { create { #[codec(compact)] id: ::core::primitive::u128, - admin: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + admin: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, min_balance: ::core::primitive::u128, @@ -49017,8 +52141,8 @@ pub mod api { force_create { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, is_sufficient: ::core::primitive::bool, @@ -49106,8 +52230,8 @@ pub mod api { mint { #[codec(compact)] id: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49132,8 +52256,8 @@ pub mod api { burn { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49161,8 +52285,8 @@ pub mod api { transfer { #[codec(compact)] id: ::core::primitive::u128, - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49190,8 +52314,8 @@ pub mod api { transfer_keep_alive { #[codec(compact)] id: ::core::primitive::u128, - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49220,12 +52344,12 @@ pub mod api { force_transfer { #[codec(compact)] id: ::core::primitive::u128, - source: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - dest: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49247,8 +52371,8 @@ pub mod api { freeze { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49266,8 +52390,8 @@ pub mod api { thaw { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49313,8 +52437,8 @@ pub mod api { transfer_ownership { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49334,16 +52458,16 @@ pub mod api { set_team { #[codec(compact)] id: ::core::primitive::u128, - issuer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + issuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - admin: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + admin: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - freezer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + freezer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49367,8 +52491,8 @@ pub mod api { set_metadata { #[codec(compact)] id: ::core::primitive::u128, - name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, }, #[codec(index = 18)] @@ -49405,8 +52529,8 @@ pub mod api { force_set_metadata { #[codec(compact)] id: ::core::primitive::u128, - name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, is_frozen: ::core::primitive::bool, }, @@ -49452,20 +52576,20 @@ pub mod api { force_asset_status { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - issuer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + issuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - admin: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + admin: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - freezer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + freezer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49497,8 +52621,8 @@ pub mod api { approve_transfer { #[codec(compact)] id: ::core::primitive::u128, - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49521,8 +52645,8 @@ pub mod api { cancel_approval { #[codec(compact)] id: ::core::primitive::u128, - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49543,12 +52667,12 @@ pub mod api { force_cancel_approval { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49574,12 +52698,12 @@ pub mod api { transfer_approved { #[codec(compact)] id: ::core::primitive::u128, - owner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - destination: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + destination: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -49647,8 +52771,8 @@ pub mod api { touch_other { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49666,8 +52790,8 @@ pub mod api { refund_other { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -49685,25 +52809,29 @@ pub mod api { block { #[codec(compact)] id: ::core::primitive::u128, - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49774,74 +52902,78 @@ pub mod api { BadAssetId, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Some asset class was created."] Created { asset_id: ::core::primitive::u128, - creator: ::subxt_core::utils::AccountId32, - owner: ::subxt_core::utils::AccountId32, + creator: ::subxt::ext::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 1)] #[doc = "Some assets were issued."] Issued { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "Some assets were transferred."] Transferred { asset_id: ::core::primitive::u128, - from: ::subxt_core::utils::AccountId32, - to: ::subxt_core::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "Some assets were destroyed."] Burned { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, balance: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "The management team changed."] TeamChanged { asset_id: ::core::primitive::u128, - issuer: ::subxt_core::utils::AccountId32, - admin: ::subxt_core::utils::AccountId32, - freezer: ::subxt_core::utils::AccountId32, + issuer: ::subxt::ext::subxt_core::utils::AccountId32, + admin: ::subxt::ext::subxt_core::utils::AccountId32, + freezer: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "The owner changed."] OwnerChanged { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "Some account `who` was frozen."] Frozen { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 7)] #[doc = "Some account `who` was thawed."] Thawed { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "Some asset `asset_id` was frozen."] @@ -49873,14 +53005,14 @@ pub mod api { #[doc = "Some asset class was force-created."] ForceCreated { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 15)] #[doc = "New metadata has been set for an asset."] MetadataSet { asset_id: ::core::primitive::u128, - name: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - symbol: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + symbol: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, decimals: ::core::primitive::u8, is_frozen: ::core::primitive::bool, }, @@ -49891,25 +53023,25 @@ pub mod api { #[doc = "(Additional) funds have been approved for transfer to a destination account."] ApprovedTransfer { asset_id: ::core::primitive::u128, - source: ::subxt_core::utils::AccountId32, - delegate: ::subxt_core::utils::AccountId32, + source: ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 18)] #[doc = "An approval for account `delegate` was cancelled by `owner`."] ApprovalCancelled { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, - delegate: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 19)] #[doc = "An `amount` was transferred in its entirety from `owner` to `destination` by"] #[doc = "the approved `delegate`."] TransferredApproved { asset_id: ::core::primitive::u128, - owner: ::subxt_core::utils::AccountId32, - delegate: ::subxt_core::utils::AccountId32, - destination: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::AccountId32, + destination: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] @@ -49925,27 +53057,27 @@ pub mod api { #[doc = "Some account `who` was created with a deposit from `depositor`."] Touched { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, - depositor: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, + depositor: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 23)] #[doc = "Some account `who` was blocked."] Blocked { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 24)] #[doc = "Some assets were deposited (e.g. for transaction fees)."] Deposited { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 25)] #[doc = "Some assets were withdrawn from the account (e.g. for transaction fees)."] Withdrawn { asset_id: ::core::primitive::u128, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, } @@ -49953,18 +53085,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AccountStatus { #[codec(index = 0)] Liquid, @@ -49974,35 +53110,43 @@ pub mod api { Blocked, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Approval<_0, _1> { pub amount: _0, pub deposit: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AssetAccount<_0, _1, _2, _3> { pub balance: _0, pub status: runtime_types::pallet_assets::types::AccountStatus, @@ -50012,18 +53156,22 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_1>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AssetDetails<_0, _1, _2> { pub owner: _1, pub issuer: _1, @@ -50039,18 +53187,22 @@ pub mod api { pub status: runtime_types::pallet_assets::types::AssetStatus, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AssetMetadata<_0, _1> { pub deposit: _0, pub name: _1, @@ -50059,18 +53211,22 @@ pub mod api { pub is_frozen: ::core::primitive::bool, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetStatus { #[codec(index = 0)] Live, @@ -50080,18 +53236,22 @@ pub mod api { Destroying, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExistenceReason<_0, _1> { #[codec(index = 0)] Consumer, @@ -50111,18 +53271,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50131,7 +53295,7 @@ pub mod api { #[doc = "against the extracted offender. If both are valid, the offence will"] #[doc = "be reported."] report_equivocation { - equivocation_proof: ::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u64, @@ -50151,7 +53315,7 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] report_equivocation_unsigned { - equivocation_proof: ::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u64, @@ -50171,18 +53335,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50205,35 +53373,43 @@ pub mod api { pub mod list { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Bag { - pub head: ::core::option::Option<::subxt_core::utils::AccountId32>, - pub tail: ::core::option::Option<::subxt_core::utils::AccountId32>, + pub head: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + pub tail: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ListError { #[codec(index = 0)] Duplicate, @@ -50245,22 +53421,26 @@ pub mod api { NodeNotFound, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Node { - pub id: ::subxt_core::utils::AccountId32, - pub prev: ::core::option::Option<::subxt_core::utils::AccountId32>, - pub next: ::core::option::Option<::subxt_core::utils::AccountId32>, + pub id: ::subxt::ext::subxt_core::utils::AccountId32, + pub prev: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + pub next: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, pub bag_upper: ::core::primitive::u64, pub score: ::core::primitive::u64, } @@ -50268,18 +53448,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50294,8 +53478,8 @@ pub mod api { #[doc = ""] #[doc = "If `dislocated` does not exists, it returns an error."] rebag { - dislocated: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dislocated: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -50311,8 +53495,8 @@ pub mod api { #[doc = "- both nodes are within the same bag,"] #[doc = "- and `origin` has a greater `Score` than `lighter`."] put_in_front_of { - lighter: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + lighter: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -50321,29 +53505,33 @@ pub mod api { #[doc = ""] #[doc = "Fee is paid by the origin under all circumstances."] put_in_front_of_other { - heavier: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + heavier: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - lighter: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + lighter: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50351,31 +53539,35 @@ pub mod api { List(runtime_types::pallet_bags_list::list::ListError), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Moved an account from one bag to another."] Rebagged { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, from: ::core::primitive::u64, to: ::core::primitive::u64, }, #[codec(index = 1)] #[doc = "Updated the score of some account to the given amount."] ScoreUpdated { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, new_score: ::core::primitive::u64, }, } @@ -50386,18 +53578,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50409,8 +53605,8 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] transfer_allow_death { - dest: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -50420,12 +53616,12 @@ pub mod api { #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] #[doc = "may be specified."] force_transfer { - source: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - dest: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -50439,8 +53635,8 @@ pub mod api { #[doc = ""] #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] transfer_keep_alive { - dest: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -50463,8 +53659,8 @@ pub mod api { #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] #[doc = " keep the sender account alive (true)."] transfer_all { - dest: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, keep_alive: ::core::primitive::bool, @@ -50474,8 +53670,8 @@ pub mod api { #[doc = ""] #[doc = "Can only be called by ROOT."] force_unreserve { - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, amount: ::core::primitive::u128, @@ -50490,15 +53686,17 @@ pub mod api { #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] #[doc = "possibility of churn)."] upgrade_accounts { - who: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 8)] #[doc = "Set the regular balance of a given account."] #[doc = ""] #[doc = "The dispatch origin for this call is `root`."] force_set_balance { - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -50530,18 +53728,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50582,64 +53784,68 @@ pub mod api { DeltaZero, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "An account was created with some free balance."] Endowed { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, free_balance: ::core::primitive::u128, }, #[codec(index = 1)] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] #[doc = "resulting in an outright loss."] DustLost { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "Transfer succeeded."] Transfer { - from: ::subxt_core::utils::AccountId32, - to: ::subxt_core::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A balance was set by root."] BalanceSet { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, free: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "Some balance was reserved (moved from free to reserved)."] Reserved { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] #[doc = "Some balance was unreserved (moved from reserved to free)."] Unreserved { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "Some balance was moved from the reserve of the first account to the second account."] #[doc = "Final argument indicates the destination balance type."] ReserveRepatriated { - from: ::subxt_core::utils::AccountId32, - to: ::subxt_core::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, destination_status: runtime_types::frame_support::traits::tokens::misc::BalanceStatus, @@ -50647,48 +53853,48 @@ pub mod api { #[codec(index = 7)] #[doc = "Some amount was deposited (e.g. for transaction fees)."] Deposit { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] Withdraw { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] Slashed { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 10)] #[doc = "Some amount was minted into an account."] Minted { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 11)] #[doc = "Some amount was burned from an account."] Burned { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 12)] #[doc = "Some amount was suspended from an account (it can be restored later)."] Suspended { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 13)] #[doc = "Some amount was restored into an account."] Restored { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 14)] #[doc = "An account was upgraded."] - Upgraded { who: ::subxt_core::utils::AccountId32 }, + Upgraded { who: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 15)] #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] Issued { amount: ::core::primitive::u128 }, @@ -50698,25 +53904,25 @@ pub mod api { #[codec(index = 17)] #[doc = "Some balance was locked."] Locked { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 18)] #[doc = "Some balance was unlocked."] Unlocked { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 19)] #[doc = "Some balance was frozen."] Frozen { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] #[doc = "Some balance was thawed."] Thawed { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 21)] @@ -50730,18 +53936,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, @@ -50749,18 +53959,22 @@ pub mod api { pub flags: runtime_types::pallet_balances::types::ExtraFlags, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, @@ -50768,51 +53982,63 @@ pub mod api { Decrease, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExtraFlags(pub ::core::primitive::u128); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Reasons { #[codec(index = 0)] Fee, @@ -50822,18 +54048,22 @@ pub mod api { All, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -50845,18 +54075,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50865,18 +54099,22 @@ pub mod api { set_elasticity { elasticity: runtime_types::sp_arithmetic::per_things::Permill }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -50893,18 +54131,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50923,7 +54165,8 @@ pub mod api { propose_bounty { #[codec(compact)] value: ::core::primitive::u128, - description: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] @@ -50947,8 +54190,8 @@ pub mod api { propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, - curator: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -51002,8 +54245,8 @@ pub mod api { award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, - beneficiary: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -51047,22 +54290,26 @@ pub mod api { extend_bounty_expiry { #[codec(compact)] bounty_id: ::core::primitive::u32, - remark: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -51101,18 +54348,22 @@ pub mod api { TooManyQueued, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -51128,14 +54379,14 @@ pub mod api { #[doc = "A bounty is awarded to a beneficiary."] BountyAwarded { index: ::core::primitive::u32, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 4)] #[doc = "A bounty is claimed by beneficiary."] BountyClaimed { index: ::core::primitive::u32, payout: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "A bounty is cancelled."] @@ -51150,7 +54401,7 @@ pub mod api { #[doc = "A bounty curator is proposed."] CuratorProposed { bounty_id: ::core::primitive::u32, - curator: ::subxt_core::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 9)] #[doc = "A bounty curator is unassigned."] @@ -51159,23 +54410,23 @@ pub mod api { #[doc = "A bounty curator is accepted."] CuratorAccepted { bounty_id: ::core::primitive::u32, - curator: ::subxt_core::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::AccountId32, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -51185,18 +54436,18 @@ pub mod api { pub status: runtime_types::pallet_bounties::BountyStatus<_0, _2>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -51217,18 +54468,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -51256,7 +54511,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] value: ::core::primitive::u128, - description: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "Propose curator for funded child-bounty."] @@ -51279,8 +54535,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - curator: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -51376,8 +54632,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - beneficiary: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -51435,18 +54691,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -51460,18 +54720,22 @@ pub mod api { TooManyChildBounties, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -51482,7 +54746,7 @@ pub mod api { Awarded { index: ::core::primitive::u32, child_index: ::core::primitive::u32, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "A child-bounty is claimed by beneficiary."] @@ -51490,7 +54754,7 @@ pub mod api { index: ::core::primitive::u32, child_index: ::core::primitive::u32, payout: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A child-bounty is cancelled."] @@ -51498,18 +54762,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ChildBounty<_0, _1, _2> { pub parent_bounty: ::core::primitive::u32, pub value: _1, @@ -51518,18 +54782,18 @@ pub mod api { pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -51546,18 +54810,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -51586,9 +54854,10 @@ pub mod api { #[doc = " - `N` new-members-count (code- and governance-bounded)"] #[doc = " - `P` proposals-count (code-bounded)"] set_members { - new_members: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - prime: ::core::option::Option<::subxt_core::utils::AccountId32>, + new_members: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + prime: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, old_count: ::core::primitive::u32, }, #[codec(index = 1)] @@ -51602,7 +54871,7 @@ pub mod api { #[doc = "- `M` members-count (code-bounded)"] #[doc = "- `P` complexity of dispatching `proposal`"] execute { - proposal: ::subxt_core::alloc::boxed::Box< + proposal: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, #[codec(compact)] @@ -51626,7 +54895,7 @@ pub mod api { propose { #[codec(compact)] threshold: ::core::primitive::u32, - proposal: ::subxt_core::alloc::boxed::Box< + proposal: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, #[codec(compact)] @@ -51643,7 +54912,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(M)` where `M` is members-count (code- and governance-bounded)"] vote { - proposal: ::subxt_core::utils::H256, + proposal: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] index: ::core::primitive::u32, approve: ::core::primitive::bool, @@ -51659,7 +54928,7 @@ pub mod api { #[doc = ""] #[doc = "## Complexity"] #[doc = "O(P) where P is the number of max proposals"] - disapprove_proposal { proposal_hash: ::subxt_core::utils::H256 }, + disapprove_proposal { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 6)] #[doc = "Close a vote that is either approved, disapproved or whose voting period has ended."] #[doc = ""] @@ -51686,7 +54955,7 @@ pub mod api { #[doc = " - `P1` is the complexity of `proposal` preimage."] #[doc = " - `P2` is proposal-count (code-bounded)"] close { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] index: ::core::primitive::u32, proposal_weight_bound: runtime_types::sp_weights::weight_v2::Weight, @@ -51695,18 +54964,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -51744,81 +55017,85 @@ pub mod api { PrimeAccountNotMember, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A motion (given hash) has been proposed (by given account) with a threshold (given"] #[doc = "`MemberCount`)."] Proposed { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, proposal_index: ::core::primitive::u32, - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, threshold: ::core::primitive::u32, }, #[codec(index = 1)] #[doc = "A motion (given hash) has been voted on by given account, leaving"] #[doc = "a tally (yes votes and no votes given respectively as `MemberCount`)."] Voted { - account: ::subxt_core::utils::AccountId32, - proposal_hash: ::subxt_core::utils::H256, + account: ::subxt::ext::subxt_core::utils::AccountId32, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, voted: ::core::primitive::bool, yes: ::core::primitive::u32, no: ::core::primitive::u32, }, #[codec(index = 2)] #[doc = "A motion was approved by the required threshold."] - Approved { proposal_hash: ::subxt_core::utils::H256 }, + Approved { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 3)] #[doc = "A motion was not approved by the required threshold."] - Disapproved { proposal_hash: ::subxt_core::utils::H256 }, + Disapproved { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 4)] #[doc = "A motion was executed; result will be `Ok` if it returned without error."] Executed { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 5)] #[doc = "A single member did some action; result will be `Ok` if it returned without error."] MemberExecuted { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 6)] #[doc = "A proposal was closed because its threshold was reached or after its duration was up."] Closed { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, yes: ::core::primitive::u32, no: ::core::primitive::u32, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RawOrigin<_0> { #[codec(index = 0)] Members(::core::primitive::u32, ::core::primitive::u32), @@ -51828,23 +55105,23 @@ pub mod api { _Phantom, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Votes<_0, _1> { pub index: ::core::primitive::u32, pub threshold: ::core::primitive::u32, - pub ayes: ::subxt_core::alloc::vec::Vec<_0>, - pub nays: ::subxt_core::alloc::vec::Vec<_0>, + pub ayes: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub nays: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub end: _1, } } @@ -51853,18 +55130,22 @@ pub mod api { pub mod conviction { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Conviction { #[codec(index = 0)] None, @@ -51885,18 +55166,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -52020,7 +55305,7 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(1)`"] fast_track { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, voting_period: ::core::primitive::u64, delay: ::core::primitive::u64, }, @@ -52034,7 +55319,7 @@ pub mod api { #[doc = "Emits `Vetoed`."] #[doc = ""] #[doc = "Weight: `O(V + log(V))` where V is number of `existing vetoers`"] - veto_external { proposal_hash: ::subxt_core::utils::H256 }, + veto_external { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 9)] #[doc = "Remove a referendum."] #[doc = ""] @@ -52069,8 +55354,8 @@ pub mod api { #[doc = "Weight: `O(R)` where R is the number of referendums the voter delegating to has"] #[doc = " voted on. Weight is charged as if maximum votes."] delegate { - to: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, conviction: runtime_types::pallet_democracy::conviction::Conviction, @@ -52106,8 +55391,8 @@ pub mod api { #[doc = ""] #[doc = "Weight: `O(R)` with R number of vote of target."] unlock { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -52157,8 +55442,8 @@ pub mod api { #[doc = "Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on."] #[doc = " Weight is calculated for the maximum number of vote."] remove_other_vote { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -52180,7 +55465,7 @@ pub mod api { #[doc = "Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a"] #[doc = " reasonable value)."] blacklist { - proposal_hash: ::subxt_core::utils::H256, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, maybe_ref_index: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 17)] @@ -52213,22 +55498,26 @@ pub mod api { #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] set_metadata { owner: runtime_types::pallet_democracy::types::MetadataOwner, - maybe_hash: ::core::option::Option<::subxt_core::utils::H256>, + maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -52306,18 +55595,22 @@ pub mod api { PreimageNotExist, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -52353,26 +55646,26 @@ pub mod api { #[codec(index = 7)] #[doc = "An account has delegated their vote to another account."] Delegated { - who: ::subxt_core::utils::AccountId32, - target: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "An account has cancelled a previous delegation operation."] - Undelegated { account: ::subxt_core::utils::AccountId32 }, + Undelegated { account: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 9)] #[doc = "An external proposal has been vetoed."] Vetoed { - who: ::subxt_core::utils::AccountId32, - proposal_hash: ::subxt_core::utils::H256, + who: ::subxt::ext::subxt_core::utils::AccountId32, + proposal_hash: ::subxt::ext::subxt_core::utils::H256, until: ::core::primitive::u64, }, #[codec(index = 10)] #[doc = "A proposal_hash has been blacklisted permanently."] - Blacklisted { proposal_hash: ::subxt_core::utils::H256 }, + Blacklisted { proposal_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 11)] #[doc = "An account has voted in a referendum"] Voted { - voter: ::subxt_core::utils::AccountId32, + voter: ::subxt::ext::subxt_core::utils::AccountId32, ref_index: ::core::primitive::u32, vote: runtime_types::pallet_democracy::vote::AccountVote< ::core::primitive::u128, @@ -52381,7 +55674,7 @@ pub mod api { #[codec(index = 12)] #[doc = "An account has seconded a proposal"] Seconded { - seconder: ::subxt_core::utils::AccountId32, + seconder: ::subxt::ext::subxt_core::utils::AccountId32, prop_index: ::core::primitive::u32, }, #[codec(index = 13)] @@ -52391,55 +55684,63 @@ pub mod api { #[doc = "Metadata for a proposal or a referendum has been set."] MetadataSet { owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt_core::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 15)] #[doc = "Metadata for a proposal or a referendum has been cleared."] MetadataCleared { owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt_core::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 16)] #[doc = "Metadata has been transferred to new owner."] MetadataTransferred { prev_owner: runtime_types::pallet_democracy::types::MetadataOwner, owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt_core::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, } } pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Delegations<_0> { pub votes: _0, pub capital: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MetadataOwner { #[codec(index = 0)] External, @@ -52449,18 +55750,22 @@ pub mod api { Referendum(::core::primitive::u32), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ReferendumInfo<_0, _1, _2> { #[codec(index = 0)] Ongoing(runtime_types::pallet_democracy::types::ReferendumStatus<_0, _1, _2>), @@ -52468,18 +55773,22 @@ pub mod api { Finished { approved: ::core::primitive::bool, end: _0 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReferendumStatus<_0, _1, _2> { pub end: _0, pub proposal: _1, @@ -52488,18 +55797,22 @@ pub mod api { pub tally: runtime_types::pallet_democracy::types::Tally<_2>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Tally<_0> { pub ayes: _0, pub nays: _0, @@ -52509,18 +55822,22 @@ pub mod api { pub mod vote { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AccountVote<_0> { #[codec(index = 0)] Standard { vote: runtime_types::pallet_democracy::vote::Vote, balance: _0 }, @@ -52528,47 +55845,59 @@ pub mod api { Split { aye: _0, nay: _0 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Vote(pub ::core::primitive::u8); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Voting<_0, _1, _2> { #[codec(index = 0)] Direct { @@ -52592,18 +55921,22 @@ pub mod api { pub mod vote_threshold { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum VoteThreshold { #[codec(index = 0)] SuperMajorityApprove, @@ -52619,18 +55952,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -52643,34 +55980,42 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "Submit a solution for the unsigned phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __none__."] # [doc = ""] # [doc = "This submission is checked on the fly. Moreover, this unsigned solution is only"] # [doc = "validated when submitted to the pool from the **local** node. Effectively, this means"] # [doc = "that only active validators can submit this transaction when authoring a block (similar"] # [doc = "to an inherent)."] # [doc = ""] # [doc = "To prevent any incorrect solution (and thus wasted time/weight), this transaction will"] # [doc = "panic if the solution submitted by the validator is invalid in any way, effectively"] # [doc = "putting their authoring reward at risk."] # [doc = ""] # [doc = "No deposit or reward is associated with this submission."] submit_unsigned { raw_solution : :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "Set a new value for `MinimumUntrustedScore`."] # [doc = ""] # [doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] # [doc = ""] # [doc = "This check can be turned off by setting the value to `None`."] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] # [doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] # [doc = "call to `ElectionProvider::elect`."] # [doc = ""] # [doc = "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`."] # [doc = ""] # [doc = "The solution is not checked for any feasibility and is assumed to be trustworthy, as any"] # [doc = "feasibility check itself can in principle cause the election process to fail (due to"] # [doc = "memory/weight constrains)."] set_emergency_election_result { supports : :: subxt_core :: alloc :: vec :: Vec < (:: subxt_core :: utils :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: subxt_core :: utils :: AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "Submit a solution for the signed phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __signed__."] # [doc = ""] # [doc = "The solution is potentially queued, based on the claimed score and processed at the end"] # [doc = "of the signed phase."] # [doc = ""] # [doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] # [doc = "might be rewarded, slashed, or get all or a part of the deposit back."] submit { raw_solution : :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , } , # [codec (index = 4)] # [doc = "Trigger the governance fallback."] # [doc = ""] # [doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] # [doc = "calling [`Call::set_emergency_election_result`]."] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } + # [codec (index = 0)] # [doc = "Submit a solution for the unsigned phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __none__."] # [doc = ""] # [doc = "This submission is checked on the fly. Moreover, this unsigned solution is only"] # [doc = "validated when submitted to the pool from the **local** node. Effectively, this means"] # [doc = "that only active validators can submit this transaction when authoring a block (similar"] # [doc = "to an inherent)."] # [doc = ""] # [doc = "To prevent any incorrect solution (and thus wasted time/weight), this transaction will"] # [doc = "panic if the solution submitted by the validator is invalid in any way, effectively"] # [doc = "putting their authoring reward at risk."] # [doc = ""] # [doc = "No deposit or reward is associated with this submission."] submit_unsigned { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "Set a new value for `MinimumUntrustedScore`."] # [doc = ""] # [doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] # [doc = ""] # [doc = "This check can be turned off by setting the value to `None`."] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] # [doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] # [doc = "call to `ElectionProvider::elect`."] # [doc = ""] # [doc = "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`."] # [doc = ""] # [doc = "The solution is not checked for any feasibility and is assumed to be trustworthy, as any"] # [doc = "feasibility check itself can in principle cause the election process to fail (due to"] # [doc = "memory/weight constrains)."] set_emergency_election_result { supports : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: subxt :: ext :: subxt_core :: utils :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "Submit a solution for the signed phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __signed__."] # [doc = ""] # [doc = "The solution is potentially queued, based on the claimed score and processed at the end"] # [doc = "of the signed phase."] # [doc = ""] # [doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] # [doc = "might be rewarded, slashed, or get all or a part of the deposit back."] submit { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: tangle_testnet_runtime :: NposSolution16 > > , } , # [codec (index = 4)] # [doc = "Trigger the governance fallback."] # [doc = ""] # [doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] # [doc = "calling [`Call::set_emergency_election_result`]."] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error of the pallet that can be returned in response to dispatches."] pub enum Error { #[codec(index = 0)] @@ -52720,18 +56065,22 @@ pub mod api { PreDispatchDifferentRound, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -52745,7 +56094,8 @@ pub mod api { SolutionStored { compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, - origin: ::core::option::Option<::subxt_core::utils::AccountId32>, + origin: + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, prev_ejected: ::core::primitive::bool, }, #[codec(index = 1)] @@ -52763,13 +56113,13 @@ pub mod api { #[codec(index = 3)] #[doc = "An account has been rewarded for their signed submission being finalized."] Rewarded { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, value: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "An account has been slashed for submitting an invalid signed submission."] Slashed { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, value: ::core::primitive::u128, }, #[codec(index = 5)] @@ -52788,18 +56138,22 @@ pub mod api { pub mod signed { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SignedSubmission<_0, _1, _2> { pub who: _0, pub deposit: _1, @@ -52809,18 +56163,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ElectionCompute { #[codec(index = 0)] OnChain, @@ -52834,18 +56188,18 @@ pub mod api { Emergency, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Phase<_0> { #[codec(index = 0)] Off, @@ -52857,74 +56211,76 @@ pub mod api { Emergency, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RawSolution<_0> { pub solution: _0, pub score: runtime_types::sp_npos_elections::ElectionScore, pub round: ::core::primitive::u32, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ReadySolution { pub supports: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - ::subxt_core::utils::AccountId32, - runtime_types::sp_npos_elections::Support<::subxt_core::utils::AccountId32>, + ::subxt::ext::subxt_core::utils::AccountId32, + runtime_types::sp_npos_elections::Support< + ::subxt::ext::subxt_core::utils::AccountId32, + >, )>, pub score: runtime_types::sp_npos_elections::ElectionScore, pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RoundSnapshot<_0, _1> { - pub voters: ::subxt_core::alloc::vec::Vec<_1>, - pub targets: ::subxt_core::alloc::vec::Vec<_0>, + pub voters: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + pub targets: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SolutionOrSnapshotSize { #[codec(compact)] pub voters: ::core::primitive::u32, @@ -52937,18 +56293,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -52972,7 +56332,9 @@ pub mod api { #[doc = "It is the responsibility of the caller to **NOT** place all of their balance into the"] #[doc = "lock and keep some for further operations."] vote { - votes: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + votes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, #[codec(compact)] value: ::core::primitive::u128, }, @@ -53045,8 +56407,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- Check details of remove_and_replace_member() and do_phragmen()."] remove_member { - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, slash_bond: ::core::primitive::bool, @@ -53068,18 +56430,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -53135,18 +56501,22 @@ pub mod api { InvalidReplacement, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -53156,8 +56526,8 @@ pub mod api { #[doc = "slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to"] #[doc = "begin with."] NewTerm { - new_members: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + new_members: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, )>, }, @@ -53171,40 +56541,40 @@ pub mod api { #[codec(index = 3)] #[doc = "A member has been removed. This should always be followed by either `NewTerm` or"] #[doc = "`EmptyTerm`."] - MemberKicked { member: ::subxt_core::utils::AccountId32 }, + MemberKicked { member: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 4)] #[doc = "Someone has renounced their candidacy."] - Renounced { candidate: ::subxt_core::utils::AccountId32 }, + Renounced { candidate: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 5)] #[doc = "A candidate was slashed by amount due to failing to obtain a seat as member or"] #[doc = "runner-up."] #[doc = ""] #[doc = "Note that old members and runners-up are also candidates."] CandidateSlashed { - candidate: ::subxt_core::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "A seat holder was slashed by amount by being forcefully removed from the set."] SeatHolderSlashed { - seat_holder: ::subxt_core::utils::AccountId32, + seat_holder: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Renouncing { #[codec(index = 0)] Member, @@ -53214,38 +56584,38 @@ pub mod api { Candidate(#[codec(compact)] ::core::primitive::u32), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SeatHolder<_0, _1> { pub who: _0, pub stake: _1, pub deposit: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Voter<_0, _1> { - pub votes: ::subxt_core::alloc::vec::Vec<_0>, + pub votes: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub stake: _1, pub deposit: _1, } @@ -53255,18 +56625,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -53274,18 +56648,22 @@ pub mod api { transact { transaction: runtime_types::ethereum::transaction::TransactionV2 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -53296,47 +56674,52 @@ pub mod api { PreLogExists, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "An ethereum transaction was successfully executed."] Executed { - from: ::subxt_core::utils::H160, - to: ::subxt_core::utils::H160, - transaction_hash: ::subxt_core::utils::H256, + from: ::subxt::ext::subxt_core::utils::H160, + to: ::subxt::ext::subxt_core::utils::H160, + transaction_hash: ::subxt::ext::subxt_core::utils::H256, exit_reason: runtime_types::evm_core::error::ExitReason, - extra_data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RawOrigin { #[codec(index = 0)] - EthereumTransaction(::subxt_core::utils::H160), + EthereumTransaction(::subxt::ext::subxt_core::utils::H160), } } pub mod pallet_evm { @@ -53344,88 +56727,105 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "Withdraw balance from EVM into currency/balances pallet."] - withdraw { address: ::subxt_core::utils::H160, value: ::core::primitive::u128 }, + withdraw { + address: ::subxt::ext::subxt_core::utils::H160, + value: ::core::primitive::u128, + }, #[codec(index = 1)] #[doc = "Issue an EVM call operation. This is similar to a message call transaction in Ethereum."] call { - source: ::subxt_core::utils::H160, - target: ::subxt_core::utils::H160, - input: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + source: ::subxt::ext::subxt_core::utils::H160, + target: ::subxt::ext::subxt_core::utils::H160, + input: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, }, #[codec(index = 2)] #[doc = "Issue an EVM create operation. This is similar to a contract creation transaction in"] #[doc = "Ethereum."] create { - source: ::subxt_core::utils::H160, - init: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + source: ::subxt::ext::subxt_core::utils::H160, + init: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, }, #[codec(index = 3)] #[doc = "Issue an EVM create2 operation."] create2 { - source: ::subxt_core::utils::H160, - init: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - salt: ::subxt_core::utils::H256, + source: ::subxt::ext::subxt_core::utils::H160, + init: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + salt: ::subxt::ext::subxt_core::utils::H256, value: runtime_types::primitive_types::U256, gas_limit: ::core::primitive::u64, max_fee_per_gas: runtime_types::primitive_types::U256, max_priority_fee_per_gas: ::core::option::Option, nonce: ::core::option::Option, - access_list: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::H160, - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + access_list: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::H160, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, )>, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -53469,18 +56869,22 @@ pub mod api { Undefined, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -53488,34 +56892,34 @@ pub mod api { Log { log: runtime_types::ethereum::log::Log }, #[codec(index = 1)] #[doc = "A contract has been created at given address."] - Created { address: ::subxt_core::utils::H160 }, + Created { address: ::subxt::ext::subxt_core::utils::H160 }, #[codec(index = 2)] #[doc = "A contract was attempted to be created, but the execution failed."] - CreatedFailed { address: ::subxt_core::utils::H160 }, + CreatedFailed { address: ::subxt::ext::subxt_core::utils::H160 }, #[codec(index = 3)] #[doc = "A contract has been executed successfully with states applied."] - Executed { address: ::subxt_core::utils::H160 }, + Executed { address: ::subxt::ext::subxt_core::utils::H160 }, #[codec(index = 4)] #[doc = "A contract has been executed with errors. States are reverted with only gas fees applied."] - ExecutedFailed { address: ::subxt_core::utils::H160 }, + ExecutedFailed { address: ::subxt::ext::subxt_core::utils::H160 }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CodeMetadata { pub size: ::core::primitive::u64, - pub hash: ::subxt_core::utils::H256, + pub hash: ::subxt::ext::subxt_core::utils::H256, } } pub mod pallet_grandpa { @@ -53523,18 +56927,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -53543,9 +56951,9 @@ pub mod api { #[doc = "against the extracted offender. If both are valid, the offence"] #[doc = "will be reported."] report_equivocation { - equivocation_proof: ::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >, >, @@ -53562,9 +56970,9 @@ pub mod api { #[doc = "if the block author is defined it will be defined as the equivocation"] #[doc = "reporter."] report_equivocation_unsigned { - equivocation_proof: ::subxt_core::alloc::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt_core::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u64, >, >, @@ -53589,18 +56997,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -53628,24 +57040,28 @@ pub mod api { DuplicateOffenceReport, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "New authority set has been applied."] NewAuthorities { - authority_set: ::subxt_core::alloc::vec::Vec<( + authority_set: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, @@ -53659,18 +57075,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -53682,18 +57098,18 @@ pub mod api { pub forced: ::core::option::Option<_0>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -53710,18 +57126,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -53730,22 +57150,28 @@ pub mod api { #[doc = ""] #[doc = "Any accounts in the input list not satisfying the above condition will remain unaffected."] hotfix_inc_account_sufficients { - addresses: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H160>, + addresses: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H160, + >, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -53759,18 +57185,22 @@ pub mod api { pub mod legacy { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct IdentityInfo { pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::pallet_identity::types::Data, @@ -53789,18 +57219,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Identity pallet declaration."] pub enum Call { #[codec(index = 0)] @@ -53812,8 +57246,8 @@ pub mod api { #[doc = ""] #[doc = "Emits `RegistrarAdded` if successful."] add_registrar { - account: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -53829,7 +57263,7 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentitySet` if successful."] set_identity { - info: ::subxt_core::alloc::boxed::Box< + info: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::pallet_identity::legacy::IdentityInfo, >, }, @@ -53844,8 +57278,8 @@ pub mod api { #[doc = ""] #[doc = "- `subs`: The identity's (new) sub-accounts."] set_subs { - subs: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>, }, @@ -53919,8 +57353,8 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -53956,14 +57390,14 @@ pub mod api { provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, - identity: ::subxt_core::utils::H256, + identity: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 10)] #[doc = "Remove an account's identity and sub-account information and slash the deposits."] @@ -53979,8 +57413,8 @@ pub mod api { #[doc = ""] #[doc = "Emits `IdentityKilled` if successful."] kill_identity { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -53993,8 +57427,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] add_sub { - sub: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, data: runtime_types::pallet_identity::types::Data, @@ -54005,8 +57439,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] rename_sub { - sub: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, data: runtime_types::pallet_identity::types::Data, @@ -54020,8 +57454,8 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] #[doc = "sub identity of `sub`."] remove_sub { - sub: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -54043,18 +57477,18 @@ pub mod api { #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] #[doc = "should just issue (or request via governance) a new `add_username_authority` call."] add_username_authority { - authority: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - suffix: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + suffix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, allocation: ::core::primitive::u32, }, #[codec(index = 16)] #[doc = "Remove `authority` from the username authorities."] remove_username_authority { - authority: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -54069,11 +57503,11 @@ pub mod api { #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] #[doc = " `MaxUsernameLength`."] set_username_for { - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - username: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + username: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, signature: ::core::option::Option, }, @@ -54111,18 +57545,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -54205,51 +57643,55 @@ pub mod api { NotExpired, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A name was set or reset (which will remove all judgements)."] - IdentitySet { who: ::subxt_core::utils::AccountId32 }, + IdentitySet { who: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 1)] #[doc = "A name was cleared, and the given balance returned."] IdentityCleared { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A name was removed and the given balance slashed."] IdentityKilled { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A judgement was asked from a registrar."] JudgementRequested { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 4)] #[doc = "A judgement request was retracted."] JudgementUnrequested { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 5)] #[doc = "A judgement was given by a registrar."] JudgementGiven { - target: ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 6)] @@ -54258,35 +57700,35 @@ pub mod api { #[codec(index = 7)] #[doc = "A sub-identity was added to an identity and the deposit paid."] SubIdentityAdded { - sub: ::subxt_core::utils::AccountId32, - main: ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "A sub-identity was removed from an identity and the deposit freed."] SubIdentityRemoved { - sub: ::subxt_core::utils::AccountId32, - main: ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "A sub-identity was cleared, and the given deposit repatriated from the"] #[doc = "main identity account to the sub-identity account."] SubIdentityRevoked { - sub: ::subxt_core::utils::AccountId32, - main: ::subxt_core::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 10)] #[doc = "A username authority was added."] - AuthorityAdded { authority: ::subxt_core::utils::AccountId32 }, + AuthorityAdded { authority: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 11)] #[doc = "A username authority was removed."] - AuthorityRemoved { authority: ::subxt_core::utils::AccountId32 }, + AuthorityRemoved { authority: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 12)] #[doc = "A username was set for `who`."] UsernameSet { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -54294,7 +57736,7 @@ pub mod api { #[codec(index = 13)] #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] UsernameQueued { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -54302,11 +57744,11 @@ pub mod api { }, #[codec(index = 14)] #[doc = "A queued username passed its expiration without being claimed and was removed."] - PreapprovalExpired { whose: ::subxt_core::utils::AccountId32 }, + PreapprovalExpired { whose: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 15)] #[doc = "A username was set as a primary and can be looked up from `who`."] PrimaryUsernameSet { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -54315,7 +57757,7 @@ pub mod api { #[doc = "A dangling username (as in, a username corresponding to an account that has removed its"] #[doc = "identity) has been removed."] DanglingUsernameRemoved { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, username: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, @@ -54325,35 +57767,43 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AuthorityProperties<_0> { pub suffix: _0, pub allocation: ::core::primitive::u32, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Data { #[codec(index = 0)] None, @@ -54433,18 +57883,22 @@ pub mod api { ShaThree256([::core::primitive::u8; 32usize]), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -54462,36 +57916,44 @@ pub mod api { Erroneous, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, pub fields: _2, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, @@ -54507,18 +57969,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -54532,18 +57998,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -54554,18 +58024,22 @@ pub mod api { DuplicatedHeartbeat, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -54579,10 +58053,10 @@ pub mod api { #[codec(index = 2)] #[doc = "At the end of the session, at least one validator was found to be offline."] SomeOffline { - offline: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::utils::AccountId32, + offline: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::sp_staking::Exposure< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, )>, @@ -54594,48 +58068,56 @@ pub mod api { pub mod app_sr25519 { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub [::core::primitive::u8; 64usize]); } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Heartbeat<_0> { pub block_number: _0, pub session_index: ::core::primitive::u32, @@ -54648,18 +58130,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -54690,8 +58176,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] transfer { - new: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -54725,8 +58211,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] force_transfer { - new: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, index: ::core::primitive::u32, @@ -54748,18 +58234,22 @@ pub mod api { freeze { index: ::core::primitive::u32 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -54779,24 +58269,28 @@ pub mod api { Permanent, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A account index was assigned."] IndexAssigned { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, index: ::core::primitive::u32, }, #[codec(index = 1)] @@ -54806,7 +58300,7 @@ pub mod api { #[doc = "A account index has been frozen to its current account ID."] IndexFrozen { index: ::core::primitive::u32, - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, } } @@ -54816,34 +58310,42 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The callable functions (extrinsics) of the pallet."] pub enum Call { - # [codec (index = 0)] # [doc = "Allows an account to join as an operator by providing a stake."] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave."] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] deposit { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "Schedules an withdraw request."] schedule_withdraw { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] execute_withdraw , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] cancel_withdraw { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] delegate { operator : :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 15)] # [doc = "Schedules a request to reduce a delegator's stake."] schedule_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] cancel_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 19)] # [doc = "Sets the APY and cap for a specific asset."] set_incentive_apy_and_cap { vault_id : :: core :: primitive :: u128 , apy : runtime_types :: sp_arithmetic :: per_things :: Percent , cap : :: core :: primitive :: u128 , } , # [codec (index = 20)] # [doc = "Whitelists a blueprint for rewards."] whitelist_blueprint_for_rewards { blueprint_id : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Manage asset id to vault rewards"] manage_asset_in_vault { vault_id : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , action : runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: AssetAction , } , } + # [codec (index = 0)] # [doc = "Allows an account to join as an operator by providing a stake."] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave."] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] deposit { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "Schedules an withdraw request."] schedule_withdraw { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] execute_withdraw , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] cancel_withdraw { asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] delegate { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints > , } , # [codec (index = 15)] # [doc = "Schedules a request to reduce a delegator's stake."] schedule_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] cancel_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : :: core :: primitive :: u128 , amount : :: core :: primitive :: u128 , } , # [codec (index = 18)] # [doc = "Sets the APY and cap for a specific asset."] # [doc = "The APY is the annual percentage yield that the asset will earn."] # [doc = "The cap is the amount of assets required to be deposited to distribute the entire APY."] # [doc = "The APY is capped at 10% and will require runtime upgrade to change."] # [doc = ""] # [doc = "While the cap is not met, the APY distributed will be `amount_deposited / cap * APY`."] set_incentive_apy_and_cap { vault_id : :: core :: primitive :: u128 , apy : runtime_types :: sp_arithmetic :: per_things :: Percent , cap : :: core :: primitive :: u128 , } , # [codec (index = 19)] # [doc = "Whitelists a blueprint for rewards."] whitelist_blueprint_for_rewards { blueprint_id : :: core :: primitive :: u32 , } , # [codec (index = 20)] # [doc = "Manage asset id to vault rewards"] manage_asset_in_vault { vault_id : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , action : runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: AssetAction , } , # [codec (index = 22)] # [doc = "Adds a blueprint ID to a delegator's selection."] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Errors emitted by the pallet."] pub enum Error { #[codec(index = 0)] @@ -54868,160 +58370,250 @@ pub mod api { #[doc = "The round does not match the scheduled leave round."] NotLeavingRound, #[codec(index = 7)] + #[doc = "Leaving round not reached"] + LeavingRoundNotReached, + #[codec(index = 8)] #[doc = "There is no scheduled unstake request."] NoScheduledBondLess, - #[codec(index = 8)] + #[codec(index = 9)] #[doc = "The unstake request is not satisfied."] BondLessRequestNotSatisfied, - #[codec(index = 9)] + #[codec(index = 10)] #[doc = "The operator is not active."] NotActiveOperator, - #[codec(index = 10)] + #[codec(index = 11)] #[doc = "The operator is not offline."] NotOfflineOperator, - #[codec(index = 11)] + #[codec(index = 12)] #[doc = "The account is already a delegator."] AlreadyDelegator, - #[codec(index = 12)] + #[codec(index = 13)] #[doc = "The account is not a delegator."] NotDelegator, - #[codec(index = 13)] + #[codec(index = 14)] #[doc = "A withdraw request already exists."] WithdrawRequestAlreadyExists, - #[codec(index = 14)] + #[codec(index = 15)] #[doc = "The account has insufficient balance."] InsufficientBalance, - #[codec(index = 15)] + #[codec(index = 16)] #[doc = "There is no withdraw request."] NoWithdrawRequest, - #[codec(index = 16)] + #[codec(index = 17)] #[doc = "There is no unstake request."] NoBondLessRequest, - #[codec(index = 17)] + #[codec(index = 18)] #[doc = "The unstake request is not ready."] BondLessNotReady, - #[codec(index = 18)] + #[codec(index = 19)] #[doc = "A unstake request already exists."] BondLessRequestAlreadyExists, - #[codec(index = 19)] + #[codec(index = 20)] #[doc = "There are active services using the asset."] ActiveServicesUsingAsset, - #[codec(index = 20)] + #[codec(index = 21)] #[doc = "There is not active delegation"] NoActiveDelegation, - #[codec(index = 21)] + #[codec(index = 22)] #[doc = "The asset is not whitelisted"] AssetNotWhitelisted, - #[codec(index = 22)] + #[codec(index = 23)] #[doc = "The origin is not authorized to perform this action"] NotAuthorized, - #[codec(index = 23)] + #[codec(index = 24)] + #[doc = "Maximum number of blueprints exceeded"] + MaxBlueprintsExceeded, + #[codec(index = 25)] #[doc = "The asset ID is not found"] AssetNotFound, - #[codec(index = 24)] + #[codec(index = 26)] #[doc = "The blueprint ID is already whitelisted"] BlueprintAlreadyWhitelisted, - #[codec(index = 25)] + #[codec(index = 27)] #[doc = "No withdraw requests found"] NowithdrawRequests, - #[codec(index = 26)] + #[codec(index = 28)] #[doc = "No matching withdraw reqests found"] NoMatchingwithdrawRequest, - #[codec(index = 27)] + #[codec(index = 29)] #[doc = "Asset already exists in a reward vault"] AssetAlreadyInVault, - #[codec(index = 28)] + #[codec(index = 30)] #[doc = "Asset not found in reward vault"] AssetNotInVault, - #[codec(index = 29)] + #[codec(index = 31)] #[doc = "The reward vault does not exist"] VaultNotFound, - } - #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, - Clone, - Debug, - Eq, - PartialEq, + #[codec(index = 32)] + #[doc = "Error returned when trying to add a blueprint ID that already exists."] + DuplicateBlueprintId, + #[codec(index = 33)] + #[doc = "Error returned when trying to remove a blueprint ID that doesn't exist."] + BlueprintIdNotFound, + #[codec(index = 34)] + #[doc = "Error returned when trying to add/remove blueprint IDs while not in Fixed mode."] + NotInFixedMode, + #[codec(index = 35)] + #[doc = "Error returned when the maximum number of delegations is exceeded."] + MaxDelegationsExceeded, + #[codec(index = 36)] + #[doc = "Error returned when the maximum number of unstake requests is exceeded."] + MaxUnstakeRequestsExceeded, + #[codec(index = 37)] + #[doc = "Error returned when the maximum number of withdraw requests is exceeded."] + MaxWithdrawRequestsExceeded, + #[codec(index = 38)] + #[doc = "Deposit amount overflow"] + DepositOverflow, + #[codec(index = 39)] + #[doc = "Unstake underflow"] + UnstakeAmountTooLarge, + #[codec(index = 40)] + #[doc = "Overflow while adding stake"] + StakeOverflow, + #[codec(index = 41)] + #[doc = "Underflow while reducing stake"] + InsufficientStakeRemaining, + #[codec(index = 42)] + #[doc = "APY exceeds maximum allowed by the extrinsic"] + APYExceedsMaximum, + #[codec(index = 43)] + #[doc = "Cap cannot be zero"] + CapCannotBeZero, + #[codec(index = 44)] + #[doc = "Cap exceeds total supply of asset"] + CapExceedsTotalSupply, + #[codec(index = 45)] + #[doc = "An unstake request is already pending"] + PendingUnstakeRequestExists, + #[codec(index = 46)] + #[doc = "The blueprint is not selected"] + BlueprintNotSelected, + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] #[doc = "Events emitted by the pallet."] pub enum Event { - # [codec (index = 0)] # [doc = "An operator has joined."] OperatorJoined { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 1)] # [doc = "An operator has scheduled to leave."] OperatorLeavingScheduled { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 2)] # [doc = "An operator has cancelled their leave request."] OperatorLeaveCancelled { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 3)] # [doc = "An operator has executed their leave request."] OperatorLeaveExecuted { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 4)] # [doc = "An operator has increased their stake."] OperatorBondMore { who : :: subxt_core :: utils :: AccountId32 , additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "An operator has scheduled to decrease their stake."] OperatorBondLessScheduled { who : :: subxt_core :: utils :: AccountId32 , unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "An operator has executed their stake decrease."] OperatorBondLessExecuted { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 7)] # [doc = "An operator has cancelled their stake decrease request."] OperatorBondLessCancelled { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "An operator has gone offline."] OperatorWentOffline { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 9)] # [doc = "An operator has gone online."] OperatorWentOnline { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 10)] # [doc = "A deposit has been made."] Deposited { who : :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "An withdraw has been scheduled."] Scheduledwithdraw { who : :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "An withdraw has been executed."] Executedwithdraw { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 13)] # [doc = "An withdraw has been cancelled."] Cancelledwithdraw { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 14)] # [doc = "A delegation has been made."] Delegated { who : :: subxt_core :: utils :: AccountId32 , operator : :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 15)] # [doc = "A delegator unstake request has been scheduled."] ScheduledDelegatorBondLess { who : :: subxt_core :: utils :: AccountId32 , operator : :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "A delegator unstake request has been executed."] ExecutedDelegatorBondLess { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 17)] # [doc = "A delegator unstake request has been cancelled."] CancelledDelegatorBondLess { who : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 18)] # [doc = "Event emitted when an incentive APY and cap are set for a reward vault"] IncentiveAPYAndCapSet { vault_id : :: core :: primitive :: u128 , apy : runtime_types :: sp_arithmetic :: per_things :: Percent , cap : :: core :: primitive :: u128 , } , # [codec (index = 19)] # [doc = "Event emitted when a blueprint is whitelisted for rewards"] BlueprintWhitelisted { blueprint_id : :: core :: primitive :: u32 , } , # [codec (index = 20)] # [doc = "Asset has been updated to reward vault"] AssetUpdatedInVault { who : :: subxt_core :: utils :: AccountId32 , vault_id : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , action : runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: AssetAction , } , } + # [codec (index = 0)] # [doc = "An operator has joined."] OperatorJoined { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 1)] # [doc = "An operator has scheduled to leave."] OperatorLeavingScheduled { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 2)] # [doc = "An operator has cancelled their leave request."] OperatorLeaveCancelled { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 3)] # [doc = "An operator has executed their leave request."] OperatorLeaveExecuted { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 4)] # [doc = "An operator has increased their stake."] OperatorBondMore { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "An operator has scheduled to decrease their stake."] OperatorBondLessScheduled { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "An operator has executed their stake decrease."] OperatorBondLessExecuted { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 7)] # [doc = "An operator has cancelled their stake decrease request."] OperatorBondLessCancelled { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "An operator has gone offline."] OperatorWentOffline { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 9)] # [doc = "An operator has gone online."] OperatorWentOnline { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 10)] # [doc = "A deposit has been made."] Deposited { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "An withdraw has been scheduled."] Scheduledwithdraw { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "An withdraw has been executed."] Executedwithdraw { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 13)] # [doc = "An withdraw has been cancelled."] Cancelledwithdraw { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 14)] # [doc = "A delegation has been made."] Delegated { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 15)] # [doc = "A delegator unstake request has been scheduled."] ScheduledDelegatorBondLess { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "A delegator unstake request has been executed."] ExecutedDelegatorBondLess { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 17)] # [doc = "A delegator unstake request has been cancelled."] CancelledDelegatorBondLess { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 18)] # [doc = "Event emitted when an incentive APY and cap are set for a reward vault"] IncentiveAPYAndCapSet { vault_id : :: core :: primitive :: u128 , apy : runtime_types :: sp_arithmetic :: per_things :: Percent , cap : :: core :: primitive :: u128 , } , # [codec (index = 19)] # [doc = "Event emitted when a blueprint is whitelisted for rewards"] BlueprintWhitelisted { blueprint_id : :: core :: primitive :: u32 , } , # [codec (index = 20)] # [doc = "Asset has been updated to reward vault"] AssetUpdatedInVault { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , vault_id : :: core :: primitive :: u128 , asset_id : :: core :: primitive :: u128 , action : runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: AssetAction , } , # [codec (index = 21)] # [doc = "Operator has been slashed"] OperatorSlashed { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 22)] # [doc = "Delegator has been slashed"] DelegatorSlashed { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , amount : :: core :: primitive :: u128 , } , } } pub mod types { use super::runtime_types; pub mod delegator { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct BondInfoDelegator<_0, _1, _2> { - pub operator: _0, - pub amount: _1, - pub asset_id: _2, - } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BondInfoDelegator < _0 , _1 , _2 , _3 > { pub operator : _0 , pub amount : _1 , pub asset_id : _2 , pub blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < _3 > , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct BondLessRequest<_0, _1, _2> { - pub operator: _0, - pub asset_id: _1, - pub amount: _2, - pub requested_round: ::core::primitive::u32, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BondLessRequest < _0 , _1 , _2 , _3 > { pub operator : _0 , pub asset_id : _1 , pub amount : _2 , pub requested_round : :: core :: primitive :: u32 , pub blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < _3 > , } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum DelegatorBlueprintSelection<_0> { + #[codec(index = 0)] + Fixed( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u64, + >, + ), + #[codec(index = 1)] + All, + __Ignore(::core::marker::PhantomData<_0>), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct DelegatorMetadata < _0 , _1 , _2 > { pub deposits : :: subxt_core :: utils :: KeyedVec < _1 , _1 > , pub withdraw_requests : :: subxt_core :: alloc :: vec :: Vec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: WithdrawRequest < _1 , _1 > > , pub delegations : :: subxt_core :: alloc :: vec :: Vec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondInfoDelegator < _0 , _1 , _1 > > , pub delegator_unstake_requests : :: subxt_core :: alloc :: vec :: Vec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondLessRequest < _0 , _1 , _1 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorStatus , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _2 > } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct DelegatorMetadata < _0 , _1 , _2 , _3 , _4 , _5 , _6 > { pub deposits : :: subxt :: ext :: subxt_core :: utils :: KeyedVec < _1 , _1 > , pub withdraw_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: WithdrawRequest < _1 , _1 > > , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondInfoDelegator < _0 , _1 , _1 , _6 > > , pub delegator_unstake_requests : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: BondLessRequest < _0 , _1 , _1 , _6 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorStatus , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _4 , _3 , _5) > } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DelegatorStatus { #[codec(index = 0)] Active, @@ -55029,18 +58621,22 @@ pub mod api { LeavingScheduled(::core::primitive::u32), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct WithdrawRequest<_0, _1> { pub asset_id: _0, pub amount: _1, @@ -55050,81 +58646,101 @@ pub mod api { pub mod operator { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DelegatorBond<_0, _1, _2> { pub delegator: _0, pub amount: _1, pub asset_id: _2, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OperatorBondLessRequest<_0> { pub amount: _0, pub request_time: ::core::primitive::u32, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct OperatorMetadata < _0 , _1 , _2 > { pub stake : _1 , pub delegation_count : :: core :: primitive :: u32 , pub request : :: core :: option :: Option < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorBondLessRequest < _1 > > , pub delegations : :: subxt_core :: alloc :: vec :: Vec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorStatus , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _2 > } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct OperatorMetadata < _0 , _1 , _2 , _3 , _4 > { pub stake : _1 , pub delegation_count : :: core :: primitive :: u32 , pub request : :: core :: option :: Option < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorBondLessRequest < _1 > > , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , pub status : runtime_types :: pallet_multi_asset_delegation :: types :: operator :: OperatorStatus , pub blueprint_ids : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u32 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _3 , _4) > } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct OperatorSnapshot < _0 , _1 , _2 > { pub stake : _1 , pub delegations : :: subxt_core :: alloc :: vec :: Vec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _2 > } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct OperatorSnapshot < _0 , _1 , _2 , _3 > { pub stake : _1 , pub delegations : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: pallet_multi_asset_delegation :: types :: operator :: DelegatorBond < _0 , _1 , _1 > > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < (_2 , _3) > } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum OperatorStatus { #[codec(index = 0)] Active, @@ -55137,18 +58753,22 @@ pub mod api { pub mod rewards { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetAction { #[codec(index = 0)] Add, @@ -55156,32 +58776,40 @@ pub mod api { Remove, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct RewardConfig < _0 , _1 > { pub configs : :: subxt_core :: utils :: KeyedVec < _0 , runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: RewardConfigForAssetVault < _0 > > , pub whitelisted_blueprint_ids : :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u32 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _1 > } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct RewardConfig < _0 , _1 > { pub configs : :: subxt :: ext :: subxt_core :: utils :: KeyedVec < _0 , runtime_types :: pallet_multi_asset_delegation :: types :: rewards :: RewardConfigForAssetVault < _0 > > , pub whitelisted_blueprint_ids : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u32 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _1 > } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RewardConfigForAssetVault<_0> { pub apy: runtime_types::sp_arithmetic::per_things::Percent, pub cap: _0, @@ -55194,18 +58822,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -55222,9 +58854,10 @@ pub mod api { #[doc = "## Complexity"] #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] as_multi_threshold_1 { - other_signatories: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - call: ::subxt_core::alloc::boxed::Box< + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -55270,12 +58903,13 @@ pub mod api { #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] as_multi { threshold: ::core::primitive::u16, - other_signatories: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, max_weight: runtime_types::sp_weights::weight_v2::Weight, @@ -55313,8 +58947,9 @@ pub mod api { #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, >, @@ -55345,26 +58980,31 @@ pub mod api { #[doc = "- Storage: removes one item."] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, call_hash: [::core::primitive::u8; 32usize], }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -55411,43 +59051,47 @@ pub mod api { AlreadyStored, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A new multisig operation has begun."] NewMultisig { - approving: ::subxt_core::utils::AccountId32, - multisig: ::subxt_core::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, #[codec(index = 1)] #[doc = "A multisig operation has been approved by someone."] MultisigApproval { - approving: ::subxt_core::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt_core::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] #[doc = "A multisig operation has been executed."] MultisigExecuted { - approving: ::subxt_core::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt_core::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, @@ -55455,27 +59099,27 @@ pub mod api { #[codec(index = 3)] #[doc = "A multisig operation has been cancelled."] MultisigCancelled { - cancelling: ::subxt_core::utils::AccountId32, + cancelling: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u64>, - multisig: ::subxt_core::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, @@ -55483,18 +59127,18 @@ pub mod api { pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -55505,18 +59149,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -55591,8 +59239,8 @@ pub mod api { #[doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] #[doc = "staking system."] unbond { - member_account: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, #[codec(compact)] @@ -55633,8 +59281,8 @@ pub mod api { #[doc = "withdraw. This calculation adds some weight overhead and is only defensive. In reality,"] #[doc = "pool slashes must have been already applied via permissionless [`Call::apply_slash`]."] withdraw_unbonded { - member_account: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, num_slashing_spans: ::core::primitive::u32, @@ -55660,16 +59308,16 @@ pub mod api { create { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + root: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - nominator: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + nominator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - bouncer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -55683,16 +59331,16 @@ pub mod api { create_with_pool_id { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + root: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - nominator: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + nominator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - bouncer: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, pool_id: ::core::primitive::u32, @@ -55712,7 +59360,9 @@ pub mod api { #[doc = "at least `depositor_min_bond` in the pool to start nominating."] nominate { pool_id: ::core::primitive::u32, - validators: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 9)] #[doc = "Set a new state for the pool."] @@ -55736,7 +59386,7 @@ pub mod api { #[doc = "pool."] set_metadata { pool_id: ::core::primitive::u32, - metadata: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + metadata: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 11)] #[doc = "Update configurations for the nomination pools. The origin for this call must be"] @@ -55781,13 +59431,13 @@ pub mod api { update_roles { pool_id: ::core::primitive::u32, new_root: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, new_nominator: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, new_bouncer: runtime_types::pallet_nomination_pools::ConfigOp< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 13)] @@ -55819,8 +59469,8 @@ pub mod api { #[doc = "`other` members assuming set_claim_permission for the given member is"] #[doc = "`PermissionlessCompound` or `PermissionlessAll`."] bond_extra_other { - member: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, extra: runtime_types::pallet_nomination_pools::BondExtra< @@ -55843,7 +59493,7 @@ pub mod api { #[doc = ""] #[doc = "Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim"] #[doc = "permission for this call to be successful."] - claim_payout_other { other: ::subxt_core::utils::AccountId32 }, + claim_payout_other { other: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 17)] #[doc = "Set the commission of a pool."] #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] @@ -55854,7 +59504,7 @@ pub mod api { pool_id: ::core::primitive::u32, new_commission: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>, }, #[codec(index = 18)] @@ -55903,7 +59553,7 @@ pub mod api { pool_id: ::core::primitive::u32, permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, @@ -55916,8 +59566,8 @@ pub mod api { #[doc = "This call can be dispatched permissionlessly (i.e. by any account). If the member has"] #[doc = "slash to be applied, caller may be rewarded with the part of the slash."] apply_slash { - member_account: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -55932,8 +59582,8 @@ pub mod api { #[doc = "If the pool has migrated to delegation based staking, the staked tokens of pool members"] #[doc = "can be moved and held in their own account. See [`adapter::DelegateStake`]"] migrate_delegation { - member_account: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -55950,18 +59600,22 @@ pub mod api { migrate_pool_to_delegate_stake { pool_id: ::core::primitive::u32 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -55979,18 +59633,22 @@ pub mod api { SlashNotApplied, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -56111,30 +59769,34 @@ pub mod api { NotSupported, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events of this pallet."] pub enum Event { #[codec(index = 0)] #[doc = "A pool has been created."] Created { - depositor: ::subxt_core::utils::AccountId32, + depositor: ::subxt::ext::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, }, #[codec(index = 1)] #[doc = "A member has became bonded in a pool."] Bonded { - member: ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, bonded: ::core::primitive::u128, joined: ::core::primitive::bool, @@ -56142,7 +59804,7 @@ pub mod api { #[codec(index = 2)] #[doc = "A payout has been made to a member."] PaidOut { - member: ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, payout: ::core::primitive::u128, }, @@ -56159,7 +59821,7 @@ pub mod api { #[doc = "number of points that are issued in the unbonding pool will be less than the amount"] #[doc = "requested to be unbonded."] Unbonded { - member: ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, balance: ::core::primitive::u128, points: ::core::primitive::u128, @@ -56173,7 +59835,7 @@ pub mod api { #[doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] #[doc = "will be 1."] Withdrawn { - member: ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, pool_id: ::core::primitive::u32, balance: ::core::primitive::u128, points: ::core::primitive::u128, @@ -56193,15 +59855,17 @@ pub mod api { #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id: ::core::primitive::u32, - member: ::subxt_core::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] #[doc = "can never change."] RolesUpdated { - root: ::core::option::Option<::subxt_core::utils::AccountId32>, - bouncer: ::core::option::Option<::subxt_core::utils::AccountId32>, - nominator: ::core::option::Option<::subxt_core::utils::AccountId32>, + root: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + bouncer: + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + nominator: + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, }, #[codec(index = 9)] #[doc = "The active balance of pool `pool_id` has been slashed to `balance`."] @@ -56222,7 +59886,7 @@ pub mod api { pool_id: ::core::primitive::u32, current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>, }, #[codec(index = 12)] @@ -56245,7 +59909,7 @@ pub mod api { pool_id: ::core::primitive::u32, permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, @@ -56269,36 +59933,40 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), @@ -56306,40 +59974,40 @@ pub mod api { Rewards, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BondedPoolInner { pub commission: runtime_types::pallet_nomination_pools::Commission, pub member_counter: ::core::primitive::u32, pub points: ::core::primitive::u128, pub roles: runtime_types::pallet_nomination_pools::PoolRoles< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, pub state: runtime_types::pallet_nomination_pools::PoolState, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -56351,22 +60019,22 @@ pub mod api { PermissionlessAll, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Commission { pub current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, )>, pub max: ::core::option::Option, pub change_rate: ::core::option::Option< @@ -56377,40 +60045,40 @@ pub mod api { pub throttle_from: ::core::option::Option<::core::primitive::u64>, pub claim_permission: ::core::option::Option< runtime_types::pallet_nomination_pools::CommissionClaimPermission< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, @@ -56418,18 +60086,18 @@ pub mod api { Account(_0), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -56439,18 +60107,18 @@ pub mod api { Remove, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PoolMember { pub pool_id: ::core::primitive::u32, pub points: ::core::primitive::u128, @@ -56463,18 +60131,18 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, @@ -56482,18 +60150,18 @@ pub mod api { pub bouncer: ::core::option::Option<_0>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum PoolState { #[codec(index = 0)] Open, @@ -56503,18 +60171,18 @@ pub mod api { Destroying, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -56524,18 +60192,18 @@ pub mod api { pub total_commission_claimed: ::core::primitive::u128, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, pub with_era: @@ -56545,18 +60213,18 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, @@ -56567,18 +60235,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -56587,7 +60259,7 @@ pub mod api { #[doc = "\\[kind, timeslot\\]."] Offence { kind: [::core::primitive::u8; 16usize], - timeslot: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + timeslot: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } @@ -56597,18 +60269,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -56616,7 +60292,9 @@ pub mod api { #[doc = ""] #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] #[doc = "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."] - note_preimage { bytes: ::subxt_core::alloc::vec::Vec<::core::primitive::u8> }, + note_preimage { + bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] #[doc = "Clear an unrequested preimage from the runtime storage."] #[doc = ""] @@ -56624,39 +60302,45 @@ pub mod api { #[doc = ""] #[doc = "- `hash`: The hash of the preimage to be removed from the store."] #[doc = "- `len`: The length of the preimage of `hash`."] - unnote_preimage { hash: ::subxt_core::utils::H256 }, + unnote_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] #[doc = ""] #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] #[doc = "a user may have paid, and take the control of the preimage out of their hands."] - request_preimage { hash: ::subxt_core::utils::H256 }, + request_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 3)] #[doc = "Clear a previously made request for a preimage."] #[doc = ""] #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] - unrequest_preimage { hash: ::subxt_core::utils::H256 }, + unrequest_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 4)] #[doc = "Ensure that the a bulk of pre-images is upgraded."] #[doc = ""] #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] ensure_updated { - hashes: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, + hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -56688,61 +60372,69 @@ pub mod api { NoCost, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A preimage has been noted."] - Noted { hash: ::subxt_core::utils::H256 }, + Noted { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] #[doc = "A preimage has been requested."] - Requested { hash: ::subxt_core::utils::H256 }, + Requested { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] #[doc = "A preimage has ben cleared."] - Cleared { hash: ::subxt_core::utils::H256 }, + Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum HoldReason { #[codec(index = 0)] Preimage, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, @@ -56754,18 +60446,18 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, @@ -56782,18 +60474,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -56807,14 +60503,14 @@ pub mod api { #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] #[doc = "- `call`: The call to be made by the `real` account."] proxy { - real: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, force_proxy_type: ::core::option::Option< runtime_types::tangle_testnet_runtime::ProxyType, >, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -56829,8 +60525,8 @@ pub mod api { #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] #[doc = "zero."] add_proxy { - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -56845,8 +60541,8 @@ pub mod api { #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] remove_proxy { - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -56902,8 +60598,8 @@ pub mod api { #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] #[doc = "account whose `pure` call has corresponding parameters."] kill_pure { - spawner: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + spawner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, @@ -56930,11 +60626,11 @@ pub mod api { #[doc = "- `real`: The account that the proxy will make a call on behalf of."] #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] announce { - real: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt_core::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 7)] #[doc = "Remove a given announcement."] @@ -56948,11 +60644,11 @@ pub mod api { #[doc = "- `real`: The account that the proxy will make a call on behalf of."] #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] remove_announcement { - real: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt_core::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 8)] #[doc = "Remove the given announcement of a delegate."] @@ -56966,11 +60662,11 @@ pub mod api { #[doc = "- `delegate`: The account that previously announced the call."] #[doc = "- `call_hash`: The hash of the call to be made."] reject_announcement { - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call_hash: ::subxt_core::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 9)] #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] @@ -56985,35 +60681,39 @@ pub mod api { #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] #[doc = "- `call`: The call to be made by the `real` account."] proxy_announced { - delegate: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - real: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, force_proxy_type: ::core::option::Option< runtime_types::tangle_testnet_runtime::ProxyType, >, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -57042,18 +60742,22 @@ pub mod api { NoSelfProxy, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -57066,67 +60770,67 @@ pub mod api { #[doc = "A pure account has been created by new proxy with given"] #[doc = "disambiguation index and proxy type."] PureCreated { - pure: ::subxt_core::utils::AccountId32, - who: ::subxt_core::utils::AccountId32, + pure: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, disambiguation_index: ::core::primitive::u16, }, #[codec(index = 2)] #[doc = "An announcement was placed to make a call in the future."] Announced { - real: ::subxt_core::utils::AccountId32, - proxy: ::subxt_core::utils::AccountId32, - call_hash: ::subxt_core::utils::H256, + real: ::subxt::ext::subxt_core::utils::AccountId32, + proxy: ::subxt::ext::subxt_core::utils::AccountId32, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] #[doc = "A proxy was added."] ProxyAdded { - delegator: ::subxt_core::utils::AccountId32, - delegatee: ::subxt_core::utils::AccountId32, + delegator: ::subxt::ext::subxt_core::utils::AccountId32, + delegatee: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, delay: ::core::primitive::u64, }, #[codec(index = 4)] #[doc = "A proxy was removed."] ProxyRemoved { - delegator: ::subxt_core::utils::AccountId32, - delegatee: ::subxt_core::utils::AccountId32, + delegator: ::subxt::ext::subxt_core::utils::AccountId32, + delegatee: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::tangle_testnet_runtime::ProxyType, delay: ::core::primitive::u64, }, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -57138,18 +60842,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57161,7 +60869,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -57178,7 +60886,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -57194,7 +60902,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -57208,7 +60916,7 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -57256,18 +60964,22 @@ pub mod api { cancel_retry_named { id: [::core::primitive::u8; 32usize] }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -57287,18 +60999,22 @@ pub mod api { Named, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -57357,36 +61073,36 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RetryConfig<_0> { pub total_retries: ::core::primitive::u8, pub remaining: ::core::primitive::u8, pub period: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -57402,18 +61118,22 @@ pub mod api { pub mod module { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57452,11 +61172,13 @@ pub mod api { blueprint_id: ::core::primitive::u64, preferences: runtime_types::tangle_primitives::services::OperatorPreferences, - registration_args: ::subxt_core::alloc::vec::Vec< + registration_args: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, + #[codec(compact)] + value: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "Unregister the caller from being an operator for the service blueprint"] @@ -57484,17 +61206,22 @@ pub mod api { request { #[codec(compact)] blueprint_id: ::core::primitive::u64, - permitted_callers: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - operators: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - request_args: ::subxt_core::alloc::vec::Vec< + permitted_callers: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + operators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + request_args: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, - assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, #[codec(compact)] ttl: ::core::primitive::u64, + #[codec(compact)] + value: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "Approve a service request, so that the service can be initiated."] @@ -57529,9 +61256,9 @@ pub mod api { service_id: ::core::primitive::u64, #[codec(compact)] job: ::core::primitive::u8, - args: ::subxt_core::alloc::vec::Vec< + args: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, @@ -57542,9 +61269,9 @@ pub mod api { service_id: ::core::primitive::u64, #[codec(compact)] call_id: ::core::primitive::u64, - result: ::subxt_core::alloc::vec::Vec< + result: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, @@ -57555,7 +61282,7 @@ pub mod api { #[doc = "Note that this does not apply the slash directly, but instead schedules a deferred call to apply the slash"] #[doc = "by another entity."] slash { - offender: ::subxt_core::utils::AccountId32, + offender: ::subxt::ext::subxt_core::utils::AccountId32, #[codec(compact)] service_id: ::core::primitive::u64, #[codec(compact)] @@ -57571,296 +61298,344 @@ pub mod api { #[codec(compact)] index: ::core::primitive::u32, }, + #[codec(index = 13)] + update_master_blueprint_service_manager { + address: ::subxt::ext::subxt_core::utils::H160, + }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] #[doc = "The service blueprint was not found."] BlueprintNotFound, #[codec(index = 1)] + #[doc = "Blueprint creation is interrupted."] + BlueprintCreationInterrupted, + #[codec(index = 2)] #[doc = "The caller is already registered as a operator."] AlreadyRegistered, - #[codec(index = 2)] + #[codec(index = 3)] #[doc = "The caller does not have the requirements to be a operator."] InvalidRegistrationInput, - #[codec(index = 3)] + #[codec(index = 4)] + #[doc = "The Operator is not allowed to unregister."] + NotAllowedToUnregister, + #[codec(index = 5)] + #[doc = "The Operator is not allowed to update their price targets."] + NotAllowedToUpdatePriceTargets, + #[codec(index = 6)] #[doc = "The caller does not have the requirements to request a service."] InvalidRequestInput, - #[codec(index = 4)] + #[codec(index = 7)] #[doc = "The caller does not have the requirements to call a job."] InvalidJobCallInput, - #[codec(index = 5)] + #[codec(index = 8)] #[doc = "The caller provided an invalid job result."] InvalidJobResult, - #[codec(index = 6)] + #[codec(index = 9)] #[doc = "The caller is not registered as a operator."] NotRegistered, - #[codec(index = 7)] + #[codec(index = 10)] + #[doc = "Approval Process is interrupted."] + ApprovalInterrupted, + #[codec(index = 11)] + #[doc = "Rejection Process is interrupted."] + RejectionInterrupted, + #[codec(index = 12)] #[doc = "The service request was not found."] ServiceRequestNotFound, - #[codec(index = 8)] + #[codec(index = 13)] + #[doc = "Service Initialization interrupted."] + ServiceInitializationInterrupted, + #[codec(index = 14)] #[doc = "The service was not found."] ServiceNotFound, - #[codec(index = 9)] + #[codec(index = 15)] + #[doc = "The termination of the service was interrupted."] + TerminationInterrupted, + #[codec(index = 16)] #[doc = "An error occurred while type checking the provided input input."] TypeCheck(runtime_types::tangle_primitives::services::TypeCheckError), - #[codec(index = 10)] + #[codec(index = 17)] #[doc = "The maximum number of permitted callers per service has been exceeded."] MaxPermittedCallersExceeded, - #[codec(index = 11)] + #[codec(index = 18)] #[doc = "The maximum number of operators per service has been exceeded."] MaxServiceProvidersExceeded, - #[codec(index = 12)] + #[codec(index = 19)] #[doc = "The maximum number of services per user has been exceeded."] MaxServicesPerUserExceeded, - #[codec(index = 13)] + #[codec(index = 20)] #[doc = "The maximum number of fields per request has been exceeded."] MaxFieldsExceeded, - #[codec(index = 14)] + #[codec(index = 21)] #[doc = "The approval is not requested for the operator (the caller)."] ApprovalNotRequested, - #[codec(index = 15)] + #[codec(index = 22)] #[doc = "The requested job definition does not exist."] #[doc = "This error is returned when the requested job definition does not exist in the service"] #[doc = "blueprint."] JobDefinitionNotFound, - #[codec(index = 16)] + #[codec(index = 23)] #[doc = "Either the service or the job call was not found."] ServiceOrJobCallNotFound, - #[codec(index = 17)] + #[codec(index = 24)] #[doc = "The result of the job call was not found."] JobCallResultNotFound, - #[codec(index = 18)] + #[codec(index = 25)] #[doc = "An error occurred while encoding the EVM ABI."] EVMAbiEncode, - #[codec(index = 19)] + #[codec(index = 26)] #[doc = "An error occurred while decoding the EVM ABI."] EVMAbiDecode, - #[codec(index = 20)] + #[codec(index = 27)] #[doc = "Operator profile not found."] OperatorProfileNotFound, - #[codec(index = 21)] + #[codec(index = 28)] #[doc = "Maximum number of services per Provider reached."] MaxServicesPerProviderExceeded, - #[codec(index = 22)] + #[codec(index = 29)] #[doc = "The operator is not active, ensure operator status is ACTIVE in multi-asset-delegation"] OperatorNotActive, - #[codec(index = 23)] + #[codec(index = 30)] #[doc = "No assets provided for the service, at least one asset is required."] NoAssetsProvided, - #[codec(index = 24)] + #[codec(index = 31)] #[doc = "The maximum number of assets per service has been exceeded."] MaxAssetsPerServiceExceeded, - #[codec(index = 25)] + #[codec(index = 32)] #[doc = "Offender is not a registered operator."] OffenderNotOperator, - #[codec(index = 26)] + #[codec(index = 33)] #[doc = "Offender is not an active operator."] OffenderNotActiveOperator, - #[codec(index = 27)] + #[codec(index = 34)] #[doc = "The Service Blueprint did not return a slashing origin for this service."] NoSlashingOrigin, - #[codec(index = 28)] + #[codec(index = 35)] #[doc = "The Service Blueprint did not return a dispute origin for this service."] NoDisputeOrigin, - #[codec(index = 29)] + #[codec(index = 36)] #[doc = "The Unapplied Slash are not found."] UnappliedSlashNotFound, + #[codec(index = 37)] + #[doc = "The Supplied Master Blueprint Service Manager Revision is not found."] + MasterBlueprintServiceManagerRevisionNotFound, + #[codec(index = 38)] + #[doc = "Maximum number of Master Blueprint Service Manager revisions reached."] + MaxMasterBlueprintServiceManagerVersionsExceeded, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A new service blueprint has been created."] BlueprintCreated { - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 1)] #[doc = "An operator has pre-registered for a service blueprint."] PreRegistration { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 2)] #[doc = "An new operator has been registered."] Registered { - provider: ::subxt_core::utils::AccountId32, + provider: ::subxt::ext::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, preferences: runtime_types::tangle_primitives::services::OperatorPreferences, - registration_args: ::subxt_core::alloc::vec::Vec< + registration_args: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 3)] #[doc = "An operator has been unregistered."] Unregistered { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, }, #[codec(index = 4)] #[doc = "The price targets for an operator has been updated."] PriceTargetsUpdated { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, blueprint_id: ::core::primitive::u64, price_targets: runtime_types::tangle_primitives::services::PriceTargets, }, #[codec(index = 5)] #[doc = "A new service has been requested."] ServiceRequested { - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - pending_approvals: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - approved: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + pending_approvals: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + approved: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, }, #[codec(index = 6)] #[doc = "A service request has been approved."] ServiceRequestApproved { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - pending_approvals: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, - approved: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + pending_approvals: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + approved: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 7)] #[doc = "A service request has been rejected."] ServiceRequestRejected { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, }, #[codec(index = 8)] #[doc = "A service has been initiated."] ServiceInitiated { - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, request_id: ::core::primitive::u64, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, - assets: ::subxt_core::alloc::vec::Vec<::core::primitive::u128>, + assets: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u128>, }, #[codec(index = 9)] #[doc = "A service has been terminated."] ServiceTerminated { - owner: ::subxt_core::utils::AccountId32, + owner: ::subxt::ext::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, }, #[codec(index = 10)] #[doc = "A job has been called."] JobCalled { - caller: ::subxt_core::utils::AccountId32, + caller: ::subxt::ext::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, call_id: ::core::primitive::u64, job: ::core::primitive::u8, - args: ::subxt_core::alloc::vec::Vec< + args: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 11)] #[doc = "A job result has been submitted."] JobResultSubmitted { - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, service_id: ::core::primitive::u64, call_id: ::core::primitive::u64, job: ::core::primitive::u8, - result: ::subxt_core::alloc::vec::Vec< + result: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::field::Field< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, }, #[codec(index = 12)] - #[doc = "An EVM log has been emitted during an execution."] - EvmLog { - address: ::subxt_core::utils::H160, - topics: ::subxt_core::alloc::vec::Vec<::subxt_core::utils::H256>, - data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - }, - #[codec(index = 13)] #[doc = "EVM execution reverted with a reason."] EvmReverted { - from: ::subxt_core::utils::H160, - to: ::subxt_core::utils::H160, - data: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, - reason: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + from: ::subxt::ext::subxt_core::utils::H160, + to: ::subxt::ext::subxt_core::utils::H160, + data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + reason: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, - #[codec(index = 14)] + #[codec(index = 13)] #[doc = "An Operator has an unapplied slash."] UnappliedSlash { index: ::core::primitive::u32, - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, era: ::core::primitive::u32, }, - #[codec(index = 15)] + #[codec(index = 14)] #[doc = "An Unapplied Slash got discarded."] SlashDiscarded { index: ::core::primitive::u32, - operator: ::subxt_core::utils::AccountId32, + operator: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, service_id: ::core::primitive::u64, blueprint_id: ::core::primitive::u64, era: ::core::primitive::u32, }, + #[codec(index = 15)] + #[doc = "The Master Blueprint Service Manager has been revised."] + MasterBlueprintServiceManagerRevised { + revision: ::core::primitive::u32, + address: ::subxt::ext::subxt_core::utils::H160, + }, } } pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct UnappliedSlash<_0, _1> { pub service_id: ::core::primitive::u64, pub operator: _0, pub own: _1, - pub others: ::subxt_core::alloc::vec::Vec<(_0, _1)>, - pub reporters: ::subxt_core::alloc::vec::Vec<_0>, + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _1)>, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } } @@ -57870,18 +61645,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -57896,7 +61675,7 @@ pub mod api { #[doc = " fixed."] set_keys { keys: runtime_types::tangle_testnet_runtime::opaque::SessionKeys, - proof: ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "Removes any session key(s) of the function caller."] @@ -57914,18 +61693,22 @@ pub mod api { purge_keys, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the session pallet."] pub enum Error { #[codec(index = 0)] @@ -57945,18 +61728,22 @@ pub mod api { NoAccount, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -57973,18 +61760,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -58008,7 +61799,7 @@ pub mod api { #[codec(compact)] value: ::core::primitive::u128, payee: runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 1)] @@ -58098,9 +61889,9 @@ pub mod api { #[doc = "which is capped at CompactAssignments::LIMIT (T::MaxNominations)."] #[doc = "- Both the reads and writes follow a similar pattern."] nominate { - targets: ::subxt_core::alloc::vec::Vec< - ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + targets: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >, @@ -58132,7 +61923,7 @@ pub mod api { #[doc = "---------"] set_payee { payee: runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 8)] @@ -58221,8 +62012,9 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin must be Root."] set_invulnerables { - invulnerables: - ::subxt_core::alloc::vec::Vec<::subxt_core::utils::AccountId32>, + invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 15)] #[doc = "Force a current staker to become completely unstaked, immediately."] @@ -58234,7 +62026,7 @@ pub mod api { #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] #[doc = "details."] force_unstake { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 16)] @@ -58256,7 +62048,8 @@ pub mod api { #[doc = "Parameters: era and indices of the slashes for that era to kill."] cancel_deferred_slash { era: ::core::primitive::u32, - slash_indices: ::subxt_core::alloc::vec::Vec<::core::primitive::u32>, + slash_indices: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, }, #[codec(index = 18)] #[doc = "Pay out next page of the stakers behind a validator for the given era."] @@ -58273,7 +62066,7 @@ pub mod api { #[doc = ""] #[doc = "If all pages are claimed, it returns an error `InvalidPage`."] payout_stakers { - validator_stash: ::subxt_core::utils::AccountId32, + validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, era: ::core::primitive::u32, }, #[codec(index = 19)] @@ -58308,7 +62101,7 @@ pub mod api { #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] #[doc = "details."] reap_stash { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 21)] @@ -58324,9 +62117,9 @@ pub mod api { #[doc = "Note: Making this call only makes sense if you first set the validator preferences to"] #[doc = "block any further nominations."] kick { - who: ::subxt_core::alloc::vec::Vec< - ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, >, @@ -58405,13 +62198,13 @@ pub mod api { #[doc = ""] #[doc = "This can be helpful if bond requirements are updated, and we need to remove old users"] #[doc = "who do not satisfy these requirements."] - chill_other { stash: ::subxt_core::utils::AccountId32 }, + chill_other { stash: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 24)] #[doc = "Force a validator to have at least the minimum commission. This will not affect a"] #[doc = "validator who already has a commission greater than or equal to the minimum. Any account"] #[doc = "can call this."] force_apply_min_commission { - validator_stash: ::subxt_core::utils::AccountId32, + validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 25)] #[doc = "Sets the minimum amount of commission that each validators must maintain."] @@ -58440,7 +62233,7 @@ pub mod api { #[doc = "and so it should not be assumed the highest staker would be on the topmost page and vice"] #[doc = "versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost."] payout_stakers_by_page { - validator_stash: ::subxt_core::utils::AccountId32, + validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, era: ::core::primitive::u32, page: ::core::primitive::u32, }, @@ -58451,7 +62244,7 @@ pub mod api { #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] #[doc = ""] #[doc = "This will waive the transaction fee if the `payee` is successfully migrated."] - update_payee { controller: ::subxt_core::utils::AccountId32 }, + update_payee { controller: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 28)] #[doc = "Updates a batch of controller accounts to their corresponding stash account if they are"] #[doc = "not the same. Ignores any controller accounts that do not exist, and does not operate if"] @@ -58463,7 +62256,7 @@ pub mod api { deprecate_controller_batch { controllers: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 29)] @@ -58479,9 +62272,10 @@ pub mod api { #[doc = "ledger associated with the stash. If the input parameters are not set, the ledger will"] #[doc = "be reset values from on-chain state."] restore_ledger { - stash: ::subxt_core::utils::AccountId32, - maybe_controller: - ::core::option::Option<::subxt_core::utils::AccountId32>, + stash: ::subxt::ext::subxt_core::utils::AccountId32, + maybe_controller: ::core::option::Option< + ::subxt::ext::subxt_core::utils::AccountId32, + >, maybe_total: ::core::option::Option<::core::primitive::u128>, maybe_unlocking: ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -58493,18 +62287,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -58514,18 +62312,22 @@ pub mod api { Remove, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -58627,18 +62429,22 @@ pub mod api { VirtualStakerNotAllowed, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -58652,23 +62458,23 @@ pub mod api { #[codec(index = 1)] #[doc = "The nominator has been rewarded by this amount to this destination."] Rewarded { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, dest: runtime_types::pallet_staking::RewardDestination< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A staker (validator or nominator) has been slashed by the given amount."] Slashed { - staker: ::subxt_core::utils::AccountId32, + staker: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] #[doc = "era as been reported."] SlashReported { - validator: ::subxt_core::utils::AccountId32, + validator: ::subxt::ext::subxt_core::utils::AccountId32, fraction: runtime_types::sp_arithmetic::per_things::Perbill, slash_era: ::core::primitive::u32, }, @@ -58685,44 +62491,44 @@ pub mod api { #[doc = "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,"] #[doc = "it will not be emitted for staking rewards when they are added to stake."] Bonded { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 7)] #[doc = "An account has unbonded this amount."] Unbonded { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] #[doc = "from the unlocking queue."] Withdrawn { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "A nominator has been kicked from a validator."] Kicked { - nominator: ::subxt_core::utils::AccountId32, - stash: ::subxt_core::utils::AccountId32, + nominator: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 10)] #[doc = "The election failed. No new era is planned."] StakingElectionFailed, #[codec(index = 11)] #[doc = "An account has stopped participating as either a validator or nominator."] - Chilled { stash: ::subxt_core::utils::AccountId32 }, + Chilled { stash: ::subxt::ext::subxt_core::utils::AccountId32 }, #[codec(index = 12)] #[doc = "The stakers' rewards are getting paid."] PayoutStarted { era_index: ::core::primitive::u32, - validator_stash: ::subxt_core::utils::AccountId32, + validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 13)] #[doc = "A validator has set their preferences."] ValidatorPrefsSet { - stash: ::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, prefs: runtime_types::pallet_staking::ValidatorPrefs, }, #[codec(index = 14)] @@ -58743,89 +62549,98 @@ pub mod api { pub mod slashing { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SlashingSpans { pub span_index: ::core::primitive::u32, pub last_start: ::core::primitive::u32, pub last_nonzero_slash: ::core::primitive::u32, - pub prior: ::subxt_core::alloc::vec::Vec<::core::primitive::u32>, + pub prior: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SpanRecord<_0> { pub slashed: _0, pub paid_out: _0, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ActiveEraInfo { pub index: ::core::primitive::u32, pub start: ::core::option::Option<::core::primitive::u64>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EraRewardPoints<_0> { pub total: ::core::primitive::u32, - pub individual: ::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, + pub individual: + ::subxt::ext::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Forcing { #[codec(index = 0)] NotForcing, @@ -58837,38 +62652,38 @@ pub mod api { ForceAlways, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Nominations { pub targets: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, pub submitted_in: ::core::primitive::u32, pub suppressed: ::core::primitive::bool, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -58882,20 +62697,20 @@ pub mod api { None, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct StakingLedger { - pub stash: ::subxt_core::utils::AccountId32, + pub stash: ::subxt::ext::subxt_core::utils::AccountId32, #[codec(compact)] pub total: ::core::primitive::u128, #[codec(compact)] @@ -58909,38 +62724,38 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct UnappliedSlash<_0, _1> { pub validator: _0, pub own: _1, - pub others: ::subxt_core::alloc::vec::Vec<(_0, _1)>, - pub reporters: ::subxt_core::alloc::vec::Vec<_0>, + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _1)>, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct UnlockChunk<_0> { #[codec(compact)] pub value: _0, @@ -58948,18 +62763,18 @@ pub mod api { pub era: ::core::primitive::u32, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ValidatorPrefs { #[codec(compact)] pub commission: runtime_types::sp_arithmetic::per_things::Perbill, @@ -58971,24 +62786,28 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] sudo { - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -58999,7 +62818,7 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] sudo_unchecked_weight { - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, weight: runtime_types::sp_weights::weight_v2::Weight, @@ -59008,8 +62827,8 @@ pub mod api { #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] #[doc = "key."] set_key { - new: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -59019,11 +62838,11 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Signed_."] sudo_as { - who: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -59034,18 +62853,22 @@ pub mod api { remove_key, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the Sudo pallet."] pub enum Error { #[codec(index = 0)] @@ -59053,18 +62876,22 @@ pub mod api { RequireSudo, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -59076,8 +62903,8 @@ pub mod api { #[codec(index = 1)] #[doc = "The sudo key has been updated."] KeyChanged { - old: ::core::option::Option<::subxt_core::utils::AccountId32>, - new: ::subxt_core::utils::AccountId32, + old: ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, + new: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "The key was permanently removed."] @@ -59096,34 +62923,42 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "Stake funds with a pool. The amount to bond is transferred from the member to the"] # [doc = "pools account and immediately increases the pools bond."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This call will *not* dust the member account, so the member must have at least"] # [doc = " `existential deposit + amount` in their account."] # [doc = "* Only a pool with [`PoolState::Open`] can be joined"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] # [doc = ""] # [doc = "Additional funds can come from either the free balance of the account, of from the"] # [doc = "accumulated rewards, see [`BondExtra`]."] # [doc = ""] # [doc = "Bonding extra funds implies an automatic payout of all pending rewards as well."] # [doc = "See `bond_extra_other` to bond pending rewards of `other` members."] bond_extra { pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 3)] # [doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] # [doc = "implicitly collects the rewards one last time, since not doing so would mean some"] # [doc = "rewards would be forfeited."] # [doc = ""] # [doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] # [doc = "account)."] # [doc = ""] # [doc = "# Conditions for a permissionless dispatch."] # [doc = ""] # [doc = "* The pool is blocked and the caller is either the root or bouncer. This is refereed to"] # [doc = " as a kick."] # [doc = "* The pool is destroying and the member is not the depositor."] # [doc = "* The pool is destroying, the member is the depositor and no other members are in the"] # [doc = " pool."] # [doc = ""] # [doc = "## Conditions for permissioned dispatch (i.e. the caller is also the"] # [doc = "`member_account`):"] # [doc = ""] # [doc = "* The caller is not the depositor."] # [doc = "* The caller is the depositor, the pool is destroying and no other members are in the"] # [doc = " pool."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "If there are too many unlocking chunks to unbond with the pool account,"] # [doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks."] # [doc = "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]"] # [doc = "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks"] # [doc = "are available). However, it may not be possible to release the current unlocking chunks,"] # [doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] # [doc = "staking system."] unbond { member_account : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , # [codec (compact)] unbonding_points : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] # [doc = ""] # [doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] # [doc = "can be cleared by withdrawing. In the case there are too many unlocking chunks, the user"] # [doc = "would probably see an error like `NoMoreChunks` emitted from the staking system when"] # [doc = "they attempt to unbond."] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] # [doc = "error is returned."] # [doc = ""] # [doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] # [doc = "account)."] # [doc = ""] # [doc = "# Conditions for a permissionless dispatch"] # [doc = ""] # [doc = "* The pool is in destroy mode and the target is not the depositor."] # [doc = "* The target is the depositor and they are the only member in the sub pools."] # [doc = "* The pool is blocked and the caller is either the root or bouncer."] # [doc = ""] # [doc = "# Conditions for permissioned dispatch"] # [doc = ""] # [doc = "* The caller is the target and they are not the depositor."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "If the target is the depositor, the pool will be destroyed."] withdraw_unbonded { member_account : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "Create a new delegation pool."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `amount` - The amount of funds to delegate to the pool. This also acts of a sort of"] # [doc = " deposit since the pools creator cannot fully unbond funds until the pool is being"] # [doc = " destroyed."] # [doc = "* `index` - A disambiguation index for creating the account. Likely only useful when"] # [doc = " creating multiple pools in the same extrinsic."] # [doc = "* `root` - The account to set as [`PoolRoles::root`]."] # [doc = "* `nominator` - The account to set as the [`PoolRoles::nominator`]."] # [doc = "* `bouncer` - The account to set as the [`PoolRoles::bouncer`]."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "In addition to `amount`, the caller will transfer the existential deposit; so the caller"] # [doc = "needs at have at least `amount + existential_deposit` transferable."] create { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 7)] # [doc = "Create a new delegation pool with a previously used pool id"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "same as `create` with the inclusion of"] # [doc = "* `pool_id` - `A valid PoolId."] create_with_pool_id { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 8)] # [doc = "Nominate on behalf of the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] # [doc = "root role."] # [doc = ""] # [doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] # [doc = "account."] nominate { pool_id : :: core :: primitive :: u32 , validators : :: subxt_core :: alloc :: vec :: Vec < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "Set a new state for the pool."] # [doc = ""] # [doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] # [doc = "change again."] # [doc = ""] # [doc = "The dispatch origin of this call must be either:"] # [doc = ""] # [doc = "1. signed by the bouncer, or the root role of the pool,"] # [doc = "2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and"] # [doc = " then the state of the pool can be permissionlessly changed to `Destroying`."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Set a new metadata for the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] # [doc = "pool."] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Update configurations for the nomination pools. The origin for this call must be"] # [doc = "Root."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `min_join_bond` - Set [`MinJoinBond`]."] # [doc = "* `min_create_bond` - Set [`MinCreateBond`]."] # [doc = "* `max_pools` - Set [`MaxPools`]."] # [doc = "* `max_members` - Set [`MaxPoolMembers`]."] # [doc = "* `max_members_per_pool` - Set [`MaxPoolMembersPerPool`]."] # [doc = "* `global_max_commission` - Set [`GlobalMaxCommission`]."] set_configs { min_join_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , min_create_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , max_pools : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u32 > , global_max_commission : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Perbill > , } , # [codec (index = 12)] # [doc = "Update the roles of the pool."] # [doc = ""] # [doc = "The root is the only entity that can change any of the roles, including itself,"] # [doc = "excluding the depositor, who can never change."] # [doc = ""] # [doc = "It emits an event, notifying UIs of the role change. This event is quite relevant to"] # [doc = "most pool members and they should be informed of changes to pool roles."] update_roles { pool_id : :: core :: primitive :: u32 , new_root : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , new_nominator : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , new_bouncer : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 13)] # [doc = "Chill on behalf of the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] # [doc = "root role, same as [`Pallet::nominate`]."] # [doc = ""] # [doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] # [doc = "account."] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] # [doc = "pools."] # [doc = ""] # [doc = "`origin` can bond extra funds from free balance or pending rewards when `origin =="] # [doc = "other`."] # [doc = ""] # [doc = "In the case of `origin != other`, `origin` can only bond extra pending rewards of"] # [doc = "`other` members assuming set_claim_permission for the given member is"] # [doc = "`PermissionlessAll` or `PermissionlessCompound`."] bond_extra_other { member : :: subxt_core :: utils :: MultiAddress < :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 17)] # [doc = "Set the commission of a pool."] # [doc = "Both a commission percentage and a commission payee must be provided in the `current`"] # [doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] # [doc = ""] # [doc = "- If a `None` is supplied to `new_commission`, existing commission will be removed."] set_commission { pool_id : :: core :: primitive :: u32 , new_commission : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 18)] # [doc = "Set the maximum commission of a pool."] # [doc = ""] # [doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] # [doc = "- Current commission will be lowered in the event it is higher than a new max"] # [doc = " commission."] set_commission_max { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 19)] # [doc = "Set the commission change rate for a pool."] # [doc = ""] # [doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] # [doc = "restrictive than the current."] set_commission_change_rate { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 20)] # [doc = "Claim pending commission."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] # [doc = "commission is paid out and added to total claimed commission`. Total pending commission"] # [doc = "is reset to zero. the current."] claim_commission { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Top up the deficit or withdraw the excess ED from the pool."] # [doc = ""] # [doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] # [doc = "pool. ED is subject to change and over time, the deposit in the reward account may be"] # [doc = "insufficient to cover the ED deficit of the pool or vice-versa where there is excess"] # [doc = "deposit to the pool. This call allows anyone to adjust the ED deposit of the"] # [doc = "pool by either topping up the deficit or claiming the excess."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] # [doc = "is able to conifigure commission claim permissions."] set_commission_claim_permission { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } , } + # [codec (index = 0)] # [doc = "Stake funds with a pool. The amount to bond is transferred from the member to the"] # [doc = "pools account and immediately increases the pools bond."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This call will *not* dust the member account, so the member must have at least"] # [doc = " `existential deposit + amount` in their account."] # [doc = "* Only a pool with [`PoolState::Open`] can be joined"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] # [doc = ""] # [doc = "Additional funds can come from either the free balance of the account, of from the"] # [doc = "accumulated rewards, see [`BondExtra`]."] # [doc = ""] # [doc = "Bonding extra funds implies an automatic payout of all pending rewards as well."] # [doc = "See `bond_extra_other` to bond pending rewards of `other` members."] bond_extra { pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 3)] # [doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] # [doc = "implicitly collects the rewards one last time, since not doing so would mean some"] # [doc = "rewards would be forfeited."] # [doc = ""] # [doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] # [doc = "account)."] # [doc = ""] # [doc = "# Conditions for a permissionless dispatch."] # [doc = ""] # [doc = "* The pool is blocked and the caller is either the root or bouncer. This is refereed to"] # [doc = " as a kick."] # [doc = "* The pool is destroying and the member is not the depositor."] # [doc = "* The pool is destroying, the member is the depositor and no other members are in the"] # [doc = " pool."] # [doc = ""] # [doc = "## Conditions for permissioned dispatch (i.e. the caller is also the"] # [doc = "`member_account`):"] # [doc = ""] # [doc = "* The caller is not the depositor."] # [doc = "* The caller is the depositor, the pool is destroying and no other members are in the"] # [doc = " pool."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "If there are too many unlocking chunks to unbond with the pool account,"] # [doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks."] # [doc = "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]"] # [doc = "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks"] # [doc = "are available). However, it may not be possible to release the current unlocking chunks,"] # [doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] # [doc = "staking system."] unbond { member_account : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , # [codec (compact)] unbonding_points : :: core :: primitive :: u128 , } , # [codec (index = 4)] # [doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] # [doc = ""] # [doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] # [doc = "can be cleared by withdrawing. In the case there are too many unlocking chunks, the user"] # [doc = "would probably see an error like `NoMoreChunks` emitted from the staking system when"] # [doc = "they attempt to unbond."] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] # [doc = "error is returned."] # [doc = ""] # [doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] # [doc = "account)."] # [doc = ""] # [doc = "# Conditions for a permissionless dispatch"] # [doc = ""] # [doc = "* The pool is in destroy mode and the target is not the depositor."] # [doc = "* The target is the depositor and they are the only member in the sub pools."] # [doc = "* The pool is blocked and the caller is either the root or bouncer."] # [doc = ""] # [doc = "# Conditions for permissioned dispatch"] # [doc = ""] # [doc = "* The caller is the target and they are not the depositor."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "If the target is the depositor, the pool will be destroyed."] withdraw_unbonded { member_account : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "Create a new delegation pool."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `amount` - The amount of funds to delegate to the pool. This also acts of a sort of"] # [doc = " deposit since the pools creator cannot fully unbond funds until the pool is being"] # [doc = " destroyed."] # [doc = "* `index` - A disambiguation index for creating the account. Likely only useful when"] # [doc = " creating multiple pools in the same extrinsic."] # [doc = "* `root` - The account to set as [`PoolRoles::root`]."] # [doc = "* `nominator` - The account to set as the [`PoolRoles::nominator`]."] # [doc = "* `bouncer` - The account to set as the [`PoolRoles::bouncer`]."] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "In addition to `amount`, the caller will transfer the existential deposit; so the caller"] # [doc = "needs at have at least `amount + existential_deposit` transferable."] create { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 7)] # [doc = "Create a new delegation pool with a previously used pool id"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "same as `create` with the inclusion of"] # [doc = "* `pool_id` - `A valid PoolId."] create_with_pool_id { # [codec (compact)] amount : :: core :: primitive :: u128 , root : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , nominator : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , bouncer : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , name : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , icon : :: core :: option :: Option < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > > , } , # [codec (index = 8)] # [doc = "Nominate on behalf of the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] # [doc = "root role."] # [doc = ""] # [doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] # [doc = "account."] nominate { pool_id : :: core :: primitive :: u32 , validators : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "Set a new state for the pool."] # [doc = ""] # [doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] # [doc = "change again."] # [doc = ""] # [doc = "The dispatch origin of this call must be either:"] # [doc = ""] # [doc = "1. signed by the bouncer, or the root role of the pool,"] # [doc = "2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and"] # [doc = " then the state of the pool can be permissionlessly changed to `Destroying`."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Set a new metadata for the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] # [doc = "pool."] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Update configurations for the nomination pools. The origin for this call must be"] # [doc = "Root."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `min_join_bond` - Set [`MinJoinBond`]."] # [doc = "* `min_create_bond` - Set [`MinCreateBond`]."] # [doc = "* `max_pools` - Set [`MaxPools`]."] # [doc = "* `max_members` - Set [`MaxPoolMembers`]."] # [doc = "* `max_members_per_pool` - Set [`MaxPoolMembersPerPool`]."] # [doc = "* `global_max_commission` - Set [`GlobalMaxCommission`]."] set_configs { min_join_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , min_create_bond : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u128 > , max_pools : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: core :: primitive :: u32 > , global_max_commission : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < runtime_types :: sp_arithmetic :: per_things :: Perbill > , } , # [codec (index = 12)] # [doc = "Update the roles of the pool."] # [doc = ""] # [doc = "The root is the only entity that can change any of the roles, including itself,"] # [doc = "excluding the depositor, who can never change."] # [doc = ""] # [doc = "It emits an event, notifying UIs of the role change. This event is quite relevant to"] # [doc = "most pool members and they should be informed of changes to pool roles."] update_roles { pool_id : :: core :: primitive :: u32 , new_root : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , new_nominator : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , new_bouncer : runtime_types :: pallet_tangle_lst :: types :: ConfigOp < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 13)] # [doc = "Chill on behalf of the pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] # [doc = "root role, same as [`Pallet::nominate`]."] # [doc = ""] # [doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] # [doc = "account."] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] # [doc = "pools."] # [doc = ""] # [doc = "`origin` can bond extra funds from free balance or pending rewards when `origin =="] # [doc = "other`."] # [doc = ""] # [doc = "In the case of `origin != other`, `origin` can only bond extra pending rewards of"] # [doc = "`other` members assuming set_claim_permission for the given member is"] # [doc = "`PermissionlessAll` or `PermissionlessCompound`."] bond_extra_other { member : :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > , pool_id : :: core :: primitive :: u32 , extra : runtime_types :: pallet_tangle_lst :: types :: BondExtra < :: core :: primitive :: u128 > , } , # [codec (index = 17)] # [doc = "Set the commission of a pool."] # [doc = "Both a commission percentage and a commission payee must be provided in the `current`"] # [doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] # [doc = ""] # [doc = "- If a `None` is supplied to `new_commission`, existing commission will be removed."] set_commission { pool_id : :: core :: primitive :: u32 , new_commission : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 18)] # [doc = "Set the maximum commission of a pool."] # [doc = ""] # [doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] # [doc = "- Current commission will be lowered in the event it is higher than a new max"] # [doc = " commission."] set_commission_max { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 19)] # [doc = "Set the commission change rate for a pool."] # [doc = ""] # [doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] # [doc = "restrictive than the current."] set_commission_change_rate { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 20)] # [doc = "Claim pending commission."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] # [doc = "commission is paid out and added to total claimed commission`. Total pending commission"] # [doc = "is reset to zero. the current."] claim_commission { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "Top up the deficit or withdraw the excess ED from the pool."] # [doc = ""] # [doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] # [doc = "pool. ED is subject to change and over time, the deposit in the reward account may be"] # [doc = "insufficient to cover the ED deficit of the pool or vice-versa where there is excess"] # [doc = "deposit to the pool. This call allows anyone to adjust the ED deposit of the"] # [doc = "pool by either topping up the deficit or claiming the excess."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] # [doc = "is able to conifigure commission claim permissions."] set_commission_claim_permission { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -59137,18 +62972,22 @@ pub mod api { BondedStashKilledPrematurely, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -59259,34 +63098,42 @@ pub mod api { NoBalanceToUnbond, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events of this pallet."] pub enum Event { - # [codec (index = 0)] # [doc = "A pool has been created."] Created { depositor : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "A member has became bonded in a pool."] Bonded { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , bonded : :: core :: primitive :: u128 , joined : :: core :: primitive :: bool , } , # [codec (index = 2)] # [doc = "A payout has been made to a member."] PaidOut { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , payout : :: core :: primitive :: u128 , } , # [codec (index = 3)] # [doc = "A member has unbonded from their pool."] # [doc = ""] # [doc = "- `balance` is the corresponding balance of the number of points that has been"] # [doc = " requested to be unbonded (the argument of the `unbond` transaction) from the bonded"] # [doc = " pool."] # [doc = "- `points` is the number of points that are issued as a result of `balance` being"] # [doc = "dissolved into the corresponding unbonding pool."] # [doc = "- `era` is the era in which the balance will be unbonded."] # [doc = "In the absence of slashing, these values will match. In the presence of slashing, the"] # [doc = "number of points that are issued in the unbonding pool will be less than the amount"] # [doc = "requested to be unbonded."] Unbonded { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , era : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "A member has withdrawn from their pool."] # [doc = ""] # [doc = "The given number of `points` have been dissolved in return of `balance`."] # [doc = ""] # [doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] # [doc = "will be 1."] Withdrawn { member : :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "A pool has been destroyed."] Destroyed { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "The state of a pool has changed"] StateChanged { pool_id : :: core :: primitive :: u32 , new_state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 7)] # [doc = "A member has been removed from a pool."] # [doc = ""] # [doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id : :: core :: primitive :: u32 , member : :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] # [doc = "can never change."] RolesUpdated { root : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , bouncer : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , nominator : :: core :: option :: Option < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "The active balance of pool `pool_id` has been slashed to `balance`."] PoolSlashed { pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 10)] # [doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] UnbondingPoolSlashed { pool_id : :: core :: primitive :: u32 , era : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "A pool's commission setting has been changed."] PoolCommissionUpdated { pool_id : :: core :: primitive :: u32 , current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 12)] # [doc = "A pool's maximum commission setting has been changed."] PoolMaxCommissionUpdated { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 13)] # [doc = "A pool's commission `change_rate` has been changed."] PoolCommissionChangeRateUpdated { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 14)] # [doc = "Pool commission claim permission has been updated."] PoolCommissionClaimPermissionUpdated { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 15)] # [doc = "Pool commission has been claimed."] PoolCommissionClaimed { pool_id : :: core :: primitive :: u32 , commission : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Topped up deficit in frozen ED of the reward pool."] MinBalanceDeficitAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 17)] # [doc = "Claimed excess frozen ED of af the reward pool."] MinBalanceExcessAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , } + # [codec (index = 0)] # [doc = "A pool has been created."] Created { depositor : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "A member has became bonded in a pool."] Bonded { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , bonded : :: core :: primitive :: u128 , joined : :: core :: primitive :: bool , } , # [codec (index = 2)] # [doc = "A payout has been made to a member."] PaidOut { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , payout : :: core :: primitive :: u128 , } , # [codec (index = 3)] # [doc = "A member has unbonded from their pool."] # [doc = ""] # [doc = "- `balance` is the corresponding balance of the number of points that has been"] # [doc = " requested to be unbonded (the argument of the `unbond` transaction) from the bonded"] # [doc = " pool."] # [doc = "- `points` is the number of points that are issued as a result of `balance` being"] # [doc = "dissolved into the corresponding unbonding pool."] # [doc = "- `era` is the era in which the balance will be unbonded."] # [doc = "In the absence of slashing, these values will match. In the presence of slashing, the"] # [doc = "number of points that are issued in the unbonding pool will be less than the amount"] # [doc = "requested to be unbonded."] Unbonded { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , era : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "A member has withdrawn from their pool."] # [doc = ""] # [doc = "The given number of `points` have been dissolved in return of `balance`."] # [doc = ""] # [doc = "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance"] # [doc = "will be 1."] Withdrawn { member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , points : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "A pool has been destroyed."] Destroyed { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "The state of a pool has changed"] StateChanged { pool_id : :: core :: primitive :: u32 , new_state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 7)] # [doc = "A member has been removed from a pool."] # [doc = ""] # [doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] MemberRemoved { pool_id : :: core :: primitive :: u32 , member : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , } , # [codec (index = 8)] # [doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] # [doc = "can never change."] RolesUpdated { root : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , bouncer : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , nominator : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "The active balance of pool `pool_id` has been slashed to `balance`."] PoolSlashed { pool_id : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 10)] # [doc = "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."] UnbondingPoolSlashed { pool_id : :: core :: primitive :: u32 , era : :: core :: primitive :: u32 , balance : :: core :: primitive :: u128 , } , # [codec (index = 11)] # [doc = "A pool's commission setting has been changed."] PoolCommissionUpdated { pool_id : :: core :: primitive :: u32 , current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , } , # [codec (index = 12)] # [doc = "A pool's maximum commission setting has been changed."] PoolMaxCommissionUpdated { pool_id : :: core :: primitive :: u32 , max_commission : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 13)] # [doc = "A pool's commission `change_rate` has been changed."] PoolCommissionChangeRateUpdated { pool_id : :: core :: primitive :: u32 , change_rate : runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > , } , # [codec (index = 14)] # [doc = "Pool commission claim permission has been updated."] PoolCommissionClaimPermissionUpdated { pool_id : :: core :: primitive :: u32 , permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } , # [codec (index = 15)] # [doc = "Pool commission has been claimed."] PoolCommissionClaimed { pool_id : :: core :: primitive :: u32 , commission : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Topped up deficit in frozen ED of the reward pool."] MinBalanceDeficitAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , # [codec (index = 17)] # [doc = "Claimed excess frozen ED of af the reward pool."] MinBalanceExcessAdjusted { pool_id : :: core :: primitive :: u32 , amount : :: core :: primitive :: u128 , } , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, @@ -59297,41 +63144,49 @@ pub mod api { pub mod bonded_pool { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BondedPoolInner { pub commission: runtime_types::pallet_tangle_lst::types::commission::Commission, pub roles: runtime_types::pallet_tangle_lst::types::pools::PoolRoles< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, pub state: runtime_types::pallet_tangle_lst::types::pools::PoolState, pub metadata: runtime_types::pallet_tangle_lst::types::bonded_pool::PoolMetadata, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PoolMetadata { pub name: ::core::option::Option< runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -59348,49 +63203,61 @@ pub mod api { pub mod commission { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct Commission { pub current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt_core :: utils :: AccountId32 ,) > , pub max : :: core :: option :: Option < runtime_types :: sp_arithmetic :: per_things :: Perbill > , pub change_rate : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > > , pub throttle_from : :: core :: option :: Option < :: core :: primitive :: u64 > , pub claim_permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt_core :: utils :: AccountId32 > > , } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Commission { pub current : :: core :: option :: Option < (runtime_types :: sp_arithmetic :: per_things :: Perbill , :: subxt :: ext :: subxt_core :: utils :: AccountId32 ,) > , pub max : :: core :: option :: Option < runtime_types :: sp_arithmetic :: per_things :: Perbill > , pub change_rate : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionChangeRate < :: core :: primitive :: u64 > > , pub throttle_from : :: core :: option :: Option < :: core :: primitive :: u64 > , pub claim_permission : :: core :: option :: Option < runtime_types :: pallet_tangle_lst :: types :: commission :: CommissionClaimPermission < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > > , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, @@ -59401,39 +63268,46 @@ pub mod api { pub mod pools { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PoolMember { - pub pool_id: ::core::primitive::u32, pub unbonding_eras: runtime_types::bounded_collections::bounded_btree_map::BoundedBTreeMap< ::core::primitive::u32, - ::core::primitive::u128, + (::core::primitive::u32, ::core::primitive::u128), >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, @@ -59441,18 +63315,22 @@ pub mod api { pub bouncer: ::core::option::Option<_0>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PoolState { #[codec(index = 0)] Open, @@ -59465,18 +63343,22 @@ pub mod api { pub mod sub_pools { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -59486,18 +63368,22 @@ pub mod api { pub total_commission_claimed: ::core::primitive::u128, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubPools { pub no_era: runtime_types::pallet_tangle_lst::types::sub_pools::UnbondPool, pub with_era: @@ -59507,53 +63393,65 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -59565,18 +63463,22 @@ pub mod api { PermissionlessAll, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -59592,18 +63494,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -59638,25 +63544,29 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,"] #[doc = "has been paid by `who`."] TransactionFeePaid { - who: ::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, actual_fee: ::core::primitive::u128, tip: ::core::primitive::u128, }, @@ -59665,18 +63575,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, @@ -59684,36 +63598,44 @@ pub mod api { pub tip: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, @@ -59721,32 +63643,32 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -59759,18 +63681,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 3)] @@ -59794,8 +63720,8 @@ pub mod api { spend_local { #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -59853,11 +63779,12 @@ pub mod api { #[doc = ""] #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] spend { - asset_kind: ::subxt_core::alloc::boxed::Box<()>, + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box<()>, #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: - ::subxt_core::alloc::boxed::Box<::subxt_core::utils::AccountId32>, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::utils::AccountId32, + >, valid_from: ::core::option::Option<::core::primitive::u64>, }, #[codec(index = 6)] @@ -59922,18 +63849,22 @@ pub mod api { void_spend { index: ::core::primitive::u32 }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the treasury pallet."] pub enum Error { #[codec(index = 0)] @@ -59972,18 +63903,22 @@ pub mod api { Inconclusive, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -59994,7 +63929,7 @@ pub mod api { Awarded { proposal_index: ::core::primitive::u32, award: ::core::primitive::u128, - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "Some of our funds have been burnt."] @@ -60010,7 +63945,7 @@ pub mod api { SpendApproved { proposal_index: ::core::primitive::u32, amount: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "The inactive funds of the pallet have been updated."] @@ -60024,7 +63959,7 @@ pub mod api { index: ::core::primitive::u32, asset_kind: (), amount: ::core::primitive::u128, - beneficiary: ::subxt_core::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, valid_from: ::core::primitive::u64, expire_at: ::core::primitive::u64, }, @@ -60044,18 +63979,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum PaymentState<_0> { #[codec(index = 0)] Pending, @@ -60065,18 +64000,18 @@ pub mod api { Failed, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, @@ -60084,18 +64019,18 @@ pub mod api { pub bond: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SpendStatus<_0, _1, _2, _3, _4> { pub asset_kind: _0, pub amount: _1, @@ -60112,18 +64047,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60158,18 +64097,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60185,18 +64128,22 @@ pub mod api { NotFound, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -60231,18 +64178,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60265,7 +64216,7 @@ pub mod api { #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] #[doc = "event is deposited."] batch { - calls: ::subxt_core::alloc::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -60285,7 +64236,7 @@ pub mod api { #[doc = "The dispatch origin for this call must be _Signed_."] as_derivative { index: ::core::primitive::u16, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -60304,7 +64255,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(C) where C is the number of calls to be batched."] batch_all { - calls: ::subxt_core::alloc::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -60316,10 +64267,10 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(1)."] dispatch_as { - as_origin: ::subxt_core::alloc::boxed::Box< + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::OriginCaller, >, - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -60338,7 +64289,7 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- O(C) where C is the number of calls to be batched."] force_batch { - calls: ::subxt_core::alloc::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_testnet_runtime::RuntimeCall, >, }, @@ -60350,25 +64301,29 @@ pub mod api { #[doc = ""] #[doc = "The dispatch origin for this call must be _Root_."] with_weight { - call: ::subxt_core::alloc::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_testnet_runtime::RuntimeCall, >, weight: runtime_types::sp_weights::weight_v2::Weight, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -60376,18 +64331,22 @@ pub mod api { TooManyCalls, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -60423,18 +64382,22 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -60461,8 +64424,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] vest_other { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, }, @@ -60481,8 +64444,8 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] vested_transfer { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -60506,12 +64469,12 @@ pub mod api { #[doc = "## Complexity"] #[doc = "- `O(1)`."] force_vested_transfer { - source: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< @@ -60553,26 +64516,30 @@ pub mod api { #[doc = "- `target`: An account that has a vesting schedule"] #[doc = "- `schedule_index`: The vesting schedule index that should be removed"] force_remove_vesting_schedule { - target: ::subxt_core::utils::MultiAddress< - ::subxt_core::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, >, schedule_index: ::core::primitive::u32, }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the vesting pallet."] pub enum Error { #[codec(index = 0)] @@ -60593,47 +64560,55 @@ pub mod api { InvalidScheduleParams, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "The amount vested has been updated. This could indicate a change in funds available."] #[doc = "The balance given is the amount which is left unvested (and thus locked)."] VestingUpdated { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, unvested: ::core::primitive::u128, }, #[codec(index = 1)] #[doc = "An \\[account\\] has become fully vested."] - VestingCompleted { account: ::subxt_core::utils::AccountId32 }, + VestingCompleted { account: ::subxt::ext::subxt_core::utils::AccountId32 }, } } pub mod vesting_info { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, @@ -60641,18 +64616,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V0, @@ -60663,40 +64638,40 @@ pub mod api { pub mod primitive_types { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct U256(pub [::core::primitive::u64; 4usize]); } pub mod rpc_primitives_txpool { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct TxPoolResponse { - pub ready: ::subxt_core::alloc::vec::Vec< + pub ready: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >, - pub future: ::subxt_core::alloc::vec::Vec< + pub future: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::ethereum::transaction::TransactionV2, >, } @@ -60706,97 +64681,117 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FixedU128(pub ::core::primitive::u128); } pub mod per_things { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PerU16(pub ::core::primitive::u16); #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Percent(pub ::core::primitive::u8); #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Permill(pub ::core::primitive::u32); } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -60811,35 +64806,43 @@ pub mod api { pub mod app { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 32usize]); } pub mod digests { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -60848,18 +64851,22 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -60871,53 +64878,65 @@ pub mod api { SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -60925,18 +64944,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -60946,23 +64965,23 @@ pub mod api { PrimaryAndSecondaryVRFSlots, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BabeConfiguration { pub slot_duration: ::core::primitive::u64, pub epoch_length: ::core::primitive::u64, pub c: (::core::primitive::u64, ::core::primitive::u64), - pub authorities: ::subxt_core::alloc::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -60970,40 +64989,40 @@ pub mod api { pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Epoch { pub epoch_index: ::core::primitive::u64, pub start_slot: runtime_types::sp_consensus_slots::Slot, pub duration: ::core::primitive::u64, - pub authorities: ::subxt_core::alloc::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -61011,20 +65030,20 @@ pub mod api { pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct OpaqueKeyOwnershipProof( - pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); } pub mod sp_consensus_grandpa { @@ -61032,47 +65051,55 @@ pub mod api { pub mod app { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub [::core::primitive::u8; 64usize]); } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -61092,18 +65119,18 @@ pub mod api { ), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub set_id: ::core::primitive::u64, pub equivocation: runtime_types::sp_consensus_grandpa::Equivocation<_0, _1>, @@ -61112,18 +65139,18 @@ pub mod api { pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -61131,19 +65158,19 @@ pub mod api { pub second_header: _0, } #[derive( - :: subxt_core :: ext :: codec :: CompactAs, - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Slot(pub ::core::primitive::u64); } pub mod sp_core { @@ -61151,18 +65178,22 @@ pub mod api { pub mod crypto { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod sr25519 { @@ -61170,18 +65201,22 @@ pub mod api { pub mod vrf { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VrfSignature { pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], @@ -61189,110 +65224,113 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct OpaqueMetadata(pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct InherentData { - pub data: ::subxt_core::utils::KeyedVec< + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, } } pub mod sp_npos_elections { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ElectionScore { pub minimal_stake: ::core::primitive::u128, pub sum_stake: ::core::primitive::u128, pub sum_stake_squared: ::core::primitive::u128, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Support<_0> { pub total: ::core::primitive::u128, - pub voters: ::subxt_core::alloc::vec::Vec<(_0, ::core::primitive::u128)>, + pub voters: + ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, ::core::primitive::u128)>, } } pub mod sp_runtime { @@ -61302,74 +65340,86 @@ pub mod api { pub mod block { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Block<_0, _1> { pub header: _0, - pub extrinsics: ::subxt_core::alloc::vec::Vec<_1>, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } } pub mod digest { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Digest { - pub logs: ::subxt_core::alloc::vec::Vec< + pub logs: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::sp_runtime::generic::digest::DigestItem, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::subxt_core::alloc::vec::Vec<::core::primitive::u8>), + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } @@ -61377,18 +65427,22 @@ pub mod api { pub mod era { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Era { #[codec(index = 0)] Immortal, @@ -61907,24 +65961,28 @@ pub mod api { pub mod header { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Header<_0> { - pub parent_hash: ::subxt_core::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] pub number: _0, - pub state_root: ::subxt_core::utils::H256, - pub extrinsics_root: ::subxt_core::utils::H256, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub extrinsics_root: ::subxt::ext::subxt_core::utils::H256, pub digest: runtime_types::sp_runtime::generic::digest::Digest, } } @@ -61932,35 +65990,43 @@ pub mod api { pub mod traits { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlakeTwo256; } pub mod transaction_validity { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -61986,18 +66052,22 @@ pub mod api { BadSigner, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -62007,18 +66077,22 @@ pub mod api { External, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), @@ -62026,18 +66100,22 @@ pub mod api { Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -62047,43 +66125,47 @@ pub mod api { Custom(::core::primitive::u8), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidTransaction { pub priority: ::core::primitive::u64, - pub requires: ::subxt_core::alloc::vec::Vec< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, - pub provides: ::subxt_core::alloc::vec::Vec< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub longevity: ::core::primitive::u64, pub propagate: ::core::primitive::bool, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum DispatchError { #[codec(index = 0)] Other, @@ -62115,18 +66197,18 @@ pub mod api { RootNotAllowed, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ExtrinsicInclusionMode { #[codec(index = 0)] AllExtrinsics, @@ -62134,35 +66216,35 @@ pub mod api { OnlyInherents, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum MultiSignature { #[codec(index = 0)] Ed25519([::core::primitive::u8; 64usize]), @@ -62172,32 +66254,34 @@ pub mod api { Ecdsa([::core::primitive::u8; 65usize]), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct OpaqueValue(pub ::subxt_core::alloc::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueValue( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -62221,18 +66305,18 @@ pub mod api { Blocked, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -62243,22 +66327,22 @@ pub mod api { pub mod sp_session { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct MembershipProof { pub session: ::core::primitive::u32, - pub trie_nodes: ::subxt_core::alloc::vec::Vec< - ::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub validator_count: ::core::primitive::u32, } @@ -62268,96 +66352,100 @@ pub mod api { pub mod offence { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OffenceDetails<_0, _1> { pub offender: _1, - pub reporters: ::subxt_core::alloc::vec::Vec<_0>, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Exposure<_0, _1> { #[codec(compact)] pub total: _1, #[codec(compact)] pub own: _1, - pub others: ::subxt_core::alloc::vec::Vec< + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ExposurePage<_0, _1> { #[codec(compact)] pub page_total: _1, - pub others: ::subxt_core::alloc::vec::Vec< + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct IndividualExposure<_0, _1> { pub who: _0, #[codec(compact)] pub value: _1, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PagedExposureMetadata<_0> { #[codec(compact)] pub total: _0, @@ -62370,25 +66458,25 @@ pub mod api { pub mod sp_version { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RuntimeVersion { - pub spec_name: ::subxt_core::alloc::string::String, - pub impl_name: ::subxt_core::alloc::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, pub authoring_version: ::core::primitive::u32, pub spec_version: ::core::primitive::u32, pub impl_version: ::core::primitive::u32, - pub apis: ::subxt_core::alloc::vec::Vec<( + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 8usize], ::core::primitive::u32, )>, @@ -62401,18 +66489,22 @@ pub mod api { pub mod weight_v2 { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Weight { #[codec(compact)] pub ref_time: ::core::primitive::u64, @@ -62421,18 +66513,18 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -62445,10 +66537,10 @@ pub mod api { pub mod field { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62456,35 +66548,43 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BoundedString( pub runtime_types::bounded_collections::bounded_vec::BoundedVec< ::core::primitive::u8, >, ); #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] #[codec(dumb_trait_bound)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Field<_1> { - # [codec (index = 0)] None , # [codec (index = 1)] Bool (:: core :: primitive :: bool ,) , # [codec (index = 2)] Uint8 (:: core :: primitive :: u8 ,) , # [codec (index = 3)] Int8 (:: core :: primitive :: i8 ,) , # [codec (index = 4)] Uint16 (:: core :: primitive :: u16 ,) , # [codec (index = 5)] Int16 (:: core :: primitive :: i16 ,) , # [codec (index = 6)] Uint32 (:: core :: primitive :: u32 ,) , # [codec (index = 7)] Int32 (:: core :: primitive :: i32 ,) , # [codec (index = 8)] Uint64 (:: core :: primitive :: u64 ,) , # [codec (index = 9)] Int64 (:: core :: primitive :: i64 ,) , # [codec (index = 10)] String (runtime_types :: tangle_primitives :: services :: field :: BoundedString ,) , # [codec (index = 11)] Bytes (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 12)] Array (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 13)] List (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 14)] Struct (runtime_types :: tangle_primitives :: services :: field :: BoundedString , :: subxt_core :: alloc :: boxed :: Box < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < (runtime_types :: tangle_primitives :: services :: field :: BoundedString , runtime_types :: tangle_primitives :: services :: field :: Field < _1 > ,) > > ,) , # [codec (index = 100)] AccountId (_1 ,) , } + # [codec (index = 0)] None , # [codec (index = 1)] Bool (:: core :: primitive :: bool ,) , # [codec (index = 2)] Uint8 (:: core :: primitive :: u8 ,) , # [codec (index = 3)] Int8 (:: core :: primitive :: i8 ,) , # [codec (index = 4)] Uint16 (:: core :: primitive :: u16 ,) , # [codec (index = 5)] Int16 (:: core :: primitive :: i16 ,) , # [codec (index = 6)] Uint32 (:: core :: primitive :: u32 ,) , # [codec (index = 7)] Int32 (:: core :: primitive :: i32 ,) , # [codec (index = 8)] Uint64 (:: core :: primitive :: u64 ,) , # [codec (index = 9)] Int64 (:: core :: primitive :: i64 ,) , # [codec (index = 10)] String (runtime_types :: tangle_primitives :: services :: field :: BoundedString ,) , # [codec (index = 11)] Bytes (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < :: core :: primitive :: u8 > ,) , # [codec (index = 12)] Array (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 13)] List (runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: Field < _1 > > ,) , # [codec (index = 14)] Struct (runtime_types :: tangle_primitives :: services :: field :: BoundedString , :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < (runtime_types :: tangle_primitives :: services :: field :: BoundedString , runtime_types :: tangle_primitives :: services :: field :: Field < _1 > ,) > > ,) , # [codec (index = 100)] AccountId (_1 ,) , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62492,9 +66592,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum FieldType { #[codec(index = 0)] Void, @@ -62522,29 +66626,29 @@ pub mod api { Bytes, #[codec(index = 12)] Optional( - ::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 13)] Array( ::core::primitive::u64, - ::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 14)] List( - ::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, ), #[codec(index = 15)] Struct( - ::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::tangle_primitives::services::field::FieldType, >, - ::subxt_core::alloc::boxed::Box< + ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::tangle_primitives::services::field::FieldType, runtime_types::tangle_primitives::services::field::FieldType, @@ -62556,18 +66660,22 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ApprovalState { #[codec(index = 0)] Pending, @@ -62579,10 +66687,10 @@ pub mod api { Rejected, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62590,9 +66698,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Architecture { #[codec(index = 0)] Wasm, @@ -62616,10 +66728,10 @@ pub mod api { RiscV64, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62627,18 +66739,22 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub enum BlueprintManager { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum BlueprintServiceManager { #[codec(index = 0)] - Evm(::subxt_core::utils::H160), + Evm(::subxt::ext::subxt_core::utils::H160), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62646,19 +66762,23 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ContainerGadget { pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62666,9 +66786,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Gadget { #[codec(index = 0)] Wasm(runtime_types::tangle_primitives::services::WasmGadget), @@ -62678,10 +66802,10 @@ pub mod api { Container(runtime_types::tangle_primitives::services::ContainerGadget), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62689,9 +66813,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GadgetBinary { pub arch: runtime_types::tangle_primitives::services::Architecture, pub os: runtime_types::tangle_primitives::services::OperatingSystem, @@ -62699,10 +66827,10 @@ pub mod api { pub sha256: [::core::primitive::u8; 32usize], } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62710,17 +66838,21 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GadgetSource { pub fetcher: runtime_types::tangle_primitives::services::GadgetSourceFetcher, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62728,9 +66860,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum GadgetSourceFetcher { #[codec(index = 0)] IPFS( @@ -62748,10 +66884,10 @@ pub mod api { Testing(runtime_types::tangle_primitives::services::TestFetcher), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62759,9 +66895,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GithubFetcher { pub owner: runtime_types::tangle_primitives::services::field::BoundedString, pub repo: runtime_types::tangle_primitives::services::field::BoundedString, @@ -62771,10 +66911,10 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62782,27 +66922,35 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ImageRegistryFetcher { pub registry: runtime_types::tangle_primitives::services::field::BoundedString, pub image: runtime_types::tangle_primitives::services::field::BoundedString, pub tag: runtime_types::tangle_primitives::services::field::BoundedString, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct JobCall<_1> { pub service_id: ::core::primitive::u64, pub job: ::core::primitive::u8, @@ -62811,18 +66959,22 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct JobCallResult<_1> { pub service_id: ::core::primitive::u64, pub call_id: ::core::primitive::u64, @@ -62831,10 +66983,10 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62842,9 +66994,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct JobDefinition { pub metadata: runtime_types::tangle_primitives::services::JobMetadata, pub params: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -62853,13 +67009,12 @@ pub mod api { pub result: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::field::FieldType, >, - pub verifier: runtime_types::tangle_primitives::services::JobResultVerifier, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62867,9 +67022,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct JobMetadata { pub name: runtime_types::tangle_primitives::services::field::BoundedString, pub description: ::core::option::Option< @@ -62877,10 +67036,10 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62888,20 +67047,24 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub enum JobResultVerifier { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum MasterBlueprintServiceManagerRevision { #[codec(index = 0)] - None, + Latest, #[codec(index = 1)] - Evm(::subxt_core::utils::H160), + Specific(::core::primitive::u32), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62909,19 +67072,23 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct NativeGadget { pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -62929,9 +67096,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum OperatingSystem { #[codec(index = 0)] Unknown, @@ -62945,35 +67116,43 @@ pub mod api { BSD, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OperatorPreferences { pub key: [::core::primitive::u8; 33usize], pub price_targets: runtime_types::tangle_primitives::services::PriceTargets, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OperatorProfile { pub services: runtime_types::bounded_collections::bounded_btree_set::BoundedBTreeSet< @@ -62985,18 +67164,22 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PriceTargets { pub cpu: ::core::primitive::u64, pub mem: ::core::primitive::u64, @@ -63005,38 +67188,46 @@ pub mod api { pub storage_nvme: ::core::primitive::u64, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RpcServicesWithBlueprint<_1, _2, _3> { pub blueprint_id: ::core::primitive::u64, pub blueprint: runtime_types::tangle_primitives::services::ServiceBlueprint, - pub services: ::subxt_core::alloc::vec::Vec< + pub services: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::Service<_1, _2, _3>, >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Service<_1, _2, _3> { pub id: ::core::primitive::u64, pub blueprint: ::core::primitive::u64, @@ -63051,10 +67242,10 @@ pub mod api { pub ttl: _2, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -63062,33 +67253,19 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub struct ServiceBlueprint { - pub metadata: runtime_types::tangle_primitives::services::ServiceMetadata, - pub jobs: runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::tangle_primitives::services::JobDefinition, - >, - pub registration_hook: - runtime_types::tangle_primitives::services::ServiceRegistrationHook, - pub registration_params: - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::tangle_primitives::services::field::FieldType, - >, - pub request_hook: - runtime_types::tangle_primitives::services::ServiceRequestHook, - pub request_params: runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::tangle_primitives::services::field::FieldType, - >, - pub manager: runtime_types::tangle_primitives::services::BlueprintManager, - pub gadget: runtime_types::tangle_primitives::services::Gadget, - } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct ServiceBlueprint { pub metadata : runtime_types :: tangle_primitives :: services :: ServiceMetadata , pub jobs : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: JobDefinition > , pub registration_params : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: FieldType > , pub request_params : runtime_types :: bounded_collections :: bounded_vec :: BoundedVec < runtime_types :: tangle_primitives :: services :: field :: FieldType > , pub manager : runtime_types :: tangle_primitives :: services :: BlueprintServiceManager , pub master_manager_revision : runtime_types :: tangle_primitives :: services :: MasterBlueprintServiceManagerRevision , pub gadget : runtime_types :: tangle_primitives :: services :: Gadget , } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -63096,9 +67273,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ServiceMetadata { pub name: runtime_types::tangle_primitives::services::field::BoundedString, pub description: ::core::option::Option< @@ -63124,39 +67305,22 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, - serde :: Deserialize, - serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub enum ServiceRegistrationHook { - #[codec(index = 0)] - None, - #[codec(index = 1)] - Evm(::subxt_core::utils::H160), - } - #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, - Clone, - Debug, - Eq, - PartialEq, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct ServiceRequest<_1, _2, _3> { pub blueprint: ::core::primitive::u64, pub owner: _1, @@ -63174,10 +67338,10 @@ pub mod api { )>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -63185,30 +67349,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] - pub enum ServiceRequestHook { - #[codec(index = 0)] - None, - #[codec(index = 1)] - Evm(::subxt_core::utils::H160), - } - #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, - Clone, - Debug, - Eq, - PartialEq, - serde :: Deserialize, - serde :: Serialize, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] pub struct TestFetcher { pub cargo_package: runtime_types::tangle_primitives::services::field::BoundedString, @@ -63216,18 +67363,22 @@ pub mod api { pub base_path: runtime_types::tangle_primitives::services::field::BoundedString, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TypeCheckError { #[codec(index = 0)] ArgumentTypeMismatch { @@ -63248,10 +67399,10 @@ pub mod api { }, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -63259,9 +67410,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct WasmGadget { pub runtime: runtime_types::tangle_primitives::services::WasmRuntime, pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -63269,10 +67424,10 @@ pub mod api { >, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, @@ -63280,9 +67435,13 @@ pub mod api { serde :: Deserialize, serde :: Serialize, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WasmRuntime { #[codec(index = 0)] Wasmtime, @@ -63296,18 +67455,22 @@ pub mod api { pub mod opaque { use super::runtime_types; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SessionKeys { pub babe: runtime_types::sp_consensus_babe::app::Public, pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, @@ -63315,197 +67478,269 @@ pub mod api { } } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct MaxDelegations; + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct MaxDelegatorBlueprints; + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct MaxOperatorBlueprints; + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct MaxUnstakeRequests; + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Clone, + Debug, + Eq, + PartialEq, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct MaxWithdrawRequests; + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct NposSolution16 { - pub votes1: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + pub votes1: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes2: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes2: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, ( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ), - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes3: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes3: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 2usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes4: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes4: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 3usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes5: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes5: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 4usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes6: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes6: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 5usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes7: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes7: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 6usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes8: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes8: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 7usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes9: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes9: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 8usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes10: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes10: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 9usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes11: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes11: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 10usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes12: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes12: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 11usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes13: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes13: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 12usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes14: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes14: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 13usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes15: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes15: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 14usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes16: ::subxt_core::alloc::vec::Vec<( - ::subxt_core::ext::codec::Compact<::core::primitive::u32>, + pub votes16: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, - ::subxt_core::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 15usize], - ::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum OriginCaller { #[codec(index = 1)] system( runtime_types::frame_support::dispatch::RawOrigin< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, ), #[codec(index = 13)] Council( - runtime_types::pallet_collective::RawOrigin<::subxt_core::utils::AccountId32>, + runtime_types::pallet_collective::RawOrigin< + ::subxt::ext::subxt_core::utils::AccountId32, + >, ), #[codec(index = 33)] Ethereum(runtime_types::pallet_ethereum::RawOrigin), @@ -63513,18 +67748,18 @@ pub mod api { Void(runtime_types::sp_core::Void), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ProxyType { #[codec(index = 0)] Any, @@ -63536,32 +67771,32 @@ pub mod api { Staking, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Runtime; #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeCall { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Call), @@ -63641,18 +67876,18 @@ pub mod api { Lst(runtime_types::pallet_tangle_lst::pallet::Call), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeError { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Error), @@ -63726,18 +67961,18 @@ pub mod api { Lst(runtime_types::pallet_tangle_lst::pallet::Error), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeEvent { #[codec(index = 1)] System(runtime_types::frame_system::pallet::Event), @@ -63813,18 +68048,18 @@ pub mod api { Lst(runtime_types::pallet_tangle_lst::pallet::Event), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeFreezeReason { #[codec(index = 24)] NominationPools(runtime_types::pallet_nomination_pools::pallet::FreezeReason), @@ -63832,18 +68067,18 @@ pub mod api { Lst(runtime_types::pallet_tangle_lst::pallet::FreezeReason), } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeHoldReason { #[codec(index = 26)] Preimage(runtime_types::pallet_preimage::pallet::HoldReason),