diff --git a/pallets/pallet-bonded-coins/src/default_weights.rs b/pallets/pallet-bonded-coins/src/default_weights.rs index fd0551677..24ce64e35 100644 --- a/pallets/pallet-bonded-coins/src/default_weights.rs +++ b/pallets/pallet-bonded-coins/src/default_weights.rs @@ -18,21 +18,22 @@ //! Autogenerated weights for pallet_bonded_coins //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 33.0.0 -//! DATE: 2024-11-14 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.1.0 +//! DATE: 2025-07-03 //! STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` -//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! HOSTNAME: `eyrie-7`, CPU: `Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 // Executed Command: -// ./target/debug/kilt-parachain +// frame-omni-bencher +// v1 // benchmark // pallet // --template=.maintain/weight-template.hbs // --header=HEADER-GPL // --heap-pages=4096 -// --chain=dev +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm // --pallet=pallet-bonded-coins // --extrinsic=* // --output=./pallets/pallet-bonded-coins/src/default_weights.rs @@ -49,7 +50,7 @@ pub trait WeightInfo { fn create_pool_polynomial(c: u32, ) -> Weight; fn create_pool_square_root(c: u32, ) -> Weight; fn create_pool_lmsr(c: u32, ) -> Weight; - fn reset_team() -> Weight; + fn reset_team(c: u32, ) -> Weight; fn reset_manager() -> Weight; fn set_lock() -> Weight; fn unlock() -> Weight; @@ -70,403 +71,450 @@ pub trait WeightInfo { /// Weights for pallet_bonded_coins using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 972_383 nanoseconds. - Weight::from_parts(890_138_970, 3676) - // Standard Error: 148_237 - .saturating_add(Weight::from_parts(139_407_230, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 104_080 nanoseconds. + Weight::from_parts(92_281_569, 4460) + // Standard Error: 11_555 + .saturating_add(Weight::from_parts(16_721_784, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 971_077 nanoseconds. - Weight::from_parts(871_656_562, 3676) - // Standard Error: 113_571 - .saturating_add(Weight::from_parts(139_662_791, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_821 nanoseconds. + Weight::from_parts(90_370_712, 4460) + // Standard Error: 14_030 + .saturating_add(Weight::from_parts(16_807_940, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 968_375 nanoseconds. - Weight::from_parts(867_466_948, 3676) - // Standard Error: 116_249 - .saturating_add(Weight::from_parts(139_836_712, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_474 nanoseconds. + Weight::from_parts(90_715_553, 4460) + // Standard Error: 11_256 + .saturating_add(Weight::from_parts(16_800_359, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { - // Proof Size summary in bytes: - // Measured: `619` - // Estimated: `3830` - // Minimum execution time: 233_932 nanoseconds. - Weight::from_parts(236_466_000, 3830) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. + fn reset_team(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `338 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 52_561 nanoseconds. + Weight::from_parts(40_084_500, 4460) + // Standard Error: 17_172 + .saturating_add(Weight::from_parts(22_110_082, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 138_674 nanoseconds. - Weight::from_parts(139_617_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(23_791_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 136_868 nanoseconds. - Weight::from_parts(138_628_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_754 nanoseconds. + Weight::from_parts(23_979_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `342` - // Estimated: `3830` - // Minimum execution time: 134_994 nanoseconds. - Weight::from_parts(136_078_000, 3830) + // Measured: `274` + // Estimated: `4460` + // Minimum execution time: 23_682 nanoseconds. + Weight::from_parts(24_070_000, 4460) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `855 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 628_762 nanoseconds. - Weight::from_parts(608_351_405, 6208) - // Standard Error: 47_025 - .saturating_add(Weight::from_parts(32_911_729, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `971 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 123_492 nanoseconds. + Weight::from_parts(123_355_177, 7404) + // Standard Error: 5_701 + .saturating_add(Weight::from_parts(3_944_063, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `839 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 663_728 nanoseconds. - Weight::from_parts(639_889_739, 6208) - // Standard Error: 51_003 - .saturating_add(Weight::from_parts(32_847_297, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `955 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_784 nanoseconds. + Weight::from_parts(151_538_881, 7404) + // Standard Error: 6_415 + .saturating_add(Weight::from_parts(3_954_454, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `823 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 632_505 nanoseconds. - Weight::from_parts(605_811_044, 6208) - // Standard Error: 68_768 - .saturating_add(Weight::from_parts(45_571_290, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `939 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 125_161 nanoseconds. + Weight::from_parts(120_929_065, 7404) + // Standard Error: 12_695 + .saturating_add(Weight::from_parts(17_562_082, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `952 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_219_501 nanoseconds. - Weight::from_parts(1_231_031_276, 8817) - // Standard Error: 97_453 - .saturating_add(Weight::from_parts(30_883_086, 0).saturating_mul(c.into())) + // Measured: `1002 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_851 nanoseconds. + Weight::from_parts(151_581_109, 7404) + // Standard Error: 5_606 + .saturating_add(Weight::from_parts(3_954_413, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `936 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_280_432 nanoseconds. - Weight::from_parts(1_269_726_586, 8817) - // Standard Error: 81_512 - .saturating_add(Weight::from_parts(31_048_333, 0).saturating_mul(c.into())) + // Measured: `986 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 204_688 nanoseconds. + Weight::from_parts(203_358_929, 7404) + // Standard Error: 6_107 + .saturating_add(Weight::from_parts(3_942_632, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_239_744 nanoseconds. - Weight::from_parts(1_227_113_068, 8817) - // Standard Error: 122_714 - .saturating_add(Weight::from_parts(63_197_028, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 153_149 nanoseconds. + Weight::from_parts(135_710_467, 7404) + // Standard Error: 94_086 + .saturating_add(Weight::from_parts(57_746_304, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `373 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 289_514 nanoseconds. - Weight::from_parts(237_013_036, 3830) - // Standard Error: 81_274 - .saturating_add(Weight::from_parts(79_952_518, 0).saturating_mul(c.into())) + // Measured: `382 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 47_294 nanoseconds. + Weight::from_parts(43_841_041, 4460) + // Standard Error: 8_471 + .saturating_add(Weight::from_parts(9_932_458, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `341 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 264_075 nanoseconds. - Weight::from_parts(219_016_367, 3830) - // Standard Error: 102_148 - .saturating_add(Weight::from_parts(79_147_583, 0).saturating_mul(c.into())) + // Measured: `274 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 41_576 nanoseconds. + Weight::from_parts(36_996_800, 4460) + // Standard Error: 7_153 + .saturating_add(Weight::from_parts(9_895_749, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `504 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 723_132 nanoseconds. - Weight::from_parts(655_543_968, 3830) - // Standard Error: 157_030 - .saturating_add(Weight::from_parts(102_388_883, 0).saturating_mul(c.into())) + // Measured: `499 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 64_820 nanoseconds. + Weight::from_parts(62_601_178, 4460) + // Standard Error: 11_535 + .saturating_add(Weight::from_parts(11_942_195, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0 ,2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1005 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 250_787 nanoseconds. - Weight::from_parts(264_418_963, 3830) - // Standard Error: 10_398 - .saturating_add(Weight::from_parts(128_444, 0).saturating_mul(c.into())) + // Measured: `1018 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 42_008 nanoseconds. + Weight::from_parts(44_653_744, 4460) + // Standard Error: 1_480 + .saturating_add(Weight::from_parts(55_713, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 251_032 nanoseconds. - Weight::from_parts(265_248_643, 3830) - // Standard Error: 14_079 - .saturating_add(Weight::from_parts(80_561, 0).saturating_mul(c.into())) + // Measured: `953 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_915 nanoseconds. + Weight::from_parts(44_978_744, 4460) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(53_378, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_363_146 nanoseconds. - Weight::from_parts(1_343_165_422, 8817) - // Standard Error: 90_432 - .saturating_add(Weight::from_parts(31_315_327, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 160_479 nanoseconds. + Weight::from_parts(160_807_951, 7404) + // Standard Error: 5_529 + .saturating_add(Weight::from_parts(3_879_811, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -476,403 +524,450 @@ impl WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 972_383 nanoseconds. - Weight::from_parts(890_138_970, 3676) - // Standard Error: 148_237 - .saturating_add(Weight::from_parts(139_407_230, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 104_080 nanoseconds. + Weight::from_parts(92_281_569, 4460) + // Standard Error: 11_555 + .saturating_add(Weight::from_parts(16_721_784, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 971_077 nanoseconds. - Weight::from_parts(871_656_562, 3676) - // Standard Error: 113_571 - .saturating_add(Weight::from_parts(139_662_791, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_821 nanoseconds. + Weight::from_parts(90_370_712, 4460) + // Standard Error: 14_030 + .saturating_add(Weight::from_parts(16_807_940, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::NextAssetId` (r:1 w:1) - /// Proof: `BondedCoins::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x674f0d0209e669dc31e0072641931150641315ccb80c166ca75d4dea3e9be88c` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:51) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:50) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCoins::Pools` (r:0 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:0) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:1) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::NextAssetId` (r:1 w:0) + /// Proof: `BondedFungibles::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:50) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn create_pool_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `534` - // Estimated: `3676 + c * (2685 ±0)` - // Minimum execution time: 968_375 nanoseconds. - Weight::from_parts(867_466_948, 3676) - // Standard Error: 116_249 - .saturating_add(Weight::from_parts(139_836_712, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `551` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 103_474 nanoseconds. + Weight::from_parts(90_715_553, 4460) + // Standard Error: 11_256 + .saturating_add(Weight::from_parts(16_800_359, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { - // Proof Size summary in bytes: - // Measured: `619` - // Estimated: `3830` - // Minimum execution time: 233_932 nanoseconds. - Weight::from_parts(236_466_000, 3830) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 50]`. + fn reset_team(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `338 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 52_561 nanoseconds. + Weight::from_parts(40_084_500, 4460) + // Standard Error: 17_172 + .saturating_add(Weight::from_parts(22_110_082, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn reset_manager() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 138_674 nanoseconds. - Weight::from_parts(139_617_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_530 nanoseconds. + Weight::from_parts(23_791_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn set_lock() -> Weight { // Proof Size summary in bytes: - // Measured: `339` - // Estimated: `3830` - // Minimum execution time: 136_868 nanoseconds. - Weight::from_parts(138_628_000, 3830) + // Measured: `272` + // Estimated: `4460` + // Minimum execution time: 23_754 nanoseconds. + Weight::from_parts(23_979_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `342` - // Estimated: `3830` - // Minimum execution time: 134_994 nanoseconds. - Weight::from_parts(136_078_000, 3830) + // Measured: `274` + // Estimated: `4460` + // Minimum execution time: 23_682 nanoseconds. + Weight::from_parts(24_070_000, 4460) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `855 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 628_762 nanoseconds. - Weight::from_parts(608_351_405, 6208) - // Standard Error: 47_025 - .saturating_add(Weight::from_parts(32_911_729, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `971 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 123_492 nanoseconds. + Weight::from_parts(123_355_177, 7404) + // Standard Error: 5_701 + .saturating_add(Weight::from_parts(3_944_063, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `839 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 663_728 nanoseconds. - Weight::from_parts(639_889_739, 6208) - // Standard Error: 51_003 - .saturating_add(Weight::from_parts(32_847_297, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `955 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_784 nanoseconds. + Weight::from_parts(151_538_881, 7404) + // Standard Error: 6_415 + .saturating_add(Weight::from_parts(3_954_454, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:1) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:2 w:1) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn mint_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `823 + c * (221 ±0)` - // Estimated: `6208 + c * (2685 ±0)` - // Minimum execution time: 632_505 nanoseconds. - Weight::from_parts(605_811_044, 6208) - // Standard Error: 68_768 - .saturating_add(Weight::from_parts(45_571_290, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `939 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 125_161 nanoseconds. + Weight::from_parts(120_929_065, 7404) + // Standard Error: 12_695 + .saturating_add(Weight::from_parts(17_562_082, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_polynomial(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `952 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_219_501 nanoseconds. - Weight::from_parts(1_231_031_276, 8817) - // Standard Error: 97_453 - .saturating_add(Weight::from_parts(30_883_086, 0).saturating_mul(c.into())) + // Measured: `1002 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 151_851 nanoseconds. + Weight::from_parts(151_581_109, 7404) + // Standard Error: 5_606 + .saturating_add(Weight::from_parts(3_954_413, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_square_root(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `936 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_280_432 nanoseconds. - Weight::from_parts(1_269_726_586, 8817) - // Standard Error: 81_512 - .saturating_add(Weight::from_parts(31_048_333, 0).saturating_mul(c.into())) + // Measured: `986 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 204_688 nanoseconds. + Weight::from_parts(203_358_929, 7404) + // Standard Error: 6_107 + .saturating_add(Weight::from_parts(3_942_632, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:1 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Metadata` (r:1 w:0) + /// Proof: `Fungibles::Metadata` (`max_values`: None, `max_size`: Some(646), added: 3121, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn burn_into_lmsr(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_239_744 nanoseconds. - Weight::from_parts(1_227_113_068, 8817) - // Standard Error: 122_714 - .saturating_add(Weight::from_parts(63_197_028, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 153_149 nanoseconds. + Weight::from_parts(135_710_467, 7404) + // Standard Error: 94_086 + .saturating_add(Weight::from_parts(57_746_304, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `373 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 289_514 nanoseconds. - Weight::from_parts(237_013_036, 3830) - // Standard Error: 81_274 - .saturating_add(Weight::from_parts(79_952_518, 0).saturating_mul(c.into())) + // Measured: `382 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 47_294 nanoseconds. + Weight::from_parts(43_841_041, 4460) + // Standard Error: 8_471 + .saturating_add(Weight::from_parts(9_932_458, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `341 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 264_075 nanoseconds. - Weight::from_parts(219_016_367, 3830) - // Standard Error: 102_148 - .saturating_add(Weight::from_parts(79_147_583, 0).saturating_mul(c.into())) + // Measured: `274 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 41_576 nanoseconds. + Weight::from_parts(36_996_800, 4460) + // Standard Error: 7_153 + .saturating_add(Weight::from_parts(9_895_749, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:50 w:50) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Metadata` (r:50 w:0) - /// Proof: `BondedCurrencies::Metadata` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:50) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Metadata` (r:50 w:0) + /// Proof: `BondedFungibles::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `DepositStorage::SystemDeposits` (r:1 w:1) + /// Proof: `DepositStorage::SystemDeposits` (`max_values`: None, `max_size`: Some(119), added: 2594, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn finish_destroy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `504 + c * (221 ±0)` - // Estimated: `3830 + c * (2685 ±0)` - // Minimum execution time: 723_132 nanoseconds. - Weight::from_parts(655_543_968, 3830) - // Standard Error: 157_030 - .saturating_add(Weight::from_parts(102_388_883, 0).saturating_mul(c.into())) + // Measured: `499 + c * (221 ±0)` + // Estimated: `4460 + c * (2685 ±0)` + // Minimum execution time: 64_820 nanoseconds. + Weight::from_parts(62_601_178, 4460) + // Standard Error: 11_535 + .saturating_add(Weight::from_parts(11_942_195, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2685).saturating_mul(c.into())) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1005 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 250_787 nanoseconds. - Weight::from_parts(264_418_963, 3830) - // Standard Error: 10_398 - .saturating_add(Weight::from_parts(128_444, 0).saturating_mul(c.into())) + // Measured: `1018 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 42_008 nanoseconds. + Weight::from_parts(44_653_744, 4460) + // Standard Error: 1_480 + .saturating_add(Weight::from_parts(55_713, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:1) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:1 w:0) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:1 w:0) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:1) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:1 w:0) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:1 w:0) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn force_start_refund(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `940 + c * (11 ±0)` - // Estimated: `3830` - // Minimum execution time: 251_032 nanoseconds. - Weight::from_parts(265_248_643, 3830) - // Standard Error: 14_079 - .saturating_add(Weight::from_parts(80_561, 0).saturating_mul(c.into())) + // Measured: `953 + c * (12 ±0)` + // Estimated: `4460` + // Minimum execution time: 41_915 nanoseconds. + Weight::from_parts(44_978_744, 4460) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(53_378, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `BondedCoins::Pools` (r:1 w:0) - /// Proof: `BondedCoins::Pools` (`max_values`: None, `max_size`: Some(365), added: 2840, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Account` (r:3 w:3) - /// Proof: `BondedCurrencies::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) - /// Storage: `BondedCurrencies::Asset` (r:51 w:2) - /// Proof: `BondedCurrencies::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedCurrencies::Pools` (r:1 w:0) + /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(995), added: 3470, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Account` (r:2 w:2) + /// Proof: `Fungibles::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Asset` (r:50 w:1) + /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `BondedFungibles::Account` (r:1 w:1) + /// Proof: `BondedFungibles::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Fungibles::Asset` (r:1 w:1) + /// Proof: `Fungibles::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 50]`. fn refund_account(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `920 + c * (221 ±0)` - // Estimated: `8817 + c * (2685 ±0)` - // Minimum execution time: 1_363_146 nanoseconds. - Weight::from_parts(1_343_165_422, 8817) - // Standard Error: 90_432 - .saturating_add(Weight::from_parts(31_315_327, 0).saturating_mul(c.into())) + // Measured: `970 + c * (221 ±0)` + // Estimated: `7404 + c * (2685 ±0)` + // Minimum execution time: 160_479 nanoseconds. + Weight::from_parts(160_807_951, 7404) + // Standard Error: 5_529 + .saturating_add(Weight::from_parts(3_879_811, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) diff --git a/pallets/pallet-bonded-coins/src/lib.rs b/pallets/pallet-bonded-coins/src/lib.rs index 441aa4ed3..9c0b3f79a 100644 --- a/pallets/pallet-bonded-coins/src/lib.rs +++ b/pallets/pallet-bonded-coins/src/lib.rs @@ -514,7 +514,7 @@ pub mod pallet { /// the pool is larger than `currency_count`. /// - Other errors depending on the types in the config. #[pallet::call_index(1)] - #[pallet::weight(T::WeightInfo::reset_team())] + #[pallet::weight(T::WeightInfo::reset_team(currency_count.to_owned()))] pub fn reset_team( origin: OriginFor, pool_id: T::PoolId, diff --git a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs index 3412dd993..1d919a325 100644 --- a/runtimes/peregrine/src/weights/pallet_bonded_coins.rs +++ b/runtimes/peregrine/src/weights/pallet_bonded_coins.rs @@ -146,7 +146,7 @@ impl pallet_bonded_coins::WeightInfo for WeightInfo /// Proof: `BondedCurrencies::Pools` (`max_values`: None, `max_size`: Some(978), added: 3453, mode: `MaxEncodedLen`) /// Storage: `BondedFungibles::Asset` (r:1 w:1) /// Proof: `BondedFungibles::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - fn reset_team() -> Weight { + fn reset_team(_c: u32) -> Weight { // Proof Size summary in bytes: // Measured: `535` // Estimated: `4443`