From a38025b3e56d532f71520a9e4223d03eaa51d0a7 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Tue, 7 Jan 2025 14:22:43 +0200 Subject: [PATCH 01/19] feat: move erc20 transfer to its own shared crate --- Cargo.lock | 14 +++ Cargo.toml | 2 + precompiles/erc20-utils/Cargo.toml | 25 ++++ precompiles/erc20-utils/src/lib.rs | 110 ++++++++++++++++++ precompiles/multi-asset-delegation/Cargo.toml | 6 +- precompiles/multi-asset-delegation/src/lib.rs | 73 +----------- 6 files changed, 155 insertions(+), 75 deletions(-) create mode 100644 precompiles/erc20-utils/Cargo.toml create mode 100644 precompiles/erc20-utils/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 4bec29fb..f742cab4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3917,6 +3917,19 @@ dependencies = [ "serde", ] +[[package]] +name = "evm-erc20-utils" +version = "0.1.0" +dependencies = [ + "ethabi", + "fp-evm", + "hex", + "log", + "precompile-utils", + "sp-core", + "sp-std", +] + [[package]] name = "evm-gasometer" version = "0.41.0" @@ -8899,6 +8912,7 @@ dependencies = [ "ethabi", "ethereum", "ethers", + "evm-erc20-utils", "fp-account", "fp-consensus", "fp-dynamic-fee", diff --git a/Cargo.toml b/Cargo.toml index b61ad255..965f2733 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ members = [ "precompiles/preimage", "precompiles/balances-erc20", "precompiles/assets-erc20", + "precompiles/erc20-utils", "precompiles/verify-ecdsa-secp256k1-signature", "precompiles/verify-ecdsa-secp256r1-signature", "precompiles/verify-ecdsa-stark-signature", @@ -307,6 +308,7 @@ pallet-hotfix-sufficients = { git = "https://github.com/paritytech/frontier.git" precompile-utils = { git = "https://github.com/paritytech/frontier.git", branch = "stable2407", default-features = false } # Local precompiles +evm-erc20-utils = { path = "precompiles/erc20-utils", default-features = false } pallet-evm-precompile-democracy = { path = "precompiles/pallet-democracy", default-features = false } pallet-evm-precompile-batch = { path = "precompiles/batch", default-features = false } pallet-evm-precompile-balances-erc20 = { path = "precompiles/balances-erc20", default-features = false } diff --git a/precompiles/erc20-utils/Cargo.toml b/precompiles/erc20-utils/Cargo.toml new file mode 100644 index 00000000..1aaaf232 --- /dev/null +++ b/precompiles/erc20-utils/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "evm-erc20-utils" +authors = { workspace = true } +description = "A Package containing ERC20 utility functions for EVM precompiles." +edition = { workspace = true } +version = "0.1.0" + +[dependencies] +ethabi = { workspace = true } +hex = { workspace = true, default-features = false } +precompile-utils = { workspace = true } +log = { workspace = true, default-features = false } + +# Substrate +sp-core = { workspace = true } +sp-std = { workspace = true } + +# Frontier +fp-evm = { workspace = true } + +[dev-dependencies] + +[features] +default = ["std"] +std = ["ethabi/std", "hex/std", "fp-evm/std", "precompile-utils/std", "sp-core/std", "sp-std/std"] diff --git a/precompiles/erc20-utils/src/lib.rs b/precompiles/erc20-utils/src/lib.rs new file mode 100644 index 00000000..4f033f63 --- /dev/null +++ b/precompiles/erc20-utils/src/lib.rs @@ -0,0 +1,110 @@ +// This file is part of Tangle. +// Copyright (C) 2022-2024 Tangle Foundation. +// +// This file is part of pallet-evm-precompile-multi-asset-delegation package. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#![cfg_attr(not(feature = "std"), no_std)] + +#[cfg(not(feature = "std"))] +extern crate alloc; + +use ethabi::Function; +use fp_evm::PrecompileFailure; +use precompile_utils::prelude::*; +use sp_core::U256; +use sp_std::prelude::*; + +#[cfg(not(feature = "std"))] +use alloc::format; + +/// Executes an ERC20 token transfer by calling the `transfer` function on the specified ERC20 contract +/// +/// # Arguments +/// +/// * `handle` - Handle for the precompile execution context +/// * `erc20` - Address of the ERC20 token contract +/// * `to` - Destination address to transfer tokens to +/// * `amount` - Amount of tokens to transfer +/// +/// # Returns +/// +/// * `Ok(bool)` - Returns true if transfer succeeded, false otherwise +/// * `Err(PrecompileFailure)` - If the transfer call fails or returns invalid data +pub fn erc20_transfer( + handle: &mut impl PrecompileHandle, + erc20: Address, + to: Address, + amount: U256, +) -> EvmResult { + #[allow(deprecated)] + let transfer_fn = Function { + name: String::from("transfer"), + inputs: Vec::from([ + ethabi::Param { + name: String::from("to"), + kind: ethabi::ParamType::Address, + internal_type: None, + }, + ethabi::Param { + name: String::from("value"), + kind: ethabi::ParamType::Uint(256), + internal_type: None, + }, + ]), + outputs: Vec::from([ethabi::Param { + name: String::from("success"), + kind: ethabi::ParamType::Bool, + internal_type: None, + }]), + constant: None, + state_mutability: ethabi::StateMutability::NonPayable, + }; + + let args = [ethabi::Token::Address(to.0), ethabi::Token::Uint(ethabi::Uint::from(amount))]; + + let data = transfer_fn + .encode_input(&args) + .map_err(|e| revert(format!("failed to encode IERC20.transfer call: {e:?}")))?; + // let gas_limit = Some(handle.remaining_gas()); + let gas_limit = None; + let is_static = false; + let caller = handle.context().caller; + let context = fp_evm::Context { address: erc20.0, caller, apparent_value: U256::zero() }; + let (exit_reason, output) = handle.call(erc20.0, None, data, gas_limit, is_static, &context); + + log::debug!( + target: "evm", + "erc20_transfer: context: {:?}, exit_reason: {:?}, input: ({:?}, {}), output: 0x{}", + context, + exit_reason, + to.0, + amount, + hex::encode(&output), + ); + + match exit_reason { + fp_evm::ExitReason::Succeed(_) => { + // decode the result and return it + let result = transfer_fn + .decode_output(&output) + .map_err(|e| revert(format!("failed to decode IERC20.transfer result: {e:?}")))?; + let first_token = result.first().ok_or(RevertReason::custom("no return value"))?; + let s = if let ethabi::Token::Bool(val) = first_token { *val } else { false }; + Ok(s) + }, + fp_evm::ExitReason::Error(e) => Err(PrecompileFailure::Error { exit_status: e }), + fp_evm::ExitReason::Revert(e) => Err(PrecompileFailure::Revert { exit_status: e, output }), + fp_evm::ExitReason::Fatal(e) => Err(PrecompileFailure::Fatal { exit_status: e }), + } +} diff --git a/precompiles/multi-asset-delegation/Cargo.toml b/precompiles/multi-asset-delegation/Cargo.toml index 3be2e45a..e701346f 100644 --- a/precompiles/multi-asset-delegation/Cargo.toml +++ b/precompiles/multi-asset-delegation/Cargo.toml @@ -7,8 +7,6 @@ description = "A Precompile to make pallet-multi-asset-delegation calls encoding [dependencies] precompile-utils = { workspace = true } -ethabi = { workspace = true } -hex = { workspace = true, default-features = false } # Substrate frame-support = { workspace = true } @@ -23,6 +21,7 @@ sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] } +evm-erc20-utils = { workspace = true } tangle-primitives = { workspace = true } @@ -174,7 +173,6 @@ std = [ "sp-std/std", "tangle-primitives/std", "pallet-assets/std", - "hex/std", "scale-info/std", "sp-runtime/std", "frame-support/std", @@ -207,9 +205,9 @@ std = [ "pallet-evm-precompile-ed25519/std", "precompile-utils/std", "serde/std", - "hex/std", "pallet-session/std", "pallet-staking/std", "sp-staking/std", "frame-election-provider-support/std", + "evm-erc20-utils/std", ] diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 8add5db3..0e23f2cf 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -41,8 +41,8 @@ pub mod mock_evm; mod tests; use tangle_primitives::types::rewards::LockMultiplier; -use ethabi::Function; -use fp_evm::{PrecompileFailure, PrecompileHandle}; +use evm_erc20_utils::*; +use fp_evm::PrecompileHandle; use frame_support::{ __private::log, dispatch::{GetDispatchInfo, PostDispatchInfo}, @@ -52,7 +52,6 @@ use pallet_evm::AddressMapping; use pallet_multi_asset_delegation::types::DelegatorBlueprintSelection; use precompile_utils::prelude::*; use sp_core::{H160, H256, U256}; -use sp_runtime::format; use sp_runtime::traits::Dispatchable; use sp_std::{marker::PhantomData, vec::Vec}; use tangle_primitives::{services::Asset, types::WrappedAccountId32}; @@ -453,71 +452,3 @@ where Ok(()) } } - -fn erc20_transfer( - handle: &mut impl PrecompileHandle, - erc20: Address, - to: Address, - amount: U256, -) -> EvmResult { - #[allow(deprecated)] - let transfer_fn = Function { - name: String::from("transfer"), - inputs: Vec::from([ - ethabi::Param { - name: String::from("to"), - kind: ethabi::ParamType::Address, - internal_type: None, - }, - ethabi::Param { - name: String::from("value"), - kind: ethabi::ParamType::Uint(256), - internal_type: None, - }, - ]), - outputs: Vec::from([ethabi::Param { - name: String::from("success"), - kind: ethabi::ParamType::Bool, - internal_type: None, - }]), - constant: None, - state_mutability: ethabi::StateMutability::NonPayable, - }; - - let args = [ethabi::Token::Address(to.0), ethabi::Token::Uint(ethabi::Uint::from(amount))]; - - let data = transfer_fn - .encode_input(&args) - .map_err(|e| revert(format!("failed to encode IERC20.transfer call: {e:?}")))?; - // let gas_limit = Some(handle.remaining_gas()); - let gas_limit = None; - let is_static = false; - let caller = handle.context().caller; - let context = fp_evm::Context { address: erc20.0, caller, apparent_value: U256::zero() }; - let (exit_reason, output) = handle.call(erc20.0, None, data, gas_limit, is_static, &context); - - log::debug!( - target: "evm", - "erc20_transfer: context: {:?}, exit_reason: {:?}, input: ({:?}, {}), output: 0x{}", - context, - exit_reason, - to.0, - amount, - hex::encode(&output), - ); - - match exit_reason { - fp_evm::ExitReason::Succeed(_) => { - // decode the result and return it - let result = transfer_fn - .decode_output(&output) - .map_err(|e| revert(format!("failed to decode IERC20.transfer result: {e:?}")))?; - let first_token = result.first().ok_or(RevertReason::custom("no return value"))?; - let s = if let ethabi::Token::Bool(val) = first_token { *val } else { false }; - Ok(s) - }, - fp_evm::ExitReason::Error(e) => Err(PrecompileFailure::Error { exit_status: e }), - fp_evm::ExitReason::Revert(e) => Err(PrecompileFailure::Revert { exit_status: e, output }), - fp_evm::ExitReason::Fatal(e) => Err(PrecompileFailure::Fatal { exit_status: e }), - } -} From a2c996d9e3132a7c584c32d911017a9250c4ced6 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Tue, 7 Jan 2025 23:00:03 +0200 Subject: [PATCH 02/19] fix: added more E2E Tests Fixed some calls in the pallets, also this fixes an issue or bug in Closes #868 --- node/tests/evm_restaking.rs | 180 +- .../multi-asset-delegation/src/functions.rs | 16 + .../src/functions/deposit.rs | 16 +- pallets/multi-asset-delegation/src/lib.rs | 24 +- precompiles/erc20-utils/src/lib.rs | 5 +- precompiles/multi-asset-delegation/src/lib.rs | 38 +- tangle-subxt/src/tangle_testnet_runtime.rs | 29797 +++++++++------- 7 files changed, 17254 insertions(+), 12822 deletions(-) diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index 3619e949..36d9f8c6 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -11,7 +11,9 @@ use core::time::Duration; use alloy::primitives::*; use alloy::providers::Provider; use alloy::sol; -use sp_tracing::info; +use sp_runtime::traits::AccountIdConversion; +use sp_tracing::{error, info}; +use tangle_runtime::PalletId; use tangle_subxt::subxt; use tangle_subxt::subxt::tx::TxStatus; use tangle_subxt::tangle_testnet_runtime::api; @@ -19,10 +21,8 @@ use tangle_subxt::tangle_testnet_runtime::api; mod common; use common::*; -use tangle_subxt::tangle_testnet_runtime::api::runtime_types::pallet_assets; use tangle_subxt::tangle_testnet_runtime::api::runtime_types::pallet_multi_asset_delegation::types::operator::DelegatorBond; use tangle_subxt::tangle_testnet_runtime::api::runtime_types::tangle_primitives::services::Asset; -use tangle_subxt::tangle_testnet_runtime::api::runtime_types::tangle_testnet_runtime::RuntimeCall; sol! { #[allow(clippy::too_many_arguments)] @@ -76,45 +76,59 @@ async fn deploy_erc20( async fn create_asset( subxt: &subxt::OnlineClient, signer: &TestAccount, + asset_id: u128, name: &str, symbol: &str, decimals: u8, -) -> anyhow::Result { - let next_asset_id_addr = api::storage().assets().next_asset_id(); - let asset_id = subxt - .storage() - .at_latest() - .await? - .fetch(&next_asset_id_addr) - .await? - .unwrap_or_default(); - let asset_call = api::tx().utility().batch(vec![ - RuntimeCall::Assets(pallet_assets::pallet::Call::create { - id: asset_id, - admin: signer.account_id().into(), - min_balance: 0, - }), - RuntimeCall::Assets(pallet_assets::pallet::Call::set_metadata { - id: asset_id, - name: name.into(), - symbol: symbol.into(), - decimals, - }), - ]); - +) -> anyhow::Result<()> { + let asset_create_call = api::tx().assets().create(asset_id, signer.account_id().into(), 1); + let asset_metadata_call = + api::tx().assets().set_metadata(asset_id, name.into(), symbol.into(), decimals); let mut result = subxt .tx() - .sign_and_submit_then_watch_default(&asset_call, &signer.substrate_signer()) + .sign_and_submit_then_watch_default(&asset_create_call, &signer.substrate_signer()) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + let created = evs + .find_first::()? + .expect("Created event to be emitted"); + assert_eq!(created.asset_id, asset_id, "Asset ID mismatch"); + break; + } + } + + result = subxt + .tx() + .sign_and_submit_then_watch_default(&asset_metadata_call, &signer.substrate_signer()) .await?; while let Some(Ok(s)) = result.next().await { if let TxStatus::InBestBlock(b) = s { - b.wait_for_success().await?; - info!("Created {symbol} asset with ID: {asset_id}"); + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + let metadata_set = evs + .find_first::()? + .expect("MetadataSet event to be emitted"); + assert_eq!(metadata_set.asset_id, asset_id, "Asset ID mismatch"); break; } } - Ok(asset_id) + + Ok(()) } /// Setup the E2E test environment. @@ -139,9 +153,9 @@ where let wbtc_addr = deploy_erc20(alice_provider.clone(), "Wrapped Bitcoin", "WBTC", 8).await?; // Create runtime assets - let usdc_asset_id = create_asset(&subxt, &alice, "USD Coin", "USDC", 6).await?; - let weth_asset_id = create_asset(&subxt, &alice, "Wrapped Ether", "WETH", 18).await?; - let wbtc_asset_id = create_asset(&subxt, &alice, "Wrapped Bitcoin", "WBTC", 8).await?; + create_asset(&subxt, &alice, 0, "USD Coin", "USDC", 6).await?; + create_asset(&subxt, &alice, 1, "Wrapped Ether", "WETH", 18).await?; + create_asset(&subxt, &alice, 2, "Wrapped Bitcoin", "WBTC", 8).await?; let test_inputs = TestInputs { provider, @@ -149,11 +163,13 @@ where usdc: usdc_addr, weth: weth_addr, wbtc: wbtc_addr, - usdc_asset_id, - weth_asset_id, - wbtc_asset_id, + usdc_asset_id: 0, + weth_asset_id: 1, + wbtc_asset_id: 2, }; - f(test_inputs).await + let result = f(test_inputs).await; + assert!(result.is_ok(), "Test failed: {result:?}"); + result }); } @@ -290,24 +306,100 @@ fn operator_join_delegator_delegate_asset_id() { // Mint USDC for Bob using asset ID let mint_amount = 100_000_000u128; - let mint_call = api::tx().assets().mint( - t.usdc_asset_id, - bob.address().to_account_id().into(), - mint_amount, - ); + let mint_call = |who| api::tx().assets().mint(t.usdc_asset_id, who, mint_amount); + + info!("Minting {mint_amount} USDC for Bob"); let mut result = t .subxt .tx() - .sign_and_submit_then_watch_default(&mint_call, &alice.substrate_signer()) + .sign_and_submit_then_watch_default( + &mint_call(bob.address().to_account_id().into()), + &alice.substrate_signer(), + ) .await?; while let Some(Ok(s)) = result.next().await { if let TxStatus::InBestBlock(b) = s { - b.wait_for_success().await?; + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("Issued event to be emitted"); + info!("Minted {mint_amount} USDC for Bob"); break; } } + // Mint 1 USDC to the MAD pallet. + let pallet_account_addr = api::constants().multi_asset_delegation().pallet_id(); + let pallet_account_id = t.subxt.constants().at(&pallet_account_addr).unwrap(); + let pallet_account_id = + AccountIdConversion::::into_account_truncating(&PalletId( + pallet_account_id.0, + )); + + // Send some balance to the MAD pallet + let transfer_keep_alive_call = api::tx() + .balances() + .transfer_keep_alive(pallet_account_id.clone().into(), 100_000_000_000_000); + + let mut result = t + .subxt + .tx() + .sign_and_submit_then_watch_default( + &transfer_keep_alive_call, + &alice.substrate_signer(), + ) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("Transfer event to be emitted"); + info!("Transferred 100_000_000_000_000 to the MAD pallet"); + break; + } + } + + info!("Minting {mint_amount} USDC to the MAD pallet"); + let mut result = t + .subxt + .tx() + .sign_and_submit_then_watch_default( + &mint_call(pallet_account_id.into()), + &alice.substrate_signer(), + ) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("Issued event to be emitted"); + info!("Minted {mint_amount} USDC to the MAD pallet"); + break; + } + } + + wait_for_more_blocks(&t.provider, 1).await; + // Delegate assets let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); let delegate_amount = mint_amount.div(2); diff --git a/pallets/multi-asset-delegation/src/functions.rs b/pallets/multi-asset-delegation/src/functions.rs index 30f79692..42dd7c25 100644 --- a/pallets/multi-asset-delegation/src/functions.rs +++ b/pallets/multi-asset-delegation/src/functions.rs @@ -13,6 +13,10 @@ // // You should have received a copy of the GNU General Public License // along with Tangle. If not, see . + +use frame_system::RawOrigin; +use sp_runtime::traits::BadOrigin; + use super::*; pub mod delegate; @@ -20,3 +24,15 @@ pub mod deposit; pub mod evm; pub mod operator; pub mod session_manager; + +/// Ensure that the origin `o` represents the current pallet (i.e. transaction). +/// Returns `Ok` if the origin is the current pallet, `Err` otherwise. +pub fn ensure_pallet(o: OuterOrigin) -> Result +where + OuterOrigin: Into, OuterOrigin>>, +{ + match o.into() { + Ok(RawOrigin::Signed(t)) if t == Pallet::::pallet_account() => Ok(t), + _ => Err(BadOrigin), + } +} diff --git a/pallets/multi-asset-delegation/src/functions/deposit.rs b/pallets/multi-asset-delegation/src/functions/deposit.rs index 99b6ed54..5f459e7f 100644 --- a/pallets/multi-asset-delegation/src/functions/deposit.rs +++ b/pallets/multi-asset-delegation/src/functions/deposit.rs @@ -46,7 +46,6 @@ impl Pallet { sender: &T::AccountId, asset_id: Asset, amount: BalanceOf, - _evm_sender: Option, ) -> DispatchResult { match asset_id { Asset::Custom(asset_id) => { @@ -58,16 +57,8 @@ impl Pallet { Preservation::Expendable, )?; }, - Asset::Erc20(_asset_address) => { - // let sender = evm_sender.ok_or(Error::::ERC20TransferFailed)?; - // let (success, _weight) = Self::erc20_transfer( - // asset_address, - // &sender, - // Self::pallet_evm_account(), - // amount, - // ) - // .map_err(|_| Error::::ERC20TransferFailed)?; - // ensure!(success, Error::::ERC20TransferFailed); + Asset::Erc20(_) => { + // Handled by the Precompile }, } Ok(()) @@ -89,13 +80,12 @@ impl Pallet { who: T::AccountId, asset_id: Asset, amount: BalanceOf, - evm_address: Option, lock_multiplier: Option, ) -> DispatchResult { ensure!(amount >= T::MinDelegateAmount::get(), Error::::BondTooLow); // Transfer the amount to the pallet account - Self::handle_transfer_to_pallet(&who, asset_id, amount, evm_address)?; + Self::handle_transfer_to_pallet(&who, asset_id, amount)?; let now = >::block_number(); diff --git a/pallets/multi-asset-delegation/src/lib.rs b/pallets/multi-asset-delegation/src/lib.rs index b2c278ba..49c01d7a 100644 --- a/pallets/multi-asset-delegation/src/lib.rs +++ b/pallets/multi-asset-delegation/src/lib.rs @@ -79,6 +79,7 @@ pub use functions::*; #[frame_support::pallet] pub mod pallet { + use super::functions::*; use crate::types::{delegator::DelegatorBlueprintSelection, *}; use frame_support::{ pallet_prelude::*, @@ -92,7 +93,10 @@ pub mod pallet { use sp_std::{fmt::Debug, prelude::*, vec::Vec}; use tangle_primitives::traits::RewardsManager; use tangle_primitives::types::rewards::LockMultiplier; - use tangle_primitives::{services::Asset, traits::ServiceManager, BlueprintId, RoundIndex}; + use tangle_primitives::{ + services::Asset, services::EvmAddressMapping, traits::ServiceManager, BlueprintId, + RoundIndex, + }; /// Configure the pallet by specifying the parameters and types on which it depends. #[pallet::config] @@ -173,6 +177,7 @@ pub mod pallet { + fungibles::Mutate; /// The pallet's account ID. + #[pallet::constant] type PalletId: Get; /// The origin with privileged access @@ -681,12 +686,25 @@ pub mod pallet { evm_address: Option, lock_multiplier: Option, ) -> DispatchResult { - let who = ensure_signed(origin)?; + let who = match (asset_id, evm_address) { + (Asset::Custom(_), None) => ensure_signed(origin)?, + (Asset::Erc20(_), Some(addr)) => { + ensure_pallet::(origin)?; + T::EvmAddressMapping::into_account_id(addr) + }, + (Asset::Erc20(_), None) => return Err(Error::::NotAuthorized.into()), + (Asset::Custom(_), Some(adress)) => { + let evm_account_id = T::EvmAddressMapping::into_account_id(adress); + let caller = ensure_signed(origin)?; + ensure!(evm_account_id == caller, DispatchError::BadOrigin); + evm_account_id + }, + }; // ensure the caps have not been exceeded let remaning = T::RewardsManager::get_asset_deposit_cap_remaining(asset_id) .map_err(|_| Error::::DepositExceedsCapForAsset)?; ensure!(amount <= remaning, Error::::DepositExceedsCapForAsset); - Self::process_deposit(who.clone(), asset_id, amount, evm_address, lock_multiplier)?; + Self::process_deposit(who.clone(), asset_id, amount, lock_multiplier)?; Self::deposit_event(Event::Deposited { who, amount, asset_id }); Ok(()) } diff --git a/precompiles/erc20-utils/src/lib.rs b/precompiles/erc20-utils/src/lib.rs index 4f033f63..6d6ba663 100644 --- a/precompiles/erc20-utils/src/lib.rs +++ b/precompiles/erc20-utils/src/lib.rs @@ -44,6 +44,7 @@ use alloc::format; pub fn erc20_transfer( handle: &mut impl PrecompileHandle, erc20: Address, + caller: Address, to: Address, amount: U256, ) -> EvmResult { @@ -79,8 +80,8 @@ pub fn erc20_transfer( // let gas_limit = Some(handle.remaining_gas()); let gas_limit = None; let is_static = false; - let caller = handle.context().caller; - let context = fp_evm::Context { address: erc20.0, caller, apparent_value: U256::zero() }; + let context = + fp_evm::Context { address: erc20.0, caller: caller.0, apparent_value: U256::zero() }; let (exit_reason, output) = handle.call(erc20.0, None, data, gas_limit, is_static, &context); log::debug!( diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 0e23f2cf..30b98119 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -44,7 +44,6 @@ use tangle_primitives::types::rewards::LockMultiplier; use evm_erc20_utils::*; use fp_evm::PrecompileHandle; use frame_support::{ - __private::log, dispatch::{GetDispatchInfo, PostDispatchInfo}, traits::Currency, }; @@ -146,6 +145,8 @@ where RuntimeHelper::::try_dispatch(handle, Some(origin).into(), call)?; + // TODO: Execute the ERC20 Transfers here. + Ok(()) } @@ -222,15 +223,26 @@ where handle.record_cost(RuntimeHelper::::db_read_gas_cost())?; let caller = handle.context().caller; - let pallet_address = pallet_multi_asset_delegation::Pallet::::pallet_evm_account(); - let who = Runtime::AddressMapping::into_account_id(caller); - let (deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { + let (who, deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { (0, erc20_token) if erc20_token != [0; 20] => { - erc20_transfer(handle, token_address, pallet_address.into(), amount)?; - (Asset::Erc20(erc20_token.into()), amount) + let who = pallet_multi_asset_delegation::Pallet::::pallet_account(); + let pallet_address = + pallet_multi_asset_delegation::Pallet::::pallet_evm_account(); + erc20_transfer( + handle, + token_address, + caller.into(), + pallet_address.into(), + amount, + )?; + (who, Asset::Erc20(erc20_token.into()), amount) }, - (other_asset_id, _) => (Asset::Custom(other_asset_id.into()), amount), + (other_asset_id, _) => ( + Runtime::AddressMapping::into_account_id(caller), + Asset::Custom(other_asset_id.into()), + amount, + ), }; let lock_multiplier = match lock_multiplier { @@ -268,13 +280,17 @@ where handle.record_cost(RuntimeHelper::::db_read_gas_cost())?; let caller = handle.context().caller; - let who = Runtime::AddressMapping::into_account_id(caller); - let (deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { + let (who, deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { (0, erc20_token) if erc20_token != [0; 20] => { - (Asset::Erc20(erc20_token.into()), amount) + let who = pallet_multi_asset_delegation::Pallet::::pallet_account(); + (who, Asset::Erc20(erc20_token.into()), amount) }, - (other_asset_id, _) => (Asset::Custom(other_asset_id.into()), amount), + (other_asset_id, _) => ( + Runtime::AddressMapping::into_account_id(caller), + Asset::Custom(other_asset_id.into()), + amount, + ), }; RuntimeHelper::::try_dispatch( diff --git a/tangle-subxt/src/tangle_testnet_runtime.rs b/tangle-subxt/src/tangle_testnet_runtime.rs index 7e7bbecf..4ce6629e 100644 --- a/tangle-subxt/src/tangle_testnet_runtime.rs +++ b/tangle-subxt/src/tangle_testnet_runtime.rs @@ -93,7 +93,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 { @@ -162,11 +162,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 {}, @@ -182,11 +182,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 }, @@ -202,11 +202,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 }, @@ -228,40 +228,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, } @@ -275,18 +283,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, } @@ -301,11 +313,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 {}, @@ -323,11 +335,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 }, @@ -344,11 +356,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 {}, @@ -371,18 +383,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; @@ -394,18 +410,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, } @@ -413,22 +433,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 {} } } @@ -445,11 +470,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 }, @@ -463,11 +488,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 {}, @@ -482,11 +507,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 }, @@ -503,11 +528,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 }, @@ -523,25 +548,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, } @@ -555,46 +584,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; @@ -602,18 +639,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, @@ -634,11 +675,11 @@ 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 }, @@ -655,25 +696,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, } @@ -688,11 +733,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 {}, @@ -708,11 +753,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 }, @@ -727,11 +772,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 {}, @@ -747,11 +792,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 }, @@ -766,11 +811,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 {}, @@ -787,11 +832,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 }, @@ -814,11 +859,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 { @@ -851,11 +896,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 { @@ -879,11 +924,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 {}, @@ -898,11 +943,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 {}, @@ -917,11 +962,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 {}, @@ -935,11 +980,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 {}, @@ -954,11 +999,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 }, @@ -973,11 +1018,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 {}, @@ -992,11 +1037,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 {}, @@ -1012,11 +1057,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 }, @@ -1036,11 +1081,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 }, @@ -1063,40 +1108,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, } @@ -1108,40 +1161,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, } @@ -1149,54 +1211,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 = @@ -1206,34 +1277,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, @@ -1248,8 +1325,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 = @@ -1259,32 +1337,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, @@ -1308,66 +1394,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; @@ -1380,12 +1480,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, >, >, @@ -1393,42 +1493,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, } @@ -1442,18 +1550,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; @@ -1463,22 +1575,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 = ( @@ -1488,7 +1604,7 @@ pub mod api { >, >, ::core::option::Option< - ::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::fp_rpc::TransactionStatus, >, >, @@ -1496,18 +1612,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, } @@ -1521,18 +1641,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, } @@ -1546,11 +1670,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 }, @@ -1569,22 +1693,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, } @@ -1610,11 +1738,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 }, @@ -1632,26 +1760,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, @@ -1669,11 +1801,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 }, @@ -1697,18 +1829,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, } @@ -1730,11 +1866,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 }, @@ -1751,11 +1887,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 }, @@ -1773,55 +1909,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, } @@ -1836,11 +1982,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 {}, @@ -1854,11 +2000,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 {}, @@ -1873,11 +2019,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 {}, @@ -1893,11 +2039,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 {}, @@ -1924,11 +2070,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 }, @@ -1951,11 +2097,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 { @@ -1981,18 +2127,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; @@ -2002,18 +2152,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; @@ -2023,18 +2177,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; @@ -2044,18 +2202,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; @@ -2069,18 +2231,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, @@ -2102,18 +2268,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, @@ -2132,11 +2302,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 }, @@ -2153,25 +2323,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, } @@ -2186,11 +2360,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 }, @@ -2205,11 +2379,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 }, @@ -2223,11 +2397,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 }, @@ -2242,11 +2416,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 }, @@ -2262,7 +2436,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; @@ -2274,25 +2448,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; @@ -2303,18 +2481,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, @@ -2328,18 +2510,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, } @@ -2352,18 +2538,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, } @@ -2391,11 +2581,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 {}, @@ -2418,11 +2608,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 { @@ -2452,11 +2642,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 }, @@ -2470,11 +2660,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 {}, @@ -2493,31 +2683,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; @@ -2527,18 +2721,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, @@ -2556,18 +2754,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, @@ -2580,18 +2782,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 {} } } @@ -2605,11 +2811,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 }, @@ -2626,11 +2832,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 }, @@ -2654,11 +2860,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 { @@ -2685,7 +2891,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>; @@ -2696,18 +2902,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, @@ -2715,9 +2925,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 { @@ -2727,18 +2938,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, @@ -2748,9 +2963,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 = @@ -2759,9 +2975,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 { @@ -2771,18 +2989,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, @@ -2806,11 +3028,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 }, @@ -2826,26 +3048,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, @@ -2870,11 +3096,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 }, @@ -2902,11 +3128,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 }, @@ -2924,11 +3150,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 {}, @@ -2945,52 +3171,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, } @@ -2998,23 +3236,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 {} } } @@ -3372,7 +3615,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) @@ -3380,9 +3623,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 97u8, 106u8, 210u8, 161u8, 133u8, 87u8, 56u8, 120u8, 94u8, 250u8, 106u8, 137u8, - 172u8, 7u8, 138u8, 164u8, 222u8, 19u8, 172u8, 132u8, 102u8, 174u8, 34u8, 137u8, - 128u8, 69u8, 160u8, 42u8, 193u8, 185u8, 33u8, 93u8, + 139u8, 202u8, 130u8, 65u8, 102u8, 184u8, 20u8, 137u8, 180u8, 188u8, 67u8, 204u8, + 157u8, 248u8, 20u8, 229u8, 255u8, 166u8, 214u8, 231u8, 170u8, 30u8, 143u8, 124u8, + 72u8, 151u8, 116u8, 218u8, 126u8, 129u8, 148u8, 5u8, ] } pub mod system { @@ -3399,18 +3642,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`."] @@ -3419,25 +3666,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, @@ -3446,48 +3698,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"] @@ -3497,80 +3758,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"] @@ -3581,51 +3855,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 = ""] @@ -3635,25 +3919,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 = ""] @@ -3667,25 +3955,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"] @@ -3700,9 +3992,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"; } @@ -3715,8 +4008,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 }, @@ -3732,8 +4025,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 }, @@ -3749,8 +4042,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 }, @@ -3768,8 +4061,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 }, @@ -3785,8 +4079,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 }, @@ -3802,8 +4096,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 }, @@ -3823,8 +4117,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 }, @@ -3840,8 +4134,9 @@ 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 }, @@ -3859,8 +4154,9 @@ 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 }, @@ -3883,9 +4179,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 }, @@ -3909,8 +4206,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 }, @@ -3928,18 +4227,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, @@ -3948,23 +4247,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, @@ -3975,92 +4274,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, @@ -4068,26 +4367,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, @@ -4095,10 +4394,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"; } @@ -4113,7 +4412,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; @@ -4135,12 +4434,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 { @@ -4149,7 +4449,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; @@ -4157,10 +4457,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, >, >; } @@ -4170,11 +4470,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; @@ -4204,14 +4504,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", (), @@ -4226,17 +4526,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, @@ -4247,14 +4551,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", (), @@ -4269,14 +4573,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", (), @@ -4290,14 +4594,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", (), @@ -4311,14 +4615,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", (), @@ -4333,14 +4637,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", (), @@ -4355,17 +4659,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, @@ -4376,14 +4684,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", (), @@ -4398,17 +4706,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, @@ -4419,14 +4731,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", (), @@ -4440,14 +4752,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", (), @@ -4461,14 +4773,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", (), @@ -4488,14 +4800,14 @@ 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", (), @@ -4510,14 +4822,14 @@ pub mod api { #[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", (), @@ -4541,14 +4853,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", (), @@ -4572,17 +4884,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, @@ -4593,14 +4909,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", (), @@ -4614,14 +4930,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", (), @@ -4636,14 +4952,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", (), @@ -4658,14 +4974,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", (), @@ -4679,14 +4995,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", (), @@ -4706,10 +5022,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", [ @@ -4722,10 +5038,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", [ @@ -4738,8 +5054,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", [ @@ -4753,10 +5071,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", [ @@ -4770,10 +5088,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", [ @@ -4791,8 +5109,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", [ @@ -4817,18 +5137,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"] @@ -4856,7 +5180,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"; } @@ -4885,8 +5209,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 }, @@ -4917,14 +5241,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", (), @@ -4941,14 +5265,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", (), @@ -4974,8 +5298,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", [ @@ -5003,50 +5329,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 { @@ -5054,23 +5389,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 { @@ -5078,66 +5417,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"; } @@ -5148,11 +5495,13 @@ 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), + }, [ 104u8, 243u8, 183u8, 73u8, 83u8, 234u8, 164u8, 179u8, 6u8, 107u8, 67u8, 149u8, 235u8, 16u8, 42u8, 90u8, 249u8, 201u8, 222u8, 150u8, 170u8, @@ -5169,12 +5518,13 @@ 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, }, [ @@ -5189,8 +5539,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 }, @@ -5210,11 +5560,14 @@ 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), + }, [ 44u8, 47u8, 139u8, 71u8, 178u8, 40u8, 185u8, 191u8, 46u8, 165u8, 200u8, 70u8, 32u8, 77u8, 82u8, 205u8, 30u8, 69u8, 11u8, 254u8, 44u8, 116u8, @@ -5227,8 +5580,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 {}, @@ -5247,18 +5600,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, @@ -5268,23 +5621,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, @@ -5292,45 +5645,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, @@ -5340,7 +5693,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"; } @@ -5351,7 +5704,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; @@ -5359,14 +5712,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", (), @@ -5391,7 +5744,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, >; } } @@ -5402,14 +5755,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", (), @@ -5438,18 +5791,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."] @@ -5478,29 +5835,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."] @@ -5531,30 +5892,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"] @@ -5574,23 +5939,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"] @@ -5611,23 +5980,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"] @@ -5648,23 +6021,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"] @@ -5683,23 +6060,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`."] @@ -5722,29 +6103,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`."] @@ -5770,29 +6155,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."] @@ -5821,29 +6210,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."] @@ -5872,29 +6265,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`."] @@ -5925,33 +6322,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."] @@ -5972,28 +6373,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`."] @@ -6012,28 +6417,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`."] @@ -6051,23 +6460,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`."] @@ -6085,23 +6498,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`."] @@ -6120,28 +6537,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`."] @@ -6164,36 +6585,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`."] @@ -6220,27 +6645,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`."] @@ -6260,23 +6691,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."] @@ -6302,28 +6737,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."] @@ -6343,23 +6784,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`."] @@ -6397,43 +6842,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."] @@ -6464,29 +6913,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"] @@ -6508,28 +6961,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"] @@ -6552,32 +7009,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 = ""] @@ -6607,33 +7068,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."] @@ -6651,23 +7116,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 = ""] @@ -6688,23 +7157,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"] @@ -6727,23 +7200,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."] @@ -6762,28 +7239,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"] @@ -6802,28 +7283,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`."] @@ -6842,12 +7327,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"; } @@ -6878,8 +7363,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 }, @@ -6915,8 +7400,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 }, @@ -6941,8 +7426,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 }, @@ -6968,8 +7453,9 @@ 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 }, @@ -6995,8 +7481,9 @@ 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 }, @@ -7021,8 +7508,9 @@ 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 }, @@ -7050,8 +7538,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 }, @@ -7083,8 +7571,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 }, @@ -7119,8 +7607,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 }, @@ -7155,8 +7643,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 }, @@ -7193,8 +7682,9 @@ 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 }, @@ -7221,8 +7711,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 }, @@ -7247,8 +7737,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 }, @@ -7271,8 +7761,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 }, @@ -7296,8 +7786,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 }, @@ -7322,8 +7812,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 }, @@ -7352,8 +7843,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 }, @@ -7387,8 +7878,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 }, @@ -7414,8 +7905,9 @@ 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 }, @@ -7447,8 +7939,9 @@ 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 }, @@ -7474,8 +7967,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 }, @@ -7519,8 +8013,9 @@ 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 { @@ -7565,8 +8060,9 @@ 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 }, @@ -7594,8 +8090,9 @@ 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 }, @@ -7624,8 +8121,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 }, @@ -7661,8 +8159,9 @@ 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 }, @@ -7685,8 +8184,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 }, @@ -7711,8 +8210,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 }, @@ -7740,8 +8239,9 @@ 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 }, @@ -7766,8 +8266,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 }, @@ -7792,8 +8292,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 }, @@ -7818,8 +8318,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 }, @@ -7837,18 +8337,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, @@ -7858,26 +8358,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, @@ -7887,26 +8387,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, @@ -7917,27 +8417,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, @@ -7947,26 +8447,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, @@ -7977,27 +8477,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, @@ -8006,25 +8506,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, @@ -8033,25 +8533,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, @@ -8060,25 +8560,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, @@ -8087,23 +8587,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, @@ -8112,23 +8612,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, @@ -8141,23 +8641,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, @@ -8170,23 +8670,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, @@ -8195,23 +8695,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, @@ -8220,23 +8720,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, @@ -8245,25 +8745,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, @@ -8275,28 +8775,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, @@ -8305,23 +8805,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, @@ -8332,27 +8832,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, @@ -8362,26 +8862,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 { @@ -8394,28 +8894,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, @@ -8424,23 +8924,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, @@ -8451,23 +8951,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, @@ -8477,26 +8977,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, @@ -8505,25 +9005,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, @@ -8533,26 +9033,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, @@ -8562,10 +9062,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"; } @@ -8578,7 +9078,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; @@ -8589,10 +9089,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; @@ -8601,8 +9101,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; @@ -8624,14 +9124,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", (), @@ -8647,17 +9147,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, @@ -8669,14 +9173,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", (), @@ -8691,17 +9195,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, @@ -8714,22 +9222,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, @@ -8743,14 +9259,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", (), @@ -8768,17 +9284,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, @@ -8794,22 +9314,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, @@ -8827,24 +9355,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, @@ -8857,14 +9397,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", (), @@ -8879,17 +9419,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, @@ -8908,14 +9452,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", (), @@ -8937,8 +9481,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", [ @@ -8952,8 +9498,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", [ @@ -8967,8 +9515,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", [ @@ -8981,8 +9531,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", [ @@ -8996,8 +9548,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", [ @@ -9010,8 +9564,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", [ @@ -9024,8 +9580,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", [ @@ -9053,18 +9611,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."] @@ -9079,29 +9641,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 { @@ -9112,33 +9678,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 = ""] @@ -9152,29 +9722,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"] @@ -9196,29 +9770,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."] @@ -9228,29 +9806,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`."] @@ -9264,25 +9846,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`."] @@ -9293,29 +9881,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`."] @@ -9331,23 +9923,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"] @@ -9365,7 +9961,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"; } @@ -9383,8 +9979,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 }, @@ -9403,8 +10000,9 @@ 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 }, @@ -9425,8 +10023,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 }, @@ -9457,8 +10056,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 }, @@ -9477,8 +10076,9 @@ 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 }, @@ -9500,8 +10100,9 @@ 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 }, @@ -9519,8 +10120,9 @@ 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 }, @@ -9541,8 +10143,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 }, @@ -9565,8 +10169,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 }, @@ -9584,18 +10188,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, @@ -9603,26 +10207,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 { @@ -9631,26 +10235,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, @@ -9659,27 +10263,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, @@ -9687,26 +10291,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, @@ -9714,26 +10318,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, @@ -9741,26 +10345,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 { @@ -9771,29 +10375,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, @@ -9801,26 +10405,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, @@ -9828,26 +10432,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, @@ -9855,26 +10459,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, @@ -9882,26 +10486,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, @@ -9909,26 +10513,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, @@ -9936,26 +10540,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, @@ -9963,51 +10567,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, @@ -10016,23 +10620,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, @@ -10041,23 +10645,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, @@ -10065,26 +10669,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, @@ -10092,26 +10696,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, @@ -10119,26 +10723,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, @@ -10146,26 +10750,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, @@ -10176,7 +10780,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"; } @@ -10197,7 +10801,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; @@ -10207,7 +10811,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; @@ -10217,7 +10821,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; @@ -10227,7 +10831,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; @@ -10237,7 +10841,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; @@ -10245,14 +10849,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", (), @@ -10267,14 +10871,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", (), @@ -10311,14 +10915,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", (), @@ -10356,17 +10960,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, @@ -10380,14 +10988,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", (), @@ -10405,17 +11013,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, @@ -10428,14 +11040,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", (), @@ -10452,17 +11064,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, @@ -10473,14 +11089,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", (), @@ -10496,17 +11112,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, @@ -10518,14 +11138,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", (), @@ -10540,17 +11160,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, @@ -10574,8 +11198,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", [ @@ -10591,8 +11217,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", [ @@ -10608,8 +11236,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", [ @@ -10623,8 +11253,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", [ @@ -10646,18 +11278,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 { @@ -10667,11 +11299,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"; } @@ -10694,14 +11326,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", (), @@ -10715,14 +11347,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", (), @@ -10763,8 +11395,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", [ @@ -10787,7 +11421,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; @@ -10795,14 +11429,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", (), @@ -10831,25 +11465,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 { @@ -10863,23 +11502,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"] @@ -10889,7 +11532,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, @@ -10905,23 +11548,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"] @@ -10934,7 +11581,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"; } @@ -10949,12 +11596,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, @@ -10978,13 +11626,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, @@ -11003,8 +11652,9 @@ 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 }, @@ -11117,14 +11767,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", (), @@ -11139,14 +11789,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", (), @@ -11162,14 +11812,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", (), @@ -11184,14 +11834,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", (), @@ -11215,14 +11865,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", (), @@ -11237,14 +11887,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", (), @@ -11258,14 +11908,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", (), @@ -11279,14 +11929,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", (), @@ -11308,14 +11958,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", (), @@ -11330,14 +11980,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", (), @@ -11352,19 +12002,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, @@ -11376,14 +12028,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", (), @@ -11401,14 +12053,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", (), @@ -11427,14 +12079,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", (), @@ -11452,14 +12104,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", (), @@ -11474,14 +12126,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", (), @@ -11497,14 +12149,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", (), @@ -11526,14 +12178,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", (), @@ -11555,8 +12207,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", [ @@ -11574,8 +12228,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", [ @@ -11589,8 +12245,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", [ @@ -11604,8 +12262,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", [ @@ -11633,53 +12293,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"] @@ -11690,7 +12359,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, @@ -11699,28 +12368,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"] @@ -11742,7 +12415,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"; } @@ -11757,12 +12430,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, @@ -11787,13 +12461,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, @@ -11821,8 +12496,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 }, @@ -11841,68 +12516,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"; } @@ -11952,14 +12627,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", (), @@ -11973,14 +12648,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", (), @@ -11994,14 +12669,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", (), @@ -12016,14 +12691,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", (), @@ -12038,14 +12713,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", (), @@ -12069,14 +12744,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", (), @@ -12100,17 +12775,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, @@ -12121,14 +12800,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", (), @@ -12149,8 +12828,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", [ @@ -12164,8 +12845,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", [ @@ -12184,8 +12867,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", [ @@ -12213,18 +12898,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."] @@ -12244,23 +12933,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 = ""] @@ -12279,29 +12972,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."] @@ -12321,23 +13018,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 = ""] @@ -12358,30 +13059,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 = ""] @@ -12401,7 +13106,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"; } @@ -12423,8 +13128,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 }, @@ -12451,8 +13156,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 }, @@ -12479,8 +13184,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 }, @@ -12510,8 +13215,9 @@ 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 }, @@ -12538,8 +13244,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 }, @@ -12558,18 +13264,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, @@ -12577,26 +13283,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, @@ -12605,23 +13311,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, @@ -12630,9 +13336,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"; } @@ -12644,7 +13350,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, ); @@ -12656,14 +13362,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", (), @@ -12679,17 +13385,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, @@ -12707,8 +13417,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", [ @@ -12735,18 +13447,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"] @@ -12769,23 +13485,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"] @@ -12800,23 +13520,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 = ""] @@ -12835,23 +13559,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 = ""] @@ -12867,23 +13595,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 = ""] @@ -12900,23 +13632,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 = ""] @@ -12938,23 +13674,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 = ""] @@ -12976,23 +13716,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."] @@ -13016,27 +13760,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`."] @@ -13051,25 +13799,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_."] @@ -13085,23 +13837,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"] @@ -13129,30 +13885,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"] @@ -13166,46 +13926,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_."] @@ -13218,28 +13986,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:"] @@ -13274,23 +14046,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"] @@ -13312,29 +14088,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 = ""] @@ -13356,26 +14136,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`."] @@ -13391,23 +14175,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:"] @@ -13430,9 +14218,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"; } @@ -13452,8 +14241,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 }, @@ -13474,8 +14263,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 }, @@ -13498,8 +14287,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 }, @@ -13521,8 +14310,9 @@ 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 }, @@ -13542,8 +14332,9 @@ 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 }, @@ -13568,8 +14359,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 }, @@ -13594,8 +14387,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 }, @@ -13627,8 +14422,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 }, @@ -13651,8 +14446,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 }, @@ -13674,8 +14469,9 @@ 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 }, @@ -13712,8 +14508,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 }, @@ -13738,8 +14534,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 {}, @@ -13758,8 +14554,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 {}, @@ -13781,8 +14578,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 }, @@ -13824,8 +14621,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 }, @@ -13856,8 +14653,9 @@ 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 }, @@ -13887,8 +14685,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 }, @@ -13910,8 +14708,9 @@ 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 }, @@ -13941,8 +14740,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 }, @@ -13960,18 +14759,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, @@ -13982,23 +14781,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, @@ -14009,42 +14808,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, @@ -14055,23 +14854,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, @@ -14080,23 +14879,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, @@ -14105,23 +14904,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, @@ -14130,23 +14929,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, @@ -14154,51 +14953,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, @@ -14207,52 +15006,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, @@ -14261,28 +15060,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, @@ -14290,26 +15089,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, @@ -14318,23 +15117,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, @@ -14343,25 +15142,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, @@ -14370,25 +15169,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, @@ -14399,9 +15198,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"; } @@ -14423,14 +15222,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, ); @@ -14461,10 +15260,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; @@ -14485,19 +15284,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; } } @@ -14506,14 +15305,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", (), @@ -14528,14 +15327,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", (), @@ -14551,14 +15350,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", (), @@ -14575,17 +15374,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, @@ -14596,14 +15399,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", (), @@ -14619,14 +15422,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", (), @@ -14642,14 +15445,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", (), @@ -14667,19 +15470,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, @@ -14694,14 +15499,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", (), @@ -14719,17 +15524,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, @@ -14741,14 +15550,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", (), @@ -14765,14 +15574,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", (), @@ -14788,14 +15597,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", (), @@ -14812,17 +15621,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, @@ -14834,14 +15647,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", (), @@ -14857,17 +15670,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, @@ -14884,14 +15701,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", (), @@ -14912,17 +15729,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, @@ -14944,8 +15765,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", [ @@ -14959,8 +15782,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", [ @@ -14974,8 +15799,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", [ @@ -14992,8 +15819,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", [ @@ -15007,8 +15836,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", [ @@ -15023,8 +15854,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", [ @@ -15037,8 +15870,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", [ @@ -15052,8 +15887,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", [ @@ -15070,8 +15907,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", [ @@ -15085,8 +15924,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", [ @@ -15100,8 +15941,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", [ @@ -15115,8 +15958,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", [ @@ -15144,18 +15989,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."] @@ -15187,28 +16036,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."] @@ -15219,7 +16074,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, } @@ -15228,23 +16083,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."] @@ -15262,7 +16121,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, } @@ -15272,23 +16131,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."] @@ -15306,27 +16169,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 = ""] @@ -15342,25 +16209,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."] @@ -15395,12 +16266,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"; } @@ -15436,8 +16307,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 }, @@ -15462,12 +16333,12 @@ 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, }, [ @@ -15497,13 +16368,13 @@ 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, }, [ @@ -15527,8 +16398,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 }, @@ -15553,8 +16424,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 }, @@ -15595,8 +16467,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 }, @@ -15614,18 +16486,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 { @@ -15636,28 +16508,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 { @@ -15669,79 +16541,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, @@ -15749,27 +16621,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, @@ -15777,27 +16649,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, @@ -15806,11 +16678,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"; } @@ -15823,21 +16695,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; @@ -15845,12 +16717,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; @@ -15858,14 +16731,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", (), @@ -15879,14 +16752,14 @@ 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", (), @@ -15902,17 +16775,21 @@ 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(), + ), [ 185u8, 49u8, 29u8, 63u8, 134u8, 160u8, 131u8, 52u8, 195u8, 14u8, 233u8, 173u8, 155u8, 140u8, 220u8, 255u8, 111u8, 249u8, 87u8, 92u8, 171u8, @@ -15924,14 +16801,14 @@ pub mod api { #[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", (), @@ -15946,17 +16823,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, @@ -15967,14 +16848,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", (), @@ -15988,14 +16869,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", (), @@ -16009,14 +16890,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", (), @@ -16036,10 +16917,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", [ @@ -16067,18 +16948,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"] @@ -16089,23 +16974,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_."] @@ -16122,28 +17011,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_."] @@ -16163,8 +17056,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< @@ -16172,23 +17065,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_."] @@ -16210,12 +17107,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< @@ -16223,23 +17120,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"] @@ -16270,23 +17171,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_."] @@ -16299,13 +17204,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"; } @@ -16321,8 +17226,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 {}, @@ -16348,8 +17255,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 }, @@ -16377,8 +17284,9 @@ 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 }, @@ -16409,8 +17317,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 }, @@ -16446,8 +17355,9 @@ 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 }, @@ -16468,9 +17378,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 }, @@ -16489,18 +17400,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 { @@ -16509,35 +17420,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"; } @@ -16554,7 +17465,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; @@ -16566,14 +17477,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", (), @@ -16588,17 +17499,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, @@ -16611,14 +17526,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", (), @@ -16638,8 +17553,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", [ @@ -16651,8 +17568,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", [ @@ -16680,18 +17599,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 = ""] @@ -16718,50 +17641,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,"] @@ -16785,23 +17717,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 = ""] @@ -16829,23 +17765,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 = ""] @@ -16869,30 +17809,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 = ""] @@ -16911,7 +17855,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"; } @@ -16941,8 +17885,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 }, @@ -16960,8 +17904,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 {}, @@ -16991,8 +17935,9 @@ 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 }, @@ -17027,8 +17972,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 }, @@ -17061,8 +18007,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 }, @@ -17087,8 +18033,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 }, @@ -17106,18 +18053,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"] @@ -17128,67 +18075,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 { @@ -17196,50 +18143,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 = ""] @@ -17250,26 +18197,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, @@ -17277,10 +18224,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"; } @@ -17291,26 +18238,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, )>; } @@ -17321,10 +18268,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; @@ -17334,14 +18281,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", (), @@ -17359,14 +18306,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", (), @@ -17385,14 +18332,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", (), @@ -17406,14 +18353,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", (), @@ -17429,14 +18376,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", (), @@ -17453,17 +18400,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, @@ -17480,9 +18431,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", [ @@ -17495,8 +18447,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", [ @@ -17512,8 +18466,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", [ @@ -17526,8 +18482,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", [ @@ -17540,8 +18498,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", [ @@ -17555,8 +18515,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", [ @@ -17572,8 +18534,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", [ @@ -17592,8 +18556,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", [ @@ -17612,8 +18578,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", [ @@ -17630,8 +18598,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", [ @@ -17659,18 +18629,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__."] @@ -17686,7 +18660,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 { @@ -17698,23 +18673,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`."] @@ -17728,23 +18707,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 = ""] @@ -17758,28 +18741,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__."] @@ -17790,7 +18779,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; @@ -17799,23 +18789,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"] @@ -17829,7 +18823,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"; } @@ -17854,12 +18848,15 @@ 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, }, [ @@ -17877,8 +18874,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 }, @@ -17901,9 +18900,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 }, @@ -17927,12 +18927,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, @@ -17949,8 +18951,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 }, @@ -17968,18 +18971,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)`,"] @@ -17996,26 +18999,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, @@ -18027,44 +19031,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, @@ -18072,26 +19076,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, @@ -18099,26 +19103,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, @@ -18135,7 +19139,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"; } @@ -18164,12 +19168,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, >, ), >; @@ -18198,7 +19202,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 { @@ -18217,14 +19221,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", (), @@ -18238,14 +19242,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", (), @@ -18262,14 +19266,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", (), @@ -18287,14 +19291,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", (), @@ -18311,14 +19315,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", (), @@ -18335,14 +19339,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", (), @@ -18364,14 +19368,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", (), @@ -18390,14 +19394,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", (), @@ -18417,14 +19421,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", (), @@ -18445,19 +19449,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, @@ -18471,14 +19477,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", (), @@ -18499,10 +19505,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", [ @@ -18518,8 +19524,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", [ @@ -18533,8 +19541,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", [ @@ -18554,8 +19564,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", [ @@ -18573,10 +19585,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", [ @@ -18590,8 +19602,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", [ @@ -18605,8 +19619,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", [ @@ -18619,8 +19635,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", [ @@ -18633,8 +19651,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", [ @@ -18650,8 +19670,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", [ @@ -18664,8 +19686,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", [ @@ -18678,10 +19702,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", [ @@ -18694,8 +19718,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", [ @@ -18708,8 +19734,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", [ @@ -18737,18 +19765,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 = ""] @@ -18774,26 +19806,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 = ""] @@ -18816,23 +19852,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."] @@ -18860,23 +19900,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"] @@ -18907,23 +19951,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."] @@ -18936,23 +19984,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."] @@ -18968,30 +20020,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."] @@ -19003,23 +20059,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)."] @@ -19038,26 +20098,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"] @@ -19073,23 +20137,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."] @@ -19104,23 +20172,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 = ""] @@ -19136,23 +20208,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 = ""] @@ -19167,23 +20243,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."] @@ -19198,23 +20278,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 = ""] @@ -19230,23 +20314,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."] @@ -19255,26 +20343,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."] @@ -19289,26 +20382,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."] @@ -19319,23 +20416,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`."] @@ -19348,25 +20449,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."] @@ -19386,26 +20492,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."] @@ -19421,23 +20531,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 = ""] @@ -19462,26 +20576,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."] @@ -19498,30 +20616,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."] @@ -19579,23 +20701,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."] @@ -19627,25 +20753,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."] @@ -19654,25 +20784,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"] @@ -19684,23 +20818,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."] @@ -19725,27 +20863,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 = ""] @@ -19757,25 +20899,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."] @@ -19790,26 +20936,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:"] @@ -19829,9 +20979,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< @@ -19839,7 +20989,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"; } @@ -19866,8 +21016,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 }, @@ -19895,8 +21045,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 }, @@ -19929,8 +21079,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 }, @@ -19967,8 +21117,9 @@ 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 }, @@ -19988,8 +21139,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 }, @@ -20013,8 +21164,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 }, @@ -20036,8 +21187,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 {}, @@ -20063,8 +21216,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 }, @@ -20092,8 +21245,9 @@ 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 {}, @@ -20114,8 +21268,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 }, @@ -20137,8 +21292,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 }, @@ -20160,8 +21317,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 }, @@ -20188,8 +21346,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 {}, @@ -20217,8 +21375,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 {}, @@ -20235,8 +21393,9 @@ 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 }, @@ -20259,8 +21418,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 }, @@ -20282,8 +21441,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 {}, @@ -20303,8 +21463,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 }, @@ -20333,8 +21494,9 @@ 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 }, @@ -20355,8 +21517,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 }, @@ -20389,8 +21551,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 }, @@ -20415,8 +21577,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 }, @@ -20453,8 +21615,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 { @@ -20503,8 +21666,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 }, @@ -20522,8 +21685,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 }, @@ -20541,8 +21706,9 @@ 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 }, @@ -20576,8 +21742,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 }, @@ -20597,8 +21764,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 }, @@ -20620,8 +21787,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 }, @@ -20650,8 +21819,9 @@ 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 { @@ -20674,18 +21844,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 { @@ -20699,23 +21869,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, @@ -20724,29 +21894,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, @@ -20754,26 +21924,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 { @@ -20783,27 +21953,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 { @@ -20813,42 +21983,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,"] @@ -20859,26 +22029,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, @@ -20886,26 +22056,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 { @@ -20914,26 +22084,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, @@ -20941,70 +22111,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, @@ -21013,25 +22183,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, @@ -21039,26 +22209,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, @@ -21067,23 +22237,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, @@ -21092,23 +22262,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, @@ -21117,23 +22287,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, @@ -21142,7 +22312,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"; } @@ -21161,13 +22331,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; @@ -21188,19 +22359,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; @@ -21213,7 +22384,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; @@ -21222,7 +22393,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; @@ -21248,49 +22419,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; @@ -21300,7 +22472,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; } @@ -21328,9 +22500,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, >, >; @@ -21338,7 +22510,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, )>; @@ -21350,25 +22522,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 { @@ -21378,7 +22550,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; @@ -21390,14 +22562,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", (), @@ -21412,14 +22584,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", (), @@ -21435,14 +22607,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", (), @@ -21459,14 +22631,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", (), @@ -21484,17 +22656,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, @@ -21506,14 +22682,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", (), @@ -21528,14 +22704,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", (), @@ -21550,14 +22726,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", (), @@ -21573,14 +22749,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", (), @@ -21597,14 +22773,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", (), @@ -21622,17 +22798,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, @@ -21645,14 +22825,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", (), @@ -21670,17 +22850,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, @@ -21694,14 +22878,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", (), @@ -21718,17 +22902,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, @@ -21739,14 +22927,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", (), @@ -21763,14 +22951,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", (), @@ -21803,14 +22991,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", (), @@ -21843,17 +23031,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, @@ -21864,14 +23056,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", (), @@ -21890,14 +23082,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", (), @@ -21917,19 +23109,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, @@ -21940,14 +23134,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", (), @@ -21964,14 +23158,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", (), @@ -21988,14 +23182,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", (), @@ -22013,14 +23207,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", (), @@ -22038,14 +23232,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", (), @@ -22063,19 +23257,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, @@ -22093,14 +23289,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", (), @@ -22123,17 +23319,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, @@ -22154,26 +23354,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, @@ -22197,14 +23401,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", (), @@ -22231,19 +23435,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, @@ -22268,26 +23474,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, @@ -22315,14 +23525,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", (), @@ -22353,19 +23563,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, @@ -22394,26 +23606,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, @@ -22431,14 +23647,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", (), @@ -22459,19 +23675,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, @@ -22490,26 +23708,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, @@ -22530,30 +23752,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, @@ -22571,14 +23799,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", (), @@ -22598,19 +23826,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, @@ -22628,26 +23858,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, @@ -22663,14 +23897,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", (), @@ -22689,19 +23923,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, @@ -22718,26 +23954,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, @@ -22751,14 +23991,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", (), @@ -22775,19 +24015,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, @@ -22799,14 +24041,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", (), @@ -22822,19 +24064,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, @@ -22846,14 +24090,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", (), @@ -22870,19 +24114,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, @@ -22894,14 +24140,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", (), @@ -22918,14 +24164,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", (), @@ -22941,14 +24187,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", (), @@ -22964,14 +24210,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", (), @@ -22986,14 +24232,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", (), @@ -23009,19 +24255,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, @@ -23036,14 +24284,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", (), @@ -23059,14 +24307,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", (), @@ -23082,19 +24330,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, @@ -23108,26 +24358,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, @@ -23139,14 +24393,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", (), @@ -23161,19 +24415,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, @@ -23186,26 +24442,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, @@ -23217,14 +24477,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", (), @@ -23240,17 +24500,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, @@ -23263,14 +24527,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", (), @@ -23286,17 +24550,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, @@ -23310,22 +24578,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, @@ -23339,14 +24615,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", (), @@ -23366,14 +24642,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", (), @@ -23389,14 +24665,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", (), @@ -23435,8 +24711,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", [ @@ -23450,8 +24728,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", [ @@ -23465,8 +24745,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", [ @@ -23483,8 +24765,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", [ @@ -23508,8 +24792,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", [ @@ -23532,8 +24818,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", [ @@ -23561,18 +24849,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."] @@ -23589,25 +24881,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."] @@ -23621,7 +24918,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"; } @@ -23641,8 +24938,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 }, @@ -23667,8 +24964,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 {}, @@ -23687,18 +24984,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 { @@ -23708,7 +25005,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"; } @@ -23719,8 +25016,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; @@ -23732,24 +25030,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]; } @@ -23759,14 +25057,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", (), @@ -23781,14 +25079,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", (), @@ -23804,14 +25102,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", (), @@ -23827,14 +25125,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", (), @@ -23852,14 +25150,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", (), @@ -23873,14 +25171,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", (), @@ -23895,17 +25193,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, @@ -23916,14 +25218,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", (), @@ -23939,17 +25241,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, @@ -23963,22 +25269,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, @@ -24001,7 +25315,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 { @@ -24014,14 +25328,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", (), @@ -24037,19 +25351,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, @@ -24061,14 +25377,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", (), @@ -24096,18 +25412,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"] @@ -24133,28 +25453,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"] @@ -24184,23 +25508,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"] @@ -24228,36 +25556,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"] @@ -24284,23 +25617,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"] @@ -24327,23 +25664,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"] @@ -24367,7 +25708,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"; } @@ -24395,8 +25736,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 }, @@ -24431,8 +25772,9 @@ 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 }, @@ -24476,14 +25818,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, }, [ @@ -24516,8 +25862,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 }, @@ -24550,8 +25896,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 }, @@ -24581,8 +25927,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 }, @@ -24600,18 +25946,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, @@ -24620,23 +25966,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, @@ -24647,25 +25993,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, @@ -24674,23 +26020,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, @@ -24699,23 +26045,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, @@ -24724,23 +26070,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, @@ -24751,25 +26097,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, @@ -24780,23 +26126,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, @@ -24811,27 +26157,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, @@ -24840,23 +26186,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, @@ -24867,23 +26213,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, @@ -24894,23 +26240,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 { @@ -24920,7 +26266,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"; } @@ -24936,7 +26282,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; @@ -24961,7 +26307,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, (), >; @@ -24973,14 +26319,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", (), @@ -24994,14 +26340,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", (), @@ -25017,17 +26363,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, @@ -25039,14 +26389,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", (), @@ -25061,14 +26411,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", (), @@ -25082,14 +26432,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", (), @@ -25104,14 +26454,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", (), @@ -25126,17 +26476,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, @@ -25153,8 +26507,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", [ @@ -25168,10 +26524,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", [ @@ -25184,10 +26540,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", [ @@ -25202,8 +26558,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", [ @@ -25217,8 +26575,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", [ @@ -25246,18 +26606,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_."] @@ -25278,25 +26642,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 = ""] @@ -25312,23 +26681,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`."] @@ -25345,29 +26718,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."] @@ -25393,23 +26770,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 = ""] @@ -25425,23 +26806,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 = ""] @@ -25460,28 +26845,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."] @@ -25498,23 +26887,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 = ""] @@ -25532,23 +26925,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."] @@ -25566,9 +26963,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"; } @@ -25591,8 +26989,9 @@ 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 }, @@ -25613,8 +27012,9 @@ 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 }, @@ -25637,8 +27037,9 @@ 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 }, @@ -25670,8 +27071,9 @@ 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 }, @@ -25693,8 +27095,9 @@ 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 }, @@ -25719,8 +27122,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 }, @@ -25742,8 +27145,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 }, @@ -25767,8 +27170,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 }, @@ -25793,8 +27196,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 }, @@ -25813,18 +27217,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, @@ -25833,23 +27237,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, @@ -25860,23 +27264,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, @@ -25885,23 +27289,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, @@ -25910,25 +27314,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, @@ -25939,25 +27343,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, @@ -25966,23 +27370,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, @@ -25991,23 +27395,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, @@ -26016,23 +27420,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, @@ -26041,25 +27445,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, @@ -26068,23 +27472,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, @@ -26093,9 +27497,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"; } @@ -26111,7 +27515,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, >; @@ -26138,14 +27542,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", (), @@ -26160,14 +27564,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", (), @@ -26182,17 +27586,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, @@ -26203,14 +27611,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", (), @@ -26225,19 +27633,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, @@ -26248,14 +27658,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", (), @@ -26275,8 +27685,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", [ @@ -26289,8 +27701,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", [ @@ -26304,8 +27718,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", [ @@ -26322,10 +27738,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", [ @@ -26338,10 +27754,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", [ @@ -26355,10 +27771,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", [ @@ -26372,8 +27788,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", [ @@ -26386,8 +27804,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", [ @@ -26402,8 +27822,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", [ @@ -26431,18 +27853,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"] @@ -26473,25 +27899,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."] @@ -26520,29 +27951,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"] @@ -26573,23 +28008,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"] @@ -26635,23 +28074,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."] @@ -26680,28 +28123,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."] @@ -26729,23 +28176,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."] @@ -26779,7 +28230,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"; } @@ -26810,8 +28261,9 @@ 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 }, @@ -26844,8 +28296,9 @@ 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 }, @@ -26879,8 +28332,9 @@ 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 }, @@ -26930,8 +28384,9 @@ 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 }, @@ -26965,8 +28420,9 @@ 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 }, @@ -26998,8 +28454,9 @@ 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 }, @@ -27036,8 +28493,9 @@ 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 }, @@ -27055,18 +28513,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, @@ -27077,23 +28535,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, @@ -27104,25 +28562,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, @@ -27135,25 +28593,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, @@ -27164,7 +28622,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"; } @@ -27185,7 +28643,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, >; @@ -27211,14 +28669,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", (), @@ -27233,14 +28691,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", (), @@ -27256,19 +28714,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, @@ -27279,14 +28739,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", (), @@ -27302,17 +28762,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, @@ -27326,26 +28790,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, @@ -27358,14 +28826,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", (), @@ -27380,19 +28848,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, @@ -27403,14 +28873,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", (), @@ -27425,19 +28895,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, @@ -27454,8 +28926,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", [ @@ -27469,8 +28943,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", [ @@ -27497,18 +28973,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."] @@ -27524,28 +29004,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"] @@ -27561,28 +29045,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."] @@ -27592,16 +29080,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"; } @@ -27621,8 +29109,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 }, @@ -27646,8 +29134,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 }, @@ -27665,8 +29153,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 }, @@ -27685,18 +29174,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, @@ -27705,27 +29194,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, @@ -27733,10 +29222,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"; } @@ -27748,7 +29237,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; @@ -27767,14 +29256,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", (), @@ -27791,17 +29280,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, @@ -27812,14 +29305,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", (), @@ -27836,14 +29329,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", (), @@ -27860,17 +29353,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, @@ -27929,10 +29426,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", [ @@ -27959,18 +29456,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 = ""] @@ -27991,23 +29492,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"] @@ -28023,23 +29528,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."] @@ -28049,23 +29558,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."] @@ -28104,29 +29617,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"] @@ -28142,23 +29659,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 = ""] @@ -28187,29 +29708,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"] @@ -28237,36 +29762,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"] @@ -28284,37 +29813,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"] @@ -28334,26 +29867,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"] @@ -28373,23 +29911,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"] @@ -28401,25 +29943,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 = ""] @@ -28455,23 +30002,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,"] @@ -28489,32 +30040,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"] @@ -28538,23 +30093,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 = ""] @@ -28570,30 +30129,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 = ""] @@ -28608,23 +30171,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"] @@ -28634,25 +30201,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."] @@ -28667,26 +30238,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."] @@ -28701,23 +30276,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"] @@ -28734,23 +30313,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"] @@ -28763,23 +30346,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"] @@ -28794,23 +30381,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"] @@ -28824,27 +30415,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:"] @@ -28859,28 +30454,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:"] @@ -28895,28 +30494,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 = ""] @@ -28933,7 +30536,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"; } @@ -28954,8 +30557,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 }, @@ -28976,8 +30579,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 }, @@ -28999,8 +30602,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 {}, @@ -29046,8 +30649,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 }, @@ -29068,8 +30671,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 }, @@ -29107,8 +30711,9 @@ 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 }, @@ -29143,8 +30748,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 }, @@ -29168,8 +30773,9 @@ 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 }, @@ -29197,8 +30803,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 }, @@ -29223,8 +30829,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 }, @@ -29243,8 +30849,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 }, @@ -29274,8 +30880,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 { @@ -29307,8 +30913,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 }, @@ -29339,8 +30945,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 }, @@ -29364,8 +30970,9 @@ 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 }, @@ -29387,8 +30994,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 }, @@ -29406,8 +31014,9 @@ 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 }, @@ -29428,8 +31037,9 @@ 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 }, @@ -29449,8 +31059,9 @@ 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 }, @@ -29470,8 +31081,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 }, @@ -29491,8 +31104,9 @@ 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 }, @@ -29513,8 +31127,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 }, @@ -29533,9 +31148,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 }, @@ -29558,8 +31174,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 }, @@ -29582,8 +31198,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 }, @@ -29606,9 +31223,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 }, @@ -29626,18 +31244,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, @@ -29645,26 +31263,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, @@ -29674,28 +31292,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, @@ -29704,27 +31322,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"] @@ -29745,29 +31363,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`."] @@ -29782,28 +31400,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, @@ -29812,23 +31430,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, @@ -29839,23 +31457,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)."] @@ -29866,25 +31484,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 { @@ -29894,27 +31512,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, @@ -29925,23 +31546,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, @@ -29954,23 +31575,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, @@ -29981,26 +31602,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, @@ -30011,23 +31632,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, @@ -30040,23 +31661,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, @@ -30067,27 +31688,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, @@ -30098,23 +31719,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, @@ -30125,23 +31746,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, @@ -30152,7 +31773,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"; } @@ -30193,7 +31814,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; @@ -30244,7 +31865,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; @@ -30254,7 +31875,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; @@ -30266,14 +31887,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", (), @@ -30287,14 +31908,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", (), @@ -30314,14 +31935,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", (), @@ -30337,14 +31958,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", (), @@ -30360,14 +31981,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", (), @@ -30383,14 +32004,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", (), @@ -30406,14 +32027,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", (), @@ -30430,14 +32051,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", (), @@ -30455,17 +32076,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, @@ -30477,14 +32102,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", (), @@ -30499,14 +32124,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", (), @@ -30522,17 +32147,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, @@ -30544,14 +32173,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", (), @@ -30566,14 +32195,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", (), @@ -30590,17 +32219,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, @@ -30612,14 +32245,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", (), @@ -30635,14 +32268,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", (), @@ -30658,19 +32291,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, @@ -30681,14 +32316,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", (), @@ -30703,14 +32338,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", (), @@ -30725,17 +32360,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, @@ -30746,14 +32385,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", (), @@ -30768,14 +32407,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", (), @@ -30793,14 +32432,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", (), @@ -30818,19 +32457,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, @@ -30841,14 +32482,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", (), @@ -30863,14 +32504,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", (), @@ -30885,19 +32526,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, @@ -30914,10 +32557,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", [ @@ -30941,8 +32584,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", [ @@ -30956,8 +32601,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", [ @@ -30985,24 +32632,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; @@ -31012,23 +32663,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, @@ -31039,30 +32694,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; @@ -31073,23 +32732,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, @@ -31098,29 +32761,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; @@ -31130,30 +32797,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; @@ -31164,23 +32836,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."] @@ -31204,23 +32880,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."] @@ -31244,23 +32924,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, @@ -31269,23 +32953,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, @@ -31294,7 +32982,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"; } @@ -31308,15 +32996,15 @@ 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), }, [ 170u8, 120u8, 244u8, 215u8, 159u8, 130u8, 64u8, 248u8, 162u8, 92u8, @@ -31330,8 +33018,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 }, @@ -31351,8 +33039,9 @@ 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 { @@ -31360,7 +33049,7 @@ 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), }, [ 233u8, 84u8, 88u8, 220u8, 250u8, 230u8, 53u8, 70u8, 200u8, 49u8, 34u8, @@ -31373,8 +33062,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 }, @@ -31392,15 +33081,16 @@ 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), }, [ 26u8, 48u8, 231u8, 40u8, 187u8, 247u8, 71u8, 102u8, 215u8, 81u8, 45u8, @@ -31417,8 +33107,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 { @@ -31426,7 +33117,7 @@ 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), }, [ 86u8, 120u8, 18u8, 16u8, 48u8, 232u8, 57u8, 152u8, 246u8, 123u8, 41u8, @@ -31453,8 +33144,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 }, @@ -31482,8 +33173,9 @@ 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 }, @@ -31499,8 +33191,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 }, @@ -31515,8 +33207,9 @@ 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 }, @@ -31534,18 +33227,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, @@ -31556,23 +33249,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, @@ -31583,23 +33276,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, @@ -31613,23 +33306,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, @@ -31644,23 +33337,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, @@ -31671,23 +33364,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, @@ -31698,23 +33391,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, @@ -31725,23 +33418,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 { @@ -31753,23 +33446,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, @@ -31780,7 +33473,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"; } @@ -31805,7 +33498,7 @@ pub mod api { >, ::core::primitive::u64, runtime_types::tangle_testnet_runtime::OriginCaller, - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, >; @@ -31828,14 +33521,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", (), @@ -31850,14 +33543,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", (), @@ -31873,17 +33566,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, @@ -31895,14 +33592,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", (), @@ -31917,17 +33614,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, @@ -31940,22 +33641,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, @@ -31970,14 +33679,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", (), @@ -31996,17 +33705,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, @@ -32024,10 +33737,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", [ @@ -32045,8 +33758,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", [ @@ -32074,18 +33789,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"] @@ -32095,25 +33814,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."] @@ -32125,25 +33849,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"] @@ -32153,25 +33881,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`."] @@ -32180,25 +33912,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."] @@ -32207,9 +33943,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"; } @@ -32223,8 +33961,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 }, @@ -32244,8 +33982,9 @@ 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 }, @@ -32264,8 +34003,9 @@ 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 }, @@ -32282,8 +34022,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 }, @@ -32301,8 +34042,9 @@ 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 }, @@ -32321,77 +34063,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"; } @@ -32403,18 +34145,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; @@ -32422,7 +34164,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; } } @@ -32431,14 +34173,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", (), @@ -32454,17 +34196,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, @@ -32476,14 +34222,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", (), @@ -32498,19 +34244,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, @@ -32520,14 +34268,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", (), @@ -32542,17 +34290,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, @@ -32565,26 +34317,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, @@ -32605,18 +34361,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\\]."] @@ -32627,9 +34383,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"; } @@ -32641,21 +34398,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]; } @@ -32665,14 +34423,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", (), @@ -32687,17 +34445,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, @@ -32708,14 +34470,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", (), @@ -32731,19 +34493,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, @@ -32757,26 +34521,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, @@ -32803,18 +34571,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`]."] @@ -32833,23 +34605,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`]."] @@ -32868,7 +34644,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"; } @@ -32882,8 +34658,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 }, @@ -32901,8 +34677,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 }, @@ -32921,18 +34697,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, @@ -32948,23 +34724,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, @@ -32980,7 +34756,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"; } @@ -33005,14 +34781,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", (), @@ -33027,17 +34803,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, @@ -33050,26 +34830,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, @@ -33089,8 +34873,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", [ @@ -33118,18 +34904,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`"] @@ -33144,7 +34934,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"; } @@ -33158,8 +34948,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 }, @@ -33177,18 +34967,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, @@ -33198,57 +34988,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"; } @@ -33278,7 +35068,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; @@ -33296,14 +35086,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", (), @@ -33317,14 +35107,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", (), @@ -33339,14 +35129,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", (), @@ -33361,19 +35151,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, @@ -33386,26 +35178,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, @@ -33418,14 +35214,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", (), @@ -33442,19 +35238,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, @@ -33469,26 +35267,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, @@ -33510,8 +35312,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", [ @@ -33539,18 +35343,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`."] @@ -33563,28 +35371,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"] @@ -33596,29 +35408,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"] @@ -33633,28 +35449,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."] @@ -33664,23 +35484,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"] @@ -33708,23 +35532,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."] @@ -33742,23 +35570,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"] @@ -33777,23 +35609,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"] @@ -33809,28 +35645,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"] @@ -33848,23 +35688,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"] @@ -33890,31 +35734,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"] @@ -33932,28 +35780,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"] @@ -33967,29 +35819,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"] @@ -34000,29 +35856,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"] @@ -34035,28 +35895,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"] @@ -34068,23 +35932,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"] @@ -34096,58 +35964,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"] @@ -34164,31 +36041,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 { @@ -34200,23 +36082,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`."] @@ -34229,23 +36115,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, @@ -34256,23 +36146,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 { @@ -34284,7 +36178,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"; } @@ -34301,8 +36195,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 }, @@ -34326,11 +36220,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, @@ -34351,8 +36247,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 }, @@ -34374,8 +36270,9 @@ 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 {}, @@ -34407,8 +36304,9 @@ 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 }, @@ -34432,8 +36330,9 @@ 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 }, @@ -34456,8 +36355,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 }, @@ -34480,8 +36379,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 }, @@ -34504,8 +36403,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 }, @@ -34538,8 +36437,9 @@ 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 }, @@ -34566,8 +36466,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 }, @@ -34589,8 +36489,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 }, @@ -34609,8 +36509,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 }, @@ -34631,8 +36531,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 }, @@ -34654,8 +36554,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 {}, @@ -34676,8 +36578,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 }, @@ -34692,8 +36595,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 }, @@ -34718,8 +36623,9 @@ 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 }, @@ -34736,8 +36642,9 @@ 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 }, @@ -34754,8 +36661,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 }, @@ -34770,8 +36679,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 }, @@ -34787,8 +36697,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 }, @@ -34806,43 +36718,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, @@ -34850,26 +36762,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, @@ -34877,26 +36789,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, @@ -34904,26 +36816,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, @@ -34931,26 +36843,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, @@ -34958,26 +36870,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, @@ -34986,23 +36898,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, @@ -35011,27 +36923,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, @@ -35040,27 +36952,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 { @@ -35070,77 +36982,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, @@ -35148,28 +37060,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, @@ -35178,54 +37090,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, @@ -35233,28 +37145,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 { @@ -35263,12 +37175,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"; } @@ -35290,25 +37202,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; @@ -35317,7 +37229,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, >, >, @@ -35331,11 +37243,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, >; @@ -35343,7 +37255,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, >; @@ -35357,14 +37269,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", (), @@ -35382,17 +37294,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, @@ -35404,14 +37320,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", (), @@ -35427,17 +37343,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, @@ -35452,14 +37372,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", (), @@ -35479,17 +37399,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, @@ -35504,14 +37428,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", (), @@ -35526,14 +37450,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", (), @@ -35548,19 +37472,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, @@ -35575,14 +37501,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", (), @@ -35602,19 +37528,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, @@ -35631,14 +37559,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", (), @@ -35659,19 +37587,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, @@ -35689,8 +37619,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", [ @@ -35703,8 +37635,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", [ @@ -35719,8 +37653,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", [ @@ -35733,8 +37669,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", [ @@ -35749,8 +37687,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", [ @@ -35764,8 +37704,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", [ @@ -35779,8 +37721,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", [ @@ -35794,8 +37738,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", [ @@ -35823,18 +37769,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`."] @@ -35858,27 +37808,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"] @@ -35894,30 +37848,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 = ""] @@ -35936,27 +37894,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_."] @@ -35964,31 +37926,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 = ""] @@ -36007,27 +37974,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"] @@ -36035,7 +38006,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 { @@ -36043,7 +38014,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"; } @@ -36071,8 +38042,8 @@ 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 }, @@ -36100,13 +38071,13 @@ 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), }, [ 100u8, 96u8, 223u8, 113u8, 197u8, 79u8, 127u8, 17u8, 10u8, 109u8, @@ -36132,8 +38103,8 @@ 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 }, @@ -36155,13 +38126,13 @@ 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), }, [ 50u8, 240u8, 106u8, 208u8, 186u8, 70u8, 231u8, 190u8, 151u8, 167u8, @@ -36186,8 +38157,8 @@ 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 }, @@ -36208,12 +38179,12 @@ 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, }, [ @@ -36230,18 +38201,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 { @@ -36253,80 +38224,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, @@ -36335,23 +38306,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, @@ -36361,7 +38332,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"; } @@ -36373,8 +38344,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", [ @@ -36402,18 +38375,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_."] @@ -36428,31 +38405,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 = ""] @@ -36496,37 +38479,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 = ""] @@ -36567,31 +38555,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 = ""] @@ -36622,13 +38615,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"; } @@ -36651,13 +38645,14 @@ 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), }, [ 108u8, 216u8, 152u8, 4u8, 93u8, 13u8, 249u8, 119u8, 34u8, 61u8, 97u8, @@ -36712,15 +38707,15 @@ 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, }, [ @@ -36768,8 +38763,9 @@ 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 { @@ -36813,8 +38809,9 @@ 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 }, @@ -36833,18 +38830,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, @@ -36853,27 +38850,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, @@ -36883,29 +38880,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, @@ -36916,31 +38913,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, @@ -36950,13 +38947,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"; } @@ -36970,9 +38967,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]; } } @@ -36981,14 +38978,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", (), @@ -37004,17 +39001,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, @@ -37028,22 +39029,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, @@ -37067,8 +39076,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", [ @@ -37083,8 +39094,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", [ @@ -37097,8 +39110,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", [ @@ -37126,18 +39141,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, @@ -37146,7 +39165,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"; } @@ -37157,8 +39176,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 }, @@ -37176,18 +39195,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, @@ -37198,13 +39217,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"; } @@ -37215,7 +39235,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, @@ -37229,17 +39249,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; } } @@ -37248,14 +39270,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", (), @@ -37270,14 +39292,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", (), @@ -37292,14 +39314,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", (), @@ -37313,14 +39335,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", (), @@ -37333,14 +39355,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", (), @@ -37354,17 +39376,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, @@ -37389,18 +39415,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, @@ -37408,26 +39438,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, @@ -37442,37 +39476,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 { @@ -37487,36 +39528,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, @@ -37531,21 +39579,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"; } @@ -37557,8 +39608,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 }, @@ -37581,8 +39632,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 { @@ -37616,8 +39667,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 { @@ -37649,8 +39700,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 { @@ -37679,18 +39730,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, @@ -37699,107 +39750,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"; } @@ -37810,38 +39861,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", (), @@ -37855,17 +39907,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, @@ -37875,14 +39931,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", (), @@ -37897,19 +39953,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, @@ -37920,14 +39978,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", (), @@ -37941,19 +39999,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, @@ -37965,26 +40025,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, @@ -37995,14 +40059,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", (), @@ -38016,17 +40080,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, @@ -38054,14 +40122,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", (), @@ -38088,18 +40156,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, } @@ -38107,7 +40179,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"; } @@ -38117,8 +40189,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 }, @@ -38148,14 +40222,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", (), @@ -38168,14 +40242,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", (), @@ -38201,18 +40275,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, } @@ -38220,23 +40298,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, } @@ -38244,7 +40326,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"; } @@ -38254,8 +40336,9 @@ 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 }, @@ -38270,8 +40353,9 @@ 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 }, @@ -38289,18 +40373,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, } @@ -38308,41 +40392,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, } @@ -38350,7 +40434,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"; } @@ -38372,14 +40456,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", (), @@ -38392,14 +40476,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", (), @@ -38427,18 +40511,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 = ""] @@ -38448,9 +40536,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"; } @@ -38464,9 +40554,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 }, @@ -38495,18 +40586,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_."] @@ -38547,23 +40642,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_."] @@ -38599,23 +40698,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_."] @@ -38659,25 +40762,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, @@ -38687,23 +40795,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 { @@ -38715,23 +40827,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, @@ -38742,7 +40858,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"; } @@ -38778,8 +40894,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 }, @@ -38811,8 +40927,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 }, @@ -38857,8 +40973,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 }, @@ -38874,8 +40990,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 }, @@ -38892,8 +41008,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 }, @@ -38909,8 +41026,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 }, @@ -38929,18 +41046,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, @@ -38949,11 +41066,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"; } @@ -38995,14 +41112,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", (), @@ -39016,17 +41133,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, @@ -39036,14 +41157,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", (), @@ -39058,14 +41179,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", (), @@ -39082,14 +41203,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", (), @@ -39108,17 +41229,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, @@ -39130,14 +41255,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", (), @@ -39152,17 +41277,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, @@ -39178,10 +41307,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", [ @@ -39209,18 +41338,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 = ""] @@ -39233,35 +41366,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_."] @@ -39278,30 +41415,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_."] @@ -39316,30 +41457,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_."] @@ -39347,23 +41492,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 = ""] @@ -39393,23 +41542,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"] @@ -39437,8 +41590,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; @@ -39446,23 +41599,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"] @@ -39484,29 +41641,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"] @@ -39523,29 +41684,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"] @@ -39562,29 +41727,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 = ""] @@ -39600,23 +41769,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"; } @@ -39637,14 +41806,14 @@ 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), }, [ 27u8, 220u8, 137u8, 175u8, 120u8, 237u8, 245u8, 233u8, 76u8, 183u8, @@ -39668,8 +41837,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 }, @@ -39692,8 +41861,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 }, @@ -39712,8 +41881,9 @@ 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 {}, @@ -39748,8 +41918,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 }, @@ -39783,8 +41953,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 }, @@ -39814,8 +41984,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 }, @@ -39840,8 +42010,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 }, @@ -39866,8 +42037,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 }, @@ -39895,15 +42067,16 @@ 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), }, [ 81u8, 66u8, 67u8, 103u8, 145u8, 192u8, 9u8, 6u8, 49u8, 211u8, 145u8, @@ -39919,18 +42092,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, @@ -39940,23 +42113,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 { @@ -39967,28 +42140,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, @@ -39997,27 +42170,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, @@ -40027,28 +42200,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, @@ -40058,12 +42231,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"; } @@ -40077,28 +42250,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; @@ -40107,14 +42280,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", (), @@ -40131,17 +42304,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, @@ -40153,14 +42330,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", (), @@ -40175,17 +42352,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, @@ -40205,8 +42386,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", [ @@ -40223,8 +42406,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", [ @@ -40237,8 +42422,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", [ @@ -40252,8 +42439,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", [ @@ -40270,8 +42459,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", [ @@ -40287,8 +42478,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", [ @@ -40315,18 +42508,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 staking the required bond amount."] #[doc = ""] #[doc = "# Permissions"] @@ -40349,23 +42546,27 @@ 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 the system."] #[doc = ""] #[doc = "# Permissions"] @@ -40381,23 +42582,27 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40413,23 +42618,27 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40446,23 +42655,27 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40485,23 +42698,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."] #[doc = ""] #[doc = "# Permissions"] @@ -40525,23 +42742,27 @@ 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40558,23 +42779,27 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40590,23 +42815,27 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40622,23 +42851,27 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::AlreadyOffline`] - Operator is already 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40654,23 +42887,27 @@ pub mod api { #[doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] #[doc = "* [`Error::AlreadyOnline`] - Operator is already 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40699,28 +42936,30 @@ pub mod api { pub type AssetId = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; - pub type EvmAddress = ::core::option::Option<::subxt_core::utils::H160>; - pub type LockMultiplier = ::core::option::Option< - runtime_types::tangle_primitives::types::rewards::LockMultiplier, - >; + pub type EvmAddress = + ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; } - 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 a withdraw request."] #[doc = ""] #[doc = "# Permissions"] @@ -40747,23 +42986,27 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::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."] #[doc = ""] #[doc = "# Permissions"] @@ -40784,25 +43027,30 @@ pub mod api { } pub mod execute_withdraw { use super::runtime_types; - pub type EvmAddress = ::core::option::Option<::subxt_core::utils::H160>; + pub type EvmAddress = + ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; } - 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40828,23 +43076,27 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::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."] #[doc = ""] #[doc = "# Permissions"] @@ -40872,29 +43124,33 @@ pub mod api { } 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 = runtime_types::tangle_primitives::services::Asset<::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."] #[doc = ""] #[doc = "# Permissions"] @@ -40920,28 +43176,32 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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."] #[doc = ""] #[doc = "# Permissions"] @@ -40958,23 +43218,27 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] 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."] #[doc = ""] #[doc = "# Permissions"] @@ -40999,28 +43263,170 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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 = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be called by the force origin"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `vault_id` - ID of the vault"] + #[doc = "* `apy` - Annual percentage yield (max 10%)"] + #[doc = "* `cap` - Required deposit amount for full APY"] + #[doc = ""] + #[doc = "# Errors"] + #[doc = ""] + #[doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] + #[doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] + pub struct SetIncentiveApyAndCap { + pub vault_id: set_incentive_apy_and_cap::VaultId, + pub apy: set_incentive_apy_and_cap::Apy, + pub cap: set_incentive_apy_and_cap::Cap, + } + pub mod set_incentive_apy_and_cap { + use super::runtime_types; + pub type VaultId = ::core::primitive::u128; + pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; + pub type Cap = ::core::primitive::u128; + } + 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 :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: 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 = "Whitelists a blueprint for rewards."] + #[doc = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be called by the force origin"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `blueprint_id` - ID of blueprint to whitelist"] + pub struct WhitelistBlueprintForRewards { + pub blueprint_id: whitelist_blueprint_for_rewards::BlueprintId, + } + pub mod whitelist_blueprint_for_rewards { + use super::runtime_types; + pub type BlueprintId = ::core::primitive::u64; + } + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WhitelistBlueprintForRewards { + const PALLET: &'static str = "MultiAssetDelegation"; + const CALL: &'static str = "whitelist_blueprint_for_rewards"; + } + #[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 = "Manage asset id to vault rewards."] + #[doc = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be signed by an authorized account"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `vault_id` - ID of the vault"] + #[doc = "* `asset_id` - ID of the asset"] + #[doc = "* `action` - Action to perform (Add/Remove)"] + #[doc = ""] + #[doc = "# Errors"] + #[doc = ""] + #[doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] + #[doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] + pub struct ManageAssetInVault { + pub vault_id: manage_asset_in_vault::VaultId, + pub asset_id: manage_asset_in_vault::AssetId, + pub action: manage_asset_in_vault::Action, + } + pub mod manage_asset_in_vault { + use super::runtime_types; + pub type VaultId = ::core::primitive::u128; + pub type AssetId = + runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; + pub type Action = + runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; + } + 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."] #[doc = ""] #[doc = "# Permissions"] @@ -41045,23 +43451,27 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for AddBlueprintId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddBlueprintId { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "add_blueprint_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 = "Removes a blueprint ID from a delegator's selection."] #[doc = ""] #[doc = "# Permissions"] @@ -41085,7 +43495,7 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::blocks::StaticExtrinsic for RemoveBlueprintId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveBlueprintId { const PALLET: &'static str = "MultiAssetDelegation"; const CALL: &'static str = "remove_blueprint_id"; } @@ -41110,8 +43520,9 @@ 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 }, @@ -41139,8 +43550,10 @@ pub mod api { #[doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] 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 {}, @@ -41167,8 +43580,9 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] 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 {}, @@ -41196,8 +43610,10 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] 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 {}, @@ -41227,8 +43643,9 @@ 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 }, @@ -41259,8 +43676,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 }, @@ -41288,8 +43707,10 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] 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 {}, @@ -41316,8 +43737,10 @@ pub mod api { #[doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] 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 {}, @@ -41344,8 +43767,8 @@ pub mod api { #[doc = "* [`Error::AlreadyOffline`] - Operator is already 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 {}, @@ -41373,8 +43796,8 @@ pub mod api { #[doc = "* [`Error::AlreadyOnline`] - Operator is already 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 {}, @@ -41408,9 +43831,8 @@ pub mod api { asset_id: types::deposit::AssetId, amount: types::deposit::Amount, evm_address: types::deposit::EvmAddress, - lock_multiplier: types::deposit::LockMultiplier, - ) -> ::subxt_core::tx::payload::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, evm_address, lock_multiplier }, @@ -41441,8 +43863,9 @@ 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 }, @@ -41471,8 +43894,9 @@ pub mod api { pub fn execute_withdraw( &self, evm_address: types::execute_withdraw::EvmAddress, - ) -> ::subxt_core::tx::payload::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 { evm_address }, @@ -41502,8 +43926,9 @@ 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 }, @@ -41539,8 +43964,8 @@ pub mod api { asset_id: types::delegate::AssetId, amount: types::delegate::Amount, blueprint_selection: types::delegate::BlueprintSelection, - ) -> ::subxt_core::tx::payload::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", "delegate", types::Delegate { operator, asset_id, amount, blueprint_selection }, @@ -41575,8 +44000,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 }, @@ -41604,8 +44031,10 @@ pub mod api { #[doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] 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 {}, @@ -41638,8 +44067,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 }, @@ -41651,6 +44082,106 @@ pub mod api { ], ) } + #[doc = "Sets the APY and cap for a specific asset."] + #[doc = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be called by the force origin"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `vault_id` - ID of the vault"] + #[doc = "* `apy` - Annual percentage yield (max 10%)"] + #[doc = "* `cap` - Required deposit amount for full APY"] + #[doc = ""] + #[doc = "# Errors"] + #[doc = ""] + #[doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] + #[doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] + 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::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 }, + [ + 176u8, 74u8, 10u8, 166u8, 121u8, 38u8, 138u8, 18u8, 107u8, 106u8, + 229u8, 224u8, 59u8, 92u8, 15u8, 203u8, 132u8, 253u8, 4u8, 144u8, 218u8, + 106u8, 239u8, 142u8, 237u8, 241u8, 177u8, 94u8, 61u8, 183u8, 144u8, + 145u8, + ], + ) + } + #[doc = "Whitelists a blueprint for rewards."] + #[doc = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be called by the force origin"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `blueprint_id` - ID of blueprint to whitelist"] + pub fn whitelist_blueprint_for_rewards( + &self, + blueprint_id: types::whitelist_blueprint_for_rewards::BlueprintId, + ) -> ::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 }, + [ + 157u8, 245u8, 188u8, 187u8, 236u8, 197u8, 239u8, 8u8, 115u8, 107u8, + 137u8, 206u8, 205u8, 207u8, 192u8, 106u8, 33u8, 219u8, 29u8, 34u8, + 236u8, 117u8, 245u8, 27u8, 131u8, 43u8, 95u8, 5u8, 152u8, 185u8, 220u8, + 153u8, + ], + ) + } + #[doc = "Manage asset id to vault rewards."] + #[doc = ""] + #[doc = "# Permissions"] + #[doc = ""] + #[doc = "* Must be signed by an authorized account"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Origin of the call"] + #[doc = "* `vault_id` - ID of the vault"] + #[doc = "* `asset_id` - ID of the asset"] + #[doc = "* `action` - Action to perform (Add/Remove)"] + #[doc = ""] + #[doc = "# Errors"] + #[doc = ""] + #[doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] + #[doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] + pub fn manage_asset_in_vault( + &self, + vault_id: types::manage_asset_in_vault::VaultId, + asset_id: types::manage_asset_in_vault::AssetId, + action: types::manage_asset_in_vault::Action, + ) -> ::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 }, + [ + 164u8, 251u8, 229u8, 192u8, 83u8, 53u8, 179u8, 154u8, 228u8, 245u8, + 116u8, 154u8, 100u8, 198u8, 182u8, 69u8, 90u8, 178u8, 237u8, 99u8, 0u8, + 160u8, 243u8, 162u8, 69u8, 87u8, 26u8, 61u8, 82u8, 151u8, 100u8, 251u8, + ], + ) + } #[doc = "Adds a blueprint ID to a delegator's selection."] #[doc = ""] #[doc = "# Permissions"] @@ -41671,8 +44202,9 @@ pub mod api { pub fn add_blueprint_id( &self, blueprint_id: types::add_blueprint_id::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( "MultiAssetDelegation", "add_blueprint_id", types::AddBlueprintId { blueprint_id }, @@ -41702,8 +44234,9 @@ pub mod api { pub fn remove_blueprint_id( &self, blueprint_id: types::remove_blueprint_id::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( "MultiAssetDelegation", "remove_blueprint_id", types::RemoveBlueprintId { blueprint_id }, @@ -41722,118 +44255,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, @@ -41841,26 +44374,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, @@ -41868,126 +44401,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, @@ -41996,28 +44529,28 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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, @@ -42026,78 +44559,78 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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, @@ -42107,29 +44640,29 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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, @@ -42139,79 +44672,166 @@ 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 = runtime_types::tangle_primitives::services::Asset<::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, + pub apy: incentive_apy_and_cap_set::Apy, + pub cap: incentive_apy_and_cap_set::Cap, + } + pub mod incentive_apy_and_cap_set { + use super::runtime_types; + pub type VaultId = ::core::primitive::u128; + pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; + pub type Cap = ::core::primitive::u128; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { + const PALLET: &'static str = "MultiAssetDelegation"; + const EVENT: &'static str = "IncentiveAPYAndCapSet"; + } + #[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 = "Event emitted when a blueprint is whitelisted for rewards"] + pub struct BlueprintWhitelisted { + pub blueprint_id: blueprint_whitelisted::BlueprintId, + } + pub mod blueprint_whitelisted { + use super::runtime_types; + pub type BlueprintId = ::core::primitive::u64; + } + impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintWhitelisted { + const PALLET: &'static str = "MultiAssetDelegation"; + const EVENT: &'static str = "BlueprintWhitelisted"; + } + #[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 = "Asset has been updated to reward vault"] + pub struct AssetUpdatedInVault { + pub who: asset_updated_in_vault::Who, + pub vault_id: asset_updated_in_vault::VaultId, + pub asset_id: asset_updated_in_vault::AssetId, + pub action: asset_updated_in_vault::Action, + } + pub mod asset_updated_in_vault { + use super::runtime_types; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; + pub type VaultId = ::core::primitive::u128; + pub type AssetId = + runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; + pub type Action = + runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; + } + 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, @@ -42219,26 +44839,26 @@ pub mod api { } pub mod operator_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 OperatorSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for OperatorSlashed { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "OperatorSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -42246,26 +44866,26 @@ pub mod api { } pub mod delegator_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 DelegatorSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for DelegatorSlashed { const PALLET: &'static str = "MultiAssetDelegation"; const EVENT: &'static str = "DelegatorSlashed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -42275,12 +44895,12 @@ 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 = "MultiAssetDelegation"; const EVENT: &'static str = "EvmReverted"; } @@ -42291,8 +44911,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 , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxOperatorBlueprints > ; - 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; @@ -42300,14 +44920,35 @@ 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 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; + 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 , runtime_types :: tangle_testnet_runtime :: MaxWithdrawRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegations , runtime_types :: tangle_testnet_runtime :: MaxUnstakeRequests , runtime_types :: tangle_testnet_runtime :: MaxDelegatorBlueprints , :: core :: primitive :: u64 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; - 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::ext::subxt_core::alloc::vec::Vec< + runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>, + >; + pub type Param0 = ::core::primitive::u128; + } + pub mod asset_lookup_reward_vaults { + use super::runtime_types; + pub type AssetLookupRewardVaults = ::core::primitive::u128; + pub type Param0 = + runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; + } + pub mod reward_config_storage { + use super::runtime_types; + pub type RewardConfigStorage = + runtime_types::pallet_multi_asset_delegation::types::rewards::RewardConfig< + ::core::primitive::u128, + ::core::primitive::u128, + >; } } pub struct StorageApi; @@ -42315,14 +44956,14 @@ 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", (), @@ -42337,17 +44978,21 @@ 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(), + ), [ 181u8, 37u8, 69u8, 139u8, 18u8, 44u8, 99u8, 55u8, 186u8, 237u8, 91u8, 83u8, 53u8, 119u8, 142u8, 206u8, 254u8, 203u8, 89u8, 154u8, 138u8, @@ -42358,14 +45003,14 @@ pub mod api { #[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", (), @@ -42380,14 +45025,14 @@ 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", (), @@ -42403,17 +45048,21 @@ 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(), + ), [ 156u8, 26u8, 172u8, 63u8, 87u8, 150u8, 192u8, 117u8, 222u8, 34u8, 191u8, 110u8, 251u8, 174u8, 184u8, 171u8, 73u8, 48u8, 79u8, 87u8, @@ -42427,22 +45076,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::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(), + ), ), [ 156u8, 26u8, 172u8, 63u8, 87u8, 150u8, 192u8, 117u8, 222u8, 34u8, @@ -42455,14 +45112,14 @@ pub mod api { #[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", (), @@ -42478,22 +45135,147 @@ 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(), + ), [ - 45u8, 173u8, 235u8, 188u8, 23u8, 120u8, 225u8, 27u8, 94u8, 59u8, 35u8, - 139u8, 127u8, 59u8, 118u8, 200u8, 174u8, 212u8, 214u8, 128u8, 40u8, - 187u8, 97u8, 19u8, 236u8, 14u8, 122u8, 135u8, 254u8, 198u8, 21u8, - 238u8, + 208u8, 190u8, 90u8, 169u8, 30u8, 169u8, 192u8, 170u8, 53u8, 227u8, + 128u8, 145u8, 223u8, 226u8, 166u8, 141u8, 222u8, 141u8, 6u8, 136u8, + 232u8, 114u8, 217u8, 222u8, 129u8, 124u8, 160u8, 239u8, 33u8, 211u8, + 10u8, 156u8, + ], + ) + } + #[doc = " Storage for the reward vaults"] + pub fn reward_vaults_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + (), + types::reward_vaults::RewardVaults, + (), + (), + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "MultiAssetDelegation", + "RewardVaults", + (), + [ + 30u8, 97u8, 236u8, 132u8, 229u8, 86u8, 124u8, 248u8, 89u8, 52u8, 91u8, + 194u8, 48u8, 44u8, 236u8, 142u8, 251u8, 192u8, 107u8, 103u8, 244u8, + 170u8, 94u8, 57u8, 146u8, 82u8, 122u8, 212u8, 228u8, 119u8, 152u8, + 57u8, + ], + ) + } + #[doc = " Storage for the reward vaults"] + pub fn reward_vaults( + &self, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reward_vaults::Param0, + >, + types::reward_vaults::RewardVaults, + ::subxt::ext::subxt_core::utils::Yes, + (), + (), + > { + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "MultiAssetDelegation", + "RewardVaults", + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + [ + 30u8, 97u8, 236u8, 132u8, 229u8, 86u8, 124u8, 248u8, 89u8, 52u8, 91u8, + 194u8, 48u8, 44u8, 236u8, 142u8, 251u8, 192u8, 107u8, 103u8, 244u8, + 170u8, 94u8, 57u8, 146u8, 82u8, 122u8, 212u8, 228u8, 119u8, 152u8, + 57u8, + ], + ) + } + #[doc = " Storage for the reward vaults"] + pub fn asset_lookup_reward_vaults_iter( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + (), + types::asset_lookup_reward_vaults::AssetLookupRewardVaults, + (), + (), + ::subxt::ext::subxt_core::utils::Yes, + > { + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "MultiAssetDelegation", + "AssetLookupRewardVaults", + (), + [ + 128u8, 153u8, 122u8, 108u8, 34u8, 110u8, 223u8, 199u8, 51u8, 251u8, + 55u8, 208u8, 134u8, 89u8, 137u8, 250u8, 251u8, 211u8, 107u8, 114u8, + 38u8, 28u8, 52u8, 98u8, 234u8, 110u8, 226u8, 205u8, 105u8, 195u8, + 149u8, 113u8, + ], + ) + } + #[doc = " Storage for the reward vaults"] + pub fn asset_lookup_reward_vaults( + &self, + _0: impl ::core::borrow::Borrow, + ) -> ::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::ext::subxt_core::utils::Yes, + (), + (), + > { + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "MultiAssetDelegation", + "AssetLookupRewardVaults", + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + [ + 128u8, 153u8, 122u8, 108u8, 34u8, 110u8, 223u8, 199u8, 51u8, 251u8, + 55u8, 208u8, 134u8, 89u8, 137u8, 250u8, 251u8, 211u8, 107u8, 114u8, + 38u8, 28u8, 52u8, 98u8, 234u8, 110u8, 226u8, 205u8, 105u8, 195u8, + 149u8, 113u8, + ], + ) + } + #[doc = " Storage for the reward configuration, which includes APY, cap for assets, and whitelisted"] + #[doc = " blueprints."] + pub fn reward_config_storage( + &self, + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< + (), + types::reward_config_storage::RewardConfigStorage, + ::subxt::ext::subxt_core::utils::Yes, + (), + (), + > { + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( + "MultiAssetDelegation", + "RewardConfigStorage", + (), + [ + 26u8, 64u8, 254u8, 232u8, 78u8, 131u8, 181u8, 79u8, 218u8, 198u8, + 175u8, 163u8, 209u8, 12u8, 223u8, 53u8, 186u8, 34u8, 69u8, 130u8, 71u8, + 250u8, 86u8, 87u8, 189u8, 145u8, 99u8, 81u8, 200u8, 223u8, 226u8, + 191u8, ], ) } @@ -42506,8 +45288,10 @@ pub mod api { #[doc = " The maximum number of blueprints a delegator can have in Fixed mode."] pub fn max_delegator_blueprints( &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", "MaxDelegatorBlueprints", [ @@ -42521,8 +45305,10 @@ pub mod api { #[doc = " The maximum number of blueprints an operator can support."] pub fn max_operator_blueprints( &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", "MaxOperatorBlueprints", [ @@ -42536,8 +45322,10 @@ pub mod api { #[doc = " The maximum number of withdraw requests a delegator can have."] pub fn max_withdraw_requests( &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", "MaxWithdrawRequests", [ @@ -42551,8 +45339,10 @@ pub mod api { #[doc = " The maximum number of delegations a delegator can have."] pub fn max_delegations( &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", "MaxDelegations", [ @@ -42566,8 +45356,10 @@ pub mod api { #[doc = " The maximum number of unstake requests a delegator can have."] pub fn max_unstake_requests( &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", "MaxUnstakeRequests", [ @@ -42581,8 +45373,10 @@ pub mod api { #[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", [ @@ -42595,8 +45389,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", [ @@ -42609,8 +45405,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", [ @@ -42624,8 +45422,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", [ @@ -42639,8 +45439,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", [ @@ -42654,8 +45456,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", [ @@ -42669,8 +45473,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", [ @@ -42681,6 +45487,22 @@ pub mod api { ], ) } + #[doc = " The pallet's account ID."] + pub fn pallet_id( + &self, + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + runtime_types::frame_support::PalletId, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( + "MultiAssetDelegation", + "PalletId", + [ + 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, + ], + ) + } } } } @@ -42698,18 +45520,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 by users. The blueprint"] @@ -42746,23 +45572,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 = "This function allows an account to signal intent to become an operator for a blueprint by emitting"] @@ -42801,23 +45631,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 = "This function allows an account to register as an operator for a blueprint by providing their"] @@ -42858,30 +45692,34 @@ pub mod api { 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 = "Unregisters a service provider from a specific service blueprint."] #[doc = ""] #[doc = "After unregistering, the provider will no longer receive new service assignments for this blueprint."] @@ -42909,23 +45747,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 = "Updates the price targets for a registered operator's service blueprint."] #[doc = ""] #[doc = "Allows an operator to modify their price targets for a specific blueprint they are registered for."] @@ -42957,23 +45799,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 using a blueprint and specified operators."] #[doc = ""] #[doc = "# Arguments"] @@ -43018,40 +45864,48 @@ pub mod api { } pub mod request { use super::runtime_types; - pub type EvmOrigin = ::core::option::Option<::subxt_core::utils::H160>; + pub type EvmOrigin = + ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; 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 PaymentAsset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; 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, allowing it to be initiated once all required approvals are received."] #[doc = ""] #[doc = "# Permissions"] @@ -43080,23 +45934,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, preventing its initiation."] #[doc = ""] #[doc = "The service request will remain in the system but marked as rejected. The requester will"] @@ -43125,23 +45983,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 a running service instance."] #[doc = ""] #[doc = "# Permissions"] @@ -43167,23 +46029,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 with the provided arguments."] #[doc = ""] #[doc = "# Permissions"] @@ -43216,29 +46082,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 a result for a previously called job."] #[doc = ""] #[doc = "# Arguments"] @@ -43271,29 +46141,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's stake for a service by scheduling a deferred slashing action."] #[doc = ""] #[doc = "This function schedules a deferred slashing action against an operator's stake for a specific service."] @@ -43327,27 +46201,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 = "Disputes and removes an [UnappliedSlash] from storage."] #[doc = ""] #[doc = "The slash will not be applied once disputed and is permanently removed."] @@ -43378,23 +46256,27 @@ 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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 the Master Blueprint Service Manager by adding a new revision."] #[doc = ""] #[doc = "# Permissions"] @@ -43414,9 +46296,9 @@ pub mod api { } pub mod update_master_blueprint_service_manager { use super::runtime_types; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdateMasterBlueprintServiceManager { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateMasterBlueprintServiceManager { const PALLET: &'static str = "Services"; const CALL: &'static str = "update_master_blueprint_service_manager"; } @@ -43454,8 +46336,9 @@ 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 }, @@ -43500,8 +46383,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 }, @@ -43545,8 +46428,8 @@ pub mod api { preferences: types::register::Preferences, registration_args: types::register::RegistrationArgs, value: types::register::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( "Services", "register", types::Register { blueprint_id, preferences, registration_args, value }, @@ -43579,8 +46462,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 }, @@ -43615,8 +46498,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 }, @@ -43667,8 +46551,8 @@ pub mod api { ttl: types::request::Ttl, payment_asset: types::request::PaymentAsset, value: types::request::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( "Services", "request", types::Request { @@ -43711,8 +46595,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 }, @@ -43746,8 +46630,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 }, @@ -43779,8 +46663,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 }, @@ -43817,8 +46701,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 }, @@ -43856,8 +46740,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 }, @@ -43898,8 +46782,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 }, @@ -43933,8 +46817,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 }, @@ -43962,10 +46846,10 @@ pub mod api { pub fn update_master_blueprint_service_manager( &self, address: types::update_master_blueprint_service_manager::Address, - ) -> ::subxt_core::tx::payload::StaticPayload< + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< types::UpdateMasterBlueprintServiceManager, > { - ::subxt_core::tx::payload::StaticPayload::new_static( + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Services", "update_master_blueprint_service_manager", types::UpdateMasterBlueprintServiceManager { address }, @@ -43984,18 +46868,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, @@ -44003,26 +46887,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, @@ -44030,26 +46914,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, @@ -44059,33 +46943,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, @@ -44093,26 +46977,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, @@ -44121,27 +47005,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, @@ -44153,31 +47037,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, @@ -44188,30 +47076,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, @@ -44220,27 +47111,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, @@ -44251,29 +47142,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, @@ -44282,27 +47174,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, @@ -44313,33 +47205,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, @@ -44350,33 +47242,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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -44386,28 +47278,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, @@ -44420,29 +47312,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, @@ -44455,29 +47347,29 @@ 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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -44486,9 +47378,9 @@ pub mod api { pub mod master_blueprint_service_manager_revised { use super::runtime_types; pub type Revision = ::core::primitive::u32; - pub type Address = ::subxt_core::utils::H160; + pub type Address = ::subxt::ext::subxt_core::utils::H160; } - impl ::subxt_core::events::StaticEvent for MasterBlueprintServiceManagerRevised { + impl ::subxt::ext::subxt_core::events::StaticEvent for MasterBlueprintServiceManagerRevised { const PALLET: &'static str = "Services"; const EVENT: &'static str = "MasterBlueprintServiceManagerRevised"; } @@ -44520,7 +47412,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; @@ -44530,13 +47422,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, >; @@ -44545,7 +47437,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, >; @@ -44557,12 +47449,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; @@ -44570,7 +47462,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; @@ -44579,7 +47471,7 @@ 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; @@ -44589,20 +47481,20 @@ pub mod api { use super::runtime_types; pub type MasterBlueprintServiceManagerRevisions = runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt_core::utils::H160, + ::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 mod staging_service_payments { use super::runtime_types; pub type StagingServicePayments = runtime_types::tangle_primitives::services::StagingServicePayment< - ::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u128, >; @@ -44614,14 +47506,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", (), @@ -44635,14 +47527,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", (), @@ -44656,14 +47548,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", (), @@ -44677,14 +47569,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", (), @@ -44698,14 +47590,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", (), @@ -44720,14 +47612,14 @@ 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", (), @@ -44743,17 +47635,21 @@ 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(), + ), [ 128u8, 96u8, 251u8, 173u8, 221u8, 227u8, 202u8, 143u8, 95u8, 146u8, 91u8, 134u8, 174u8, 134u8, 229u8, 40u8, 99u8, 115u8, 180u8, 135u8, @@ -44766,14 +47662,14 @@ 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", (), @@ -44790,17 +47686,21 @@ 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(), + ), [ 174u8, 201u8, 136u8, 193u8, 231u8, 202u8, 185u8, 114u8, 100u8, 186u8, 124u8, 138u8, 206u8, 11u8, 196u8, 146u8, 131u8, 51u8, 252u8, 115u8, @@ -44815,22 +47715,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::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(), + ), ), [ 174u8, 201u8, 136u8, 193u8, 231u8, 202u8, 185u8, 114u8, 100u8, 186u8, @@ -44844,14 +47752,14 @@ 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", (), @@ -44867,19 +47775,21 @@ 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(), + ), [ 92u8, 49u8, 14u8, 154u8, 29u8, 210u8, 138u8, 91u8, 151u8, 226u8, 221u8, 114u8, 248u8, 45u8, 245u8, 254u8, 111u8, 214u8, 147u8, 250u8, 173u8, @@ -44891,14 +47801,14 @@ 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", (), @@ -44915,17 +47825,21 @@ 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(), + ), [ 219u8, 177u8, 116u8, 70u8, 123u8, 19u8, 195u8, 108u8, 154u8, 204u8, 221u8, 131u8, 254u8, 20u8, 56u8, 29u8, 41u8, 105u8, 35u8, 213u8, 252u8, @@ -44938,14 +47852,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", (), @@ -44962,17 +47876,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, @@ -44985,14 +47903,14 @@ 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", (), @@ -45008,17 +47926,21 @@ 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(), + ), [ 210u8, 66u8, 128u8, 255u8, 41u8, 25u8, 204u8, 100u8, 45u8, 122u8, 29u8, 103u8, 47u8, 49u8, 21u8, 182u8, 4u8, 212u8, 199u8, 119u8, 107u8, 59u8, @@ -45032,22 +47954,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::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(), + ), ), [ 210u8, 66u8, 128u8, 255u8, 41u8, 25u8, 204u8, 100u8, 45u8, 122u8, 29u8, @@ -45060,14 +47990,14 @@ 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", (), @@ -45083,17 +48013,21 @@ 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(), + ), [ 254u8, 193u8, 251u8, 72u8, 66u8, 54u8, 149u8, 100u8, 181u8, 169u8, 170u8, 162u8, 209u8, 71u8, 148u8, 26u8, 93u8, 110u8, 187u8, 91u8, 28u8, @@ -45107,26 +48041,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::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(), + ), ), [ 254u8, 193u8, 251u8, 72u8, 66u8, 54u8, 149u8, 100u8, 181u8, 169u8, @@ -45140,14 +48078,14 @@ 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", (), @@ -45165,19 +48103,21 @@ 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(), + ), [ 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, 110u8, 58u8, 162u8, 117u8, 169u8, 140u8, 71u8, 132u8, 11u8, 255u8, @@ -45193,26 +48133,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::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(), + ), ), [ 131u8, 139u8, 216u8, 142u8, 159u8, 249u8, 125u8, 45u8, 8u8, 130u8, @@ -45224,8 +48168,8 @@ pub mod api { } #[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_core :: storage :: address :: StaticAddress :: < () , types :: master_blueprint_service_manager_revisions :: MasterBlueprintServiceManagerRevisions , :: subxt_core :: utils :: Yes , :: subxt_core :: utils :: Yes , () >{ - ::subxt_core::storage::address::StaticAddress::new_static( + #[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", (), @@ -45238,14 +48182,14 @@ pub mod api { } 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", (), @@ -45259,19 +48203,21 @@ pub mod api { 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(), + ), [ 89u8, 71u8, 163u8, 108u8, 71u8, 192u8, 181u8, 164u8, 168u8, 126u8, 228u8, 122u8, 159u8, 83u8, 66u8, 59u8, 179u8, 218u8, 96u8, 67u8, 172u8, @@ -45286,14 +48232,14 @@ pub mod api { #[doc = " Service Requst ID -> Service Payment"] pub fn staging_service_payments_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::staging_service_payments::StagingServicePayments, (), (), - ::subxt_core::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", "StagingServicePayments", (), @@ -45313,19 +48259,21 @@ pub mod api { pub fn staging_service_payments( &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::staging_service_payments::Param0, >, types::staging_service_payments::StagingServicePayments, - ::subxt_core::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", "StagingServicePayments", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 192u8, 196u8, 170u8, 27u8, 123u8, 252u8, 120u8, 33u8, 138u8, 77u8, 224u8, 10u8, 9u8, 100u8, 175u8, 118u8, 86u8, 82u8, 147u8, 139u8, 223u8, @@ -45343,9 +48291,10 @@ pub mod api { #[doc = " `Pallet` EVM Address."] pub fn pallet_evm_address( &self, - ) -> ::subxt_core::constants::address::StaticAddress<::subxt_core::utils::H160> - { - ::subxt_core::constants::address::StaticAddress::new_static( + ) -> ::subxt::ext::subxt_core::constants::address::StaticAddress< + ::subxt::ext::subxt_core::utils::H160, + > { + ::subxt::ext::subxt_core::constants::address::StaticAddress::new_static( "Services", "PalletEVMAddress", [ @@ -45359,8 +48308,10 @@ pub mod api { #[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", [ @@ -45374,8 +48325,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", [ @@ -45389,8 +48342,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", [ @@ -45404,8 +48359,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", [ @@ -45419,8 +48376,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", [ @@ -45434,8 +48393,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", [ @@ -45449,8 +48410,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", [ @@ -45464,8 +48427,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", [ @@ -45479,8 +48444,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", [ @@ -45494,8 +48461,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", [ @@ -45509,8 +48478,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", [ @@ -45524,8 +48495,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", [ @@ -45539,8 +48512,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", [ @@ -45554,8 +48529,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", [ @@ -45569,8 +48546,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", [ @@ -45584,8 +48563,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", [ @@ -45599,8 +48580,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", [ @@ -45614,8 +48597,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", [ @@ -45629,8 +48614,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", [ @@ -45644,8 +48631,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", [ @@ -45659,8 +48648,10 @@ pub mod api { #[doc = " Maximum number of versions of Master Blueprint Service Manager allowed."] pub fn max_master_blueprint_service_manager_versions( &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", "MaxMasterBlueprintServiceManagerVersions", [ @@ -45677,8 +48668,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( "Services", "SlashDeferDuration", [ @@ -45706,18 +48699,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 = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] #[doc = ""] #[doc = "# Permissions"] @@ -45750,23 +48747,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 additional funds into an existing pool position."] #[doc = ""] #[doc = "Additional funds can come from either free balance or accumulated rewards."] @@ -45804,23 +48805,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 points from a member's pool position, collecting any pending rewards."] #[doc = ""] #[doc = "# Arguments"] @@ -45858,30 +48863,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 = "Withdraws unbonded funds from the pool's staking account."] #[doc = ""] #[doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] @@ -45910,23 +48919,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 a member account."] #[doc = ""] #[doc = "# Permissions"] @@ -45959,30 +48972,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 = "# Permissions"] @@ -46018,16 +49035,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< @@ -46041,23 +49058,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 = "# Permissions"] @@ -46096,16 +49117,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; @@ -46120,23 +49141,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 validators on behalf of the pool."] #[doc = ""] #[doc = "# Permissions"] @@ -46164,26 +49189,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 = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] #[doc = "changed again under any circumstances."] #[doc = ""] @@ -46216,23 +49246,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 = "Updates the metadata for a given pool."] #[doc = ""] #[doc = "# Permissions"] @@ -46257,25 +49291,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 = "Updates the global configuration parameters for nomination pools."] #[doc = ""] #[doc = "# Permissions"] @@ -46312,23 +49351,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 a pool."] #[doc = ""] #[doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] @@ -46360,32 +49403,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 by forwarding the call to the staking pallet."] #[doc = ""] #[doc = "# Permissions"] @@ -46408,23 +49455,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 = "Bond additional funds for a pool member into their respective pool."] #[doc = ""] #[doc = "# Permissions"] @@ -46452,31 +49503,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 or remove the commission rate and payee for a pool."] #[doc = ""] #[doc = "# Permissions"] @@ -46502,26 +49557,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 rate for a pool. Initial max can be set to any value, with only"] #[doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] #[doc = ""] @@ -46548,23 +49607,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"] @@ -46587,23 +49650,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 for a pool."] #[doc = ""] #[doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] @@ -46621,23 +49688,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"] @@ -46657,23 +49728,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 = "Only the `Root` role of the pool is able to configure commission claim permissions."] @@ -46691,9 +49766,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"; } @@ -46726,8 +49801,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 }, @@ -46769,8 +49844,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 }, @@ -46815,8 +49890,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 }, @@ -46851,8 +49926,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 }, @@ -46894,8 +49970,9 @@ 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 }, @@ -46938,8 +50015,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 }, @@ -46984,8 +50061,9 @@ 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 { @@ -47029,8 +50107,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 }, @@ -47068,8 +50146,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 }, @@ -47101,8 +50179,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 }, @@ -47136,8 +50214,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 { @@ -47181,8 +50259,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 }, @@ -47212,8 +50290,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 }, @@ -47249,8 +50327,9 @@ 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 }, @@ -47281,8 +50360,9 @@ 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 }, @@ -47314,8 +50394,9 @@ 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 }, @@ -47341,8 +50422,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 }, @@ -47367,8 +50450,9 @@ 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 }, @@ -47394,8 +50478,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 }, @@ -47420,9 +50505,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 }, @@ -47440,18 +50526,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, @@ -47459,26 +50545,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 become bonded in a pool."] pub struct Bonded { pub member: bonded::Member, @@ -47488,28 +50574,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, @@ -47518,27 +50604,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"] @@ -47559,29 +50645,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 for `balance`."] @@ -47596,28 +50682,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, @@ -47626,23 +50712,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, @@ -47653,23 +50739,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)."] @@ -47680,25 +50766,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 { @@ -47708,27 +50794,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, @@ -47739,23 +50828,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, @@ -47768,23 +50857,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, @@ -47795,26 +50884,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, @@ -47825,23 +50914,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, @@ -47855,23 +50944,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, @@ -47882,27 +50971,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, @@ -47913,23 +51002,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, @@ -47940,23 +51029,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 the reward pool."] pub struct MinBalanceExcessAdjusted { pub pool_id: min_balance_excess_adjusted::PoolId, @@ -47967,7 +51056,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"; } @@ -48046,7 +51135,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; @@ -48055,7 +51144,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; @@ -48065,7 +51154,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; @@ -48077,14 +51166,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", (), @@ -48098,14 +51187,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", (), @@ -48125,14 +51214,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", (), @@ -48148,14 +51237,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", (), @@ -48172,14 +51261,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", (), @@ -48194,14 +51283,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", (), @@ -48216,17 +51305,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, @@ -48237,14 +51330,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", (), @@ -48259,14 +51352,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", (), @@ -48283,17 +51376,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, @@ -48305,14 +51402,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", (), @@ -48328,14 +51425,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", (), @@ -48351,19 +51448,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, @@ -48374,14 +51473,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", (), @@ -48396,14 +51495,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", (), @@ -48418,17 +51517,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, @@ -48439,14 +51542,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", (), @@ -48461,14 +51564,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", (), @@ -48485,14 +51588,14 @@ 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", (), @@ -48509,19 +51612,21 @@ 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(), + ), [ 46u8, 91u8, 211u8, 29u8, 83u8, 17u8, 148u8, 26u8, 183u8, 226u8, 240u8, 39u8, 186u8, 86u8, 198u8, 55u8, 43u8, 125u8, 83u8, 249u8, 203u8, 33u8, @@ -48532,14 +51637,14 @@ pub mod api { #[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", (), @@ -48557,14 +51662,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", (), @@ -48582,19 +51687,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, @@ -48605,14 +51712,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", (), @@ -48627,14 +51734,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", (), @@ -48649,19 +51756,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, @@ -48678,10 +51787,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", [ @@ -48705,8 +51814,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", [ @@ -48720,8 +51831,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", [ @@ -48735,8 +51848,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", [ @@ -48750,8 +51865,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", [ @@ -49523,44 +52640,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, @@ -49568,44 +52695,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 { @@ -49613,113 +52748,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), @@ -49732,35 +52893,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, @@ -49769,27 +52940,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, @@ -49797,101 +52972,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), @@ -49907,18 +53102,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]); } } @@ -49927,18 +53126,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, @@ -49950,18 +53153,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, @@ -49992,23 +53199,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, @@ -50017,21 +53228,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), @@ -50043,35 +53258,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, @@ -50084,37 +53307,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, @@ -50122,35 +53349,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, @@ -50159,55 +53386,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>, @@ -50218,25 +53446,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, } } @@ -50245,54 +53474,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, @@ -50305,18 +53538,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, @@ -50326,36 +53563,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, @@ -50363,36 +53608,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, @@ -50407,22 +53660,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( @@ -50432,7 +53689,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)>), @@ -50443,18 +53700,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, @@ -50462,18 +53723,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, @@ -50482,18 +53747,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 { @@ -50503,156 +53768,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, @@ -50661,18 +53962,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: @@ -50686,52 +53991,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)] @@ -50740,20 +54053,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."] @@ -50763,7 +54076,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 = ""] @@ -50775,22 +54090,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)] @@ -50826,18 +54145,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)] @@ -50856,37 +54179,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, @@ -50895,71 +54218,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), @@ -50974,18 +54297,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)] @@ -51090,7 +54417,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 { @@ -51113,18 +54440,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)] @@ -51154,24 +54485,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, }, @@ -51182,92 +54517,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, @@ -51280,18 +54635,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)] @@ -51317,8 +54676,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, @@ -51346,8 +54705,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, @@ -51435,8 +54794,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)] @@ -51461,8 +54820,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)] @@ -51490,8 +54849,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)] @@ -51519,8 +54878,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)] @@ -51549,12 +54908,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)] @@ -51576,8 +54935,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, >, }, @@ -51595,8 +54954,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, >, }, @@ -51642,8 +55001,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, >, }, @@ -51663,16 +55022,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, >, }, @@ -51696,8 +55055,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)] @@ -51734,8 +55093,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, }, @@ -51781,20 +55140,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)] @@ -51826,8 +55185,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)] @@ -51850,8 +55209,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, >, }, @@ -51872,12 +55231,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, >, }, @@ -51903,12 +55262,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)] @@ -51976,8 +55335,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, >, }, @@ -51995,8 +55354,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, >, }, @@ -52014,25 +55373,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)] @@ -52103,74 +55466,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."] @@ -52202,14 +55569,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, }, @@ -52220,25 +55587,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)] @@ -52254,27 +55621,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, }, } @@ -52282,18 +55649,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, @@ -52303,35 +55674,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, @@ -52341,18 +55720,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, @@ -52368,18 +55751,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, @@ -52388,18 +55775,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, @@ -52409,18 +55800,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, @@ -52440,18 +55835,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)] @@ -52460,7 +55859,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, @@ -52480,7 +55879,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, @@ -52500,18 +55899,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)] @@ -52534,35 +55937,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, @@ -52574,22 +55985,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, } @@ -52597,18 +56012,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)] @@ -52623,8 +56042,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, >, }, @@ -52640,8 +56059,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, >, }, @@ -52650,29 +56069,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)] @@ -52680,31 +56103,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, }, } @@ -52715,18 +56142,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)] @@ -52738,8 +56169,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)] @@ -52749,12 +56180,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)] @@ -52768,8 +56199,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)] @@ -52792,8 +56223,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, @@ -52803,8 +56234,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, @@ -52819,15 +56250,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)] @@ -52859,18 +56292,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)] @@ -52911,64 +56348,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, @@ -52976,48 +56417,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 }, @@ -53027,25 +56468,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)] @@ -53059,18 +56500,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, @@ -53078,18 +56523,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, @@ -53097,51 +56546,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, @@ -53151,18 +56612,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, @@ -53174,18 +56639,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)] @@ -53194,18 +56663,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)] @@ -53222,18 +56695,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)] @@ -53252,7 +56729,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"] @@ -53276,8 +56754,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)] @@ -53331,8 +56809,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, >, }, @@ -53376,22 +56854,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)] @@ -53430,18 +56912,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)] @@ -53457,14 +56943,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."] @@ -53479,7 +56965,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."] @@ -53488,23 +56974,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, @@ -53514,18 +57000,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, @@ -53546,18 +57032,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)] @@ -53585,7 +57075,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."] @@ -53608,8 +57099,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)] @@ -53705,8 +57196,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, >, }, @@ -53764,18 +57255,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)] @@ -53789,18 +57284,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)] @@ -53811,7 +57310,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."] @@ -53819,7 +57318,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."] @@ -53827,18 +57326,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, @@ -53847,18 +57346,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, @@ -53875,18 +57374,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)] @@ -53915,9 +57418,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)] @@ -53931,7 +57435,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)] @@ -53955,7 +57459,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)] @@ -53972,7 +57476,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, @@ -53988,7 +57492,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 = ""] @@ -54015,7 +57519,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, @@ -54024,18 +57528,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)] @@ -54073,81 +57581,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), @@ -54157,23 +57669,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, } } @@ -54182,18 +57694,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, @@ -54214,18 +57730,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)] @@ -54349,7 +57869,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, }, @@ -54363,7 +57883,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 = ""] @@ -54398,8 +57918,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, @@ -54435,8 +57955,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, >, }, @@ -54486,8 +58006,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, @@ -54509,7 +58029,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)] @@ -54542,22 +58062,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)] @@ -54635,18 +58159,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)] @@ -54682,26 +58210,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, @@ -54710,7 +58238,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)] @@ -54720,55 +58248,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, @@ -54778,18 +58314,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>), @@ -54797,18 +58337,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, @@ -54817,18 +58361,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, @@ -54838,18 +58386,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 }, @@ -54857,47 +58409,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 { @@ -54921,18 +58485,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, @@ -54948,18 +58516,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)] @@ -54972,34 +58544,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)] @@ -55049,18 +58629,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)] @@ -55074,7 +58658,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)] @@ -55092,13 +58677,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)] @@ -55117,18 +58702,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, @@ -55138,18 +58727,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, @@ -55163,18 +58752,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, @@ -55186,74 +58775,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, @@ -55266,18 +58857,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)] @@ -55301,7 +58896,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, }, @@ -55374,8 +58971,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, @@ -55397,18 +58994,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)] @@ -55464,18 +59065,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)] @@ -55485,8 +59090,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, )>, }, @@ -55500,40 +59105,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, @@ -55543,38 +59148,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, } @@ -55584,18 +59189,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)] @@ -55603,18 +59212,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)] @@ -55625,47 +59238,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 { @@ -55673,88 +59291,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)] @@ -55798,18 +59433,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)] @@ -55817,34 +59456,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 { @@ -55852,18 +59491,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)] @@ -55872,9 +59515,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, >, >, @@ -55891,9 +59534,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, >, >, @@ -55918,18 +59561,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)] @@ -55957,24 +59604,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, )>, @@ -55988,18 +59639,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, @@ -56011,18 +59662,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, @@ -56039,18 +59690,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)] @@ -56059,22 +59714,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)] @@ -56088,18 +59749,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, @@ -56118,18 +59783,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)] @@ -56141,8 +59810,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, >, }, @@ -56158,7 +59827,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, >, }, @@ -56173,8 +59842,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, )>, }, @@ -56248,8 +59917,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, >, }, @@ -56285,14 +59954,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."] @@ -56308,8 +59977,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, >, }, @@ -56322,8 +59991,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, @@ -56334,8 +60003,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, @@ -56349,8 +60018,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, >, }, @@ -56372,18 +60041,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, >, }, @@ -56398,11 +60067,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, }, @@ -56440,18 +60109,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)] @@ -56534,51 +60207,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)] @@ -56587,35 +60264,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, >, @@ -56623,7 +60300,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, >, @@ -56631,11 +60308,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, >, @@ -56644,7 +60321,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, >, @@ -56654,35 +60331,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, @@ -56762,18 +60447,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, @@ -56791,36 +60480,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, @@ -56836,18 +60533,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)] @@ -56861,18 +60562,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)] @@ -56883,18 +60588,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)] @@ -56908,10 +60617,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, >, )>, @@ -56923,48 +60632,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, @@ -56977,18 +60694,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)] @@ -57019,8 +60740,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, @@ -57054,8 +60775,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, @@ -57077,18 +60798,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)] @@ -57108,24 +60833,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)] @@ -57135,7 +60864,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, }, } } @@ -57145,34 +60874,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 staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt_core :: utils :: H160 > , lock_multiplier : :: core :: option :: Option < runtime_types :: tangle_primitives :: types :: rewards :: LockMultiplier > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 22)] # [doc = "Adds a blueprint ID to a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } + # [codec (index = 0)] # [doc = "Allows an account to join as an operator by staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 18)] # [doc = "Sets the APY and cap for a specific asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the force origin"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `vault_id` - ID of the vault"] # [doc = "* `apy` - Annual percentage yield (max 10%)"] # [doc = "* `cap` - Required deposit amount for full APY"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] # [doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the force origin"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to whitelist"] whitelist_blueprint_for_rewards { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 20)] # [doc = "Manage asset id to vault rewards."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by an authorized account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `vault_id` - ID of the vault"] # [doc = "* `asset_id` - ID of the asset"] # [doc = "* `action` - Action to perform (Add/Remove)"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] # [doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] manage_asset_in_vault { vault_id : :: core :: primitive :: u128 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] 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)] @@ -57333,173 +61070,83 @@ pub mod api { DepositExceedsCapForAsset, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 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: runtime_types::tangle_primitives::services::Asset< - ::core::primitive::u128, - >, - }, - #[codec(index = 11)] - #[doc = "An withdraw has been scheduled."] - Scheduledwithdraw { - who: ::subxt_core::utils::AccountId32, - amount: ::core::primitive::u128, - asset_id: runtime_types::tangle_primitives::services::Asset< - ::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: runtime_types::tangle_primitives::services::Asset< - ::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: runtime_types::tangle_primitives::services::Asset< - ::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 = "Operator has been slashed"] - OperatorSlashed { - who: ::subxt_core::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 19)] - #[doc = "Delegator has been slashed"] - DelegatorSlashed { - who: ::subxt_core::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 20)] - #[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>, - }, - } + # [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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 :: u64 , } , # [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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 , } , # [codec (index = 23)] # [doc = "EVM execution reverted with a reason."] EvmReverted { 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 > , } , } } 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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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 : runtime_types :: tangle_primitives :: services :: Asset < _1 > , pub blueprint_selection : runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: DelegatorBlueprintSelection < _3 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _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 BondLessRequest < _0 , _1 , _2 , _3 > { pub operator : _0 , pub asset_id : runtime_types :: tangle_primitives :: services :: Asset < _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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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( @@ -57512,32 +61159,40 @@ pub mod api { __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 , _3 , _4 , _5 , _6 , _7 , _8 > { pub deposits : :: subxt_core :: utils :: KeyedVec < runtime_types :: tangle_primitives :: services :: Asset < _1 > , runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: Deposit < _1 , _7 , _4 > > , 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 , _8 , _3 , _5) > } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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 < runtime_types :: tangle_primitives :: services :: Asset < _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, @@ -57545,42 +61200,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")] - pub struct Deposit<_0, _1, _2> { - pub amount: _0, - pub delegated_amount: _0, - pub locks: ::core::option::Option< - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::tangle_primitives::types::rewards::LockInfo<_0, _1>, - >, - >, - #[codec(skip)] - pub __ignore: ::core::marker::PhantomData<_2>, - } - #[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 WithdrawRequest<_0, _1> { pub asset_id: runtime_types::tangle_primitives::services::Asset<_0>, pub amount: _1, @@ -57590,18 +61225,22 @@ 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, @@ -57610,63 +61249,79 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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, @@ -57676,6 +61331,71 @@ pub mod api { Leaving(::core::primitive::u32), } } + pub mod rewards { + use super::runtime_types; + #[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 AssetAction { + #[codec(index = 0)] + Add, + #[codec(index = 1)] + Remove, + } + #[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 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 :: u64 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _1 > } + #[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 RewardConfigForAssetVault<_0> { + pub apy: runtime_types::sp_arithmetic::per_things::Percent, + pub cap: _0, + } + } } } pub mod pallet_multisig { @@ -57683,18 +61403,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)] @@ -57711,9 +61435,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, >, }, @@ -57759,12 +61484,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, @@ -57802,8 +61528,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>, >, @@ -57834,26 +61561,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)] @@ -57900,43 +61632,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>, @@ -57944,27 +61680,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, @@ -57972,18 +61708,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, @@ -57994,18 +61730,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)] @@ -58080,8 +61820,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)] @@ -58122,8 +61862,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, @@ -58149,16 +61889,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, >, }, @@ -58172,16 +61912,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, @@ -58201,7 +61941,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."] @@ -58225,7 +61967,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"] @@ -58270,13 +62012,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)] @@ -58308,8 +62050,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< @@ -58332,7 +62074,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`"] @@ -58343,7 +62085,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)] @@ -58392,7 +62134,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, >, >, }, @@ -58407,8 +62149,8 @@ pub mod api { #[doc = "is successful, fee is refunded and caller may be rewarded with a part of the slash"] #[doc = "based on the [`crate::pallet::Config::StakeAdapter`] configuration."] 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, >, }, @@ -58423,8 +62165,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, >, }, @@ -58441,18 +62183,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, @@ -58470,18 +62216,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)] @@ -58605,30 +62355,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, @@ -58636,7 +62390,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, }, @@ -58653,7 +62407,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, @@ -58667,7 +62421,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, @@ -58687,15 +62441,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`."] @@ -58716,7 +62472,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)] @@ -58739,7 +62495,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, >, >, }, @@ -58763,36 +62519,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), @@ -58800,40 +62560,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, @@ -58845,22 +62605,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< @@ -58871,40 +62631,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, @@ -58912,18 +62672,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, @@ -58933,18 +62693,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, @@ -58957,18 +62717,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>, @@ -58976,18 +62736,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, @@ -58997,18 +62757,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, @@ -59018,18 +62778,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: @@ -59039,18 +62799,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, @@ -59061,18 +62821,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)] @@ -59081,7 +62845,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>, }, } } @@ -59091,18 +62855,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)] @@ -59110,7 +62878,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 = ""] @@ -59118,39 +62888,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)] @@ -59182,61 +62958,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 }, @@ -59248,18 +63032,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 }, @@ -59276,18 +63060,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)] @@ -59301,14 +63089,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, >, }, @@ -59323,8 +63111,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, @@ -59339,8 +63127,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, @@ -59396,8 +63184,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, @@ -59424,11 +63212,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."] @@ -59442,11 +63230,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."] @@ -59460,11 +63248,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"] @@ -59479,35 +63267,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)] @@ -59536,18 +63328,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)] @@ -59560,67 +63356,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, @@ -59848,18 +63644,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)] @@ -59871,7 +63671,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, >, }, @@ -59888,7 +63688,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, >, }, @@ -59904,7 +63704,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, >, }, @@ -59918,7 +63718,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, >, }, @@ -59966,18 +63766,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)] @@ -59997,18 +63801,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)] @@ -60067,36 +63875,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, @@ -60112,18 +63920,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)] @@ -60226,9 +64038,9 @@ 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)] @@ -60314,18 +64126,21 @@ pub mod api { #[doc = "* [`Error::NotRegistered`] - One or more operators not registered for blueprint."] #[doc = "* [`Error::BlueprintNotFound`] - The blueprint_id does not exist."] request { - evm_origin: ::core::option::Option<::subxt_core::utils::H160>, + evm_origin: ::core::option::Option<::subxt::ext::subxt_core::utils::H160>, #[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, payment_asset: runtime_types::tangle_primitives::services::Asset< @@ -60432,9 +64247,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, >, >, }, @@ -60465,9 +64280,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, >, >, }, @@ -60497,7 +64312,7 @@ pub mod api { #[doc = "* `OffenderNotOperator` - Target account is not an operator for this service"] #[doc = "* `OffenderNotActiveOperator` - Target operator is not currently active"] slash { - offender: ::subxt_core::utils::AccountId32, + offender: ::subxt::ext::subxt_core::utils::AccountId32, #[codec(compact)] service_id: ::core::primitive::u64, #[codec(compact)] @@ -60544,21 +64359,27 @@ pub mod api { #[doc = "# Errors"] #[doc = ""] #[doc = "* [Error::MaxMasterBlueprintServiceManagerVersionsExceeded] - Maximum number of revisions reached"] - update_master_blueprint_service_manager { address: ::subxt_core::utils::H160 }, + 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)] @@ -60694,141 +64515,151 @@ pub mod api { ExpectedAccountId, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 = "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 = 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, @@ -60838,7 +64669,7 @@ pub mod api { #[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, @@ -60848,31 +64679,35 @@ pub mod api { #[doc = "The Master Blueprint Service Manager has been revised."] MasterBlueprintServiceManagerRevised { revision: ::core::primitive::u32, - address: ::subxt_core::utils::H160, + 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, } } @@ -60882,18 +64717,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)] @@ -60908,7 +64747,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."] @@ -60926,18 +64765,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)] @@ -60957,18 +64800,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)] @@ -60985,18 +64832,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)] @@ -61020,7 +64871,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)] @@ -61110,9 +64961,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, >, >, @@ -61144,7 +64995,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)] @@ -61233,8 +65084,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."] @@ -61246,7 +65098,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)] @@ -61268,7 +65120,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."] @@ -61285,7 +65138,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)] @@ -61320,7 +65173,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)] @@ -61336,9 +65189,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, >, >, @@ -61417,13 +65270,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."] @@ -61452,7 +65305,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, }, @@ -61463,7 +65316,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"] @@ -61475,7 +65328,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)] @@ -61491,9 +65344,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< @@ -61505,18 +65359,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, @@ -61526,18 +65384,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)] @@ -61639,18 +65501,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)] @@ -61664,23 +65530,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, }, @@ -61697,44 +65563,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)] @@ -61755,89 +65621,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, @@ -61849,38 +65724,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, @@ -61894,20 +65769,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)] @@ -61921,38 +65796,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, @@ -61960,18 +65835,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, @@ -61983,24 +65858,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, >, }, @@ -62011,7 +65890,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, @@ -62020,8 +65899,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, >, }, @@ -62031,11 +65910,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, >, }, @@ -62046,18 +65925,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)] @@ -62065,18 +65948,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)] @@ -62088,8 +65975,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."] @@ -62108,34 +65995,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 = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to stake"] # [doc = "* `pool_id` - Target pool ID"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::MinimumBondNotMet`] - Amount below minimum bond"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* Member must have `existential deposit + amount` in account"] # [doc = "* Pool must be in [`PoolState::Open`] state"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond additional funds into an existing pool position."] # [doc = ""] # [doc = "Additional funds can come from either free balance or accumulated rewards."] # [doc = "Automatically pays out all pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `extra` - Source and amount of additional funds"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = "* Must have permission to bond extra if not self"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks permission"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This transaction prioritizes readability and correctness over optimization"] # [doc = "* Multiple storage reads/writes are performed to reuse code"] # [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 points from a member's pool position, collecting any pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to unbond from"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `unbonding_points` - Amount of points to unbond"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is blocked and caller is root/bouncer (kick)"] # [doc = " - Pool is destroying and member is not depositor"] # [doc = " - Pool is destroying, member is depositor, and pool is empty"] # [doc = "* Permissioned (caller must be member) if:"] # [doc = " - Caller is not depositor"] # [doc = " - Caller is depositor, pool is destroying, and pool is empty"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NoBalanceToUnbond`] - Member has insufficient points"] # [doc = "* [`Error::DefensiveError`] - Not enough space in unbond pool"] # [doc = ""] # [doc = "# Note"] # [doc = "If no unlocking chunks are available, [`Call::pool_withdraw_unbonded`] can be called first."] # [doc = "The staking interface will attempt this automatically but may still return `NoMoreChunks`"] # [doc = "if chunks cannot be released."] 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 = "Withdraws unbonded funds from the pool's staking account."] # [doc = ""] # [doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] # [doc = "Prevents `NoMoreChunks` errors from the staking system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Can be signed by any account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans to check"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotDestroying`] - Pool is in destroying state"] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from a member account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is in destroy mode and target is not depositor"] # [doc = " - Target is depositor and only member in sub pools"] # [doc = " - Pool is blocked and caller is root/bouncer"] # [doc = "* Permissioned if caller is target and not depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to withdraw from"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolMemberNotFound`] - Member account not found"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::SubPoolsNotFound`] - Sub pools not found"] # [doc = "* [`Error::CannotWithdrawAny`] - No unbonded funds available"] # [doc = ""] # [doc = "If target is depositor, 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 = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the initial depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `name` - Optional pool name bounded by `T::MaxNameLength`"] # [doc = "* `icon` - Optional pool icon bounded by `T::MaxIconLength`"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::OverflowRisk`] - Pool ID increment would overflow"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] 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 = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `pool_id` - Pool ID to reuse"] # [doc = "* `name` - Optional pool name"] # [doc = "* `icon` - Optional pool icon"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolIdInUse`] - Pool ID is already in use"] # [doc = "* [`Error::InvalidPoolId`] - Pool ID is greater than last pool ID"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] 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 validators on behalf of the pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool nominator or root role can nominate validators"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `validators` - List of validator accounts to nominate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Caller lacks nominator permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Forwards nomination call to staking pallet using pool's bonded account."] nominate { pool_id : :: core :: primitive :: u32 , validators : :: subxt_core :: alloc :: vec :: Vec < :: subxt_core :: utils :: AccountId32 > , } , # [codec (index = 9)] # [doc = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] # [doc = "changed again under any circumstances."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool bouncer or root role can set any state"] # [doc = "* Any account can set state to `Destroying` if pool fails `ok_to_be_open` conditions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `state` - New state to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::CanNotChangeState`] - Pool is in destroying state or caller lacks permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "State changes are validated through `ok_to_be_open` which checks pool properties like"] # [doc = "commission, member count and roles."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Updates the metadata for a given pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the pool bouncer or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `metadata` - New metadata to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::MetadataExceedsMaxLen`] - Metadata length exceeds maximum allowed"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks required permissions"] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Updates the global configuration parameters for nomination pools."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by Root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `min_join_bond` - Config operation for minimum bond to join a pool"] # [doc = "* `min_create_bond` - Config operation for minimum bond to create a pool "] # [doc = "* `max_pools` - Config operation for maximum number of pools"] # [doc = "* `global_max_commission` - Config operation for maximum global commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`DispatchError::BadOrigin`] - Caller is not Root"] 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 a pool."] # [doc = ""] # [doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] # [doc = "Emits a `RolesUpdated` event on successful update."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be Root or pool root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `new_root` - New root role configuration"] # [doc = "* `new_nominator` - New nominator role configuration "] # [doc = "* `new_bouncer` - New bouncer role configuration"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Origin does not have permission"] 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 by forwarding the call to the staking pallet."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be signed by pool nominator or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Origin lacks nomination permission"] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "Bond additional funds for a pool member into their respective pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must match member account for bonding from free balance/pending rewards"] # [doc = "* Any origin can bond from pending rewards if member has `PermissionlessAll` or"] # [doc = " `PermissionlessCompound` claim permissions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `member` - Pool member account to bond for"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `extra` - Amount to bond from free balance or pending rewards"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::PoolMemberNotFound`] - Account is not a member of pool"] # [doc = "* [`Error::NoPermission`] - Origin lacks permission to bond for member"] 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 or remove the commission rate and payee for a pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `new_commission` - Optional commission rate and payee. None removes existing commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] 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 rate for a pool. Initial max can be set to any value, with only"] # [doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `max_commission` - The new maximum commission rate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] 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."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission management permission."] # [doc = "* `pool_id` - The identifier of the pool to set commission change rate for."] # [doc = "* `change_rate` - The new commission change rate configuration."] 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 for a pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] # [doc = "Pending commission is paid out and added to total claimed commission. Total pending commission"] # [doc = "is reset to zero."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission claim permission."] # [doc = "* `pool_id` - The identifier of the pool to claim commission from."] 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."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed."] # [doc = "* `pool_id` - The identifier of the pool to adjust the deposit for."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Only the `Root` role of the pool is able to configure commission claim permissions."] # [doc = "This determines which accounts are allowed to claim the pool's pending commission."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by the pool's root account."] # [doc = "* `pool_id` - The identifier of the pool to set permissions for."] # [doc = "* `permission` - Optional commission claim permission configuration. If None, removes any existing permission."] 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 = "Stakes funds with a pool by transferring the bonded amount from member to pool account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to stake"] # [doc = "* `pool_id` - Target pool ID"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::MinimumBondNotMet`] - Amount below minimum bond"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* Member must have `existential deposit + amount` in account"] # [doc = "* Pool must be in [`PoolState::Open`] state"] join { # [codec (compact)] amount : :: core :: primitive :: u128 , pool_id : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "Bond additional funds into an existing pool position."] # [doc = ""] # [doc = "Additional funds can come from either free balance or accumulated rewards."] # [doc = "Automatically pays out all pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `extra` - Source and amount of additional funds"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed"] # [doc = "* Must have permission to bond extra if not self"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks permission"] # [doc = "* [`Error::DefensiveError`] - Reward pool not found"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "* This transaction prioritizes readability and correctness over optimization"] # [doc = "* Multiple storage reads/writes are performed to reuse code"] # [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 points from a member's pool position, collecting any pending rewards."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to unbond from"] # [doc = "* `pool_id` - Target pool ID"] # [doc = "* `unbonding_points` - Amount of points to unbond"] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is blocked and caller is root/bouncer (kick)"] # [doc = " - Pool is destroying and member is not depositor"] # [doc = " - Pool is destroying, member is depositor, and pool is empty"] # [doc = "* Permissioned (caller must be member) if:"] # [doc = " - Caller is not depositor"] # [doc = " - Caller is depositor, pool is destroying, and pool is empty"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NoBalanceToUnbond`] - Member has insufficient points"] # [doc = "* [`Error::DefensiveError`] - Not enough space in unbond pool"] # [doc = ""] # [doc = "# Note"] # [doc = "If no unlocking chunks are available, [`Call::pool_withdraw_unbonded`] can be called first."] # [doc = "The staking interface will attempt this automatically but may still return `NoMoreChunks`"] # [doc = "if chunks cannot be released."] 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 = "Withdraws unbonded funds from the pool's staking account."] # [doc = ""] # [doc = "Useful for clearing unlocking chunks when there are too many to call `unbond`."] # [doc = "Prevents `NoMoreChunks` errors from the staking system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Can be signed by any account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans to check"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotDestroying`] - Pool is in destroying state"] pool_withdraw_unbonded { pool_id : :: core :: primitive :: u32 , num_slashing_spans : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "Withdraw unbonded funds from a member account."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Permissionless if:"] # [doc = " - Pool is in destroy mode and target is not depositor"] # [doc = " - Target is depositor and only member in sub pools"] # [doc = " - Pool is blocked and caller is root/bouncer"] # [doc = "* Permissioned if caller is target and not depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `member_account` - Account to withdraw from"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `num_slashing_spans` - Number of slashing spans"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolMemberNotFound`] - Member account not found"] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::SubPoolsNotFound`] - Sub pools not found"] # [doc = "* [`Error::CannotWithdrawAny`] - No unbonded funds available"] # [doc = ""] # [doc = "If target is depositor, 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 = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the initial depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `name` - Optional pool name bounded by `T::MaxNameLength`"] # [doc = "* `icon` - Optional pool icon bounded by `T::MaxIconLength`"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::OverflowRisk`] - Pool ID increment would overflow"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] 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 = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account that will become the depositor"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `amount` - Amount to delegate to the pool"] # [doc = "* `root` - Account to set as pool root"] # [doc = "* `nominator` - Account to set as pool nominator"] # [doc = "* `bouncer` - Account to set as pool bouncer"] # [doc = "* `pool_id` - Pool ID to reuse"] # [doc = "* `name` - Optional pool name"] # [doc = "* `icon` - Optional pool icon"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolIdInUse`] - Pool ID is already in use"] # [doc = "* [`Error::InvalidPoolId`] - Pool ID is greater than last pool ID"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Caller must have `amount + existential_deposit` transferable funds."] 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 validators on behalf of the pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool nominator or root role can nominate validators"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `validators` - List of validator accounts to nominate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Caller lacks nominator permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "Forwards nomination call to staking pallet using pool's bonded 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 = "Updates the state of a pool. Once a pool is in `Destroying` state, its state cannot be"] # [doc = "changed again under any circumstances."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Pool bouncer or root role can set any state"] # [doc = "* Any account can set state to `Destroying` if pool fails `ok_to_be_open` conditions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `state` - New state to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::CanNotChangeState`] - Pool is in destroying state or caller lacks permissions"] # [doc = ""] # [doc = "# Note"] # [doc = ""] # [doc = "State changes are validated through `ok_to_be_open` which checks pool properties like"] # [doc = "commission, member count and roles."] set_state { pool_id : :: core :: primitive :: u32 , state : runtime_types :: pallet_tangle_lst :: types :: pools :: PoolState , } , # [codec (index = 10)] # [doc = "Updates the metadata for a given pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the pool bouncer or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `metadata` - New metadata to set"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::MetadataExceedsMaxLen`] - Metadata length exceeds maximum allowed"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks required permissions"] set_metadata { pool_id : :: core :: primitive :: u32 , metadata : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 11)] # [doc = "Updates the global configuration parameters for nomination pools."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by Root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `min_join_bond` - Config operation for minimum bond to join a pool"] # [doc = "* `min_create_bond` - Config operation for minimum bond to create a pool "] # [doc = "* `max_pools` - Config operation for maximum number of pools"] # [doc = "* `global_max_commission` - Config operation for maximum global commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`DispatchError::BadOrigin`] - Caller is not Root"] 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 a pool."] # [doc = ""] # [doc = "Updates root, nominator and bouncer roles for a given pool. The depositor role cannot be changed."] # [doc = "Emits a `RolesUpdated` event on successful update."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be Root or pool root"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `new_root` - New root role configuration"] # [doc = "* `new_nominator` - New nominator role configuration "] # [doc = "* `new_bouncer` - New bouncer role configuration"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Origin does not have permission"] 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 by forwarding the call to the staking pallet."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must be signed by pool nominator or root role"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - Pool identifier"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::NotNominator`] - Origin lacks nomination permission"] chill { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 14)] # [doc = "Bond additional funds for a pool member into their respective pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Origin must match member account for bonding from free balance/pending rewards"] # [doc = "* Any origin can bond from pending rewards if member has `PermissionlessAll` or"] # [doc = " `PermissionlessCompound` claim permissions"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `member` - Pool member account to bond for"] # [doc = "* `pool_id` - Pool identifier"] # [doc = "* `extra` - Amount to bond from free balance or pending rewards"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - Pool does not exist"] # [doc = "* [`Error::PoolMemberNotFound`] - Account is not a member of pool"] # [doc = "* [`Error::NoPermission`] - Origin lacks permission to bond for member"] 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 or remove the commission rate and payee for a pool."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `new_commission` - Optional commission rate and payee. None removes existing commission"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] 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 rate for a pool. Initial max can be set to any value, with only"] # [doc = "lower values allowed thereafter. Current commission will be reduced if above new max."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Caller must have commission management permission for the pool"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call"] # [doc = "* `pool_id` - The pool identifier"] # [doc = "* `max_commission` - The new maximum commission rate"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::PoolNotFound`] - The pool_id does not exist"] # [doc = "* [`Error::DoesNotHavePermission`] - Caller lacks commission management permission"] 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."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission management permission."] # [doc = "* `pool_id` - The identifier of the pool to set commission change rate for."] # [doc = "* `change_rate` - The new commission change rate configuration."] 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 for a pool."] # [doc = ""] # [doc = "The dispatch origin of this call must be signed by an account with commission claim permission."] # [doc = "Pending commission is paid out and added to total claimed commission. Total pending commission"] # [doc = "is reset to zero."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by an account with commission claim permission."] # [doc = "* `pool_id` - The identifier of the pool to claim commission from."] 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."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed."] # [doc = "* `pool_id` - The identifier of the pool to adjust the deposit for."] adjust_pool_deposit { pool_id : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "Set or remove a pool's commission claim permission."] # [doc = ""] # [doc = "Only the `Root` role of the pool is able to configure commission claim permissions."] # [doc = "This determines which accounts are allowed to claim the pool's pending commission."] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - The origin of the call. Must be signed by the pool's root account."] # [doc = "* `pool_id` - The identifier of the pool to set permissions for."] # [doc = "* `permission` - Optional commission claim permission configuration. If None, removes any existing permission."] 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, @@ -62149,18 +66044,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)] @@ -62271,34 +66170,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 become 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 for `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 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 become 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 for `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 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, @@ -62309,41 +66216,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< @@ -62360,49 +66275,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, @@ -62413,18 +66340,22 @@ 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 unbonding_eras: runtime_types::bounded_collections::bounded_btree_map::BoundedBTreeMap< @@ -62433,18 +66364,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 PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, @@ -62452,18 +66387,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, @@ -62476,18 +66415,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, @@ -62497,18 +66440,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: @@ -62518,53 +66465,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, @@ -62576,18 +66535,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, @@ -62603,18 +66566,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)] @@ -62649,25 +66616,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, }, @@ -62676,18 +66647,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>, @@ -62695,36 +66670,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, @@ -62732,32 +66715,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, @@ -62770,18 +66753,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)] @@ -62805,8 +66792,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, >, }, @@ -62864,11 +66851,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)] @@ -62933,18 +66921,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)] @@ -62983,18 +66975,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)] @@ -63005,7 +67001,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."] @@ -63021,7 +67017,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."] @@ -63035,7 +67031,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, }, @@ -63055,18 +67051,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, @@ -63076,18 +67072,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, @@ -63095,18 +67091,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, @@ -63123,18 +67119,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)] @@ -63169,18 +67169,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)] @@ -63196,18 +67200,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)] @@ -63242,18 +67250,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)] @@ -63276,7 +67288,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, >, }, @@ -63296,7 +67308,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, >, }, @@ -63315,7 +67327,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, >, }, @@ -63327,10 +67339,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, >, }, @@ -63349,7 +67361,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, >, }, @@ -63361,25 +67373,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)] @@ -63387,18 +67403,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)] @@ -63434,18 +67454,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)] @@ -63472,8 +67496,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, >, }, @@ -63492,8 +67516,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< @@ -63517,12 +67541,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< @@ -63564,26 +67588,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)] @@ -63604,47 +67632,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, @@ -63652,18 +67688,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, @@ -63674,40 +67710,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, >, } @@ -63717,97 +67753,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, @@ -63822,35 +67878,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 { @@ -63859,18 +67923,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), @@ -63882,53 +67950,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, @@ -63936,18 +68016,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, @@ -63957,23 +68037,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, )>, @@ -63981,40 +68061,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, )>, @@ -64022,20 +68102,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 { @@ -64043,47 +68123,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( @@ -64103,18 +68191,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>, @@ -64123,18 +68211,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, @@ -64142,19 +68230,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 { @@ -64162,18 +68250,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 { @@ -64181,18 +68273,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], @@ -64200,110 +68296,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 { @@ -64313,74 +68412,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, } @@ -64388,18 +68499,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, @@ -64918,24 +69033,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, } } @@ -64943,35 +69062,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, @@ -64997,18 +69124,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, @@ -65018,18 +69149,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), @@ -65037,18 +69172,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, @@ -65058,43 +69197,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, @@ -65126,18 +69269,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, @@ -65145,35 +69288,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]), @@ -65183,32 +69326,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, @@ -65232,18 +69377,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, @@ -65254,22 +69399,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, } @@ -65279,96 +69424,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, @@ -65381,25 +69530,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, )>, @@ -65412,18 +69561,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, @@ -65432,18 +69585,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, @@ -65456,10 +69609,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, @@ -65467,35 +69620,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, @@ -65503,9 +69664,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, @@ -65533,29 +69698,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, @@ -65567,18 +69732,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, @@ -65590,10 +69759,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, @@ -65601,9 +69770,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, @@ -65627,29 +69800,33 @@ 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, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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 Asset<_0> { #[codec(index = 0)] Custom(_0), #[codec(index = 1)] - Erc20(::subxt_core::utils::H160), + Erc20(::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, @@ -65657,18 +69834,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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_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, @@ -65676,19 +69857,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, @@ -65696,9 +69881,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), @@ -65708,10 +69897,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, @@ -65719,9 +69908,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, @@ -65729,10 +69922,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, @@ -65740,17 +69933,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, @@ -65758,9 +69955,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( @@ -65778,10 +69979,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, @@ -65789,9 +69990,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, @@ -65801,10 +70006,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, @@ -65812,27 +70017,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, @@ -65841,18 +70054,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, @@ -65861,10 +70078,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, @@ -65872,9 +70089,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< @@ -65885,10 +70106,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, @@ -65896,9 +70117,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< @@ -65906,10 +70131,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, @@ -65917,9 +70142,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 MasterBlueprintServiceManagerRevision { #[codec(index = 0)] Latest, @@ -65927,10 +70156,10 @@ pub mod api { 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, @@ -65938,19 +70167,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, @@ -65958,9 +70191,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, @@ -65974,35 +70211,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; 65usize], 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< @@ -66014,18 +70259,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, @@ -66034,38 +70283,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, @@ -66080,10 +70337,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, @@ -66091,15 +70348,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")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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, @@ -66107,9 +70368,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< @@ -66135,18 +70400,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 ServiceRequest<_1, _2, _3> { pub blueprint: ::core::primitive::u64, pub owner: _1, @@ -66164,18 +70433,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 StagingServicePayment<_0, _1, _2> { pub request_id: ::core::primitive::u64, pub refund_to: runtime_types::tangle_primitives::types::Account<_0>, @@ -66183,10 +70456,10 @@ pub mod api { pub amount: _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, @@ -66194,9 +70467,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 TestFetcher { pub cargo_package: runtime_types::tangle_primitives::services::field::BoundedString, @@ -66204,18 +70481,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 { @@ -66236,10 +70517,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, @@ -66247,9 +70528,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< @@ -66257,10 +70542,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, @@ -66268,9 +70553,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, @@ -66326,23 +70615,27 @@ 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 Account<_0> { #[codec(index = 0)] Id(_0), #[codec(index = 1)] - Address(::subxt_core::utils::H160), + Address(::subxt::ext::subxt_core::utils::H160), } } } @@ -66351,18 +70644,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, @@ -66370,267 +70667,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_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_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), @@ -66638,18 +70937,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, @@ -66661,32 +70960,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), @@ -66768,18 +71067,18 @@ pub mod api { Rewards(runtime_types::pallet_rewards::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), @@ -66855,18 +71154,18 @@ pub mod api { Rewards(runtime_types::pallet_rewards::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), @@ -66944,18 +71243,18 @@ pub mod api { Rewards(runtime_types::pallet_rewards::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), @@ -66963,18 +71262,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), From 5d5f664336e0f41961810a052c41f8b46df07f8b Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Wed, 8 Jan 2025 15:03:14 +0200 Subject: [PATCH 03/19] fix: logic --- node/tests/evm_restaking.rs | 109 ++++++++++++++---------------------- 1 file changed, 43 insertions(+), 66 deletions(-) diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index 36d9f8c6..e147bc9d 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -157,9 +157,45 @@ where create_asset(&subxt, &alice, 1, "Wrapped Ether", "WETH", 18).await?; create_asset(&subxt, &alice, 2, "Wrapped Bitcoin", "WBTC", 8).await?; + let pallet_account_addr = api::constants().multi_asset_delegation().pallet_id(); + let pallet_account_id = subxt.constants().at(&pallet_account_addr).unwrap(); + let pallet_account_id = + AccountIdConversion::::into_account_truncating(&PalletId( + pallet_account_id.0, + )); + + // Send some balance to the MAD pallet + let transfer_keep_alive_call = api::tx() + .balances() + .transfer_keep_alive(pallet_account_id.clone().into(), 100_000_000_000); + + let mut result = subxt + .tx() + .sign_and_submit_then_watch_default( + &transfer_keep_alive_call, + &alice.substrate_signer(), + ) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("Transfer event to be emitted"); + break; + } + } + let test_inputs = TestInputs { provider, subxt, + pallet_account_id, usdc: usdc_addr, weth: weth_addr, wbtc: wbtc_addr, @@ -169,6 +205,11 @@ where }; let result = f(test_inputs).await; assert!(result.is_ok(), "Test failed: {result:?}"); + if result.is_ok() { + info!("***************** Test passed **********"); + } else { + error!("***************** Test failed **********"); + } result }); } @@ -180,6 +221,8 @@ pub struct TestInputs { provider: AlloyProvider, /// The Subxt client. subxt: subxt::OnlineClient, + /// The MAD pallet account ID. + pallet_account_id: subxt::utils::AccountId32, /// The USDC ERC20 contract address. usdc: Address, /// The WETH ERC20 contract address. @@ -334,72 +377,6 @@ fn operator_join_delegator_delegate_asset_id() { } } - // Mint 1 USDC to the MAD pallet. - let pallet_account_addr = api::constants().multi_asset_delegation().pallet_id(); - let pallet_account_id = t.subxt.constants().at(&pallet_account_addr).unwrap(); - let pallet_account_id = - AccountIdConversion::::into_account_truncating(&PalletId( - pallet_account_id.0, - )); - - // Send some balance to the MAD pallet - let transfer_keep_alive_call = api::tx() - .balances() - .transfer_keep_alive(pallet_account_id.clone().into(), 100_000_000_000_000); - - let mut result = t - .subxt - .tx() - .sign_and_submit_then_watch_default( - &transfer_keep_alive_call, - &alice.substrate_signer(), - ) - .await?; - - while let Some(Ok(s)) = result.next().await { - if let TxStatus::InBestBlock(b) = s { - let evs = match b.wait_for_success().await { - Ok(evs) => evs, - Err(e) => { - error!("Error: {:?}", e); - break; - }, - }; - evs.find_first::()? - .expect("Transfer event to be emitted"); - info!("Transferred 100_000_000_000_000 to the MAD pallet"); - break; - } - } - - info!("Minting {mint_amount} USDC to the MAD pallet"); - let mut result = t - .subxt - .tx() - .sign_and_submit_then_watch_default( - &mint_call(pallet_account_id.into()), - &alice.substrate_signer(), - ) - .await?; - - while let Some(Ok(s)) = result.next().await { - if let TxStatus::InBestBlock(b) = s { - let evs = match b.wait_for_success().await { - Ok(evs) => evs, - Err(e) => { - error!("Error: {:?}", e); - break; - }, - }; - evs.find_first::()? - .expect("Issued event to be emitted"); - info!("Minted {mint_amount} USDC to the MAD pallet"); - break; - } - } - - wait_for_more_blocks(&t.provider, 1).await; - // Delegate assets let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); let delegate_amount = mint_amount.div(2); From 0792ab2fba0f6027540b438e54edbe916f3267c0 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Wed, 8 Jan 2025 16:10:32 +0200 Subject: [PATCH 04/19] feat: allow to withdraw erc20s from the precompile --- .../src/functions/deposit.rs | 81 +++++++++++-------- pallets/multi-asset-delegation/src/lib.rs | 10 ++- precompiles/multi-asset-delegation/src/lib.rs | 27 ++++++- 3 files changed, 80 insertions(+), 38 deletions(-) diff --git a/pallets/multi-asset-delegation/src/functions/deposit.rs b/pallets/multi-asset-delegation/src/functions/deposit.rs index 5f459e7f..22336d51 100644 --- a/pallets/multi-asset-delegation/src/functions/deposit.rs +++ b/pallets/multi-asset-delegation/src/functions/deposit.rs @@ -149,6 +149,40 @@ impl Pallet { }) } + /// Returns an iterator over all withdraw requests that are ready to be executed. + /// + /// A withdraw request is considered ready when the current round number is greater than or equal to + /// the requested round plus the configured delay period. + /// + /// # Arguments + /// + /// * `who` - The account ID of the delegator to check withdraw requests for. + /// + /// # Returns + /// + /// An iterator yielding `WithdrawRequest` entries that are ready to be executed, or an error if + /// the account is not a delegator. + /// + /// # Errors + /// + /// Returns `Error::NotDelegator` if the provided account is not registered as a delegator. + pub fn ready_withdraw_requests( + who: &T::AccountId, + ) -> Result>>, Error> { + let metadata = Delegators::::get(who).ok_or(Error::::NotDelegator)?; + let iter = metadata.withdraw_requests.into_iter().filter_map(|request| { + let current_round = Self::current_round(); + let delay = T::LeaveDelegatorsDelay::get(); + if current_round >= delay + request.requested_round { + Some(request) + } else { + None + } + }); + + Ok(iter) + } + /// Executes a withdraw request for a delegator. /// /// # Arguments @@ -159,10 +193,7 @@ impl Pallet { /// /// Returns an error if the user is not a delegator, if there are no withdraw requests, or if /// the withdraw request is not ready. - pub fn process_execute_withdraw( - who: T::AccountId, - evm_address: Option, - ) -> DispatchResult { + pub fn process_execute_withdraw(who: T::AccountId) -> DispatchResult { Delegators::::try_mutate(&who, |maybe_metadata| { let metadata = maybe_metadata.as_mut().ok_or(Error::::NotDelegator)?; @@ -172,10 +203,8 @@ impl Pallet { let current_round = Self::current_round(); let delay = T::LeaveDelegatorsDelay::get(); - // Process all ready withdraw requests - let mut i = 0; - while i < metadata.withdraw_requests.len() { - let request = &metadata.withdraw_requests[i]; + // Process all ready withdraw requests using retain + metadata.withdraw_requests.retain(|request| { if current_round >= delay + request.requested_round { let transfer_success = match request.asset_id { Asset::Custom(asset_id) => T::Fungibles::transfer( @@ -186,35 +215,21 @@ impl Pallet { Preservation::Expendable, ) .is_ok(), - Asset::Erc20(asset_address) => { - if let Some(evm_addr) = evm_address { - if let Ok((success, _weight)) = Self::erc20_transfer( - asset_address, - &Self::pallet_evm_account(), - evm_addr, - request.amount, - ) { - success - } else { - false - } - } else { - false - } + Asset::Erc20(_) => { + // Handled by the Precompile, always return true + // + // Note to the reader: This is set to true with the assumption that the + // if the precompiled failed to transfer the funds, after this call, the whole + // transaction will be reverted. This is a safe assumption because the precompile + // will revert the transaction if the transfer fails. + true }, }; - - if transfer_success { - // Remove the completed request - metadata.withdraw_requests.remove(i); - } else { - // Only increment if we didn't remove the request - i += 1; - } + !transfer_success } else { - i += 1; + true } - } + }); Ok(()) }) diff --git a/pallets/multi-asset-delegation/src/lib.rs b/pallets/multi-asset-delegation/src/lib.rs index 49c01d7a..a8b1c797 100644 --- a/pallets/multi-asset-delegation/src/lib.rs +++ b/pallets/multi-asset-delegation/src/lib.rs @@ -756,8 +756,14 @@ pub mod pallet { #[pallet::call_index(12)] #[pallet::weight(Weight::from_parts(10_000, 0) + T::DbWeight::get().writes(1))] pub fn execute_withdraw(origin: OriginFor, evm_address: Option) -> DispatchResult { - let who = ensure_signed(origin)?; - Self::process_execute_withdraw(who.clone(), evm_address)?; + let who = match evm_address { + Some(addr) => { + ensure_pallet::(origin)?; + T::EvmAddressMapping::into_account_id(addr) + }, + None => ensure_signed(origin)?, + }; + Self::process_execute_withdraw(who.clone())?; Self::deposit_event(Event::Executedwithdraw { who }); Ok(()) } diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 30b98119..346a65f1 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -138,12 +138,33 @@ where #[precompile::public("executeWithdraw()")] fn execute_withdraw(handle: &mut impl PrecompileHandle) -> EvmResult { handle.record_cost(RuntimeHelper::::db_read_gas_cost())?; - let origin = Runtime::AddressMapping::into_account_id(handle.context().caller); + let caller = handle.context().caller; + let who = Runtime::AddressMapping::into_account_id(caller); + + let pallet_account_id = pallet_multi_asset_delegation::Pallet::::pallet_account(); + let pallet_address = pallet_multi_asset_delegation::Pallet::::pallet_evm_account(); + + let snapshot = + pallet_multi_asset_delegation::Pallet::::ready_withdraw_requests(&who) + .map_err(|_| revert("Failed to get ready withdraw requests"))?; + + let erc20_transfers = snapshot.filter_map(|request| match request.asset_id { + Asset::Erc20(token) => Some((token, request.amount)), + _ => None, + }); + + for (token, amount) in erc20_transfers { + let v: U256 = amount.try_into().map_err(|_| revert("Invalid amount"))?; + if !erc20_transfer(handle, token.into(), pallet_address.into(), caller.into(), v)? { + return Err(revert("Failed to transfer ERC20 tokens")); + } + } + let call = pallet_multi_asset_delegation::Call::::execute_withdraw { - evm_address: Some(handle.context().caller), + evm_address: Some(caller), }; - RuntimeHelper::::try_dispatch(handle, Some(origin).into(), call)?; + RuntimeHelper::::try_dispatch(handle, Some(pallet_account_id).into(), call)?; // TODO: Execute the ERC20 Transfers here. From 10b3ff1c0f87075a67eeba9b683545328f60acf2 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Wed, 8 Jan 2025 16:56:35 +0200 Subject: [PATCH 05/19] feat: add test for withdrawl from the precompile --- node/tests/evm_restaking.rs | 64 +++++++++++++++++++ precompiles/multi-asset-delegation/src/lib.rs | 17 ++--- 2 files changed, 71 insertions(+), 10 deletions(-) diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index e147bc9d..27a3a5d8 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -424,3 +424,67 @@ fn operator_join_delegator_delegate_asset_id() { anyhow::Ok(()) }); } + +#[test] +fn deposits_withdraw() { + run_mad_test(|t| async move { + // Setup Bob as delegator + let bob = TestAccount::Bob; + let bob_provider = alloy_provider_with_wallet(&t.provider, bob.evm_wallet()); + let usdc = MockERC20::new(t.usdc, &bob_provider); + + // Mint USDC for Bob + let mint_amount = U256::from(100_000_000u128); + usdc.mint(bob.address(), mint_amount).send().await?.get_receipt().await?; + + let bob_balance = usdc.balanceOf(bob.address()).call().await?; + assert_eq!(bob_balance._0, mint_amount); + + // Delegate assets + let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); + let delegate_amount = mint_amount.div(U256::from(2)); + + // Deposit and delegate + let deposit_result = precompile + .deposit(U256::ZERO, *usdc.address(), delegate_amount) + .from(bob.address()) + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + assert!(deposit_result.status()); + + let withdraw_amount = delegate_amount.div(U256::from(2)); + // Schedule a withdrawal + let sch_withdraw_result = precompile + .scheduleWithdraw(U256::ZERO, *usdc.address(), withdraw_amount) + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + assert!(sch_withdraw_result.status()); + + // Execute the withdrawal + let exec_withdraw_result = precompile + .executeWithdraw() + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + + assert!(exec_withdraw_result.status()); + + // Bob deposited `delegate_amount` and withdrew `withdraw_amount` + // `delegate_amount` is 1/2 of the minted amount + // `withdraw_amount` is 1/2 of the deposited amount + // So, Bob should have `mint_amount - delegate_amount + withdraw_amount` USDC + let expected_balance = mint_amount - delegate_amount + withdraw_amount; + let bob_balance = usdc.balanceOf(bob.address()).call().await?; + assert_eq!(bob_balance._0, expected_balance); + + anyhow::Ok(()) + }) +} diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 346a65f1..cda7a947 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -147,6 +147,9 @@ where let snapshot = pallet_multi_asset_delegation::Pallet::::ready_withdraw_requests(&who) .map_err(|_| revert("Failed to get ready withdraw requests"))?; + if snapshot.size_hint().0 == 0 { + return Err(revert("No ready withdraw requests")); + } let erc20_transfers = snapshot.filter_map(|request| match request.asset_id { Asset::Erc20(token) => Some((token, request.amount)), @@ -166,8 +169,6 @@ where RuntimeHelper::::try_dispatch(handle, Some(pallet_account_id).into(), call)?; - // TODO: Execute the ERC20 Transfers here. - Ok(()) } @@ -301,17 +302,13 @@ where handle.record_cost(RuntimeHelper::::db_read_gas_cost())?; let caller = handle.context().caller; + let who = Runtime::AddressMapping::into_account_id(caller); - let (who, deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { + let (deposit_asset, amount) = match (asset_id.as_u128(), token_address.0 .0) { (0, erc20_token) if erc20_token != [0; 20] => { - let who = pallet_multi_asset_delegation::Pallet::::pallet_account(); - (who, Asset::Erc20(erc20_token.into()), amount) + (Asset::Erc20(erc20_token.into()), amount) }, - (other_asset_id, _) => ( - Runtime::AddressMapping::into_account_id(caller), - Asset::Custom(other_asset_id.into()), - amount, - ), + (other_asset_id, _) => (Asset::Custom(other_asset_id.into()), amount), }; RuntimeHelper::::try_dispatch( From 9d7904fec93fd4633d1ed955998f2e73ec992d89 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Wed, 8 Jan 2025 21:22:24 +0200 Subject: [PATCH 06/19] feat: add Round changes when session changes. --- .../src/functions/deposit.rs | 6 ++-- pallets/multi-asset-delegation/src/lib.rs | 34 ++++++++++++++++++- pallets/multi-asset-delegation/src/mock.rs | 6 ++-- .../src/tests/deposit.rs | 2 +- precompiles/multi-asset-delegation/src/lib.rs | 3 -- .../multi-asset-delegation/src/tests.rs | 6 +++- runtime/mainnet/src/lib.rs | 5 +-- runtime/testnet/src/lib.rs | 5 +-- 8 files changed, 51 insertions(+), 16 deletions(-) diff --git a/pallets/multi-asset-delegation/src/functions/deposit.rs b/pallets/multi-asset-delegation/src/functions/deposit.rs index 22336d51..8e8f2291 100644 --- a/pallets/multi-asset-delegation/src/functions/deposit.rs +++ b/pallets/multi-asset-delegation/src/functions/deposit.rs @@ -170,9 +170,9 @@ impl Pallet { who: &T::AccountId, ) -> Result>>, Error> { let metadata = Delegators::::get(who).ok_or(Error::::NotDelegator)?; - let iter = metadata.withdraw_requests.into_iter().filter_map(|request| { - let current_round = Self::current_round(); - let delay = T::LeaveDelegatorsDelay::get(); + let delay = T::LeaveOperatorsDelay::get(); + let current_round = Self::current_round(); + let iter = metadata.withdraw_requests.into_iter().filter_map(move |request| { if current_round >= delay + request.requested_round { Some(request) } else { diff --git a/pallets/multi-asset-delegation/src/lib.rs b/pallets/multi-asset-delegation/src/lib.rs index a8b1c797..49294d31 100644 --- a/pallets/multi-asset-delegation/src/lib.rs +++ b/pallets/multi-asset-delegation/src/lib.rs @@ -83,7 +83,10 @@ pub mod pallet { use crate::types::{delegator::DelegatorBlueprintSelection, *}; use frame_support::{ pallet_prelude::*, - traits::{tokens::fungibles, Currency, Get, LockableCurrency, ReservableCurrency}, + traits::{ + tokens::fungibles, Currency, Get, LockableCurrency, OneSessionHandler, + ReservableCurrency, + }, PalletId, }; use frame_system::pallet_prelude::*; @@ -1013,4 +1016,33 @@ pub mod pallet { Ok(()) } } + + impl BoundToRuntimeAppPublic for Pallet { + type Public = T::AuthorityId; + } + + impl OneSessionHandler for Pallet { + type Key = T::AuthorityId; + fn on_genesis_session<'a, I: 'a>(_validators: I) + where + I: Iterator, + { + CurrentRound::::put(0); + } + fn on_new_session<'a, I: 'a>(_changed: bool, _validators: I, _queued_validators: I) + where + I: Iterator, + { + // Increment the current round. + CurrentRound::::mutate(|r| *r += 1); + } + + fn on_before_session_ending() { + // Ignore + } + + fn on_disabled(_i: u32) { + // ignore + } + } } diff --git a/pallets/multi-asset-delegation/src/mock.rs b/pallets/multi-asset-delegation/src/mock.rs index f005288b..e3263fee 100644 --- a/pallets/multi-asset-delegation/src/mock.rs +++ b/pallets/multi-asset-delegation/src/mock.rs @@ -42,7 +42,7 @@ use sp_runtime::DispatchError; use sp_runtime::{ testing::UintAuthorityId, traits::{ConvertInto, IdentityLookup}, - AccountId32, BuildStorage, Perbill, + AccountId32, BoundToRuntimeAppPublic, BuildStorage, Perbill, }; use tangle_primitives::services::{EvmAddressMapping, EvmGasWeightMapping, EvmRunner}; use tangle_primitives::traits::RewardsManager; @@ -145,7 +145,7 @@ impl OneSessionHandler for MockSessionHandler { fn on_disabled(_validator_index: u32) {} } -impl sp_runtime::BoundToRuntimeAppPublic for MockSessionHandler { +impl BoundToRuntimeAppPublic for MockSessionHandler { type Public = UintAuthorityId; } @@ -173,7 +173,7 @@ impl pallet_session::Config for Runtime { type Keys = MockSessionKeys; type ShouldEndSession = pallet_session::PeriodicSessions; type NextSessionRotation = pallet_session::PeriodicSessions; - type SessionHandler = (MockSessionHandler,); + type SessionHandler = (MultiAssetDelegation,); type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; type ValidatorIdOf = pallet_staking::StashOf; diff --git a/pallets/multi-asset-delegation/src/tests/deposit.rs b/pallets/multi-asset-delegation/src/tests/deposit.rs index df062bc7..5802e0aa 100644 --- a/pallets/multi-asset-delegation/src/tests/deposit.rs +++ b/pallets/multi-asset-delegation/src/tests/deposit.rs @@ -341,7 +341,7 @@ fn execute_withdraw_should_work() { )); // Simulate round passing - let current_round = 1; + let current_round = 2; >::put(current_round); assert_ok!(MultiAssetDelegation::execute_withdraw( diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index cda7a947..91d2a682 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -147,9 +147,6 @@ where let snapshot = pallet_multi_asset_delegation::Pallet::::ready_withdraw_requests(&who) .map_err(|_| revert("Failed to get ready withdraw requests"))?; - if snapshot.size_hint().0 == 0 { - return Err(revert("No ready withdraw requests")); - } let erc20_transfers = snapshot.filter_map(|request| match request.asset_id { Asset::Erc20(token) => Some((token, request.amount)), diff --git a/precompiles/multi-asset-delegation/src/tests.rs b/precompiles/multi-asset-delegation/src/tests.rs index e3aaf323..e6b65aeb 100644 --- a/precompiles/multi-asset-delegation/src/tests.rs +++ b/precompiles/multi-asset-delegation/src/tests.rs @@ -297,7 +297,11 @@ fn test_execute_withdraw() { ) .execute_returns(()); - >::put(3); + let metadata = MultiAssetDelegation::delegators(delegator_account).unwrap(); + assert_eq!(metadata.deposits.get(&Asset::Custom(1)), None); + assert!(!metadata.withdraw_requests.is_empty()); + + >::put(5); PrecompilesValue::get() .prepare_test(TestAccount::Alex, H160::from_low_u64_be(1), PCall::execute_withdraw {}) diff --git a/runtime/mainnet/src/lib.rs b/runtime/mainnet/src/lib.rs index f8071633..75c1757d 100644 --- a/runtime/mainnet/src/lib.rs +++ b/runtime/mainnet/src/lib.rs @@ -74,8 +74,8 @@ use sp_runtime::{ transaction_validity::{ TransactionPriority, TransactionSource, TransactionValidity, TransactionValidityError, }, - ApplyExtrinsicResult, FixedPointNumber, FixedU128, Perquintill, RuntimeDebug, - SaturatedConversion, + ApplyExtrinsicResult, BoundToRuntimeAppPublic, FixedPointNumber, FixedU128, Perquintill, + RuntimeDebug, SaturatedConversion, }; use sp_staking::currency_to_vote::U128CurrencyToVote; use tangle_primitives::services::RpcServicesWithBlueprint; @@ -1263,6 +1263,7 @@ impl pallet_multi_asset_delegation::Config for Runtime { type MinDelegateAmount = MinDelegateAmount; type Fungibles = Assets; type AssetId = AssetId; + type AuthorityId = ::Public; type ForceOrigin = frame_system::EnsureRoot; type PalletId = PID; type SlashedAmountRecipient = TreasuryAccount; diff --git a/runtime/testnet/src/lib.rs b/runtime/testnet/src/lib.rs index 5316ec60..c40afab0 100644 --- a/runtime/testnet/src/lib.rs +++ b/runtime/testnet/src/lib.rs @@ -77,8 +77,8 @@ use sp_runtime::{ transaction_validity::{ TransactionPriority, TransactionSource, TransactionValidity, TransactionValidityError, }, - ApplyExtrinsicResult, FixedPointNumber, FixedU128, Perquintill, RuntimeDebug, - SaturatedConversion, + ApplyExtrinsicResult, BoundToRuntimeAppPublic, FixedPointNumber, FixedU128, Perquintill, + RuntimeDebug, SaturatedConversion, }; use sp_std::{prelude::*, vec::Vec}; #[cfg(feature = "std")] @@ -1489,6 +1489,7 @@ impl pallet_multi_asset_delegation::Config for Runtime { type DelegationBondLessDelay = ConstU32<5>; type MinDelegateAmount = MinDelegateAmount; type Fungibles = Assets; + type AuthorityId = ::Public; type AssetId = AssetId; type SlashedAmountRecipient = TreasuryAccount; type ForceOrigin = frame_system::EnsureRoot; From abfa97276226901ddc1cfb71b58e9374a72206b4 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Wed, 8 Jan 2025 21:27:28 +0200 Subject: [PATCH 07/19] fix: round changes when session changes tests --- .../src/tests/session_manager.rs | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pallets/multi-asset-delegation/src/tests/session_manager.rs b/pallets/multi-asset-delegation/src/tests/session_manager.rs index 411c505c..24fa8d50 100644 --- a/pallets/multi-asset-delegation/src/tests/session_manager.rs +++ b/pallets/multi-asset-delegation/src/tests/session_manager.rs @@ -16,7 +16,7 @@ use super::*; use crate::CurrentRound; use frame_support::assert_noop; -use frame_support::assert_ok; +use frame_support::{assert_ok, traits::OnInitialize}; use sp_keyring::AccountKeyring::{Alice, Bob, Charlie, Dave}; use tangle_primitives::services::Asset; @@ -172,3 +172,23 @@ fn handle_round_change_with_unstake_should_work() { assert_eq!(snapshot2.delegations[0].asset_id, asset_id); }); } + +#[test] +fn round_should_change_on_new_sessions() { + new_test_ext().execute_with(|| { + let current_round = MultiAssetDelegation::current_round(); + assert_eq!(current_round, 1); + + // Create a new session + System::set_block_number(2); + Session::on_initialize(2); + let current_round = MultiAssetDelegation::current_round(); + assert_eq!(current_round, 2); + + // Create a new session + System::set_block_number(3); + Session::on_initialize(3); + let current_round = MultiAssetDelegation::current_round(); + assert_eq!(current_round, 3); + }); +} From dedc53078988db6dd648df8d83315ccc976e79f6 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 14:12:12 +0200 Subject: [PATCH 08/19] fix: round changes when session changes using session manager --- .github/workflows/checks.yml | 2 +- node/tests/evm_restaking.rs | 24 +++ pallets/multi-asset-delegation/Cargo.toml | 150 +++++++++--------- .../src/functions/deposit.rs | 2 +- .../src/functions/session_manager.rs | 10 +- pallets/multi-asset-delegation/src/lib.rs | 45 +++--- pallets/multi-asset-delegation/src/mock.rs | 6 +- .../src/tests/session_manager.rs | 4 +- runtime/mainnet/src/lib.rs | 10 +- runtime/testnet/src/lib.rs | 49 ++++-- 10 files changed, 172 insertions(+), 130 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8061fec9..59458e2e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -94,7 +94,7 @@ jobs: run: sudo apt-get install protobuf-compiler - name: Run End to End test suite - run: cargo nextest run -rp tangle -F manual-seal,testnet,txpool --profile ci --nocapture + run: cargo nextest run -rp tangle -F manual-seal,testnet,txpool,fast-runtime --profile ci --nocapture clippy: concurrency: diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index 27a3a5d8..c3fe6d50 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -11,6 +11,7 @@ use core::time::Duration; use alloy::primitives::*; use alloy::providers::Provider; use alloy::sol; +use anyhow::bail; use sp_runtime::traits::AccountIdConversion; use sp_tracing::{error, info}; use tangle_runtime::PalletId; @@ -54,6 +55,25 @@ pub async fn wait_for_more_blocks(provider: &impl Provider, blocks: u64) { wait_for_block(provider, current_block + blocks).await; } +/// Waits for the next session to start and returns the session index +pub async fn wait_for_next_session( + client: &subxt::OnlineClient, +) -> anyhow::Result { + let mut new_blocks = client.blocks().subscribe_best().await?; + loop { + if let Some(Ok(block)) = new_blocks.next().await { + let evs = block.events().await?; + if let Some(new_session) = evs.find_first::()? { + return Ok(new_session.session_index); + } else { + info!("No new session event found in block #{}", block.number()); + } + } else { + bail!("Error while waiting for new blocks"); + } + } +} + /// Deploys and initializes an ERC20 token contract async fn deploy_erc20( provider: AlloyProviderWithWallet, @@ -466,6 +486,10 @@ fn deposits_withdraw() { .await?; assert!(sch_withdraw_result.status()); + // Wait for two new sessions to happen + let session_index = wait_for_next_session(&t.subxt).await?; + info!("New session started: {}", session_index); + // Execute the withdrawal let exec_withdraw_result = precompile .executeWithdraw() diff --git a/pallets/multi-asset-delegation/Cargo.toml b/pallets/multi-asset-delegation/Cargo.toml index 581d8982..c8b13647 100644 --- a/pallets/multi-asset-delegation/Cargo.toml +++ b/pallets/multi-asset-delegation/Cargo.toml @@ -58,9 +58,9 @@ pallet-evm-precompile-simple = { workspace = true, optional = true } precompile-utils = { workspace = true, optional = true } sp-keyring = { workspace = true, optional = true } pallet-timestamp = { workspace = true, optional = true } -pallet-session = { workspace = true, optional = true } +pallet-session = { workspace = true } pallet-staking = { workspace = true, optional = true } -sp-staking = { workspace = true, optional = true } +sp-staking = { workspace = true } frame-election-provider-support = { workspace = true, optional = true } [dev-dependencies] @@ -106,83 +106,81 @@ frame-election-provider-support = { workspace = true } [features] default = ["std"] std = [ - "scale-info/std", - "sp-runtime/std", - "frame-benchmarking?/std", - "frame-support/std", - "frame-system/std", - "sp-core/std", - "sp-std/std", - "pallet-balances/std", - "pallet-assets/std", - "tangle-primitives/std", - "ethabi/std", - "log/std", - "fp-evm/std", - "serde/std", - "hex/std", - "pallet-evm-precompile-modexp/std", - "pallet-evm-precompile-sha3fips/std", - "pallet-evm-precompile-simple/std", - "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-bn128/std", - "pallet-evm-precompile-curve25519/std", - "pallet-evm-precompile-ed25519/std", - "precompile-utils/std", - "pallet-staking/std", - "fp-account/std", - "fp-consensus/std", - "fp-dynamic-fee/std", - "fp-ethereum/std", - "fp-evm/std", - "fp-rpc/std", - "fp-self-contained/std", - "fp-storage/std", - "ethabi/std", - "sp-keyring/std", - "pallet-ethereum/std", + "scale-info/std", + "sp-runtime/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "sp-core/std", + "sp-std/std", + "pallet-balances/std", + "pallet-assets/std", + "tangle-primitives/std", + "ethabi/std", + "log/std", + "fp-evm/std", + "serde/std", + "hex/std", + "pallet-evm-precompile-modexp/std", + "pallet-evm-precompile-sha3fips/std", + "pallet-evm-precompile-simple/std", + "pallet-evm-precompile-blake2/std", + "pallet-evm-precompile-bn128/std", + "pallet-evm-precompile-curve25519/std", + "pallet-evm-precompile-ed25519/std", + "precompile-utils/std", + "pallet-staking/std", + "fp-account/std", + "fp-consensus/std", + "fp-dynamic-fee/std", + "fp-ethereum/std", + "fp-evm/std", + "fp-rpc/std", + "fp-self-contained/std", + "fp-storage/std", + "ethabi/std", + "sp-keyring/std", + "pallet-ethereum/std", ] try-runtime = ["frame-support/try-runtime"] runtime-benchmarks = [ - "frame-benchmarking/runtime-benchmarks", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", ] fuzzing = [ - "ethereum", - "ethers", - "num_enum", - "hex-literal", - "libsecp256k1", - "serde_json", - "smallvec", - "sp-keystore", - "fp-account", - "fp-consensus", - "fp-dynamic-fee", - "fp-ethereum", - "fp-rpc", - "fp-self-contained", - "fp-storage", - "pallet-base-fee", - "pallet-dynamic-fee", - "pallet-ethereum", - "pallet-evm", - "pallet-evm-chain-id", - "pallet-evm-precompile-blake2", - "pallet-evm-precompile-bn128", - "pallet-evm-precompile-curve25519", - "pallet-evm-precompile-ed25519", - "pallet-evm-precompile-modexp", - "pallet-evm-precompile-sha3fips", - "pallet-evm-precompile-simple", - "precompile-utils", - "sp-keyring", - "pallet-timestamp", - "pallet-session", - "pallet-staking", - "sp-staking", - "frame-election-provider-support", + "ethereum", + "ethers", + "num_enum", + "hex-literal", + "libsecp256k1", + "serde_json", + "smallvec", + "sp-keystore", + "fp-account", + "fp-consensus", + "fp-dynamic-fee", + "fp-ethereum", + "fp-rpc", + "fp-self-contained", + "fp-storage", + "pallet-base-fee", + "pallet-dynamic-fee", + "pallet-ethereum", + "pallet-evm", + "pallet-evm-chain-id", + "pallet-evm-precompile-blake2", + "pallet-evm-precompile-bn128", + "pallet-evm-precompile-curve25519", + "pallet-evm-precompile-ed25519", + "pallet-evm-precompile-modexp", + "pallet-evm-precompile-sha3fips", + "pallet-evm-precompile-simple", + "precompile-utils", + "sp-keyring", + "pallet-timestamp", + "pallet-staking", + "frame-election-provider-support", ] diff --git a/pallets/multi-asset-delegation/src/functions/deposit.rs b/pallets/multi-asset-delegation/src/functions/deposit.rs index 8e8f2291..ae9dcf1c 100644 --- a/pallets/multi-asset-delegation/src/functions/deposit.rs +++ b/pallets/multi-asset-delegation/src/functions/deposit.rs @@ -170,7 +170,7 @@ impl Pallet { who: &T::AccountId, ) -> Result>>, Error> { let metadata = Delegators::::get(who).ok_or(Error::::NotDelegator)?; - let delay = T::LeaveOperatorsDelay::get(); + let delay = T::LeaveDelegatorsDelay::get(); let current_round = Self::current_round(); let iter = metadata.withdraw_requests.into_iter().filter_map(move |request| { if current_round >= delay + request.requested_round { diff --git a/pallets/multi-asset-delegation/src/functions/session_manager.rs b/pallets/multi-asset-delegation/src/functions/session_manager.rs index 050f3b70..a7024ed0 100644 --- a/pallets/multi-asset-delegation/src/functions/session_manager.rs +++ b/pallets/multi-asset-delegation/src/functions/session_manager.rs @@ -16,12 +16,10 @@ use super::*; use crate::{types::*, Pallet}; -use frame_support::pallet_prelude::DispatchResult; - impl Pallet { - pub fn handle_round_change() -> DispatchResult { - // Increment the current round - CurrentRound::::mutate(|round| *round += 1); + pub fn handle_round_change(i: u32) { + // Set the current round + CurrentRound::::put(i); let current_round = Self::current_round(); // Iterate through all operators and build their snapshots @@ -35,7 +33,5 @@ impl Pallet { // Store the snapshot in AtStake storage AtStake::::insert(current_round, operator.clone(), snapshot); } - - Ok(()) } } diff --git a/pallets/multi-asset-delegation/src/lib.rs b/pallets/multi-asset-delegation/src/lib.rs index 49294d31..864b6416 100644 --- a/pallets/multi-asset-delegation/src/lib.rs +++ b/pallets/multi-asset-delegation/src/lib.rs @@ -83,16 +83,15 @@ pub mod pallet { use crate::types::{delegator::DelegatorBlueprintSelection, *}; use frame_support::{ pallet_prelude::*, - traits::{ - tokens::fungibles, Currency, Get, LockableCurrency, OneSessionHandler, - ReservableCurrency, - }, + traits::{tokens::fungibles, Currency, Get, LockableCurrency, ReservableCurrency}, PalletId, }; use frame_system::pallet_prelude::*; + use pallet_session::SessionManager; use scale_info::TypeInfo; use sp_core::H160; use sp_runtime::traits::{MaybeSerializeDeserialize, Member}; + use sp_staking::SessionIndex; use sp_std::{fmt::Debug, prelude::*, vec::Vec}; use tangle_primitives::traits::RewardsManager; use tangle_primitives::types::rewards::LockMultiplier; @@ -1017,32 +1016,26 @@ pub mod pallet { } } - impl BoundToRuntimeAppPublic for Pallet { - type Public = T::AuthorityId; - } + /// A Session Manager that wraps another session manager and handles round changes. + pub struct RoundChangeSessionManager(core::marker::PhantomData<(T, I)>); - impl OneSessionHandler for Pallet { - type Key = T::AuthorityId; - fn on_genesis_session<'a, I: 'a>(_validators: I) - where - I: Iterator, - { - CurrentRound::::put(0); + impl SessionManager for RoundChangeSessionManager + where + T: Config, + I: SessionManager, + { + fn new_session_genesis(i: SessionIndex) -> Option> { + I::new_session_genesis(i) } - fn on_new_session<'a, I: 'a>(_changed: bool, _validators: I, _queued_validators: I) - where - I: Iterator, - { - // Increment the current round. - CurrentRound::::mutate(|r| *r += 1); + fn new_session(i: SessionIndex) -> Option> { + I::new_session(i) } - - fn on_before_session_ending() { - // Ignore + fn start_session(i: SessionIndex) { + Pallet::::handle_round_change(i); + I::start_session(i) } - - fn on_disabled(_i: u32) { - // ignore + fn end_session(i: SessionIndex) { + I::end_session(i) } } } diff --git a/pallets/multi-asset-delegation/src/mock.rs b/pallets/multi-asset-delegation/src/mock.rs index e3263fee..1d0e6c86 100644 --- a/pallets/multi-asset-delegation/src/mock.rs +++ b/pallets/multi-asset-delegation/src/mock.rs @@ -41,7 +41,7 @@ use sp_keystore::{testing::MemoryKeystore, KeystoreExt, KeystorePtr}; use sp_runtime::DispatchError; use sp_runtime::{ testing::UintAuthorityId, - traits::{ConvertInto, IdentityLookup}, + traits::{ConvertInto, IdentityLookup, OpaqueKeys}, AccountId32, BoundToRuntimeAppPublic, BuildStorage, Perbill, }; use tangle_primitives::services::{EvmAddressMapping, EvmGasWeightMapping, EvmRunner}; @@ -169,11 +169,11 @@ parameter_types! { } impl pallet_session::Config for Runtime { - type SessionManager = MockSessionManager; + type SessionManager = pallet::RoundChangeSessionManager; type Keys = MockSessionKeys; type ShouldEndSession = pallet_session::PeriodicSessions; type NextSessionRotation = pallet_session::PeriodicSessions; - type SessionHandler = (MultiAssetDelegation,); + type SessionHandler = ::KeyTypeIdProviders; type RuntimeEvent = RuntimeEvent; type ValidatorId = AccountId; type ValidatorIdOf = pallet_staking::StashOf; diff --git a/pallets/multi-asset-delegation/src/tests/session_manager.rs b/pallets/multi-asset-delegation/src/tests/session_manager.rs index 24fa8d50..970375cb 100644 --- a/pallets/multi-asset-delegation/src/tests/session_manager.rs +++ b/pallets/multi-asset-delegation/src/tests/session_manager.rs @@ -55,7 +55,7 @@ fn handle_round_change_should_work() { Default::default(), )); - assert_ok!(Pallet::::handle_round_change()); + Pallet::::handle_round_change(2); // Assert let current_round = MultiAssetDelegation::current_round(); @@ -149,7 +149,7 @@ fn handle_round_change_with_unstake_should_work() { unstake_amount, )); - assert_ok!(Pallet::::handle_round_change()); + Pallet::::handle_round_change(2); // Assert let current_round = MultiAssetDelegation::current_round(); diff --git a/runtime/mainnet/src/lib.rs b/runtime/mainnet/src/lib.rs index 75c1757d..ec5f0101 100644 --- a/runtime/mainnet/src/lib.rs +++ b/runtime/mainnet/src/lib.rs @@ -48,8 +48,9 @@ use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; +use pallet_multi_asset_delegation::RoundChangeSessionManager; use pallet_services_rpc_runtime_api::BlockNumberOf; -use pallet_session::historical as pallet_session_historical; +use pallet_session::historical::{self as pallet_session_historical, NoteHistoricalRoot}; pub use pallet_staking::StakerStatus; #[allow(deprecated)] use pallet_transaction_payment::{ @@ -74,8 +75,8 @@ use sp_runtime::{ transaction_validity::{ TransactionPriority, TransactionSource, TransactionValidity, TransactionValidityError, }, - ApplyExtrinsicResult, BoundToRuntimeAppPublic, FixedPointNumber, FixedU128, Perquintill, - RuntimeDebug, SaturatedConversion, + ApplyExtrinsicResult, FixedPointNumber, FixedU128, Perquintill, RuntimeDebug, + SaturatedConversion, }; use sp_staking::currency_to_vote::U128CurrencyToVote; use tangle_primitives::services::RpcServicesWithBlueprint; @@ -407,7 +408,7 @@ impl pallet_session::Config for Runtime { type ValidatorIdOf = pallet_staking::StashOf; type ShouldEndSession = Babe; type NextSessionRotation = Babe; - type SessionManager = pallet_session::historical::NoteHistoricalRoot; + type SessionManager = RoundChangeSessionManager>; type SessionHandler = ::KeyTypeIdProviders; type Keys = SessionKeys; type WeightInfo = pallet_session::weights::SubstrateWeight; @@ -1263,7 +1264,6 @@ impl pallet_multi_asset_delegation::Config for Runtime { type MinDelegateAmount = MinDelegateAmount; type Fungibles = Assets; type AssetId = AssetId; - type AuthorityId = ::Public; type ForceOrigin = frame_system::EnsureRoot; type PalletId = PID; type SlashedAmountRecipient = TreasuryAccount; diff --git a/runtime/testnet/src/lib.rs b/runtime/testnet/src/lib.rs index c40afab0..57e8c3cb 100644 --- a/runtime/testnet/src/lib.rs +++ b/runtime/testnet/src/lib.rs @@ -50,8 +50,9 @@ use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; +use pallet_multi_asset_delegation::RoundChangeSessionManager; use pallet_services_rpc_runtime_api::BlockNumberOf; -use pallet_session::historical as pallet_session_historical; +use pallet_session::historical::{self as pallet_session_historical, NoteHistoricalRoot}; pub use pallet_staking::StakerStatus; #[allow(deprecated)] use pallet_transaction_payment::{ @@ -77,8 +78,8 @@ use sp_runtime::{ transaction_validity::{ TransactionPriority, TransactionSource, TransactionValidity, TransactionValidityError, }, - ApplyExtrinsicResult, BoundToRuntimeAppPublic, FixedPointNumber, FixedU128, Perquintill, - RuntimeDebug, SaturatedConversion, + ApplyExtrinsicResult, FixedPointNumber, FixedU128, Perquintill, RuntimeDebug, + SaturatedConversion, }; use sp_std::{prelude::*, vec::Vec}; #[cfg(feature = "std")] @@ -414,7 +415,7 @@ impl pallet_session::Config for Runtime { type ValidatorIdOf = pallet_staking::StashOf; type ShouldEndSession = Babe; type NextSessionRotation = Babe; - type SessionManager = pallet_session::historical::NoteHistoricalRoot; + type SessionManager = RoundChangeSessionManager>; type SessionHandler = ::KeyTypeIdProviders; type Keys = SessionKeys; type WeightInfo = (); @@ -1475,6 +1476,37 @@ parameter_types! { pub const MaxUnstakeRequests: u32 = 5; #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] pub const MaxDelegations: u32 = 50; + +} + +#[cfg(feature = "fast-runtime")] +parameter_types! { + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const LeaveOperatorsDelay: u32 = 1; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const LeaveDelegatorsDelay: u32 = 1; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const DelegationBondLessDelay: u32 = 1; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const OperatorBondLessDelay: u32 = 1; +} + +#[cfg(not(feature = "fast-runtime"))] +parameter_types! { + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const LeaveOperatorsDelay: u32 = 10; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const LeaveDelegatorsDelay: u32 = 10; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const DelegationBondLessDelay: u32 = 5; + + #[derive(PartialEq, Eq, Clone, Copy, Debug, Encode, Decode, MaxEncodedLen, TypeInfo)] + pub const OperatorBondLessDelay: u32 = 5; } impl pallet_multi_asset_delegation::Config for Runtime { @@ -1483,13 +1515,12 @@ impl pallet_multi_asset_delegation::Config for Runtime { type MinOperatorBondAmount = MinOperatorBondAmount; type BondDuration = BondDuration; type ServiceManager = Services; - type LeaveOperatorsDelay = ConstU32<10>; - type OperatorBondLessDelay = ConstU32<1>; - type LeaveDelegatorsDelay = ConstU32<1>; - type DelegationBondLessDelay = ConstU32<5>; + type LeaveOperatorsDelay = LeaveOperatorsDelay; + type OperatorBondLessDelay = OperatorBondLessDelay; + type LeaveDelegatorsDelay = LeaveDelegatorsDelay; + type DelegationBondLessDelay = DelegationBondLessDelay; type MinDelegateAmount = MinDelegateAmount; type Fungibles = Assets; - type AuthorityId = ::Public; type AssetId = AssetId; type SlashedAmountRecipient = TreasuryAccount; type ForceOrigin = frame_system::EnsureRoot; From e83998879dcf57932a1187a8cd78ec5a3cd38201 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 14:25:45 +0200 Subject: [PATCH 09/19] feat: add deposit and withdrawl using custom asset ids --- node/tests/evm_restaking.rs | 94 ++++++++++++++++++++++++++++++++++++- 1 file changed, 93 insertions(+), 1 deletion(-) diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index c3fe6d50..6ec87dc9 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -446,7 +446,7 @@ fn operator_join_delegator_delegate_asset_id() { } #[test] -fn deposits_withdraw() { +fn deposits_withdraw_erc20() { run_mad_test(|t| async move { // Setup Bob as delegator let bob = TestAccount::Bob; @@ -512,3 +512,95 @@ fn deposits_withdraw() { anyhow::Ok(()) }) } + +#[test] +fn deposits_withdraw_asset_id() { + run_mad_test(|t| async move { + let alice = TestAccount::Alice; + // Setup Bob as delegator + let bob = TestAccount::Bob; + let bob_provider = alloy_provider_with_wallet(&t.provider, bob.evm_wallet()); + + // Mint USDC for Bob + let mint_amount = U256::from(100_000_000u128); + let mint_call = api::tx().assets().mint( + t.usdc_asset_id, + bob.address().to_account_id().into(), + mint_amount.to::(), + ); + + let mut result = t + .subxt + .tx() + .sign_and_submit_then_watch_default(&mint_call, &alice.substrate_signer()) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("Issued event to be emitted"); + break; + } + } + + // Delegate assets + let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); + let delegate_amount = mint_amount.div(U256::from(2)); + + // Deposit and delegate + let deposit_result = precompile + .deposit(U256::from(t.usdc_asset_id), Address::ZERO, delegate_amount) + .from(bob.address()) + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + assert!(deposit_result.status()); + + let withdraw_amount = delegate_amount.div(U256::from(2)); + // Schedule a withdrawal + let sch_withdraw_result = precompile + .scheduleWithdraw(U256::from(t.usdc_asset_id), Address::ZERO, withdraw_amount) + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + assert!(sch_withdraw_result.status()); + + // Wait for two new sessions to happen + let session_index = wait_for_next_session(&t.subxt).await?; + info!("New session started: {}", session_index); + + // Execute the withdrawal + let exec_withdraw_result = precompile + .executeWithdraw() + .send() + .await? + .with_timeout(Some(Duration::from_secs(5))) + .get_receipt() + .await?; + + assert!(exec_withdraw_result.status()); + + // Bob deposited `delegate_amount` and withdrew `withdraw_amount` + // `delegate_amount` is 1/2 of the minted amount + // `withdraw_amount` is 1/2 of the deposited amount + // So, Bob should have `mint_amount - delegate_amount + withdraw_amount` USDC + let expected_balance = mint_amount - delegate_amount + withdraw_amount; + let balance_call = + api::storage().assets().account(t.usdc_asset_id, bob.address().to_account_id()); + let bob_balance = t.subxt.storage().at_latest().await?.fetch(&balance_call).await?; + assert_eq!(bob_balance.map(|b| b.balance), Some(expected_balance.to::())); + + anyhow::Ok(()) + }) +} From 26553a7e8481c60a837f99bca99407a5dd6b5ece Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 14:29:29 +0200 Subject: [PATCH 10/19] chore: fix clippy --- precompiles/multi-asset-delegation/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 91d2a682..417355e4 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -154,7 +154,7 @@ where }); for (token, amount) in erc20_transfers { - let v: U256 = amount.try_into().map_err(|_| revert("Invalid amount"))?; + let v: U256 = amount.into(); if !erc20_transfer(handle, token.into(), pallet_address.into(), caller.into(), v)? { return Err(revert("Failed to transfer ERC20 tokens")); } From ff7dac13edfdffd648ef9a73ab5ed6ad823a0be0 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 14:55:06 +0200 Subject: [PATCH 11/19] chore: update tangle subxt bindings --- .../metadata/tangle-testnet-runtime.scale | Bin 392133 -> 392180 bytes tangle-subxt/src/tangle_testnet_runtime.rs | 2237 +++++++++++------ 2 files changed, 1500 insertions(+), 737 deletions(-) diff --git a/tangle-subxt/metadata/tangle-testnet-runtime.scale b/tangle-subxt/metadata/tangle-testnet-runtime.scale index 75801c341f71bd16b4b93184bd5ccee1aa79e04c..b62033f51bc2890985a6c6f85cf883addec6c981 100644 GIT binary patch delta 229 zcmX^5UHr>;@rD-07N!>FEiBFF8Mkh4InUz4%=CqE`>9JT+f|tqWTrR&V0p>(f_Z!1 zPZlKs=7ulK+b46fDl;-2STTJE7i$1>gB9m=Zf;gjuv9oVYakOd!(yiCt9e<2KtkL2 zSS`6hiniNGvPyX|Hv}?nk4$FmV+OINze-~*W@acA+MbZkDrEsuw!C&es{o_P_PX_~ zF3gOq(+_WAEoS7JZoZlIlAc09VopwKiDwEgr$Rt}NpMMGb}CDXLP$ocLIGGty;vbJ TIXS;HuSCJqWjn_f*1hfkWKBz{ delta 182 zcmezJUHs^G@rD-07N!>FEiBFF8Mkb2InUz4%(R1h`>9JT+f|u1uuO0M!Sa%+Kzw`N zPZlKs<^wAjwom3{Rc2&TkeR-Ni#34xKqupLZf;gjuv9oVYakPILjl9|)x4}hAfau1 ztd`s$McZv8S*5&~9V{5OM<%oOF@spsU!}1YGdBn`Z%;^Pm9hXSTV6Y#Re;f8d)<0g a7iLDr>4!J576U2s&8(NUTWn$7;|>7920SeQ diff --git a/tangle-subxt/src/tangle_testnet_runtime.rs b/tangle-subxt/src/tangle_testnet_runtime.rs index 4ce6629e..0e4bb40d 100644 --- a/tangle-subxt/src/tangle_testnet_runtime.rs +++ b/tangle-subxt/src/tangle_testnet_runtime.rs @@ -1,4 +1,4 @@ -#[allow(dead_code, unused_imports, non_camel_case_types)] +#[allow(dead_code, unused_imports, non_camel_case_types, unreachable_patterns)] #[allow(clippy::all)] #[allow(rustdoc::broken_intra_doc_links)] pub mod api { @@ -70,13 +70,13 @@ pub mod api { "TxPoolRuntimeApi", "GenesisBuilder", ]; - #[doc = r" The error type returned when there is a runtime issue."] + #[doc = r" The error type that is returned when there is a runtime issue."] pub type DispatchError = runtime_types::sp_runtime::DispatchError; #[doc = r" The outer event enum."] pub type Event = runtime_types::tangle_testnet_runtime::RuntimeEvent; #[doc = r" The outer extrinsic enum."] pub type Call = runtime_types::tangle_testnet_runtime::RuntimeCall; - #[doc = r" The outer error enum representing the DispatchError's Module variant."] + #[doc = r" The outer error enum represents the DispatchError's Module variant."] pub type Error = runtime_types::tangle_testnet_runtime::RuntimeError; pub fn constants() -> ConstantsApi { ConstantsApi @@ -238,6 +238,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -264,6 +265,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -293,6 +295,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -393,6 +396,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -420,6 +424,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -448,6 +453,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -565,6 +571,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -594,6 +601,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -620,6 +628,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -649,6 +658,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -713,6 +723,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1118,6 +1129,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1144,6 +1156,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1171,6 +1184,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1198,6 +1212,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1225,6 +1240,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1252,6 +1268,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1305,6 +1322,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1365,6 +1383,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1404,6 +1423,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1433,6 +1453,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1462,6 +1483,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1503,6 +1525,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1531,6 +1554,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1560,6 +1584,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1585,6 +1610,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1622,6 +1648,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1651,6 +1678,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1707,6 +1735,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1778,6 +1807,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1839,6 +1869,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1928,6 +1959,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -1962,6 +1994,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2137,6 +2170,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2162,6 +2196,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2187,6 +2222,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2212,6 +2248,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2241,6 +2278,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2278,6 +2316,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2340,6 +2379,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2458,6 +2498,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2491,6 +2532,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2520,6 +2562,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2548,6 +2591,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2700,6 +2744,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2731,6 +2776,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2764,6 +2810,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2792,6 +2839,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2912,6 +2960,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2948,6 +2997,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -2999,6 +3049,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3066,6 +3117,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3192,6 +3244,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3223,6 +3276,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3252,6 +3306,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3623,9 +3678,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 139u8, 202u8, 130u8, 65u8, 102u8, 184u8, 20u8, 137u8, 180u8, 188u8, 67u8, 204u8, - 157u8, 248u8, 20u8, 229u8, 255u8, 166u8, 214u8, 231u8, 170u8, 30u8, 143u8, 124u8, - 72u8, 151u8, 116u8, 218u8, 126u8, 129u8, 148u8, 5u8, + 83u8, 92u8, 60u8, 232u8, 161u8, 29u8, 48u8, 238u8, 84u8, 44u8, 120u8, 124u8, 99u8, + 86u8, 193u8, 48u8, 169u8, 241u8, 198u8, 29u8, 169u8, 145u8, 68u8, 35u8, 85u8, + 179u8, 198u8, 227u8, 66u8, 186u8, 124u8, 221u8, ] } pub mod system { @@ -3652,6 +3707,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3684,6 +3740,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3713,6 +3770,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3743,6 +3801,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3776,6 +3835,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3808,6 +3868,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3839,6 +3900,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3874,6 +3936,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3904,6 +3967,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3936,6 +4000,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -3972,6 +4037,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -4237,6 +4303,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4262,6 +4329,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4289,6 +4357,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4308,6 +4377,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4333,6 +4403,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4358,6 +4429,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -4385,6 +4457,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -5147,6 +5220,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5339,6 +5413,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5368,6 +5443,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5404,6 +5480,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5437,6 +5514,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5474,6 +5552,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5610,6 +5689,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -5636,6 +5716,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -5663,6 +5744,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -5682,6 +5764,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -5801,6 +5884,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5856,6 +5940,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5914,6 +5999,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5954,6 +6040,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -5995,6 +6082,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6036,6 +6124,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6075,6 +6164,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6124,6 +6214,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6176,6 +6267,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6231,6 +6323,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6286,6 +6379,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6347,6 +6441,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6393,6 +6488,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6437,6 +6533,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6475,6 +6572,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6513,6 +6611,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6557,6 +6656,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6613,6 +6713,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6666,6 +6767,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6706,6 +6808,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6759,6 +6862,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6799,6 +6903,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6877,6 +6982,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6934,6 +7040,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -6981,6 +7088,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7033,6 +7141,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7093,6 +7202,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7131,6 +7241,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7172,6 +7283,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7215,6 +7327,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7259,6 +7372,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -7303,6 +7417,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -8347,6 +8462,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8376,6 +8492,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8405,6 +8522,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8436,6 +8554,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8465,6 +8584,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8496,6 +8616,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8523,6 +8644,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8550,6 +8672,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8577,6 +8700,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8602,6 +8726,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8627,6 +8752,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8656,6 +8782,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8685,6 +8812,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8710,6 +8838,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8735,6 +8864,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8762,6 +8892,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8795,6 +8926,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8820,6 +8952,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8851,6 +8984,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -8880,6 +9014,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -8914,6 +9049,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8939,6 +9075,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -8966,6 +9103,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -8995,6 +9133,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -9022,6 +9161,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -9051,6 +9191,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -9621,6 +9762,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9662,6 +9804,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9703,6 +9846,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9743,6 +9887,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9791,6 +9936,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9827,6 +9973,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9865,6 +10012,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9902,6 +10050,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -9938,6 +10087,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -10198,6 +10348,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10225,6 +10376,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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,"] @@ -10253,6 +10405,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10282,6 +10435,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10309,6 +10463,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10336,6 +10491,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10363,6 +10519,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10396,6 +10553,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10423,6 +10581,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10450,6 +10609,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10477,6 +10637,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10504,6 +10665,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10531,6 +10693,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -10558,6 +10721,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10585,6 +10749,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10610,6 +10775,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10635,6 +10801,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10660,6 +10827,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10687,6 +10855,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10714,6 +10883,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10741,6 +10911,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -10768,6 +10939,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -11288,6 +11460,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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,"] @@ -11475,6 +11648,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -11517,6 +11691,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -11563,6 +11738,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12303,6 +12479,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12343,6 +12520,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12388,6 +12566,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12526,6 +12705,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -12554,6 +12734,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -12573,6 +12754,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -12908,6 +13090,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12948,6 +13131,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -12993,6 +13177,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13033,6 +13218,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13081,6 +13267,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13274,6 +13461,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -13301,6 +13489,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -13326,6 +13515,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -13457,6 +13647,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13500,6 +13691,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13535,6 +13727,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13574,6 +13767,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13610,6 +13804,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13647,6 +13842,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13689,6 +13885,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13731,6 +13928,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13779,6 +13977,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13816,6 +14015,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13852,6 +14052,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13907,6 +14108,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13941,6 +14143,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -13968,6 +14171,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14006,6 +14210,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14061,6 +14266,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14109,6 +14315,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14154,6 +14361,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14190,6 +14398,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -14769,6 +14978,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14796,6 +15006,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14823,6 +15034,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14842,6 +15054,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14869,6 +15082,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14894,6 +15108,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14919,6 +15134,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14944,6 +15160,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14971,6 +15188,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -14996,6 +15214,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15025,6 +15244,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15050,6 +15270,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -15080,6 +15301,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -15107,6 +15329,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15132,6 +15355,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15159,6 +15383,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15186,6 +15411,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -15999,6 +16225,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16058,6 +16285,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16098,6 +16326,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16146,6 +16375,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16188,6 +16418,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16226,6 +16457,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16496,6 +16728,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -16528,6 +16761,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -16562,6 +16796,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -16587,6 +16822,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -16612,6 +16848,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -16640,6 +16877,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -16668,6 +16906,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -16958,6 +17197,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -16989,6 +17229,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17031,6 +17272,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17080,6 +17322,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17135,6 +17378,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17186,6 +17430,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17410,6 +17655,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -17438,6 +17684,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -17609,6 +17856,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17661,6 +17909,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17688,6 +17937,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17732,6 +17982,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17780,6 +18031,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -17831,6 +18083,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18063,6 +18316,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -18095,6 +18349,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -18115,6 +18370,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -18134,6 +18390,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -18160,6 +18417,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -18185,6 +18443,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -18215,6 +18474,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -18639,6 +18899,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18688,6 +18949,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18722,6 +18984,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18763,6 +19026,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18804,6 +19068,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -18981,6 +19246,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19018,6 +19284,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19046,6 +19313,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19067,6 +19335,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19094,6 +19363,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19121,6 +19391,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -19775,6 +20046,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -19824,6 +20096,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -19867,6 +20140,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -19915,6 +20189,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -19966,6 +20241,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -19999,6 +20275,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20042,6 +20319,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20074,6 +20352,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20116,6 +20395,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20152,6 +20432,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20187,6 +20468,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20223,6 +20505,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20258,6 +20541,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20293,6 +20577,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20329,6 +20614,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20362,6 +20648,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20400,6 +20687,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20431,6 +20719,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20467,6 +20756,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20510,6 +20800,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20546,6 +20837,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20594,6 +20886,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20638,6 +20931,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20716,6 +21010,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20770,6 +21065,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20801,6 +21097,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20833,6 +21130,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20882,6 +21180,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20916,6 +21215,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -20954,6 +21254,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -21854,6 +22155,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -21884,6 +22186,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -21915,6 +22218,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -21942,6 +22246,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -21972,6 +22277,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -21998,6 +22304,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22017,6 +22324,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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\\]"] @@ -22047,6 +22355,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22074,6 +22383,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`"] @@ -22102,6 +22412,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22129,6 +22440,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22148,6 +22460,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22173,6 +22486,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22200,6 +22514,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22227,6 +22542,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22252,6 +22568,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22277,6 +22594,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -22302,6 +22620,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -24859,6 +25178,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -24899,6 +25219,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -24994,6 +25315,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -25422,6 +25744,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25473,6 +25796,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25523,6 +25847,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25585,6 +25910,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25632,6 +25958,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25679,6 +26006,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -25956,6 +26284,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -25981,6 +26310,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26010,6 +26340,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26035,6 +26366,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26060,6 +26392,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26085,6 +26418,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26114,6 +26448,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26141,6 +26476,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26176,6 +26512,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26201,6 +26538,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26228,6 +26566,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -26255,6 +26594,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -26616,6 +26956,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26660,6 +27001,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26696,6 +27038,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26739,6 +27082,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26785,6 +27129,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26821,6 +27166,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26865,6 +27211,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26902,6 +27249,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -26940,6 +27288,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -27227,6 +27576,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27252,6 +27602,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27279,6 +27630,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27304,6 +27656,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27331,6 +27684,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27360,6 +27714,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27385,6 +27740,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27410,6 +27766,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27435,6 +27792,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27462,6 +27820,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27487,6 +27846,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -27863,6 +28223,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -27917,6 +28278,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -27972,6 +28334,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -28023,6 +28386,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -28089,6 +28453,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -28143,6 +28508,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -28191,6 +28557,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -28523,6 +28890,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -28550,6 +28918,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -28579,6 +28948,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -28610,6 +28980,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -28983,6 +29354,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29024,6 +29396,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29065,6 +29438,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29184,6 +29558,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -29213,6 +29588,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -29466,6 +29842,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29507,6 +29884,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29543,6 +29921,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29573,6 +29952,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29638,6 +30018,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29674,6 +30055,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29729,6 +30111,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29790,6 +30173,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29842,6 +30226,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29886,6 +30271,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29926,6 +30312,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -29961,6 +30348,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30017,6 +30405,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30064,6 +30453,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30108,6 +30498,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30151,6 +30542,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30186,6 +30578,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30218,6 +30611,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30256,6 +30650,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30291,6 +30686,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30328,6 +30724,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30361,6 +30758,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30396,6 +30794,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30434,6 +30833,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30474,6 +30874,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -30514,6 +30915,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -31254,6 +31656,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31281,6 +31684,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31312,6 +31716,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31341,6 +31746,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31384,6 +31790,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31420,6 +31827,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31445,6 +31853,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -31472,6 +31881,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31501,6 +31911,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -31534,6 +31945,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -31561,6 +31973,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -31590,6 +32003,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31620,6 +32034,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31647,6 +32062,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31676,6 +32092,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31707,6 +32124,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31734,6 +32152,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -31761,6 +32180,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -32642,6 +33062,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32678,6 +33099,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32709,6 +33131,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32747,6 +33170,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32776,6 +33200,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32812,6 +33237,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32851,6 +33277,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32895,6 +33322,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32939,6 +33367,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -32968,6 +33397,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -33237,6 +33667,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33264,6 +33695,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33291,6 +33723,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33321,6 +33754,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33352,6 +33786,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33379,6 +33814,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33406,6 +33842,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33433,6 +33870,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -33461,6 +33899,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -33799,6 +34238,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -33832,6 +34272,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -33866,6 +34307,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -33898,6 +34340,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -33929,6 +34372,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -34073,6 +34517,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -34098,6 +34543,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -34123,6 +34569,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -34371,6 +34818,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -34581,6 +35029,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -34620,6 +35069,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -34707,6 +35157,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -34739,6 +35190,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -34914,6 +35366,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -34977,6 +35430,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -35003,6 +35457,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -35022,6 +35477,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -35353,6 +35809,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35391,6 +35848,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35429,6 +35887,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35469,6 +35928,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35499,6 +35959,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35547,6 +36008,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35585,6 +36047,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35624,6 +36087,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35665,6 +36129,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35703,6 +36168,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35757,6 +36223,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35800,6 +36267,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35840,6 +36308,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35877,6 +36346,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35915,6 +36385,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35947,6 +36418,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -35987,6 +36459,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36019,6 +36492,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36065,6 +36539,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36097,6 +36572,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36130,6 +36606,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36161,6 +36638,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -36728,6 +37206,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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)."] @@ -36753,6 +37232,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36780,6 +37260,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36807,6 +37288,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36834,6 +37316,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36861,6 +37344,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36888,6 +37372,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36913,6 +37398,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36942,6 +37428,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -36971,6 +37458,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -37001,6 +37489,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -37026,6 +37515,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -37051,6 +37541,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -37080,6 +37571,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -37111,6 +37603,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -37136,6 +37629,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -37165,6 +37659,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -37779,6 +38274,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -37827,6 +38323,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -37870,6 +38367,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -37913,6 +38411,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -37950,6 +38449,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -37993,6 +38493,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -38211,6 +38712,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -38239,6 +38741,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38258,6 +38761,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38277,6 +38781,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38296,6 +38801,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38321,6 +38827,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38385,6 +38892,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -38430,6 +38938,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -38509,6 +39018,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -38579,6 +39089,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -38840,6 +39351,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38869,6 +39381,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38901,6 +39414,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -38936,6 +39450,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39151,6 +39666,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -39205,6 +39721,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39425,6 +39942,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -39456,6 +39974,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -39508,6 +40027,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -39559,6 +40079,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -39740,6 +40261,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39765,6 +40287,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39790,6 +40313,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39815,6 +40339,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -39840,6 +40365,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -40166,6 +40692,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40285,6 +40812,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40313,6 +40841,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40383,6 +40912,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -40407,6 +40937,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -40425,6 +40956,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -40521,6 +41053,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40596,6 +41129,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40657,6 +41191,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40713,6 +41248,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40780,6 +41316,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40810,6 +41347,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -40842,6 +41380,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41056,6 +41595,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -41348,6 +41888,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41393,6 +41934,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41437,6 +41979,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41479,6 +42022,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41507,6 +42051,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41557,6 +42102,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41614,6 +42160,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41662,6 +42209,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41705,6 +42253,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -41748,6 +42297,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42102,6 +42652,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -42128,6 +42679,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -42160,6 +42712,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -42189,6 +42742,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -42220,6 +42774,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -42518,6 +43073,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42561,6 +43117,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42597,6 +43154,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42633,6 +43191,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42670,6 +43229,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42713,6 +43273,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42757,6 +43318,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42794,6 +43356,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42830,6 +43393,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42866,6 +43430,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42902,6 +43467,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -42938,6 +43504,9 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type EvmAddress = ::core::option::Option<::subxt::ext::subxt_core::utils::H160>; + pub type LockMultiplier = ::core::option::Option< + runtime_types::tangle_primitives::types::rewards::LockMultiplier, + >; } impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Deposit { const PALLET: &'static str = "MultiAssetDelegation"; @@ -42954,6 +43523,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43001,6 +43571,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43045,6 +43616,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43091,6 +43663,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43145,6 +43718,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43196,6 +43770,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43233,6 +43808,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43283,144 +43859,7 @@ pub mod api { 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 = "Sets the APY and cap for a specific asset."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be called by the force origin"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `vault_id` - ID of the vault"] - #[doc = "* `apy` - Annual percentage yield (max 10%)"] - #[doc = "* `cap` - Required deposit amount for full APY"] - #[doc = ""] - #[doc = "# Errors"] - #[doc = ""] - #[doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] - #[doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] - pub struct SetIncentiveApyAndCap { - pub vault_id: set_incentive_apy_and_cap::VaultId, - pub apy: set_incentive_apy_and_cap::Apy, - pub cap: set_incentive_apy_and_cap::Cap, - } - pub mod set_incentive_apy_and_cap { - use super::runtime_types; - pub type VaultId = ::core::primitive::u128; - pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; - pub type Cap = ::core::primitive::u128; - } - 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 :: ext :: subxt_core :: ext :: codec :: Decode, - :: subxt :: ext :: subxt_core :: ext :: codec :: 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 = "Whitelists a blueprint for rewards."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be called by the force origin"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `blueprint_id` - ID of blueprint to whitelist"] - pub struct WhitelistBlueprintForRewards { - pub blueprint_id: whitelist_blueprint_for_rewards::BlueprintId, - } - pub mod whitelist_blueprint_for_rewards { - use super::runtime_types; - pub type BlueprintId = ::core::primitive::u64; - } - impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WhitelistBlueprintForRewards { - const PALLET: &'static str = "MultiAssetDelegation"; - const CALL: &'static str = "whitelist_blueprint_for_rewards"; - } - #[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 = "Manage asset id to vault rewards."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be signed by an authorized account"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `vault_id` - ID of the vault"] - #[doc = "* `asset_id` - ID of the asset"] - #[doc = "* `action` - Action to perform (Add/Remove)"] - #[doc = ""] - #[doc = "# Errors"] - #[doc = ""] - #[doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] - #[doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] - pub struct ManageAssetInVault { - pub vault_id: manage_asset_in_vault::VaultId, - pub asset_id: manage_asset_in_vault::AssetId, - pub action: manage_asset_in_vault::Action, - } - pub mod manage_asset_in_vault { - use super::runtime_types; - pub type VaultId = ::core::primitive::u128; - pub type AssetId = - runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; - pub type Action = - runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; - } - 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)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43466,6 +43905,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -43831,6 +44271,7 @@ pub mod api { asset_id: types::deposit::AssetId, amount: types::deposit::Amount, evm_address: types::deposit::EvmAddress, + lock_multiplier: types::deposit::LockMultiplier, ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "MultiAssetDelegation", @@ -44082,106 +44523,6 @@ pub mod api { ], ) } - #[doc = "Sets the APY and cap for a specific asset."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be called by the force origin"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `vault_id` - ID of the vault"] - #[doc = "* `apy` - Annual percentage yield (max 10%)"] - #[doc = "* `cap` - Required deposit amount for full APY"] - #[doc = ""] - #[doc = "# Errors"] - #[doc = ""] - #[doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] - #[doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] - 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::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 }, - [ - 176u8, 74u8, 10u8, 166u8, 121u8, 38u8, 138u8, 18u8, 107u8, 106u8, - 229u8, 224u8, 59u8, 92u8, 15u8, 203u8, 132u8, 253u8, 4u8, 144u8, 218u8, - 106u8, 239u8, 142u8, 237u8, 241u8, 177u8, 94u8, 61u8, 183u8, 144u8, - 145u8, - ], - ) - } - #[doc = "Whitelists a blueprint for rewards."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be called by the force origin"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `blueprint_id` - ID of blueprint to whitelist"] - pub fn whitelist_blueprint_for_rewards( - &self, - blueprint_id: types::whitelist_blueprint_for_rewards::BlueprintId, - ) -> ::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 }, - [ - 157u8, 245u8, 188u8, 187u8, 236u8, 197u8, 239u8, 8u8, 115u8, 107u8, - 137u8, 206u8, 205u8, 207u8, 192u8, 106u8, 33u8, 219u8, 29u8, 34u8, - 236u8, 117u8, 245u8, 27u8, 131u8, 43u8, 95u8, 5u8, 152u8, 185u8, 220u8, - 153u8, - ], - ) - } - #[doc = "Manage asset id to vault rewards."] - #[doc = ""] - #[doc = "# Permissions"] - #[doc = ""] - #[doc = "* Must be signed by an authorized account"] - #[doc = ""] - #[doc = "# Arguments"] - #[doc = ""] - #[doc = "* `origin` - Origin of the call"] - #[doc = "* `vault_id` - ID of the vault"] - #[doc = "* `asset_id` - ID of the asset"] - #[doc = "* `action` - Action to perform (Add/Remove)"] - #[doc = ""] - #[doc = "# Errors"] - #[doc = ""] - #[doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] - #[doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] - pub fn manage_asset_in_vault( - &self, - vault_id: types::manage_asset_in_vault::VaultId, - asset_id: types::manage_asset_in_vault::AssetId, - action: types::manage_asset_in_vault::Action, - ) -> ::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 }, - [ - 164u8, 251u8, 229u8, 192u8, 83u8, 53u8, 179u8, 154u8, 228u8, 245u8, - 116u8, 154u8, 100u8, 198u8, 182u8, 69u8, 90u8, 178u8, 237u8, 99u8, 0u8, - 160u8, 243u8, 162u8, 69u8, 87u8, 26u8, 61u8, 82u8, 151u8, 100u8, 251u8, - ], - ) - } #[doc = "Adds a blueprint ID to a delegator's selection."] #[doc = ""] #[doc = "# Permissions"] @@ -44265,6 +44606,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44290,6 +44632,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44315,6 +44658,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44340,6 +44684,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44365,6 +44710,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44392,6 +44738,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44419,6 +44766,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44444,6 +44792,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44469,6 +44818,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44494,6 +44844,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44519,6 +44870,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44549,6 +44901,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44579,6 +44932,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44604,6 +44958,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44629,6 +44984,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44661,6 +45017,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44693,6 +45050,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44718,6 +45076,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44743,93 +45102,7 @@ pub mod api { 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 = "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, - pub apy: incentive_apy_and_cap_set::Apy, - pub cap: incentive_apy_and_cap_set::Cap, - } - pub mod incentive_apy_and_cap_set { - use super::runtime_types; - pub type VaultId = ::core::primitive::u128; - pub type Apy = runtime_types::sp_arithmetic::per_things::Percent; - pub type Cap = ::core::primitive::u128; - } - impl ::subxt::ext::subxt_core::events::StaticEvent for IncentiveAPYAndCapSet { - const PALLET: &'static str = "MultiAssetDelegation"; - const EVENT: &'static str = "IncentiveAPYAndCapSet"; - } - #[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 = "Event emitted when a blueprint is whitelisted for rewards"] - pub struct BlueprintWhitelisted { - pub blueprint_id: blueprint_whitelisted::BlueprintId, - } - pub mod blueprint_whitelisted { - use super::runtime_types; - pub type BlueprintId = ::core::primitive::u64; - } - impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintWhitelisted { - const PALLET: &'static str = "MultiAssetDelegation"; - const EVENT: &'static str = "BlueprintWhitelisted"; - } - #[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 = "Asset has been updated to reward vault"] - pub struct AssetUpdatedInVault { - pub who: asset_updated_in_vault::Who, - pub vault_id: asset_updated_in_vault::VaultId, - pub asset_id: asset_updated_in_vault::AssetId, - pub action: asset_updated_in_vault::Action, - } - pub mod asset_updated_in_vault { - use super::runtime_types; - pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; - pub type VaultId = ::core::primitive::u128; - pub type AssetId = - runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; - pub type Action = - runtime_types::pallet_multi_asset_delegation::types::rewards::AssetAction; - } - 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)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -44857,6 +45130,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -44884,6 +45158,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -44926,30 +45201,9 @@ pub mod api { } pub mod delegators { use super::runtime_types; - 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 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 , :: core :: primitive :: u64 , runtime_types :: tangle_testnet_runtime :: MaxDelegations > ; pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } - pub mod reward_vaults { - use super::runtime_types; - pub type RewardVaults = ::subxt::ext::subxt_core::alloc::vec::Vec< - runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>, - >; - pub type Param0 = ::core::primitive::u128; - } - pub mod asset_lookup_reward_vaults { - use super::runtime_types; - pub type AssetLookupRewardVaults = ::core::primitive::u128; - pub type Param0 = - runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; - } - pub mod reward_config_storage { - use super::runtime_types; - pub type RewardConfigStorage = - runtime_types::pallet_multi_asset_delegation::types::rewards::RewardConfig< - ::core::primitive::u128, - ::core::primitive::u128, - >; - } } pub struct StorageApi; impl StorageApi { @@ -45151,131 +45405,10 @@ pub mod api { _0.borrow(), ), [ - 208u8, 190u8, 90u8, 169u8, 30u8, 169u8, 192u8, 170u8, 53u8, 227u8, - 128u8, 145u8, 223u8, 226u8, 166u8, 141u8, 222u8, 141u8, 6u8, 136u8, - 232u8, 114u8, 217u8, 222u8, 129u8, 124u8, 160u8, 239u8, 33u8, 211u8, - 10u8, 156u8, - ], - ) - } - #[doc = " Storage for the reward vaults"] - pub fn reward_vaults_iter( - &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - (), - types::reward_vaults::RewardVaults, - (), - (), - ::subxt::ext::subxt_core::utils::Yes, - > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( - "MultiAssetDelegation", - "RewardVaults", - (), - [ - 30u8, 97u8, 236u8, 132u8, 229u8, 86u8, 124u8, 248u8, 89u8, 52u8, 91u8, - 194u8, 48u8, 44u8, 236u8, 142u8, 251u8, 192u8, 107u8, 103u8, 244u8, - 170u8, 94u8, 57u8, 146u8, 82u8, 122u8, 212u8, 228u8, 119u8, 152u8, - 57u8, - ], - ) - } - #[doc = " Storage for the reward vaults"] - pub fn reward_vaults( - &self, - _0: impl ::core::borrow::Borrow, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - ::subxt::ext::subxt_core::storage::address::StaticStorageKey< - types::reward_vaults::Param0, - >, - types::reward_vaults::RewardVaults, - ::subxt::ext::subxt_core::utils::Yes, - (), - (), - > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( - "MultiAssetDelegation", - "RewardVaults", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - [ - 30u8, 97u8, 236u8, 132u8, 229u8, 86u8, 124u8, 248u8, 89u8, 52u8, 91u8, - 194u8, 48u8, 44u8, 236u8, 142u8, 251u8, 192u8, 107u8, 103u8, 244u8, - 170u8, 94u8, 57u8, 146u8, 82u8, 122u8, 212u8, 228u8, 119u8, 152u8, - 57u8, - ], - ) - } - #[doc = " Storage for the reward vaults"] - pub fn asset_lookup_reward_vaults_iter( - &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - (), - types::asset_lookup_reward_vaults::AssetLookupRewardVaults, - (), - (), - ::subxt::ext::subxt_core::utils::Yes, - > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( - "MultiAssetDelegation", - "AssetLookupRewardVaults", - (), - [ - 128u8, 153u8, 122u8, 108u8, 34u8, 110u8, 223u8, 199u8, 51u8, 251u8, - 55u8, 208u8, 134u8, 89u8, 137u8, 250u8, 251u8, 211u8, 107u8, 114u8, - 38u8, 28u8, 52u8, 98u8, 234u8, 110u8, 226u8, 205u8, 105u8, 195u8, - 149u8, 113u8, - ], - ) - } - #[doc = " Storage for the reward vaults"] - pub fn asset_lookup_reward_vaults( - &self, - _0: impl ::core::borrow::Borrow, - ) -> ::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::ext::subxt_core::utils::Yes, - (), - (), - > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( - "MultiAssetDelegation", - "AssetLookupRewardVaults", - ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( - _0.borrow(), - ), - [ - 128u8, 153u8, 122u8, 108u8, 34u8, 110u8, 223u8, 199u8, 51u8, 251u8, - 55u8, 208u8, 134u8, 89u8, 137u8, 250u8, 251u8, 211u8, 107u8, 114u8, - 38u8, 28u8, 52u8, 98u8, 234u8, 110u8, 226u8, 205u8, 105u8, 195u8, - 149u8, 113u8, - ], - ) - } - #[doc = " Storage for the reward configuration, which includes APY, cap for assets, and whitelisted"] - #[doc = " blueprints."] - pub fn reward_config_storage( - &self, - ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< - (), - types::reward_config_storage::RewardConfigStorage, - ::subxt::ext::subxt_core::utils::Yes, - (), - (), - > { - ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( - "MultiAssetDelegation", - "RewardConfigStorage", - (), - [ - 26u8, 64u8, 254u8, 232u8, 78u8, 131u8, 181u8, 79u8, 218u8, 198u8, - 175u8, 163u8, 209u8, 12u8, 223u8, 53u8, 186u8, 34u8, 69u8, 130u8, 71u8, - 250u8, 86u8, 87u8, 189u8, 145u8, 99u8, 81u8, 200u8, 223u8, 226u8, - 191u8, + 45u8, 173u8, 235u8, 188u8, 23u8, 120u8, 225u8, 27u8, 94u8, 59u8, 35u8, + 139u8, 127u8, 59u8, 118u8, 200u8, 174u8, 212u8, 214u8, 128u8, 40u8, + 187u8, 97u8, 19u8, 236u8, 14u8, 122u8, 135u8, 254u8, 198u8, 21u8, + 238u8, ], ) } @@ -45530,6 +45663,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45587,6 +45721,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45646,6 +45781,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45714,6 +45850,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45762,6 +45899,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45814,6 +45952,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45900,6 +46039,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45949,6 +46089,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -45998,6 +46139,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46044,6 +46186,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46103,6 +46246,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46162,6 +46306,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46220,6 +46365,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46271,6 +46417,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -46878,6 +47025,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -46905,6 +47053,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -46932,6 +47081,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -46968,6 +47118,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -46995,6 +47146,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47024,6 +47176,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47064,6 +47217,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47101,6 +47255,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47130,6 +47285,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47164,6 +47320,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47193,6 +47350,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47230,6 +47388,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47267,6 +47426,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47298,6 +47458,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47333,6 +47494,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -47368,6 +47530,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -48709,6 +48872,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -48762,6 +48926,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -48820,6 +48985,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -48885,6 +49051,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -48934,6 +49101,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -48994,6 +49162,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49073,6 +49242,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49156,6 +49326,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49208,6 +49379,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49261,6 +49433,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49309,6 +49482,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49366,6 +49540,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49427,6 +49602,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49470,6 +49646,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49526,6 +49703,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49575,6 +49753,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49622,6 +49801,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49665,6 +49845,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49703,6 +49884,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -49743,6 +49925,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -50536,6 +50719,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50563,6 +50747,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 become bonded in a pool."] @@ -50594,6 +50779,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50623,6 +50809,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50666,6 +50853,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50702,6 +50890,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50727,6 +50916,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -50754,6 +50944,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50783,6 +50974,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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"] @@ -50816,6 +51008,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -50843,6 +51036,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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`."] @@ -50872,6 +51066,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50902,6 +51097,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50929,6 +51125,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50959,6 +51156,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -50990,6 +51188,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -51017,6 +51216,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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."] @@ -51044,6 +51244,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 the reward pool."] @@ -51896,18 +52097,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_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 rewards for a specific asset and reward type"] pub struct ClaimRewards { pub asset: claim_rewards::Asset, @@ -51917,23 +52123,28 @@ pub mod api { pub type Asset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } - impl ::subxt_core::blocks::StaticExtrinsic for ClaimRewards { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimRewards { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "claim_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)] + #[codec(dumb_trait_bound)] + #[decode_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."] #[doc = ""] #[doc = "# Permissions"] @@ -51963,23 +52174,28 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Action = runtime_types::pallet_rewards::types::AssetAction; } - impl ::subxt_core::blocks::StaticExtrinsic for ManageAssetRewardVault { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ManageAssetRewardVault { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "manage_asset_reward_vault"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] + #[decode_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 the reward configuration for a specific vault."] #[doc = ""] #[doc = "# Arguments"] @@ -52008,7 +52224,7 @@ pub mod api { ::core::primitive::u128, >; } - impl ::subxt_core::blocks::StaticExtrinsic for UpdateVaultRewardConfig { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpdateVaultRewardConfig { const PALLET: &'static str = "Rewards"; const CALL: &'static str = "update_vault_reward_config"; } @@ -52019,8 +52235,8 @@ pub mod api { pub fn claim_rewards( &self, asset: types::claim_rewards::Asset, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "claim_rewards", types::ClaimRewards { asset }, @@ -52054,8 +52270,10 @@ pub mod api { vault_id: types::manage_asset_reward_vault::VaultId, asset_id: types::manage_asset_reward_vault::AssetId, action: types::manage_asset_reward_vault::Action, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::ManageAssetRewardVault, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "manage_asset_reward_vault", types::ManageAssetRewardVault { vault_id, asset_id, action }, @@ -52086,8 +52304,10 @@ pub mod api { &self, vault_id: types::update_vault_reward_config::VaultId, new_config: types::update_vault_reward_config::NewConfig, - ) -> ::subxt_core::tx::payload::StaticPayload { - ::subxt_core::tx::payload::StaticPayload::new_static( + ) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload< + types::UpdateVaultRewardConfig, + > { + ::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static( "Rewards", "update_vault_reward_config", types::UpdateVaultRewardConfig { vault_id, new_config }, @@ -52106,18 +52326,19 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Rewards have been claimed by an account"] pub struct RewardsClaimed { pub account: rewards_claimed::Account, @@ -52126,28 +52347,29 @@ pub mod api { } pub mod rewards_claimed { use super::runtime_types; - pub type Account = ::subxt_core::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Asset = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Amount = ::core::primitive::u128; } - impl ::subxt_core::events::StaticEvent for RewardsClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for RewardsClaimed { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "RewardsClaimed"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] + #[decode_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, @@ -52160,23 +52382,24 @@ 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 = "Rewards"; 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)] + #[codec(dumb_trait_bound)] + #[decode_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, @@ -52185,23 +52408,24 @@ pub mod api { use super::runtime_types; pub type BlueprintId = ::core::primitive::u64; } - impl ::subxt_core::events::StaticEvent for BlueprintWhitelisted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BlueprintWhitelisted { const PALLET: &'static str = "Rewards"; 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)] + #[codec(dumb_trait_bound)] + #[decode_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 vault_id: asset_updated_in_vault::VaultId, @@ -52215,23 +52439,24 @@ pub mod api { runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; pub type Action = runtime_types::pallet_rewards::types::AssetAction; } - impl ::subxt_core::events::StaticEvent for AssetUpdatedInVault { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetUpdatedInVault { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "AssetUpdatedInVault"; } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct VaultRewardConfigUpdated { pub vault_id: vault_reward_config_updated::VaultId, } @@ -52239,7 +52464,7 @@ pub mod api { use super::runtime_types; pub type VaultId = ::core::primitive::u32; } - impl ::subxt_core::events::StaticEvent for VaultRewardConfigUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for VaultRewardConfigUpdated { const PALLET: &'static str = "Rewards"; const EVENT: &'static str = "VaultRewardConfigUpdated"; } @@ -52256,19 +52481,19 @@ pub mod api { pub mod user_service_reward { use super::runtime_types; pub type UserServiceReward = ::core::primitive::u128; - pub type Param0 = ::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>; } pub mod user_claimed_reward { use super::runtime_types; pub type UserClaimedReward = (::core::primitive::u64, ::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 reward_vaults { use super::runtime_types; - pub type RewardVaults = ::subxt_core::alloc::vec::Vec< + pub type RewardVaults = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::tangle_primitives::services::Asset<::core::primitive::u128>, >; pub type Param0 = ::core::primitive::u32; @@ -52293,14 +52518,14 @@ pub mod api { #[doc = " Stores the total score for each asset"] pub fn total_reward_vault_score_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::total_reward_vault_score::TotalRewardVaultScore, (), - ::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( "Rewards", "TotalRewardVaultScore", (), @@ -52315,19 +52540,21 @@ pub mod api { pub fn total_reward_vault_score( &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::total_reward_vault_score::Param0, >, types::total_reward_vault_score::TotalRewardVaultScore, - ::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( "Rewards", "TotalRewardVaultScore", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 81u8, 149u8, 62u8, 176u8, 255u8, 187u8, 21u8, 2u8, 204u8, 121u8, 214u8, 125u8, 223u8, 182u8, 204u8, 248u8, 232u8, 123u8, 163u8, 177u8, 173u8, @@ -52338,14 +52565,14 @@ pub mod api { #[doc = " Stores the service reward for a given user"] pub fn user_service_reward_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::user_service_reward::UserServiceReward, (), - ::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( "Rewards", "UserServiceReward", (), @@ -52361,19 +52588,21 @@ pub mod api { pub fn user_service_reward_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::user_service_reward::Param0, >, types::user_service_reward::UserServiceReward, (), - ::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( "Rewards", "UserServiceReward", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 17u8, 184u8, 103u8, 139u8, 191u8, 239u8, 87u8, 61u8, 131u8, 108u8, 189u8, 182u8, 114u8, 33u8, 47u8, 131u8, 228u8, 166u8, 129u8, 195u8, @@ -52387,26 +52616,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::user_service_reward::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::user_service_reward::Param1, >, ), types::user_service_reward::UserServiceReward, - ::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( "Rewards", "UserServiceReward", ( - ::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(), + ), ), [ 17u8, 184u8, 103u8, 139u8, 191u8, 239u8, 87u8, 61u8, 131u8, 108u8, @@ -52419,14 +52652,14 @@ pub mod api { #[doc = " Stores the service reward for a given user"] pub fn user_claimed_reward_iter( &self, - ) -> ::subxt_core::storage::address::StaticAddress< + ) -> ::subxt::ext::subxt_core::storage::address::StaticAddress< (), types::user_claimed_reward::UserClaimedReward, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", (), @@ -52442,19 +52675,21 @@ pub mod api { pub fn user_claimed_reward_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::user_claimed_reward::Param0, >, types::user_claimed_reward::UserClaimedReward, (), (), - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 206u8, 242u8, 28u8, 7u8, 152u8, 211u8, 16u8, 91u8, 52u8, 84u8, 0u8, 224u8, 145u8, 43u8, 26u8, 136u8, 113u8, 169u8, 109u8, 251u8, 145u8, @@ -52468,26 +52703,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::user_claimed_reward::Param0, >, - ::subxt_core::storage::address::StaticStorageKey< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< types::user_claimed_reward::Param1, >, ), types::user_claimed_reward::UserClaimedReward, - ::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt_core::storage::address::StaticAddress::new_static( + ::subxt::ext::subxt_core::storage::address::StaticAddress::new_static( "Rewards", "UserClaimedReward", ( - ::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(), + ), ), [ 206u8, 242u8, 28u8, 7u8, 152u8, 211u8, 16u8, 91u8, 52u8, 84u8, 0u8, @@ -52500,14 +52739,14 @@ pub mod api { #[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( "Rewards", "RewardVaults", (), @@ -52522,17 +52761,21 @@ 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( "Rewards", "RewardVaults", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 29u8, 120u8, 143u8, 243u8, 2u8, 41u8, 241u8, 174u8, 61u8, 231u8, 246u8, 255u8, 254u8, 79u8, 10u8, 248u8, 59u8, 248u8, 189u8, 209u8, 84u8, 90u8, @@ -52543,14 +52786,14 @@ pub mod api { #[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( "Rewards", "AssetLookupRewardVaults", (), @@ -52565,19 +52808,21 @@ 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( "Rewards", "AssetLookupRewardVaults", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 102u8, 24u8, 170u8, 108u8, 171u8, 54u8, 53u8, 186u8, 3u8, 87u8, 224u8, 25u8, 113u8, 74u8, 180u8, 59u8, 181u8, 120u8, 89u8, 36u8, 0u8, 245u8, @@ -52588,14 +52833,14 @@ pub mod api { #[doc = " Storage for the reward configuration, which includes APY, cap for assets"] pub fn reward_config_storage_iter( &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( "Rewards", "RewardConfigStorage", (), @@ -52610,19 +52855,21 @@ pub mod api { pub fn reward_config_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::reward_config_storage::Param0, >, 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( "Rewards", "RewardConfigStorage", - ::subxt_core::storage::address::StaticStorageKey::new(_0.borrow()), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), [ 85u8, 116u8, 237u8, 245u8, 144u8, 61u8, 218u8, 181u8, 11u8, 129u8, 196u8, 245u8, 46u8, 142u8, 68u8, 87u8, 87u8, 120u8, 122u8, 111u8, 59u8, @@ -52650,6 +52897,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52673,6 +52921,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52696,6 +52945,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52717,6 +52967,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52739,6 +52990,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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]); @@ -52758,6 +53010,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52785,6 +53038,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52823,6 +53077,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52850,6 +53105,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52875,6 +53131,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52903,6 +53160,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52926,6 +53184,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52959,6 +53218,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -52991,6 +53251,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53017,6 +53278,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53041,6 +53303,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53059,6 +53322,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53081,6 +53345,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53112,6 +53377,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53136,6 +53402,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53163,6 +53430,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53214,6 +53482,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53241,6 +53510,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53268,6 +53538,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53289,6 +53560,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53318,6 +53590,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53340,6 +53613,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -53359,6 +53633,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -53376,6 +53651,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -53396,6 +53672,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -53417,6 +53694,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -53434,6 +53712,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -53456,6 +53735,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -53484,6 +53764,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53508,6 +53789,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -53524,6 +53806,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -53548,6 +53831,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53573,6 +53857,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53595,6 +53880,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53618,6 +53904,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53640,6 +53927,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53670,6 +53958,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53710,6 +53999,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53733,6 +54023,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53757,6 +54048,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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]); @@ -53778,6 +54070,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53799,6 +54092,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53820,6 +54114,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53841,6 +54136,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53862,6 +54158,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53883,6 +54180,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53904,6 +54202,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53926,6 +54225,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53948,6 +54248,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -53972,6 +54273,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54001,6 +54303,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54104,6 +54407,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54155,6 +54459,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54208,6 +54513,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -54228,6 +54534,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -54245,6 +54552,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -54263,6 +54571,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -54281,6 +54590,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -54307,6 +54617,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54450,6 +54761,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54495,6 +54807,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54527,6 +54840,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54545,6 +54859,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54564,6 +54879,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54583,6 +54899,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54602,6 +54919,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -54621,6 +54939,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -54645,6 +54964,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55390,6 +55710,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55476,6 +55797,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55659,6 +55981,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55684,6 +56007,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55705,6 +56029,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55730,6 +56055,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55761,6 +56087,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55785,6 +56112,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55810,6 +56138,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55845,6 +56174,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55909,6 +56239,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55947,6 +56278,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55968,6 +56300,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -55995,6 +56328,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56022,6 +56356,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56090,6 +56425,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56113,6 +56449,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56152,6 +56489,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56302,6 +56640,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56358,6 +56697,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56510,6 +56850,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56533,6 +56874,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56556,6 +56898,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56579,6 +56922,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56597,6 +56941,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56622,6 +56967,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56649,6 +56995,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56673,6 +57020,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56705,6 +57053,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56868,6 +57217,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56922,6 +57272,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -56989,6 +57340,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -57010,6 +57362,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -57042,6 +57395,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57265,6 +57619,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57294,6 +57649,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57336,6 +57692,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -57356,6 +57713,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -57384,6 +57742,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57538,6 +57897,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57591,6 +57951,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57658,6 +58019,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -57679,6 +58041,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -57704,6 +58067,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -57740,6 +58104,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58076,6 +58441,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58169,6 +58535,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58278,6 +58645,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58299,6 +58667,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58324,6 +58693,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58347,6 +58717,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58371,6 +58742,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58396,6 +58768,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58419,6 +58792,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58438,6 +58812,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58456,6 +58831,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58495,6 +58871,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58526,6 +58903,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58554,6 +58932,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58574,6 +58953,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58639,6 +59019,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58712,6 +59093,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -58737,6 +59119,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -58762,6 +59145,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -58785,6 +59169,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -58803,6 +59188,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -58826,6 +59212,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -58843,6 +59230,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -58867,6 +59255,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59004,6 +59393,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59075,6 +59465,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59137,6 +59528,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -59158,6 +59550,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -59176,6 +59569,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -59199,6 +59593,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59222,6 +59617,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59248,6 +59644,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59279,6 +59676,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -59301,6 +59699,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59384,6 +59783,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59443,6 +59843,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59479,6 +59880,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -59501,6 +59903,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59571,6 +59974,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59614,6 +60018,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59649,6 +60054,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -59672,6 +60078,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -59700,6 +60107,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59730,6 +60138,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59759,6 +60168,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -59793,6 +60203,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60119,6 +60530,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60217,6 +60629,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60341,6 +60754,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60362,6 +60776,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60457,6 +60872,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60490,6 +60906,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60512,6 +60929,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60543,6 +60961,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60572,6 +60991,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60598,6 +61018,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60642,6 +61063,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60660,6 +61082,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60680,6 +61103,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -60704,6 +61128,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60808,6 +61233,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60843,6 +61269,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60884,6 +61311,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -60892,7 +61320,7 @@ pub mod api { )] #[doc = "The callable functions (extrinsics) of the pallet."] pub enum Call { - # [codec (index = 0)] # [doc = "Allows an account to join as an operator by staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 18)] # [doc = "Sets the APY and cap for a specific asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the force origin"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `vault_id` - ID of the vault"] # [doc = "* `apy` - Annual percentage yield (max 10%)"] # [doc = "* `cap` - Required deposit amount for full APY"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::APYExceedsMaximum`] - APY exceeds 10% maximum"] # [doc = "* [`Error::CapCannotBeZero`] - Cap amount cannot be zero"] 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be called by the force origin"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to whitelist"] whitelist_blueprint_for_rewards { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 20)] # [doc = "Manage asset id to vault rewards."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by an authorized account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `vault_id` - ID of the vault"] # [doc = "* `asset_id` - ID of the asset"] # [doc = "* `action` - Action to perform (Add/Remove)"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::AssetAlreadyInVault`] - Asset already exists in vault"] # [doc = "* [`Error::AssetNotInVault`] - Asset does not exist in vault"] manage_asset_in_vault { vault_id : :: core :: primitive :: u128 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } + # [codec (index = 0)] # [doc = "Allows an account to join as an operator by staking the required bond amount."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the account joining as operator"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `bond_amount` - Amount to stake as operator bond"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Bond amount would overflow deposit tracking"] # [doc = "* [`Error::StakeOverflow`] - Bond amount would overflow stake tracking"] join_operators { bond_amount : :: core :: primitive :: u128 , } , # [codec (index = 1)] # [doc = "Schedules an operator to leave the system."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] schedule_leave_operators , # [codec (index = 2)] # [doc = "Cancels a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_leave_operators , # [codec (index = 3)] # [doc = "Executes a scheduled leave for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_leave_operators , # [codec (index = 4)] # [doc = "Allows an operator to increase their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `additional_bond` - Additional amount to stake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::StakeOverflow`] - Additional bond would overflow stake tracking"] operator_bond_more { additional_bond : :: core :: primitive :: u128 , } , # [codec (index = 5)] # [doc = "Schedules an operator to decrease their stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `unstake_amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Operator already has a pending unstake request"] # [doc = "* [`Error::InsufficientBalance`] - Operator has insufficient stake to unstake"] schedule_operator_unstake { unstake_amount : :: core :: primitive :: u128 , } , # [codec (index = 6)] # [doc = "Executes a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed yet"] execute_operator_unstake , # [codec (index = 7)] # [doc = "Cancels a scheduled stake decrease for an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_operator_unstake , # [codec (index = 8)] # [doc = "Allows an operator to go offline."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOffline`] - Operator is already offline"] go_offline , # [codec (index = 9)] # [doc = "Allows an operator to go online."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the operator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Account is not registered as an operator"] # [doc = "* [`Error::AlreadyOnline`] - Operator is already online"] go_online , # [codec (index = 10)] # [doc = "Allows a user to deposit an asset."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the depositor account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to deposit"] # [doc = "* `amount` - Amount to deposit"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::DepositOverflow`] - Deposit would overflow tracking"] # [doc = "* [`Error::InvalidAsset`] - Asset is not supported"] deposit { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , lock_multiplier : :: core :: option :: Option < runtime_types :: tangle_primitives :: types :: rewards :: LockMultiplier > , } , # [codec (index = 11)] # [doc = "Schedules a withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset to withdraw"] # [doc = "* `amount` - Amount to withdraw"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to withdraw"] # [doc = "* [`Error::PendingWithdrawRequestExists`] - Pending withdraw request exists"] schedule_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 12)] # [doc = "Executes a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `evm_address` - Optional EVM address"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] # [doc = "* [`Error::WithdrawPeriodNotElapsed`] - Withdraw period has not elapsed"] execute_withdraw { evm_address : :: core :: option :: Option < :: subxt :: ext :: subxt_core :: utils :: H160 > , } , # [codec (index = 13)] # [doc = "Cancels a scheduled withdraw request."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the withdrawer account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `asset_id` - ID of the asset withdrawal to cancel"] # [doc = "* `amount` - Amount of the withdrawal to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NoWithdrawRequestExists`] - No pending withdraw request exists"] cancel_withdraw { asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 14)] # [doc = "Allows a user to delegate an amount of an asset to an operator."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to delegate to"] # [doc = "* `asset_id` - ID of asset to delegate"] # [doc = "* `amount` - Amount to delegate"] # [doc = "* `blueprint_selection` - Blueprint selection strategy"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotOperator`] - Target account is not an operator"] # [doc = "* [`Error::InsufficientBalance`] - Insufficient balance to delegate"] # [doc = "* [`Error::MaxDelegationsExceeded`] - Would exceed max delegations"] delegate { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: 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."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to unstake from"] # [doc = "* `asset_id` - ID of asset to unstake"] # [doc = "* `amount` - Amount to unstake"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::InsufficientDelegation`] - Insufficient delegation to unstake"] # [doc = "* [`Error::PendingUnstakeRequestExists`] - Pending unstake request exists"] schedule_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 16)] # [doc = "Executes a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] # [doc = "* [`Error::UnstakePeriodNotElapsed`] - Unstake period has not elapsed"] execute_delegator_unstake , # [codec (index = 17)] # [doc = "Cancels a scheduled request to reduce a delegator's stake."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `operator` - Operator to cancel unstake from"] # [doc = "* `asset_id` - ID of asset unstake to cancel"] # [doc = "* `amount` - Amount of unstake to cancel"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::NoUnstakeRequestExists`] - No pending unstake request exists"] cancel_delegator_unstake { operator : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , asset_id : runtime_types :: tangle_primitives :: services :: Asset < :: core :: primitive :: u128 > , amount : :: core :: primitive :: u128 , } , # [codec (index = 22)] # [doc = "Adds a blueprint ID to a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to add"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::DuplicateBlueprintId`] - Blueprint ID already exists"] # [doc = "* [`Error::MaxBlueprintsExceeded`] - Would exceed max blueprints"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] add_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , # [codec (index = 23)] # [doc = "Removes a blueprint ID from a delegator's selection."] # [doc = ""] # [doc = "# Permissions"] # [doc = ""] # [doc = "* Must be signed by the delegator account"] # [doc = ""] # [doc = "# Arguments"] # [doc = ""] # [doc = "* `origin` - Origin of the call"] # [doc = "* `blueprint_id` - ID of blueprint to remove"] # [doc = ""] # [doc = "# Errors"] # [doc = ""] # [doc = "* [`Error::NotDelegator`] - Account is not a delegator"] # [doc = "* [`Error::BlueprintIdNotFound`] - Blueprint ID not found"] # [doc = "* [`Error::NotInFixedMode`] - Not in fixed blueprint selection mode"] remove_blueprint_id { blueprint_id : :: core :: primitive :: u64 , } , } #[derive( :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, @@ -60904,6 +61332,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61080,6 +61509,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61088,7 +61518,113 @@ pub mod api { )] #[doc = "Events emitted by the pallet."] pub enum Event { - # [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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 :: u64 , } , # [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 : runtime_types :: tangle_primitives :: services :: Asset < :: 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 , } , # [codec (index = 23)] # [doc = "EVM execution reverted with a reason."] EvmReverted { 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 = 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: runtime_types::tangle_primitives::services::Asset< + ::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: runtime_types::tangle_primitives::services::Asset< + ::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: runtime_types::tangle_primitives::services::Asset< + ::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: runtime_types::tangle_primitives::services::Asset< + ::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 = "Operator has been slashed"] + OperatorSlashed { + who: ::subxt::ext::subxt_core::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 19)] + #[doc = "Delegator has been slashed"] + DelegatorSlashed { + who: ::subxt::ext::subxt_core::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 20)] + #[doc = "EVM execution reverted with a reason."] + EvmReverted { + 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>, + }, + } } pub mod types { use super::runtime_types; @@ -61105,6 +61641,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61123,6 +61660,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61141,6 +61679,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61169,13 +61708,14 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 < runtime_types :: tangle_primitives :: services :: Asset < _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) > } + pub struct DelegatorMetadata < _0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8 > { pub deposits : :: subxt :: ext :: subxt_core :: utils :: KeyedVec < runtime_types :: tangle_primitives :: services :: Asset < _1 > , runtime_types :: pallet_multi_asset_delegation :: types :: delegator :: Deposit < _1 , _7 , _4 > > , 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 , _8 , _3 , _5) > } #[derive( :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, @@ -61187,6 +61727,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61210,6 +61751,36 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Deposit<_0, _1, _2> { + pub amount: _0, + pub delegated_amount: _0, + pub locks: ::core::option::Option< + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::tangle_primitives::types::rewards::LockInfo<_0, _1>, + >, + >, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_2>, + } + #[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)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61235,6 +61806,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61259,6 +61831,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61280,6 +61853,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61298,6 +61872,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61316,6 +61891,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61331,71 +61907,6 @@ pub mod api { Leaving(::core::primitive::u32), } } - pub mod rewards { - use super::runtime_types; - #[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 AssetAction { - #[codec(index = 0)] - Add, - #[codec(index = 1)] - Remove, - } - #[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 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 :: u64 > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _1 > } - #[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 RewardConfigForAssetVault<_0> { - pub apy: runtime_types::sp_arithmetic::per_things::Percent, - pub cap: _0, - } - } } } pub mod pallet_multisig { @@ -61413,6 +61924,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61580,6 +62092,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61642,6 +62155,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -61699,6 +62213,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -61718,6 +62233,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -61740,6 +62256,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62193,6 +62710,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62226,6 +62744,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62365,6 +62884,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62529,6 +63049,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62551,6 +63072,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -62570,6 +63092,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62592,6 +63115,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -62615,6 +63139,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62646,6 +63171,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -62663,6 +63189,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -62682,6 +63209,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -62703,6 +63231,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62727,6 +63256,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -62746,6 +63276,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -62767,6 +63298,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62788,6 +63320,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62809,6 +63342,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -62831,6 +63365,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62865,6 +63400,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62921,6 +63457,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62968,6 +63505,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -62997,6 +63535,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63019,6 +63558,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -63042,6 +63582,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -63070,6 +63611,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63294,6 +63836,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63338,6 +63881,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63397,6 +63941,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -63415,6 +63960,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -63428,18 +63974,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_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 = 1)] @@ -63499,18 +64050,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_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)] @@ -63551,24 +64107,29 @@ pub mod api { ArithmeticError, } #[derive( - :: subxt_core :: ext :: codec :: Decode, - :: subxt_core :: ext :: codec :: Encode, - :: subxt_core :: ext :: scale_decode :: DecodeAsType, - :: subxt_core :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Clone, Debug, Eq, PartialEq, )] - # [codec (crate = :: subxt_core :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] + #[decode_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 = "Rewards have been claimed by an account"] RewardsClaimed { - account: ::subxt_core::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, asset: runtime_types::tangle_primitives::services::Asset< ::core::primitive::u128, >, @@ -63600,18 +64161,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_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, @@ -63619,18 +64185,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_as_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 incentive_cap: _0, @@ -63654,6 +64225,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63776,6 +64348,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63811,6 +64384,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -63885,6 +64459,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -63903,6 +64478,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -63930,6 +64506,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64374,6 +64951,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64525,6 +65103,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64696,6 +65275,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64727,6 +65307,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64775,6 +65356,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64810,6 +65392,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -64842,6 +65425,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65369,6 +65953,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65394,6 +65979,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65511,6 +66097,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65631,6 +66218,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65654,6 +66242,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65676,6 +66265,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -65693,6 +66283,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -65711,6 +66302,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -65734,6 +66326,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -65754,6 +66347,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -65779,6 +66373,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -65806,6 +66401,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -65826,6 +66422,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -65845,6 +66442,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -65868,6 +66466,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65935,6 +66534,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -65958,6 +66558,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66005,6 +66606,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66025,6 +66627,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66054,6 +66657,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66180,6 +66784,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66200,6 +66805,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66226,6 +66832,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66253,6 +66860,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66285,6 +66893,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66303,6 +66912,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66324,6 +66934,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66350,6 +66961,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66374,6 +66986,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66397,6 +67010,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66425,6 +67039,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66450,6 +67065,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66475,6 +67091,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66497,6 +67114,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66518,6 +67136,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66545,6 +67164,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66576,6 +67196,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66626,6 +67247,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66657,6 +67279,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66680,6 +67303,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66702,6 +67326,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66725,6 +67350,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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); @@ -66739,6 +67365,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -66763,6 +67390,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66931,6 +67559,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -66985,6 +67614,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67061,6 +67691,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -67082,6 +67713,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -67101,6 +67733,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -67129,6 +67762,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67179,6 +67813,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67210,6 +67845,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67260,6 +67896,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67390,6 +68027,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67413,6 +68051,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67464,6 +68103,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67606,6 +68246,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67642,6 +68283,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67675,6 +68317,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67698,6 +68341,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -67720,6 +68364,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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]); @@ -67737,6 +68382,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -67764,6 +68410,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67786,6 +68433,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67805,6 +68453,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67824,6 +68473,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67843,6 +68493,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67862,6 +68513,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -67888,6 +68540,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67909,6 +68562,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67933,6 +68587,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67960,6 +68615,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -67982,6 +68638,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68003,6 +68660,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68026,6 +68684,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -68047,6 +68706,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68071,6 +68731,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68088,6 +68749,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68112,6 +68774,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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( @@ -68133,6 +68796,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68151,6 +68815,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68170,6 +68835,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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> { @@ -68201,6 +68867,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -68221,6 +68888,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -68241,6 +68909,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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); @@ -68260,6 +68929,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68283,6 +68953,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68306,6 +68977,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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( @@ -68322,6 +68994,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 {} @@ -68339,6 +69012,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68357,6 +69031,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68379,6 +69054,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -68397,6 +69073,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -68422,6 +69099,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68446,6 +69124,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68468,6 +69147,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -68509,6 +69189,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69043,6 +69724,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69072,6 +69754,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69093,6 +69776,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69134,6 +69818,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69159,6 +69844,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69182,6 +69868,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69207,6 +69894,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69236,6 +69924,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -69279,6 +69968,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -69298,6 +69988,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -69315,6 +70006,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -69336,6 +70028,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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( @@ -69352,6 +70045,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -69387,6 +70081,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -69409,6 +70104,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -69434,6 +70130,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69456,6 +70153,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -69478,6 +70176,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -69498,6 +70197,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -69516,6 +70216,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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> { @@ -69540,6 +70241,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -69571,6 +70273,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69595,6 +70298,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -69621,6 +70325,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69665,6 +70370,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69742,6 +70448,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69771,6 +70478,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69810,6 +70518,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69835,6 +70544,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69858,6 +70568,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69882,6 +70593,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69909,6 +70621,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69934,6 +70647,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69956,6 +70670,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -69991,6 +70706,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70018,6 +70734,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70040,6 +70757,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70064,6 +70782,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70090,6 +70809,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70118,6 +70838,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70143,6 +70864,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70168,6 +70890,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70192,6 +70915,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70221,6 +70945,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70242,6 +70967,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70269,6 +70995,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70293,6 +71020,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70317,6 +71045,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70349,6 +71078,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70369,6 +71099,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70410,6 +71141,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70443,6 +71175,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70468,6 +71201,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70491,6 +71225,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70529,6 +71264,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70554,6 +71290,7 @@ pub mod api { serde :: Serialize, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70572,18 +71309,23 @@ 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)] + #[codec(dumb_trait_bound)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct LockInfo<_0, _1> { pub amount: _0, pub lock_multiplier: @@ -70591,18 +71333,23 @@ pub mod api { pub expiry_block: _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)] + #[codec(dumb_trait_bound)] + #[decode_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 LockMultiplier { #[codec(index = 1)] OneMonth, @@ -70625,6 +71372,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70654,6 +71402,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_type( crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" )] @@ -70677,6 +71426,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70691,6 +71441,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70705,6 +71456,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70719,6 +71471,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70733,6 +71486,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70747,6 +71501,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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 { @@ -70916,6 +71671,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -70947,6 +71703,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -70970,6 +71727,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_as_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; @@ -70984,6 +71742,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -71077,6 +71836,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -71164,6 +71924,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -71253,6 +72014,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { @@ -71272,6 +72034,7 @@ pub mod api { PartialEq, )] # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[codec(dumb_trait_bound)] #[decode_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 { From 578064e767a330604f2193359e724e6b10781279 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 15:28:06 +0200 Subject: [PATCH 12/19] fix: update tests with the new updates --- node/tests/evm_restaking.rs | 90 ++++++++++++++++++- .../multi-asset-delegation/src/tests.rs | 3 +- 2 files changed, 89 insertions(+), 4 deletions(-) diff --git a/node/tests/evm_restaking.rs b/node/tests/evm_restaking.rs index 6ec87dc9..9b8f9b12 100644 --- a/node/tests/evm_restaking.rs +++ b/node/tests/evm_restaking.rs @@ -212,6 +212,90 @@ where } } + // Create a new vault and these assets to it. + let vault_id = 0; + let update_vault_reward_config = api::tx().sudo().sudo( + api::runtime_types::tangle_testnet_runtime::RuntimeCall::Rewards( + api::runtime_types::pallet_rewards::pallet::Call::update_vault_reward_config { + vault_id, + new_config: + api::runtime_types::pallet_rewards::types::RewardConfigForAssetVault { + apy: api::runtime_types::sp_arithmetic::per_things::Percent(1), + incentive_cap: 100_000_000_000_000, + deposit_cap: 100_000_000_000_000, + boost_multiplier: None, + }, + }, + ), + ); + + let mut result = subxt + .tx() + .sign_and_submit_then_watch_default( + &update_vault_reward_config, + &alice.substrate_signer(), + ) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("VaultRewardConfigUpdated event to be emitted"); + break; + } + } + + let add_asset_to_vault = |x| { + api::tx() + .sudo() + .sudo(api::runtime_types::tangle_testnet_runtime::RuntimeCall::Rewards( + api::runtime_types::pallet_rewards::pallet::Call::manage_asset_reward_vault { + vault_id, + asset_id: x, + action: api::runtime_types::pallet_rewards::types::AssetAction::Add, + }, + )) + }; + let assets = [ + Asset::Erc20((<[u8; 20]>::from(usdc_addr)).into()), + Asset::Erc20((<[u8; 20]>::from(weth_addr)).into()), + Asset::Erc20((<[u8; 20]>::from(wbtc_addr)).into()), + Asset::Custom(0), + Asset::Custom(1), + Asset::Custom(2), + ]; + for asset_id in assets { + let mut result = subxt + .tx() + .sign_and_submit_then_watch_default( + &add_asset_to_vault(asset_id), + &alice.substrate_signer(), + ) + .await?; + + while let Some(Ok(s)) = result.next().await { + if let TxStatus::InBestBlock(b) = s { + let evs = match b.wait_for_success().await { + Ok(evs) => evs, + Err(e) => { + error!("Error: {:?}", e); + break; + }, + }; + evs.find_first::()? + .expect("AssetRewardVault event to be emitted"); + break; + } + } + } + let test_inputs = TestInputs { provider, subxt, @@ -464,9 +548,10 @@ fn deposits_withdraw_erc20() { let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); let delegate_amount = mint_amount.div(U256::from(2)); + let multiplier = 0; // Deposit and delegate let deposit_result = precompile - .deposit(U256::ZERO, *usdc.address(), delegate_amount) + .deposit(U256::ZERO, *usdc.address(), delegate_amount, multiplier) .from(bob.address()) .send() .await? @@ -554,9 +639,10 @@ fn deposits_withdraw_asset_id() { let precompile = MultiAssetDelegation::new(MULTI_ASSET_DELEGATION, &bob_provider); let delegate_amount = mint_amount.div(U256::from(2)); + let multiplier = 0; // Deposit and delegate let deposit_result = precompile - .deposit(U256::from(t.usdc_asset_id), Address::ZERO, delegate_amount) + .deposit(U256::from(t.usdc_asset_id), Address::ZERO, delegate_amount, multiplier) .from(bob.address()) .send() .await? diff --git a/precompiles/multi-asset-delegation/src/tests.rs b/precompiles/multi-asset-delegation/src/tests.rs index e6b65aeb..e0718c45 100644 --- a/precompiles/multi-asset-delegation/src/tests.rs +++ b/precompiles/multi-asset-delegation/src/tests.rs @@ -158,7 +158,7 @@ fn test_delegate_assets_insufficient_balance() { create_and_mint_tokens(1, delegator_account, 500); - assert_ok!(MultiAssetDelegation::deposit(RuntimeOrigin::signed(delegator_account), Asset::Custom(1), 200, Some(TestAccount::Alex.into()), None)); + assert_ok!(MultiAssetDelegation::deposit(RuntimeOrigin::signed(delegator_account), Asset::Custom(1), 200, None, None)); PrecompilesValue::get() .prepare_test( @@ -298,7 +298,6 @@ fn test_execute_withdraw() { .execute_returns(()); let metadata = MultiAssetDelegation::delegators(delegator_account).unwrap(); - assert_eq!(metadata.deposits.get(&Asset::Custom(1)), None); assert!(!metadata.withdraw_requests.is_empty()); >::put(5); From 963417ab3dfdeabbc1198370bb36c9dca3aa24e6 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 15:42:22 +0200 Subject: [PATCH 13/19] chore: add more AC tests --- pallets/rewards/src/tests.rs | 55 +++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/pallets/rewards/src/tests.rs b/pallets/rewards/src/tests.rs index 34c62f38..262919f6 100644 --- a/pallets/rewards/src/tests.rs +++ b/pallets/rewards/src/tests.rs @@ -16,8 +16,9 @@ use crate::{ mock::*, types::*, AssetAction, Error, Event, Pallet as RewardsPallet, UserClaimedReward, }; +use frame_support::assert_err; use frame_support::{assert_noop, assert_ok}; -use sp_runtime::{AccountId32, Percent}; +use sp_runtime::{AccountId32, DispatchError, Percent}; use tangle_primitives::types::rewards::LockInfo; use tangle_primitives::types::rewards::LockMultiplier; use tangle_primitives::{services::Asset, types::rewards::UserDepositWithLocks}; @@ -381,3 +382,55 @@ fn test_calculate_deposit_rewards_with_expired_locks() { assert!(total_rewards > 0); }); } + +// Access control. +#[test] +fn update_vault_config_non_force_origin() { + new_test_ext().execute_with(|| { + let vault_id = 1u32; + let apy = Percent::from_percent(10); + let deposit_cap = 1000; + let boost_multiplier = Some(150); + let incentive_cap = 1000; + + // Configure the reward vault + assert_err!( + RewardsPallet::::update_vault_reward_config( + RuntimeOrigin::signed(mock_pub_key(1)), + vault_id, + RewardConfigForAssetVault { apy, deposit_cap, incentive_cap, boost_multiplier } + ), + DispatchError::BadOrigin + ); + }); +} + +#[test] +fn add_or_remove_asset_non_force_origin() { + new_test_ext().execute_with(|| { + let vault_id = 1u32; + let asset = Asset::Custom(vault_id as u128); + + // Add asset to vault + assert_err!( + RewardsPallet::::manage_asset_reward_vault( + RuntimeOrigin::signed(mock_pub_key(1)), + vault_id, + asset, + AssetAction::Add, + ), + DispatchError::BadOrigin + ); + + // Remove asset from vault + assert_err!( + RewardsPallet::::manage_asset_reward_vault( + RuntimeOrigin::signed(mock_pub_key(1)), + vault_id, + asset, + AssetAction::Remove, + ), + DispatchError::BadOrigin + ); + }); +} From cd518abb9b89f88318cd144747d088b378270a78 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 15:54:22 +0200 Subject: [PATCH 14/19] chore: add more withdraw tests --- .../src/tests/deposit.rs | 64 ++++++++++++++++++- 1 file changed, 61 insertions(+), 3 deletions(-) diff --git a/pallets/multi-asset-delegation/src/tests/deposit.rs b/pallets/multi-asset-delegation/src/tests/deposit.rs index 5802e0aa..40bd7f36 100644 --- a/pallets/multi-asset-delegation/src/tests/deposit.rs +++ b/pallets/multi-asset-delegation/src/tests/deposit.rs @@ -15,10 +15,10 @@ // along with Tangle. If not, see . use super::*; use crate::{CurrentRound, Error}; -use frame_support::{assert_noop, assert_ok}; +use frame_support::{assert_err, assert_noop, assert_ok}; use sp_keyring::AccountKeyring::Bob; -use sp_runtime::ArithmeticError; -use tangle_primitives::services::Asset; +use sp_runtime::{ArithmeticError, DispatchError}; +use tangle_primitives::services::{Asset, EvmAddressMapping}; // helper function pub fn create_and_mint_tokens( @@ -439,6 +439,64 @@ fn execute_withdraw_should_fail_if_withdraw_not_ready() { }); } +#[test] +fn execute_withdraw_should_fail_if_caller_not_pallet_from_evm() { + new_test_ext().execute_with(|| { + // Arrange + let evm_address = mock_address(1); + let pallet_account_id = MultiAssetDelegation::pallet_account(); + let who = PalletEVMAddressMapping::into_account_id(evm_address); + let asset_id = Asset::Erc20(USDC_ERC20); + let amount = 100; + + // Deposit would fail because the origin is not from the pallet + assert_err!( + MultiAssetDelegation::deposit( + RuntimeOrigin::signed(who.clone()), + asset_id, + amount, + Some(evm_address), + None + ), + DispatchError::BadOrigin + ); + + // Try with the pallet account should work + assert_ok!(MultiAssetDelegation::deposit( + RuntimeOrigin::signed(pallet_account_id.clone()), + asset_id, + amount, + Some(evm_address), + None + )); + + assert_ok!(MultiAssetDelegation::schedule_withdraw( + RuntimeOrigin::signed(who.clone()), + asset_id, + amount, + )); + + // Simulate round passing + let current_round = 2; + >::put(current_round); + + // Try to execute withdraw with the EVM address should fail + assert_err!( + MultiAssetDelegation::execute_withdraw( + RuntimeOrigin::signed(who.clone()), + Some(evm_address) + ), + DispatchError::BadOrigin + ); + + // Try to execute withdraw with the pallet account should work + assert_ok!(MultiAssetDelegation::execute_withdraw( + RuntimeOrigin::signed(pallet_account_id.clone()), + Some(evm_address) + )); + }); +} + #[test] fn cancel_withdraw_should_work() { new_test_ext().execute_with(|| { From 80b8cc889b7356627f44189f125b3c1dfd3f117f Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Thu, 9 Jan 2025 20:21:43 +0200 Subject: [PATCH 15/19] fix: add more tests and fix deposit bugs --- Cargo.lock | 1 - precompiles/multi-asset-delegation/Cargo.toml | 5 +- precompiles/multi-asset-delegation/src/lib.rs | 6 +- .../multi-asset-delegation/src/mock.rs | 141 ++++++++++++++++++ .../multi-asset-delegation/src/mock_evm.rs | 10 +- .../multi-asset-delegation/src/tests.rs | 121 +++++++++++++++ 6 files changed, 276 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f742cab4..1b13873e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8911,7 +8911,6 @@ dependencies = [ "derive_more 1.0.0", "ethabi", "ethereum", - "ethers", "evm-erc20-utils", "fp-account", "fp-consensus", diff --git a/precompiles/multi-asset-delegation/Cargo.toml b/precompiles/multi-asset-delegation/Cargo.toml index e701346f..3bccbd70 100644 --- a/precompiles/multi-asset-delegation/Cargo.toml +++ b/precompiles/multi-asset-delegation/Cargo.toml @@ -30,7 +30,6 @@ hex-literal = { workspace = true, optional = true } serde = { workspace = true, optional = true } sha3 = { workspace = true, optional = true } ethereum = { workspace = true, features = ["with-codec"], optional = true } -ethers = { version = "2.0", optional = true } num_enum = { workspace = true, optional = true } libsecp256k1 = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } @@ -62,6 +61,7 @@ pallet-session = { workspace = true, optional = true } pallet-staking = { workspace = true, optional = true } sp-staking = { workspace = true, optional = true } frame-election-provider-support = { workspace = true, optional = true } +ethabi = { workspace = true, optional = true } [dev-dependencies] derive_more = { workspace = true, features = ["full"] } @@ -69,7 +69,6 @@ hex-literal = { workspace = true } serde = { workspace = true } sha3 = { workspace = true } ethereum = { workspace = true, features = ["with-codec"] } -ethers = "2.0" hex = { workspace = true } num_enum = { workspace = true } libsecp256k1 = { workspace = true } @@ -126,7 +125,7 @@ fuzzing = [ "serde", "sha3", "ethereum", - "ethers", + "ethabi", "num_enum", "libsecp256k1", "serde_json", diff --git a/precompiles/multi-asset-delegation/src/lib.rs b/precompiles/multi-asset-delegation/src/lib.rs index 417355e4..5abd970c 100644 --- a/precompiles/multi-asset-delegation/src/lib.rs +++ b/precompiles/multi-asset-delegation/src/lib.rs @@ -248,13 +248,17 @@ where let who = pallet_multi_asset_delegation::Pallet::::pallet_account(); let pallet_address = pallet_multi_asset_delegation::Pallet::::pallet_evm_account(); - erc20_transfer( + let r = erc20_transfer( handle, token_address, caller.into(), pallet_address.into(), amount, )?; + + if !r { + return Err(revert("Failed to transfer ERC20 tokens: false")); + } (who, Asset::Erc20(erc20_token.into()), amount) }, (other_asset_id, _) => ( diff --git a/precompiles/multi-asset-delegation/src/mock.rs b/precompiles/multi-asset-delegation/src/mock.rs index b6c79999..b1c8fc70 100644 --- a/precompiles/multi-asset-delegation/src/mock.rs +++ b/precompiles/multi-asset-delegation/src/mock.rs @@ -15,8 +15,12 @@ // limitations under the License. //! Test utilities +use std::{collections::BTreeMap, sync::Arc}; + use super::*; use crate::mock_evm::*; +use core::ops::Mul; +use ethabi::Uint; use frame_support::{ construct_runtime, derive_impl, parameter_types, traits::{AsEnsureOriginWithArg, ConstU64}, @@ -27,16 +31,19 @@ use pallet_evm::GasWeightMapping; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use serde::{Deserialize, Serialize}; +use serde_json::json; use sp_core::{ self, sr25519::{Public as sr25519Public, Signature}, ConstU32, H160, }; +use sp_keystore::{testing::MemoryKeystore, KeystoreExt, KeystorePtr}; use sp_runtime::DispatchError; use sp_runtime::{ traits::{IdentifyAccount, Verify}, AccountId32, BuildStorage, }; +use tangle_primitives::services::EvmRunner; use tangle_primitives::services::{EvmAddressMapping, EvmGasWeightMapping}; use tangle_primitives::traits::{RewardsManager, ServiceManager}; @@ -381,6 +388,16 @@ pub struct ExtBuilder { balances: Vec<(AccountId, Balance)>, } +pub fn mock_address(id: u8) -> H160 { + H160::from_slice(&[id; 20]) +} + +pub fn account_id_to_address(account_id: AccountId) -> H160 { + H160::from_slice(&AsRef::<[u8; 32]>::as_ref(&account_id)[0..20]) +} + +pub const USDC_ERC20: H160 = H160([0x23; 20]); + impl ExtBuilder { /// Build the test externalities for use in tests pub fn build(self) -> sp_io::TestExternalities { @@ -408,7 +425,131 @@ impl ExtBuilder { .assimilate_storage(&mut t) .expect("Pallet balances storage can be assimilated"); + let mut evm_accounts = BTreeMap::new(); + + let accounts = [ + TestAccount::Alex, + TestAccount::Bobo, + TestAccount::Charlie, + TestAccount::Dave, + TestAccount::Eve, + ]; + + for i in 1..=accounts.len() { + evm_accounts.insert( + mock_address(i as u8), + fp_evm::GenesisAccount { + code: vec![], + storage: Default::default(), + nonce: Default::default(), + balance: Uint::from(1_000).mul(Uint::from(10).pow(Uint::from(18))), + }, + ); + } + + for a in &accounts { + evm_accounts.insert( + a.clone().into(), + fp_evm::GenesisAccount { + code: vec![], + storage: Default::default(), + nonce: Default::default(), + balance: Uint::from(1_000).mul(Uint::from(10).pow(Uint::from(18))), + }, + ); + } + + let evm_config = + pallet_evm::GenesisConfig:: { accounts: evm_accounts, ..Default::default() }; + + evm_config.assimilate_storage(&mut t).unwrap(); + + // assets_config.assimilate_storage(&mut t).unwrap(); let mut ext = sp_io::TestExternalities::new(t); + ext.register_extension(KeystoreExt(Arc::new(MemoryKeystore::new()) as KeystorePtr)); + ext.execute_with(|| System::set_block_number(1)); + ext.execute_with(|| { + System::set_block_number(1); + + let call = ::EvmRunner::call( + MultiAssetDelegation::pallet_evm_account(), + USDC_ERC20, + serde_json::from_value::(json!({ + "name": "initialize", + "inputs": [ + { + "name": "name_", + "type": "string", + "internalType": "string" + }, + { + "name": "symbol_", + "type": "string", + "internalType": "string" + }, + { + "name": "decimals_", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + })) + .unwrap() + .encode_input(&[ + ethabi::Token::String("USD Coin".to_string()), + ethabi::Token::String("USDC".to_string()), + ethabi::Token::Uint(6.into()), + ]) + .unwrap(), + Default::default(), + 300_000, + true, + false, + ); + + assert_eq!(call.map(|info| info.exit_reason.is_succeed()).ok(), Some(true)); + // Mint + for i in 1..=accounts.len() { + let call = ::EvmRunner::call( + MultiAssetDelegation::pallet_evm_account(), + USDC_ERC20, + serde_json::from_value::(json!({ + "name": "mint", + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + })) + .unwrap() + .encode_input(&[ + ethabi::Token::Address(mock_address(i as u8).into()), + ethabi::Token::Uint( + Uint::from(100_000).mul(Uint::from(10).pow(Uint::from(6))), + ), + ]) + .unwrap(), + Default::default(), + 300_000, + true, + false, + ); + + assert_eq!(call.map(|info| info.exit_reason.is_succeed()).ok(), Some(true)); + } + }); + ext.execute_with(|| { System::set_block_number(1); }); diff --git a/precompiles/multi-asset-delegation/src/mock_evm.rs b/precompiles/multi-asset-delegation/src/mock_evm.rs index 958342ea..85598f55 100644 --- a/precompiles/multi-asset-delegation/src/mock_evm.rs +++ b/precompiles/multi-asset-delegation/src/mock_evm.rs @@ -27,7 +27,9 @@ use frame_support::{ }; use pallet_ethereum::{EthereumBlockHashMapping, IntermediateStateRoot, PostLogContent, RawOrigin}; use pallet_evm::{EnsureAddressNever, EnsureAddressOrigin, OnChargeEVMTransaction}; -use precompile_utils::precompile_set::{AddressU64, PrecompileAt, PrecompileSetBuilder}; +use precompile_utils::precompile_set::{ + AddressU64, PrecompileAt, PrecompileSetBuilder, SubcallWithMaxNesting, +}; use sp_core::{keccak_256, ConstU32, H160, H256, U256}; use sp_runtime::{ traits::{DispatchInfoOf, Dispatchable}, @@ -36,8 +38,10 @@ use sp_runtime::{ }; use tangle_primitives::services::EvmRunner; -pub type Precompiles = - PrecompileSetBuilder, MultiAssetDelegationPrecompile>,)>; +pub type Precompiles = PrecompileSetBuilder< + R, + (PrecompileAt, MultiAssetDelegationPrecompile, (SubcallWithMaxNesting<2>,)>,), +>; pub type PCall = MultiAssetDelegationPrecompileCall; diff --git a/precompiles/multi-asset-delegation/src/tests.rs b/precompiles/multi-asset-delegation/src/tests.rs index e0718c45..ed30de77 100644 --- a/precompiles/multi-asset-delegation/src/tests.rs +++ b/precompiles/multi-asset-delegation/src/tests.rs @@ -1,6 +1,7 @@ use crate::{mock::*, mock_evm::*, U256}; use frame_support::{assert_ok, traits::Currency}; use pallet_multi_asset_delegation::{types::OperatorStatus, CurrentRound, Delegators, Operators}; +use precompile_utils::prelude::*; use precompile_utils::testing::*; use sp_core::H160; use tangle_primitives::services::Asset; @@ -100,6 +101,126 @@ fn test_delegate_assets_invalid_operator() { }); } +#[test] +fn test_deposit_assets() { + ExtBuilder::default().build().execute_with(|| { + let delegator_account = sp_core::sr25519::Public::from(TestAccount::Alex); + Balances::make_free_balance_be(&delegator_account, 500); + + create_and_mint_tokens(1, delegator_account, 500); + PrecompilesValue::get() + .prepare_test( + TestAccount::Alex, + H160::from_low_u64_be(1), + PCall::deposit { + asset_id: U256::from(1), + amount: U256::from(200), + token_address: Default::default(), + lock_multiplier: 0, + }, + ) + .execute_returns(()); + + assert_eq!(Assets::balance(1, delegator_account), 500 - 200); // should lose deposit + + assert!(Delegators::::get(delegator_account).is_some()); + }); +} + +#[test] +fn test_deposit_assets_insufficient_balance() { + ExtBuilder::default().build().execute_with(|| { + let delegator_account = sp_core::sr25519::Public::from(TestAccount::Alex); + Balances::make_free_balance_be(&delegator_account, 500); + + create_and_mint_tokens(1, delegator_account, 200); + PrecompilesValue::get() + .prepare_test( + TestAccount::Alex, + H160::from_low_u64_be(1), + PCall::deposit { + asset_id: U256::from(1), + amount: U256::from(500), + token_address: Default::default(), + lock_multiplier: 0, + }, + ) + .execute_reverts(|output| { + output == b"Dispatched call failed with error: Arithmetic(Underflow)" + }); + + assert_eq!(Assets::balance(1, delegator_account), 200); // should not lose deposit + + assert!(Delegators::::get(delegator_account).is_none()); + }); +} + +#[test] +fn test_deposit_assets_erc20() { + ExtBuilder::default().build().execute_with(|| { + let delegator_account = sp_core::sr25519::Public::from(TestAccount::Alex); + Balances::make_free_balance_be(&delegator_account, 500); + + PrecompilesValue::get() + .prepare_test( + TestAccount::Alex, + H160::from_low_u64_be(1), + PCall::deposit { + asset_id: U256::zero(), + amount: U256::from(200), + token_address: USDC_ERC20.into(), + lock_multiplier: 0, + }, + ) + .with_subcall_handle(|subcall| { + // Intercept the call + assert!(!subcall.is_static); + assert_eq!(subcall.address, USDC_ERC20.into()); + assert_eq!(subcall.context.caller, TestAccount::Alex.into()); + assert_eq!(subcall.context.apparent_value, U256::zero()); + assert_eq!(subcall.context.address, USDC_ERC20.into()); + assert_eq!(subcall.input[0..4], keccak256!("transfer(address,uint256)")[0..4]); + // if all of the above passed, then it is okay. + + let mut out = SubcallOutput::succeed(); + out.output = ethabi::encode(&[ethabi::Token::Bool(true)]).to_vec(); + out + }) + .execute_returns(()); + + assert!(Delegators::::get(delegator_account).is_some()); + }); +} + +#[test] +fn test_deposit_assets_insufficient_balance_erc20() { + ExtBuilder::default().build().execute_with(|| { + let delegator_account = sp_core::sr25519::Public::from(TestAccount::Alex); + Balances::make_free_balance_be(&delegator_account, 500); + + PrecompilesValue::get() + .prepare_test( + TestAccount::Alex, + H160::from_low_u64_be(1), + PCall::deposit { + asset_id: U256::zero(), + amount: U256::from(200), + token_address: USDC_ERC20.into(), + lock_multiplier: 0, + }, + ) + .with_subcall_handle(|_subcall| { + // Simulate a faild ERC20 transfer + let mut out = SubcallOutput::succeed(); + out.output = ethabi::encode(&[ethabi::Token::Bool(false)]).to_vec(); + out + }) + .execute_reverts(|output| output == b"Failed to transfer ERC20 tokens: false"); + + assert!(Delegators::::get(delegator_account).is_none()); + }); +} + #[test] fn test_delegate_assets() { ExtBuilder::default().build().execute_with(|| { From 65bb607eaad712722bbbccf47cf24aff2ae68654 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Mon, 13 Jan 2025 14:33:09 +0900 Subject: [PATCH 16/19] chore: fix clippy --- pallets/multi-asset-delegation/src/mock.rs | 2 +- pallets/services/src/mock.rs | 2 +- precompiles/multi-asset-delegation/src/mock.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/multi-asset-delegation/src/mock.rs b/pallets/multi-asset-delegation/src/mock.rs index 1d0e6c86..36833165 100644 --- a/pallets/multi-asset-delegation/src/mock.rs +++ b/pallets/multi-asset-delegation/src/mock.rs @@ -563,7 +563,7 @@ pub fn new_test_ext_raw_authorities() -> sp_io::TestExternalities { })) .unwrap() .encode_input(&[ - ethabi::Token::Address(mock_address(i as u8).into()), + ethabi::Token::Address(mock_address(i as u8)), ethabi::Token::Uint(Uint::from(100_000).mul(Uint::from(10).pow(Uint::from(6)))), ]) .unwrap(), diff --git a/pallets/services/src/mock.rs b/pallets/services/src/mock.rs index c6df6998..6d9afff4 100644 --- a/pallets/services/src/mock.rs +++ b/pallets/services/src/mock.rs @@ -698,7 +698,7 @@ pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestE })) .unwrap() .encode_input(&[ - ethabi::Token::Address(mock_address(i as u8).into()), + ethabi::Token::Address(mock_address(i as u8)), ethabi::Token::Uint(Uint::from(100_000).mul(Uint::from(10).pow(Uint::from(6)))), ]) .unwrap(), diff --git a/precompiles/multi-asset-delegation/src/mock.rs b/precompiles/multi-asset-delegation/src/mock.rs index b1c8fc70..11e85771 100644 --- a/precompiles/multi-asset-delegation/src/mock.rs +++ b/precompiles/multi-asset-delegation/src/mock.rs @@ -534,7 +534,7 @@ impl ExtBuilder { })) .unwrap() .encode_input(&[ - ethabi::Token::Address(mock_address(i as u8).into()), + ethabi::Token::Address(mock_address(i as u8)), ethabi::Token::Uint( Uint::from(100_000).mul(Uint::from(10).pow(Uint::from(6))), ), From 4a7ead0b7ce7525e4457a9e936983bf103a250f2 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Mon, 13 Jan 2025 17:56:14 +0900 Subject: [PATCH 17/19] chore: fix clippy --- precompiles/multi-asset-delegation/src/tests.rs | 8 ++++---- precompiles/services/src/tests.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/precompiles/multi-asset-delegation/src/tests.rs b/precompiles/multi-asset-delegation/src/tests.rs index ed30de77..0b39efd1 100644 --- a/precompiles/multi-asset-delegation/src/tests.rs +++ b/precompiles/multi-asset-delegation/src/tests.rs @@ -168,17 +168,17 @@ fn test_deposit_assets_erc20() { PCall::deposit { asset_id: U256::zero(), amount: U256::from(200), - token_address: USDC_ERC20.into(), + token_address: USDC_ERC20, lock_multiplier: 0, }, ) .with_subcall_handle(|subcall| { // Intercept the call assert!(!subcall.is_static); - assert_eq!(subcall.address, USDC_ERC20.into()); + assert_eq!(subcall.address, USDC_ERC20); assert_eq!(subcall.context.caller, TestAccount::Alex.into()); assert_eq!(subcall.context.apparent_value, U256::zero()); - assert_eq!(subcall.context.address, USDC_ERC20.into()); + assert_eq!(subcall.context.address, USDC_ERC20); assert_eq!(subcall.input[0..4], keccak256!("transfer(address,uint256)")[0..4]); // if all of the above passed, then it is okay. @@ -205,7 +205,7 @@ fn test_deposit_assets_insufficient_balance_erc20() { PCall::deposit { asset_id: U256::zero(), amount: U256::from(200), - token_address: USDC_ERC20.into(), + token_address: USDC_ERC20, lock_multiplier: 0, }, ) diff --git a/precompiles/services/src/tests.rs b/precompiles/services/src/tests.rs index 1eecb814..2b14d6af 100644 --- a/precompiles/services/src/tests.rs +++ b/precompiles/services/src/tests.rs @@ -277,7 +277,7 @@ fn test_request_service_with_erc20() { assets: [TNT, WETH].into_iter().map(Into::into).collect(), ttl: U256::from(1000), payment_asset_id: U256::from(0), - payment_token_address: USDC_ERC20.into(), + payment_token_address: USDC_ERC20, amount: payment_amount, }, ) From 7f1c7d4366b24c8554ea10a38f4f63ee3d02eeac Mon Sep 17 00:00:00 2001 From: drewstone Date: Mon, 13 Jan 2025 19:08:09 +0900 Subject: [PATCH 18/19] Update tests.rs --- precompiles/services/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompiles/services/src/tests.rs b/precompiles/services/src/tests.rs index 2b14d6af..1eecb814 100644 --- a/precompiles/services/src/tests.rs +++ b/precompiles/services/src/tests.rs @@ -277,7 +277,7 @@ fn test_request_service_with_erc20() { assets: [TNT, WETH].into_iter().map(Into::into).collect(), ttl: U256::from(1000), payment_asset_id: U256::from(0), - payment_token_address: USDC_ERC20, + payment_token_address: USDC_ERC20.into(), amount: payment_amount, }, ) From 4574f1682379ae43b57ffb5417c6561d4b6b9260 Mon Sep 17 00:00:00 2001 From: Shady Khalifa Date: Mon, 13 Jan 2025 12:58:49 +0200 Subject: [PATCH 19/19] chore: fix clippy --- precompiles/multi-asset-delegation/src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/precompiles/multi-asset-delegation/src/tests.rs b/precompiles/multi-asset-delegation/src/tests.rs index 0b39efd1..ae196dc4 100644 --- a/precompiles/multi-asset-delegation/src/tests.rs +++ b/precompiles/multi-asset-delegation/src/tests.rs @@ -168,7 +168,7 @@ fn test_deposit_assets_erc20() { PCall::deposit { asset_id: U256::zero(), amount: U256::from(200), - token_address: USDC_ERC20, + token_address: Address(USDC_ERC20), lock_multiplier: 0, }, ) @@ -205,7 +205,7 @@ fn test_deposit_assets_insufficient_balance_erc20() { PCall::deposit { asset_id: U256::zero(), amount: U256::from(200), - token_address: USDC_ERC20, + token_address: Address(USDC_ERC20), lock_multiplier: 0, }, )